What is an agent?
In OpenClaw, an agent is a configured assistant with:- a workspace
- an identity/persona
- tool permissions
- a model/runtime configuration
SOUL.mdAGENTS.mdTOOLS.md
What is a team?
A team is a set of role agents sharing one workspace root. Example:work/ticket lanesroles/role foldersshared/artifactsnotes/planning/status docs
What is a skill?
A skill is a packaged capability. Examples:- Gmail / Calendar tools
- web / places integrations
- social/X tooling
- helper CLIs or packaged instructions
Tool policy: what an agent is allowed to do
Recipes can define tool policy and apply it into OpenClaw config when you scaffold with--apply-config.
Common patterns:
Safe-by-default
Dev / devops style
About exec
exec is the shell-command tool.
If an agent needs to run commands like:
npm testgit statuspnpm buildpytest
How to change an agent after scaffolding
There are two layers.1) Workspace files
Edit the agent/team files directly:SOUL.mdAGENTS.mdTOOLS.md- notes/status docs
2) OpenClaw config
If you need to change permissions, identity, or config-level behavior, update the OpenClaw agent config. A common way is to re-run scaffold with--apply-config.
Examples:
Installing skills
Install a single skill globally
Install a skill for one agent
Install a skill for one team
Install the skills declared by a recipe
Where skills get installed
By default:- global skills →
~/.openclaw/skills/ - agent-scoped skills →
~/.openclaw/workspace-<agentId>/skills/ - team-scoped skills →
~/.openclaw/workspace-<teamId>/skills/
Removing skills
There is not currently a first-class ClawRecipes remove-skill command. For now, remove the skill folder manually and restart the gateway.Removing a team
Good practical advice
- keep high-risk tools limited to the roles that actually need them
- encode durable tool-policy changes in the recipe, not just ad hoc config edits
- use team workspaces when you want collaboration and durable ticket lanes
- use single agents when you want one specialized role without the extra team machinery
