Channels
ClawRecipes
Skip 10 Days of Setup Pain β Launch OpenClaw Agent Teams with 1 Command (10+ Recipes)
Install
openclaw plugins install @jiggai/clawrecipes
README
# ClawRecipes (OpenClaw Recipes Plugin)
<p align="center">
<img src="./clawrecipes_cook.jpg" alt="ClawRecipes logo" width="240" />
</p>
ClawRecipes is an OpenClaw plugin that provides **CLI-first recipes** for scaffolding specialist agents and teams from Markdown.
If you like durable workflows: ClawRecipes is built around a **file-first team workspace** (inbox/backlog/in-progress/testing/done) that plays nicely with git.
## Quickstart
### 1) Install
#### Option A (preferred): install from npm
Once published:
```bash
openclaw plugins install @jiggai/clawrecipes
openclaw gateway restart
openclaw plugins list
```
#### Option B: install from GitHub
```bash
git clone https://github.com/JIGGAI/ClawRecipes.git ~/clawrecipes
openclaw plugins install --link ~/clawrecipes
openclaw gateway restart
openclaw plugins list
```
### 2) List available recipes
```bash
openclaw recipes list
```
### 3) Scaffold a team
```bash
openclaw recipes scaffold-team development-team \
--team-id development-team-team \
--overwrite \
--apply-config
```
### 4) Dispatch a request into work artifacts
```bash
openclaw recipes dispatch \
--team-id development-team-team \
--request "Add a new recipe for a customer-support team" \
--owner lead
```
## Commands (high level)
- `openclaw recipes list|show|status`
- `openclaw recipes scaffold` (agent β `workspace-<agentId>`)
- `openclaw recipes scaffold-team` (team β `workspace-<teamId>` + `roles/<role>/`)
- `openclaw recipes install <idOrSlug> [--yes] [--global|--agent-id <id>|--team-id <id>]` (skills: global or scoped)
- `openclaw recipes bind|unbind|bindings` (multi-agent routing)
- `openclaw recipes dispatch ...` (request β inbox + ticket + assignment)
- `openclaw recipes tickets|move-ticket|assign|take|handoff|complete` (file-first ticket workflow)
- `openclaw recipes cleanup-workspaces` (safe cleanup of temporary test/scaffold workspaces)
For full details, see `docs/COMMANDS.md`.
## Configuration
The plugin supports these config keys (with defaults):
- `workspaceRecipesDir` (default: `recipes`)
- `workspaceAgentsDir` (default: `agents`)
- `workspaceSkillsDir` (default: `skills`)
- `workspaceTeamsDir` (default: `teams`)
- `autoInstallMissingSkills` (default: `false`)
- `confirmAutoInstall` (default: `true`)
- `cronInstallation` (default: `prompt`; values: `off|prompt|on`)
Config schema is defined in `openclaw.plugin.json`.
## Documentation
Start here:
- Installation: `docs/INSTALLATION.md`
- Agents + skills: `docs/AGENTS_AND_SKILLS.md`
- Tutorial (create a recipe): `docs/TUTORIAL_CREATE_RECIPE.md`
## Development
### Unit tests (vitest)
Run:
- `npm test`
### Scaffold smoke test (regression)
A lightweight smoke check validates scaffold-team output contains the required testing workflow docs (ticket 0004).
Run:
- `npm run test:smoke` (or `npm run scaffold:smoke`)
Notes:
- Creates a temporary `workspace-smoke-<timestamp>-team` under `~/.openclaw/` and then deletes it.
- Exits non-zero on mismatch.
Reference:
- Commands: `docs/COMMANDS.md`
- Recipe format: `docs/RECIPE_FORMAT.md`
- Bundled recipes: `docs/BUNDLED_RECIPES.md`
- Team workflow: `docs/TEAM_WORKFLOW.md`
- ClawRecipes Kitchen (UI): `docs/CLAWCIPES_KITCHEN.md`
(Also see: GitHub repo https://github.com/JIGGAI/ClawRecipes)
## Notes / principles
- Workspaces:
- Standalone agents: `~/.openclaw/workspace-<agentId>/`
- Teams: `~/.openclaw/workspace-<teamId>/` with `roles/<role>/...`
- Skills:
- Global (shared): `~/.openclaw/skills/<skill>`
- Scoped (agent/team): `~/.openclaw/workspace-*/skills/<skill>`
- Team IDs end with `-team`; agent IDs are namespaced: `<teamId>-<role>`.
- Recipe template rendering is intentionally simple: `{{var}}` replacement only.
## Removing (uninstalling) a scaffolded team
ClawRecipes includes a safe uninstall command:
```bash
openclaw recipes remove-team --team-id <teamId> --plan --json
openclaw recipes remove-team --team-id <teamId> --yes
openclaw gateway restart
```
Notes:
- The command is confirmation-gated by default (use `--yes` to apply).
- Cron cleanup is conservative: it removes only cron jobs that are explicitly **stamped** with `recipes.teamId=<teamId>`.
- If you need a manual fallback, you can still delete `~/.openclaw/workspace-<teamId>` and remove `<teamId>-*` agents from `agents.list[]` in `~/.openclaw/openclaw.json`.
## Links
- GitHub: https://github.com/JIGGAI/ClawRecipes
- Docs:
- Installation: `docs/INSTALLATION.md`
- Commands: `docs/COMMANDS.md`
- Recipe format: `docs/RECIPE_FORMAT.md`
- Team workflow: `docs/TEAM_WORKFLOW.md`
## What you should be developing (not this plugin)
ClawRecipes is meant to be *installed* and then used to build **agents + teams**.
Most users should focus on:
- authoring recipes in their OpenClaw workspace (`<workspace>/recipes/*.md`)
- scaffolding teams (`openclaw recipes scaffold-team ...`)
- running the file-first workflow (dispatch β backlog β in-progress β testing β done)
channels
Comments
Sign in to leave a comment