@clawcipes/recipes 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +104 -0
- package/clawcipes_cook.jpg +0 -0
- package/docs/AGENTS_AND_SKILLS.md +155 -0
- package/docs/BUNDLED_RECIPES.md +208 -0
- package/docs/CLAWCIPES_KITCHEN.md +27 -0
- package/docs/COMMANDS.md +111 -0
- package/docs/INSTALLATION.md +76 -0
- package/docs/RECIPE_FORMAT.md +107 -0
- package/docs/TEAM_WORKFLOW.md +55 -0
- package/docs/TUTORIAL_CREATE_RECIPE.md +142 -0
- package/index.ts +747 -0
- package/openclaw.plugin.json +26 -0
- package/package.json +32 -0
- package/recipes/default/customer-support-team.md +155 -0
- package/recipes/default/developer.md +49 -0
- package/recipes/default/development-team.md +152 -0
- package/recipes/default/editor.md +50 -0
- package/recipes/default/product-team.md +171 -0
- package/recipes/default/project-manager.md +45 -0
- package/recipes/default/research-team.md +154 -0
- package/recipes/default/researcher.md +51 -0
- package/recipes/default/social-team.md +107 -0
- package/recipes/default/writing-team.md +138 -0
package/README.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Clawcipes (OpenClaw Recipes Plugin)
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="./clawcipes_cook.jpg" alt="Clawcipes logo" width="240" />
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
Clawcipes is an OpenClaw plugin that provides **CLI-first recipes** for scaffolding specialist agents and teams from Markdown.
|
|
8
|
+
|
|
9
|
+
If you like durable workflows: Clawcipes is built around a **file-first team workspace** (inbox/backlog/in-progress/done) that plays nicely with git.
|
|
10
|
+
|
|
11
|
+
## Quickstart
|
|
12
|
+
### 1) Install
|
|
13
|
+
#### Option A (preferred): install from npm
|
|
14
|
+
Once published:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
openclaw plugins install @clawcipes/recipes
|
|
18
|
+
openclaw gateway restart
|
|
19
|
+
openclaw plugins list
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
#### Option B: install from GitHub
|
|
23
|
+
```bash
|
|
24
|
+
git clone https://github.com/rjdjohnston/clawcipes.git ~/clawcipes
|
|
25
|
+
openclaw plugins install --link ~/clawcipes
|
|
26
|
+
openclaw gateway restart
|
|
27
|
+
openclaw plugins list
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### 2) List available recipes
|
|
31
|
+
```bash
|
|
32
|
+
openclaw recipes list
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 3) Scaffold a team
|
|
36
|
+
```bash
|
|
37
|
+
openclaw recipes scaffold-team development-team \
|
|
38
|
+
--team-id development-team \
|
|
39
|
+
--overwrite \
|
|
40
|
+
--apply-config
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 4) Dispatch a request into work artifacts
|
|
44
|
+
```bash
|
|
45
|
+
openclaw recipes dispatch \
|
|
46
|
+
--team-id development-team \
|
|
47
|
+
--request "Add a new recipe for a customer-support team" \
|
|
48
|
+
--owner lead
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Commands (high level)
|
|
52
|
+
- `openclaw recipes list|show|status`
|
|
53
|
+
- `openclaw recipes scaffold` (agent)
|
|
54
|
+
- `openclaw recipes scaffold-team` (team)
|
|
55
|
+
- `openclaw recipes install <idOrSlug> [--yes]` (workspace-local skill install)
|
|
56
|
+
- `openclaw recipes dispatch ...` (request → inbox + ticket + assignment)
|
|
57
|
+
|
|
58
|
+
For full details, see `docs/COMMANDS.md`.
|
|
59
|
+
|
|
60
|
+
## Configuration
|
|
61
|
+
The plugin supports these config keys (with defaults):
|
|
62
|
+
- `workspaceRecipesDir` (default: `recipes`)
|
|
63
|
+
- `workspaceAgentsDir` (default: `agents`)
|
|
64
|
+
- `workspaceSkillsDir` (default: `skills`)
|
|
65
|
+
- `workspaceTeamsDir` (default: `teams`)
|
|
66
|
+
- `autoInstallMissingSkills` (default: `false`)
|
|
67
|
+
- `confirmAutoInstall` (default: `true`)
|
|
68
|
+
|
|
69
|
+
Config schema is defined in `openclaw.plugin.json`.
|
|
70
|
+
|
|
71
|
+
## Documentation
|
|
72
|
+
Start here:
|
|
73
|
+
- Installation: `docs/INSTALLATION.md`
|
|
74
|
+
- Agents + skills: `docs/AGENTS_AND_SKILLS.md`
|
|
75
|
+
- Tutorial (create a recipe): `docs/TUTORIAL_CREATE_RECIPE.md`
|
|
76
|
+
|
|
77
|
+
Reference:
|
|
78
|
+
- Commands: `docs/COMMANDS.md`
|
|
79
|
+
- Recipe format: `docs/RECIPE_FORMAT.md`
|
|
80
|
+
- Bundled recipes: `docs/BUNDLED_RECIPES.md`
|
|
81
|
+
- Team workflow: `docs/TEAM_WORKFLOW.md`
|
|
82
|
+
- Clawcipes Kitchen (UI): `docs/CLAWCIPES_KITCHEN.md`
|
|
83
|
+
|
|
84
|
+
(Also see: GitHub repo https://github.com/rjdjohnston/clawcipes)
|
|
85
|
+
## Notes / principles
|
|
86
|
+
- Workspace-local skills live in `~/.openclaw/workspace/skills` by default.
|
|
87
|
+
- Team IDs end with `-team`; agent IDs are namespaced: `<teamId>-<role>`.
|
|
88
|
+
- Recipe template rendering is intentionally simple: `{{var}}` replacement only.
|
|
89
|
+
|
|
90
|
+
## Links
|
|
91
|
+
- GitHub: https://github.com/rjdjohnston/clawcipes
|
|
92
|
+
- Docs:
|
|
93
|
+
- Installation: `docs/INSTALLATION.md`
|
|
94
|
+
- Commands: `docs/COMMANDS.md`
|
|
95
|
+
- Recipe format: `docs/RECIPE_FORMAT.md`
|
|
96
|
+
- Team workflow: `docs/TEAM_WORKFLOW.md`
|
|
97
|
+
|
|
98
|
+
## What you should be developing (not this plugin)
|
|
99
|
+
Clawcipes is meant to be *installed* and then used to build **agents + teams**.
|
|
100
|
+
|
|
101
|
+
Most users should focus on:
|
|
102
|
+
- authoring recipes in their OpenClaw workspace (`<workspace>/recipes/*.md`)
|
|
103
|
+
- scaffolding teams (`openclaw recipes scaffold-team ...`)
|
|
104
|
+
- running the file-first workflow (dispatch → backlog → in-progress → done)
|
|
Binary file
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Agents and skills (OpenClaw + Clawcipes)
|
|
2
|
+
|
|
3
|
+
This doc explains the mental model: **what an agent is**, how **skills/tools** work, and how Clawcipes helps you build agents + teams.
|
|
4
|
+
|
|
5
|
+
## What is an agent?
|
|
6
|
+
In OpenClaw, an **agent** is a configured assistant persona with:
|
|
7
|
+
- a **workspace folder** (where it reads/writes files)
|
|
8
|
+
- optional **identity** (name, avatar, emoji, tone)
|
|
9
|
+
- a **tool policy** (what tools it is allowed to use)
|
|
10
|
+
- a **model** configuration (defaults come from OpenClaw)
|
|
11
|
+
|
|
12
|
+
In Clawcipes, an agent is typically created by scaffolding a folder like:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
~/.openclaw/workspace/agents/<agentId>/
|
|
16
|
+
SOUL.md
|
|
17
|
+
AGENTS.md
|
|
18
|
+
...other recipe files...
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Why separate agents?
|
|
22
|
+
- Separation of concerns (research vs writing vs devops)
|
|
23
|
+
- Cleaner prompts/personas
|
|
24
|
+
- Safer tool permissions (e.g., only DevOps gets automation)
|
|
25
|
+
- Clear ownership of outputs (each agent writes to its own workspace)
|
|
26
|
+
|
|
27
|
+
## What is a skill?
|
|
28
|
+
A **skill** is a packaged integration or capability (e.g. Gmail, Calendar, Places search, Twitter/X tooling).
|
|
29
|
+
|
|
30
|
+
Skills can provide:
|
|
31
|
+
- tools/actions (e.g., `gog gmail ...`, `local-places ...`)
|
|
32
|
+
- configuration schemas / env vars
|
|
33
|
+
- helper scripts or CLIs
|
|
34
|
+
|
|
35
|
+
In OpenClaw, skills are surfaced as tools the agent can use.
|
|
36
|
+
|
|
37
|
+
## Tool policies (allow/deny)
|
|
38
|
+
Every agent can have a tool policy in OpenClaw config (written via `--apply-config` when scaffolding).
|
|
39
|
+
|
|
40
|
+
Clawcipes recipes commonly use:
|
|
41
|
+
- `allow: ["group:fs", "group:web"]` for safe file + web access
|
|
42
|
+
- `allow: ["group:runtime"]` when the agent needs to run local commands
|
|
43
|
+
- `allow: ["group:automation"]` for automation-oriented tools
|
|
44
|
+
- `deny: ["exec"]` for safety on agents that shouldn’t execute commands
|
|
45
|
+
|
|
46
|
+
The intent:
|
|
47
|
+
- Most agents should **not** have `exec`.
|
|
48
|
+
- Only agents that truly need it (dev/devops) should get runtime/exec capabilities.
|
|
49
|
+
|
|
50
|
+
## Installing skills (workspace-local)
|
|
51
|
+
Clawcipes favors **workspace-local** installs so each OpenClaw workspace is self-contained.
|
|
52
|
+
|
|
53
|
+
### Install a skill slug
|
|
54
|
+
```bash
|
|
55
|
+
openclaw recipes install <skill-slug>
|
|
56
|
+
# or non-interactive:
|
|
57
|
+
openclaw recipes install <skill-slug> --yes
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
This runs ClawHub under the hood and installs into:
|
|
61
|
+
- `~/.openclaw/workspace/skills/<skill-slug>` (by default)
|
|
62
|
+
|
|
63
|
+
### Install the skills required by a recipe
|
|
64
|
+
If a recipe declares skills in `requiredSkills` or `optionalSkills`:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
openclaw recipes install <recipe-id>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
That installs the recipe’s declared skills.
|
|
71
|
+
|
|
72
|
+
### Removing a skill
|
|
73
|
+
Clawcipes currently does **not** implement a remove command.
|
|
74
|
+
|
|
75
|
+
To remove a workspace-local skill:
|
|
76
|
+
- delete the folder: `~/.openclaw/workspace/skills/<skill-slug>`
|
|
77
|
+
- restart: `openclaw gateway restart`
|
|
78
|
+
|
|
79
|
+
(We can add `openclaw recipes uninstall <slug>` later if you want it to be first-class.)
|
|
80
|
+
|
|
81
|
+
## Teams: shared workspace + multiple agents
|
|
82
|
+
A **team** recipe scaffolds:
|
|
83
|
+
- a shared team folder under `teams/<teamId>/...`
|
|
84
|
+
- multiple agents under `agents/<teamId>-<role>/...`
|
|
85
|
+
|
|
86
|
+
The shared workspace is the source of truth for:
|
|
87
|
+
- intake (`inbox/`)
|
|
88
|
+
- work queue (`work/backlog`, `work/in-progress`, `work/done`)
|
|
89
|
+
- assignments (`work/assignments`)
|
|
90
|
+
- deliverables (`outbox/`)
|
|
91
|
+
|
|
92
|
+
## Updating agents after you scaffold them
|
|
93
|
+
Once an agent exists, there are **two layers** you can update:
|
|
94
|
+
|
|
95
|
+
### 1) The agent’s files (workspace)
|
|
96
|
+
Agents are just folders under:
|
|
97
|
+
- `~/.openclaw/workspace/agents/<agentId>/`
|
|
98
|
+
|
|
99
|
+
Common files:
|
|
100
|
+
- `SOUL.md` — the persona / operating style
|
|
101
|
+
- `AGENTS.md` — operating instructions / workflow
|
|
102
|
+
|
|
103
|
+
To change behavior, edit these files and then just use the agent again.
|
|
104
|
+
|
|
105
|
+
If the agent was created from a recipe, re-running scaffold with `--overwrite` will overwrite recipe-managed files:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
openclaw recipes scaffold <recipeId> --agent-id <agentId> --overwrite
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
For teams, you typically re-run `scaffold-team`:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
openclaw recipes scaffold-team <recipeId> --team-id <teamId> --overwrite
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### 2) The agent’s OpenClaw config (tool permissions, identity, model)
|
|
118
|
+
When you scaffold with `--apply-config`, Clawcipes writes the agent entry into OpenClaw config:
|
|
119
|
+
- `~/.openclaw/openclaw.json` → `agents.list[]`
|
|
120
|
+
|
|
121
|
+
Re-run scaffold/scaffold-team with `--apply-config` any time you want the recipe’s tool policy (allow/deny) to be re-applied.
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
openclaw recipes scaffold-team <recipeId> --team-id <teamId> --apply-config
|
|
125
|
+
openclaw gateway restart
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Where to find agent config in the OpenClaw UI
|
|
129
|
+
OpenClaw exposes agent configuration in its UI (labels/paths depend on your build), typically under something like:
|
|
130
|
+
- **Settings → Agents**
|
|
131
|
+
|
|
132
|
+
From there you can:
|
|
133
|
+
- select an agent
|
|
134
|
+
- view/edit its identity
|
|
135
|
+
- review tool permissions
|
|
136
|
+
- confirm which workspace it uses
|
|
137
|
+
|
|
138
|
+
If you prefer files, the source-of-truth config file is:
|
|
139
|
+
- `~/.openclaw/openclaw.json`
|
|
140
|
+
|
|
141
|
+
## How to create your own agents/teams
|
|
142
|
+
You have three main options:
|
|
143
|
+
|
|
144
|
+
1) Use a bundled recipe (fast start)
|
|
145
|
+
- `openclaw recipes scaffold-team development-team --team-id my-dev-team-team --apply-config`
|
|
146
|
+
|
|
147
|
+
2) Write your own recipe in your workspace
|
|
148
|
+
- Create: `~/.openclaw/workspace/recipes/my-team.md`
|
|
149
|
+
- Then: `openclaw recipes scaffold-team my-team --team-id my-team-team --apply-config`
|
|
150
|
+
|
|
151
|
+
3) Copy a bundled recipe and modify it
|
|
152
|
+
- Use `openclaw recipes show <id>` to view it
|
|
153
|
+
- Copy into your workspace recipes dir and edit
|
|
154
|
+
|
|
155
|
+
Next: read `docs/TUTORIAL_CREATE_RECIPE.md` for a step-by-step guide.
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# Bundled recipes
|
|
2
|
+
|
|
3
|
+
Clawcipes ships with a few recipes in `recipes/default/`.
|
|
4
|
+
|
|
5
|
+
You can:
|
|
6
|
+
- list them: `openclaw recipes list`
|
|
7
|
+
- inspect them: `openclaw recipes show <id>`
|
|
8
|
+
|
|
9
|
+
Below is a guided explanation of what each bundled recipe does.
|
|
10
|
+
|
|
11
|
+
## 1) `project-manager` (agent)
|
|
12
|
+
**Kind:** agent
|
|
13
|
+
|
|
14
|
+
**Use when:** you want a lightweight agent that keeps plans tidy and maintains a cadence.
|
|
15
|
+
|
|
16
|
+
Scaffold:
|
|
17
|
+
```bash
|
|
18
|
+
openclaw recipes scaffold project-manager --agent-id pm --name "Project Manager" --apply-config
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
What it writes:
|
|
22
|
+
- `agents/pm/SOUL.md`
|
|
23
|
+
- `agents/pm/AGENTS.md`
|
|
24
|
+
|
|
25
|
+
Default tool policy (recipe-defined):
|
|
26
|
+
- allows: `group:fs`, `group:web`, plus `cron` and `message`
|
|
27
|
+
- denies: `exec`
|
|
28
|
+
|
|
29
|
+
## 2) `social-team` (team)
|
|
30
|
+
**Kind:** team
|
|
31
|
+
|
|
32
|
+
**Use when:** you want a multi-role social pipeline: lead + research + writer + editor.
|
|
33
|
+
|
|
34
|
+
Scaffold:
|
|
35
|
+
```bash
|
|
36
|
+
openclaw recipes scaffold-team social-team --team-id social-team-team --apply-config
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
What it creates:
|
|
40
|
+
- `teams/social-team-team/` shared workspace
|
|
41
|
+
- agents:
|
|
42
|
+
- `agents/social-team-team-lead/`
|
|
43
|
+
- `agents/social-team-team-research/`
|
|
44
|
+
- `agents/social-team-team-writer/`
|
|
45
|
+
- `agents/social-team-team-editor/`
|
|
46
|
+
|
|
47
|
+
Notes:
|
|
48
|
+
- Default `tools` in the recipe deny `exec` (safer by default).
|
|
49
|
+
|
|
50
|
+
## 3) `development-team` (team)
|
|
51
|
+
**Kind:** team
|
|
52
|
+
|
|
53
|
+
**Use when:** you want a small engineering team with a file-first ticket queue.
|
|
54
|
+
|
|
55
|
+
Scaffold:
|
|
56
|
+
```bash
|
|
57
|
+
openclaw recipes scaffold-team development-team --team-id development-team-team --apply-config
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
What it creates:
|
|
61
|
+
- `teams/development-team-team/` shared workspace
|
|
62
|
+
- agents:
|
|
63
|
+
- `agents/development-team-team-lead/`
|
|
64
|
+
- `agents/development-team-team-dev/`
|
|
65
|
+
- `agents/development-team-team-devops/`
|
|
66
|
+
|
|
67
|
+
Special features:
|
|
68
|
+
- A strict ticket workflow documented in the lead’s `AGENTS.md`.
|
|
69
|
+
- Recommended ticket naming: `0001-...md`, `0002-...md`, etc.
|
|
70
|
+
- Tool policies intended for real work:
|
|
71
|
+
- lead: includes runtime + automation
|
|
72
|
+
- dev: includes runtime
|
|
73
|
+
- devops: includes runtime + automation
|
|
74
|
+
|
|
75
|
+
## 4) `research-team` (team)
|
|
76
|
+
**Kind:** team
|
|
77
|
+
|
|
78
|
+
**Use when:** you need repeatable, citations-first research output.
|
|
79
|
+
|
|
80
|
+
Scaffold:
|
|
81
|
+
```bash
|
|
82
|
+
openclaw recipes scaffold-team research-team --team-id research-team-team --apply-config
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
What it creates:
|
|
86
|
+
- shared team workspace with conventional research folders:
|
|
87
|
+
- `work/sources/`, `work/notes/`, `work/briefs/`
|
|
88
|
+
- agents:
|
|
89
|
+
- lead (dispatch + quality bar)
|
|
90
|
+
- researcher (web sourcing + notes)
|
|
91
|
+
- fact-checker (verification)
|
|
92
|
+
- summarizer (brief writing)
|
|
93
|
+
|
|
94
|
+
Default tool policy:
|
|
95
|
+
- allows web access + file operations
|
|
96
|
+
- denies `exec` (safe-by-default)
|
|
97
|
+
|
|
98
|
+
## 5) `writing-team` (team)
|
|
99
|
+
**Kind:** team
|
|
100
|
+
|
|
101
|
+
**Use when:** you want a writing pipeline from brief → outline → draft → edit.
|
|
102
|
+
|
|
103
|
+
Scaffold:
|
|
104
|
+
```bash
|
|
105
|
+
openclaw recipes scaffold-team writing-team --team-id writing-team-team --apply-config
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
What it creates:
|
|
109
|
+
- shared team workspace with writing pipeline folders:
|
|
110
|
+
- `work/briefs/`, `work/outlines/`, `work/drafts/`, `work/edited/`
|
|
111
|
+
- agents:
|
|
112
|
+
- lead
|
|
113
|
+
- outliner
|
|
114
|
+
- writer
|
|
115
|
+
- editor
|
|
116
|
+
|
|
117
|
+
Default tool policy:
|
|
118
|
+
- allows web access + file operations
|
|
119
|
+
- denies `exec` (safe-by-default)
|
|
120
|
+
|
|
121
|
+
## 6) `customer-support-team` (team)
|
|
122
|
+
**Kind:** team
|
|
123
|
+
|
|
124
|
+
**Use when:** you want a repeatable support workflow: triage → resolution → KB.
|
|
125
|
+
|
|
126
|
+
Scaffold:
|
|
127
|
+
```bash
|
|
128
|
+
openclaw recipes scaffold-team customer-support-team --team-id customer-support-team-team --apply-config
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
What it creates:
|
|
132
|
+
- shared workspace conventions:
|
|
133
|
+
- `work/cases/`, `work/replies/`, `work/kb/`
|
|
134
|
+
- agents:
|
|
135
|
+
- lead, triage, resolver, kb-writer
|
|
136
|
+
|
|
137
|
+
Default tool policy:
|
|
138
|
+
- allows web access + file operations
|
|
139
|
+
- denies `exec` (safe-by-default)
|
|
140
|
+
|
|
141
|
+
## 7) `product-team` (team)
|
|
142
|
+
**Kind:** team
|
|
143
|
+
|
|
144
|
+
**Use when:** you want a PRD → design → build → QA delivery loop.
|
|
145
|
+
|
|
146
|
+
Scaffold:
|
|
147
|
+
```bash
|
|
148
|
+
openclaw recipes scaffold-team product-team --team-id product-team-team --apply-config
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Notes:
|
|
152
|
+
- The `engineer` role allows `group:runtime` and does **not** deny `exec` so it can run local tooling.
|
|
153
|
+
|
|
154
|
+
## 8) `researcher` (agent)
|
|
155
|
+
**Kind:** agent
|
|
156
|
+
|
|
157
|
+
**Use when:** you want a single, citations-first research agent.
|
|
158
|
+
|
|
159
|
+
Scaffold:
|
|
160
|
+
```bash
|
|
161
|
+
openclaw recipes scaffold researcher --agent-id researcher --apply-config
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Default tool policy:
|
|
165
|
+
- allows web access + file operations
|
|
166
|
+
- denies `exec`
|
|
167
|
+
|
|
168
|
+
## 9) `editor` (agent)
|
|
169
|
+
**Kind:** agent
|
|
170
|
+
|
|
171
|
+
**Use when:** you want a single editing agent.
|
|
172
|
+
|
|
173
|
+
Scaffold:
|
|
174
|
+
```bash
|
|
175
|
+
openclaw recipes scaffold editor --agent-id editor --apply-config
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Default tool policy:
|
|
179
|
+
- allows web access + file operations
|
|
180
|
+
- denies `exec`
|
|
181
|
+
|
|
182
|
+
## 10) `developer` (agent)
|
|
183
|
+
**Kind:** agent
|
|
184
|
+
|
|
185
|
+
**Use when:** you want a single developer agent with runtime tooling.
|
|
186
|
+
|
|
187
|
+
Scaffold:
|
|
188
|
+
```bash
|
|
189
|
+
openclaw recipes scaffold developer --agent-id dev --apply-config
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Default tool policy:
|
|
193
|
+
- allows `group:runtime`
|
|
194
|
+
- does not deny `exec`
|
|
195
|
+
|
|
196
|
+
## Copying and modifying bundled recipes
|
|
197
|
+
A good workflow is:
|
|
198
|
+
1) Inspect:
|
|
199
|
+
```bash
|
|
200
|
+
openclaw recipes show development-team > /tmp/development-team.md
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
2) Copy into your workspace recipes folder:
|
|
204
|
+
```bash
|
|
205
|
+
cp /tmp/development-team.md ~/.openclaw/workspace/recipes/my-dev-team.md
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
3) Edit the new recipe file and scaffold it.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Clawcipes Kitchen (UI)
|
|
2
|
+
|
|
3
|
+
Clawcipes Kitchen is our UI for managing Clawcipes workflows.
|
|
4
|
+
|
|
5
|
+
## What it’s for
|
|
6
|
+
- Activity feed (high-level semantic events)
|
|
7
|
+
- Weekly scheduled-task view
|
|
8
|
+
- Global search across workspace + memory/docs + tasks
|
|
9
|
+
- Agent chat room
|
|
10
|
+
- Goals system (file-based source of truth)
|
|
11
|
+
- Approvals inbox + routing (e.g., Telegram)
|
|
12
|
+
|
|
13
|
+
## Status
|
|
14
|
+
Clawcipes Kitchen is under active development.
|
|
15
|
+
|
|
16
|
+
## Relationship to the plugin
|
|
17
|
+
- The **Clawcipes plugin** is CLI-first and works without any UI.
|
|
18
|
+
- Clawcipes Kitchen is an optional UI companion for:
|
|
19
|
+
- visibility (activity/search)
|
|
20
|
+
- approvals
|
|
21
|
+
- human review of plans and changes
|
|
22
|
+
|
|
23
|
+
## Roadmap (high level)
|
|
24
|
+
- Approvals UI (approve/deny + audit trail)
|
|
25
|
+
- Recipe browser and scaffold flows
|
|
26
|
+
- Team dashboards (backlog/in-progress/done)
|
|
27
|
+
- Publishing workflow integration
|
package/docs/COMMANDS.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# Command reference
|
|
2
|
+
|
|
3
|
+
All commands live under:
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
openclaw recipes <command>
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## `list`
|
|
10
|
+
List available recipes (builtin + workspace).
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
openclaw recipes list
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Outputs JSON rows:
|
|
17
|
+
- `id`, `name`, `kind`, `source`
|
|
18
|
+
|
|
19
|
+
## `show <id>`
|
|
20
|
+
Print the raw recipe markdown.
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
openclaw recipes show development-team
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## `status [id]`
|
|
27
|
+
Check missing skills for a recipe (or all recipes).
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
openclaw recipes status
|
|
31
|
+
openclaw recipes status development-team
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## `scaffold <recipeId>`
|
|
35
|
+
Scaffold a single agent workspace from an **agent** recipe.
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
openclaw recipes scaffold project-manager --agent-id pm --name "Project Manager" --apply-config
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Options:
|
|
42
|
+
- `--agent-id <id>` (required)
|
|
43
|
+
- `--name <name>`
|
|
44
|
+
- `--overwrite` (overwrite recipe-managed files)
|
|
45
|
+
- `--apply-config` (write/update `agents.list[]` in OpenClaw config)
|
|
46
|
+
|
|
47
|
+
## `scaffold-team <recipeId>`
|
|
48
|
+
Scaffold a team workspace + multiple agents from a **team** recipe.
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
openclaw recipes scaffold-team development-team \
|
|
52
|
+
--team-id development-team \
|
|
53
|
+
--overwrite \
|
|
54
|
+
--apply-config
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Options:
|
|
58
|
+
- `--team-id <teamId>` (required)
|
|
59
|
+
- **Must end with `-team`** (enforced)
|
|
60
|
+
- `--overwrite`
|
|
61
|
+
- `--apply-config`
|
|
62
|
+
|
|
63
|
+
Creates a team directory with standard subfolders:
|
|
64
|
+
- `teams/<teamId>/{shared,inbox,outbox,notes,work}`
|
|
65
|
+
- `teams/<teamId>/work/{backlog,in-progress,done,assignments}`
|
|
66
|
+
|
|
67
|
+
Also creates agent workspaces under:
|
|
68
|
+
- `agents/<teamId>-<role>/...`
|
|
69
|
+
|
|
70
|
+
## `install <idOrSlug> [--yes]`
|
|
71
|
+
Install skills into the **workspace-local** skills directory.
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
openclaw recipes install local-places
|
|
75
|
+
openclaw recipes install local-places --yes
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Behavior:
|
|
79
|
+
- If `idOrSlug` matches a recipe id, installs that recipe’s `requiredSkills` + `optionalSkills`.
|
|
80
|
+
- Otherwise treats it as a ClawHub skill slug.
|
|
81
|
+
- Installs via:
|
|
82
|
+
- `npx clawhub@latest --workdir <workspaceRoot> --dir skills install <slug>`
|
|
83
|
+
- Confirmation-gated unless `--yes`.
|
|
84
|
+
- In non-interactive mode (no TTY), requires `--yes`.
|
|
85
|
+
|
|
86
|
+
## `dispatch`
|
|
87
|
+
Convert a natural-language request into file-first execution artifacts.
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
openclaw recipes dispatch \
|
|
91
|
+
--team-id development-team \
|
|
92
|
+
--request "Add a customer-support team recipe" \
|
|
93
|
+
--owner lead
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Options:
|
|
97
|
+
- `--team-id <teamId>` (required)
|
|
98
|
+
- `--request <text>` (optional; prompts in TTY)
|
|
99
|
+
- `--owner dev|devops|lead` (default: `dev`)
|
|
100
|
+
- `--yes` (skip review prompt)
|
|
101
|
+
|
|
102
|
+
Creates (createOnly):
|
|
103
|
+
- `teams/<teamId>/inbox/<timestamp>-<slug>.md`
|
|
104
|
+
- `teams/<teamId>/work/backlog/<NNNN>-<slug>.md`
|
|
105
|
+
- `teams/<teamId>/work/assignments/<NNNN>-assigned-<owner>.md`
|
|
106
|
+
|
|
107
|
+
Ticket numbering:
|
|
108
|
+
- Scans `work/backlog`, `work/in-progress`, `work/done` and uses max+1.
|
|
109
|
+
|
|
110
|
+
Review-before-write:
|
|
111
|
+
- Prints a JSON plan and asks for confirmation unless `--yes`.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
This repo is an **OpenClaw plugin** (not a standalone CLI). OpenClaw loads it and exposes the commands under:
|
|
4
|
+
|
|
5
|
+
- `openclaw recipes ...`
|
|
6
|
+
|
|
7
|
+
## Prerequisites
|
|
8
|
+
- OpenClaw installed and working (`openclaw --version`)
|
|
9
|
+
- Node.js available (OpenClaw uses Node to load plugins)
|
|
10
|
+
- (For `recipes install`) you’ll need access to ClawHub (the command runs `npx clawhub@latest ...`).
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
### Option A (preferred): install from npm
|
|
14
|
+
Once published, you can install directly via npm:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
openclaw plugins install @clawcipes/recipes
|
|
18
|
+
openclaw gateway restart
|
|
19
|
+
openclaw plugins list
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Option B: install from GitHub
|
|
23
|
+
```bash
|
|
24
|
+
git clone https://github.com/rjdjohnston/clawcipes.git ~/clawcipes
|
|
25
|
+
openclaw plugins install --link ~/clawcipes
|
|
26
|
+
openclaw gateway restart
|
|
27
|
+
openclaw plugins list
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Option B: already cloned
|
|
31
|
+
```bash
|
|
32
|
+
openclaw plugins install --link ~/clawcipes
|
|
33
|
+
openclaw gateway restart
|
|
34
|
+
openclaw plugins list
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Confirm it loaded:
|
|
38
|
+
```bash
|
|
39
|
+
openclaw plugins list
|
|
40
|
+
# look for id: recipes
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
4) Try a basic command:
|
|
44
|
+
```bash
|
|
45
|
+
openclaw recipes list
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Updating the plugin
|
|
49
|
+
If you pull a newer version from GitHub, restart the gateway so OpenClaw reloads the plugin:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
cd ~/clawcipes
|
|
53
|
+
git pull
|
|
54
|
+
openclaw gateway restart
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Uninstall / disable
|
|
58
|
+
If installed via local path, remove the plugin install entry and restart:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
openclaw plugins uninstall recipes
|
|
62
|
+
openclaw gateway restart
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
(If `plugins uninstall` is not available in your build, remove the path from your OpenClaw config’s plugin load paths and restart.)
|
|
66
|
+
|
|
67
|
+
## Troubleshooting
|
|
68
|
+
### Plugin loads but commands are missing
|
|
69
|
+
- Restart: `openclaw gateway restart`
|
|
70
|
+
- Check: `openclaw plugins list`
|
|
71
|
+
- Verify `openclaw.plugin.json` exists at repo root and has `id: "recipes"`.
|
|
72
|
+
|
|
73
|
+
### `recipes install` fails
|
|
74
|
+
- Run `npx clawhub@latest --help` to confirm the CLI can run.
|
|
75
|
+
- Ensure you are logged into ClawHub if required (`npx clawhub@latest login`).
|
|
76
|
+
- Confirm installs go into the workspace-local skills dir (default `~/.openclaw/workspace/skills`).
|