- agent recipes — scaffold one agent workspace
- team recipes — scaffold a shared team workspace plus role agents
Where recipes live
Recipes are discovered from:- built-in plugin recipes:
recipes/default/*.md - workspace recipes:
~/.openclaw/workspace/recipes/*.md
Smallest useful recipe
Common frontmatter fields
Field meanings
id— stable recipe idname— human-readable namekind—agentorteamversion— recipe version stringdescription— short summaryrequiredSkills— skills the recipe really needsoptionalSkills— nice-to-have skills
Agent recipe example
Team recipe example
Team ids and agent ids
Important rule:- team ids used with
scaffold-teammust end with-teamin many real setups / conventions
development-team-leaddevelopment-team-devdevelopment-team-test
Templates and files
templates
templates is a string map of template names to template bodies.
files
files tells ClawRecipes which files to write into the scaffolded workspace.
Example:
Template rendering
Rendering is intentionally simple:{{var}}replacement only- no conditionals
- no code execution
agentIdagentNameteamIdteamDir
Tools policy
Recipes can write tool policy into agent config when you scaffold with--apply-config.
Example:
Cron jobs
Recipes can optionally define cron jobs. Example:- use valid 5-field cron
- keep
idstable - ClawRecipes can install/reconcile these during scaffold
Skill declarations
If a recipe declares skills, you can install them with:requiredSkills / optionalSkills.
Recommended conventions
- keep recipes small and readable
- keep
requiredSkillsminimal - use
optionalSkillsfor non-essential extras - prefer file-first workflows
- make the generated workspace obvious to a human reader
- include enough commands/examples in generated docs that a user can actually run the system
