@jiggai/recipes 0.2.18 → 0.2.20

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.
@@ -193,6 +193,87 @@ Default tool policy:
193
193
  - allows `group:runtime`
194
194
  - does not deny `exec`
195
195
 
196
+ ---
197
+
198
+ # Vertical packs (bundled team recipes)
199
+
200
+ ## 11) `business-team` (team)
201
+ **Use when:** you want a general-purpose business execution team.
202
+
203
+ Scaffold:
204
+ ```bash
205
+ openclaw recipes scaffold-team business-team --team-id business-team-team --apply-config
206
+ ```
207
+
208
+ Roles:
209
+ - lead, ops, sales, marketing, finance, analyst
210
+
211
+ ## 12) `law-firm-team` (team)
212
+ **Use when:** you want a legal practice workflow: intake → research → drafting → compliance.
213
+
214
+ Scaffold:
215
+ ```bash
216
+ openclaw recipes scaffold-team law-firm-team --team-id law-firm-team-team --apply-config
217
+ ```
218
+
219
+ Roles:
220
+ - lead, intake, researcher, drafter, compliance, ops
221
+
222
+ ## 13) `clinic-team` (team)
223
+ **Use when:** you want a clinic ops workflow: intake/scheduling/billing/compliance/patient education.
224
+
225
+ Scaffold:
226
+ ```bash
227
+ openclaw recipes scaffold-team clinic-team --team-id clinic-team-team --apply-config
228
+ ```
229
+
230
+ Roles:
231
+ - lead, intake, scheduler, billing, compliance, educator
232
+
233
+ ## 14) `construction-team` (team)
234
+ **Use when:** you want a construction delivery workflow: PM/estimation/scheduling/safety/procurement.
235
+
236
+ Scaffold:
237
+ ```bash
238
+ openclaw recipes scaffold-team construction-team --team-id construction-team-team --apply-config
239
+ ```
240
+
241
+ Roles:
242
+ - lead, pm, estimator, scheduler, safety, procurement
243
+
244
+ ## 15) `financial-planner-team` (team)
245
+ **Use when:** you want a financial planning practice workflow.
246
+
247
+ Scaffold:
248
+ ```bash
249
+ openclaw recipes scaffold-team financial-planner-team --team-id financial-planner-team-team --apply-config
250
+ ```
251
+
252
+ Roles:
253
+ - lead, advisor, analyst, tax, insurance, ops
254
+
255
+ ## 16) `stock-trader-team` (team)
256
+ **Use when:** you want a trading workflow: research/signals/risk/journaling.
257
+
258
+ Scaffold:
259
+ ```bash
260
+ openclaw recipes scaffold-team stock-trader-team --team-id stock-trader-team-team --apply-config
261
+ ```
262
+
263
+ Roles:
264
+ - lead, researcher, signals, risk, journal, ops
265
+
266
+ ## 17) `crypto-trader-team` (team)
267
+ **Use when:** you want a crypto trading workflow with onchain research.
268
+
269
+ Scaffold:
270
+ ```bash
271
+ openclaw recipes scaffold-team crypto-trader-team --team-id crypto-trader-team-team --apply-config
272
+ ```
273
+
274
+ Roles:
275
+ - lead, onchain, news, risk, ops, journal
276
+
196
277
  ## Copying and modifying bundled recipes
197
278
  A good workflow is:
198
279
  1) Inspect:
package/index.ts CHANGED
@@ -2343,14 +2343,22 @@ const recipesPlugin = {
2343
2343
 
2344
2344
  const planPath = path.join(notesDir, "plan.md");
2345
2345
  const statusPath = path.join(notesDir, "status.md");
2346
+ const goalsIndexPath = path.join(notesDir, "GOALS.md");
2347
+ const goalsDir = path.join(notesDir, "goals");
2348
+ const goalsReadmePath = path.join(goalsDir, "README.md");
2346
2349
  const ticketsPath = path.join(teamDir, "TICKETS.md");
2347
2350
 
2348
2351
  const planMd = `# Plan — ${teamId}\n\n- (empty)\n`;
2349
2352
  const statusMd = `# Status — ${teamId}\n\n- (empty)\n`;
2353
+ const goalsIndexMd = `# Goals — ${teamId}\n\nThis folder is the canonical home for goals.\n\n## How to use\n- Create one markdown file per goal under: notes/goals/\n- Add a link here for discoverability\n\n## Goals\n- (empty)\n`;
2354
+ const goalsReadmeMd = `# Goals folder — ${teamId}\n\nCreate one markdown file per goal in this directory.\n\nRecommended file naming:\n- short, kebab-case, no leading numbers (e.g. \`reduce-support-backlog.md\`)\n\nLink goals from:\n- notes/GOALS.md\n`;
2350
2355
  const ticketsMd = `# Tickets — ${teamId}\n\n## Naming\n- Backlog tickets live in work/backlog/\n- In-progress tickets live in work/in-progress/\n- Testing tickets live in work/testing/\n- Done tickets live in work/done/\n- Filename ordering is the queue: 0001-..., 0002-...\n\n## Stages\n- backlog → in-progress → testing → done\n\n## QA handoff\n- When work is ready for QA: move the ticket to \`work/testing/\` and assign to test.\n\n## Required fields\nEach ticket should include:\n- Title\n- Context\n- Requirements\n- Acceptance criteria\n- Owner (dev/devops/lead/test)\n- Status (queued/in-progress/testing/done)\n\n## Example\n\n\`\`\`md\n# 0001-example-ticket\n\nOwner: dev\nStatus: queued\n\n## Context\n...\n\n## Requirements\n- ...\n\n## Acceptance criteria\n- ...\n\`\`\`\n`;
2351
2356
 
2357
+ await ensureDir(goalsDir);
2352
2358
  await writeFileSafely(planPath, planMd, overwrite ? "overwrite" : "createOnly");
2353
2359
  await writeFileSafely(statusPath, statusMd, overwrite ? "overwrite" : "createOnly");
2360
+ await writeFileSafely(goalsIndexPath, goalsIndexMd, overwrite ? "overwrite" : "createOnly");
2361
+ await writeFileSafely(goalsReadmePath, goalsReadmeMd, overwrite ? "overwrite" : "createOnly");
2354
2362
  await writeFileSafely(ticketsPath, ticketsMd, overwrite ? "overwrite" : "createOnly");
2355
2363
 
2356
2364
  const agents = recipe.agents ?? [];
@@ -2,7 +2,7 @@
2
2
  "id": "recipes",
3
3
  "name": "Recipes",
4
4
  "description": "Markdown recipes that scaffold agents and teams (workspace-local).",
5
- "version": "0.2.17",
5
+ "version": "0.2.20",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiggai/recipes",
3
- "version": "0.2.18",
3
+ "version": "0.2.20",
4
4
  "description": "ClawRecipes plugin for OpenClaw (markdown recipes -> scaffold agents/teams)",
5
5
  "main": "index.ts",
6
6
  "type": "commonjs",
@@ -0,0 +1,174 @@
1
+ ---
2
+ id: business-team
3
+ name: Business Team
4
+ version: 0.1.0
5
+ description: A small generalist business team (ops, sales, marketing, finance, analyst) that runs execution through a shared workspace.
6
+ kind: team
7
+ cronJobs:
8
+ - id: lead-triage-loop
9
+ name: "Lead triage loop"
10
+ schedule: "*/30 7-23 * * 1-5"
11
+ timezone: "America/New_York"
12
+ message: "Automated lead triage loop (Business Team): triage inbox/tickets, assign work, and update notes/status.md."
13
+ enabledByDefault: false
14
+ - id: execution-loop
15
+ name: "Execution loop"
16
+ schedule: "*/30 7-23 * * 1-5"
17
+ timezone: "America/New_York"
18
+ message: "Automated execution loop (Business Team): make progress on in-progress tickets and update notes/status.md."
19
+ enabledByDefault: false
20
+ requiredSkills: []
21
+ team:
22
+ teamId: business-team
23
+ agents:
24
+ - role: lead
25
+ name: Business Ops Lead
26
+ tools:
27
+ profile: "coding"
28
+ allow: ["group:fs", "group:web", "group:runtime"]
29
+ deny: ["exec"]
30
+ - role: ops
31
+ name: Operations Manager
32
+ tools:
33
+ profile: "coding"
34
+ allow: ["group:fs", "group:web"]
35
+ deny: ["exec"]
36
+ - role: sales
37
+ name: Sales / Partnerships
38
+ tools:
39
+ profile: "coding"
40
+ allow: ["group:fs", "group:web"]
41
+ deny: ["exec"]
42
+ - role: marketing
43
+ name: Marketing / Growth
44
+ tools:
45
+ profile: "coding"
46
+ allow: ["group:fs", "group:web"]
47
+ deny: ["exec"]
48
+ - role: finance
49
+ name: Finance / Bookkeeping
50
+ tools:
51
+ profile: "coding"
52
+ allow: ["group:fs", "group:web"]
53
+ deny: ["exec"]
54
+ - role: analyst
55
+ name: Business Analyst
56
+ tools:
57
+ profile: "coding"
58
+ allow: ["group:fs", "group:web"]
59
+ deny: ["exec"]
60
+
61
+ templates:
62
+ lead.soul: |
63
+ # SOUL.md
64
+
65
+ You are the Business Ops Lead / Dispatcher for {{teamId}}.
66
+
67
+ Core job:
68
+ - Convert incoming requests into scoped tickets.
69
+ - Assign to the right role (ops/sales/marketing/finance/analyst).
70
+ - Keep priorities clear and measurable.
71
+ - Maintain a single source of truth in the shared workspace.
72
+
73
+ lead.agents: |
74
+ # AGENTS.md
75
+
76
+ Team: {{teamId}}
77
+ Team directory: {{teamDir}}
78
+
79
+ ## Shared workspace
80
+ - inbox/ — incoming requests and raw notes
81
+ - work/backlog/ — normalized tickets (0001-...)
82
+ - work/in-progress/ — active tickets
83
+ - work/testing/ — reviews/verification
84
+ - work/done/ — completed tickets + DONE notes
85
+ - notes/plan.md — current plan (curated)
86
+ - notes/status.md — current status snapshot
87
+ - shared-context/ — shared references + append-only outputs
88
+ - outbox/ — final deliverables (emails/copy/plans)
89
+
90
+ ## Role routing
91
+ - ops → process, vendors, internal operations, SOPs
92
+ - sales → outreach sequences, CRM notes, partnership drafts
93
+ - marketing → positioning, campaigns, landing-page copy
94
+ - finance → pricing, forecasts, bookkeeping checklists
95
+ - analyst → research, competitive scans, metrics
96
+
97
+ ## Operating rhythm
98
+ 1) Triage inbox/ → tickets.
99
+ 2) Keep WIP small (max 1–2 active tickets per role).
100
+ 3) Every work session updates notes/status.md.
101
+
102
+ ops.soul: |
103
+ # SOUL.md
104
+
105
+ You are the Operations Manager on {{teamId}}.
106
+
107
+ You create SOPs, checklists, and lightweight processes that remove friction.
108
+
109
+ ops.agents: |
110
+ # AGENTS.md
111
+
112
+ Output:
113
+ - SOPs/checklists → shared-context/sops/
114
+ - Vendor notes → shared-context/vendors/
115
+ - Operational plans → outbox/
116
+
117
+ sales.soul: |
118
+ # SOUL.md
119
+
120
+ You are Sales / Partnerships on {{teamId}}.
121
+
122
+ You write outreach, qualify leads, and draft partnership terms.
123
+
124
+ sales.agents: |
125
+ # AGENTS.md
126
+
127
+ Output:
128
+ - Outreach sequences → outbox/sales/
129
+ - Call notes → shared-context/sales/call-notes/
130
+ - Partnership drafts → outbox/partnerships/
131
+
132
+ marketing.soul: |
133
+ # SOUL.md
134
+
135
+ You are Marketing / Growth on {{teamId}}.
136
+
137
+ You create crisp positioning, campaigns, and landing-page copy that converts.
138
+
139
+ marketing.agents: |
140
+ # AGENTS.md
141
+
142
+ Output:
143
+ - Positioning/messaging → shared-context/marketing/
144
+ - Campaign plans → outbox/marketing/
145
+ - Landing page copy → outbox/marketing/landing-pages/
146
+
147
+ finance.soul: |
148
+ # SOUL.md
149
+
150
+ You are Finance / Bookkeeping on {{teamId}}.
151
+
152
+ You build simple, defensible pricing and forecasts; you keep a paper trail.
153
+
154
+ finance.agents: |
155
+ # AGENTS.md
156
+
157
+ Output:
158
+ - Pricing memos → outbox/finance/
159
+ - Forecasts → outbox/finance/
160
+ - Bookkeeping checklists → shared-context/finance/
161
+
162
+ analyst.soul: |
163
+ # SOUL.md
164
+
165
+ You are the Business Analyst on {{teamId}}.
166
+
167
+ You turn ambiguous questions into structured analysis with clear recommendations.
168
+
169
+ analyst.agents: |
170
+ # AGENTS.md
171
+
172
+ Output:
173
+ - Research briefs → outbox/research/
174
+ - Metrics definitions/dashboards notes → shared-context/metrics/
@@ -0,0 +1,157 @@
1
+ ---
2
+ id: clinic-team
3
+ name: Clinic Team
4
+ version: 0.1.0
5
+ description: A small clinic operations team (intake, scheduling, billing, compliance, patient education) coordinated via a shared workspace.
6
+ kind: team
7
+ cronJobs:
8
+ - id: lead-triage-loop
9
+ name: "Lead triage loop"
10
+ schedule: "*/30 7-23 * * 1-5"
11
+ timezone: "America/New_York"
12
+ message: "Automated lead triage loop (Clinic Team): triage inbox/tickets, assign work, and update notes/status.md."
13
+ enabledByDefault: false
14
+ - id: execution-loop
15
+ name: "Execution loop"
16
+ schedule: "*/30 7-23 * * 1-5"
17
+ timezone: "America/New_York"
18
+ message: "Automated execution loop (Clinic Team): make progress on in-progress tickets and update notes/status.md."
19
+ enabledByDefault: false
20
+ requiredSkills: []
21
+ team:
22
+ teamId: clinic-team
23
+ agents:
24
+ - role: lead
25
+ name: Clinic Administrator / Lead
26
+ tools:
27
+ profile: "coding"
28
+ allow: ["group:fs", "group:web", "group:runtime"]
29
+ deny: ["exec"]
30
+ - role: intake
31
+ name: Patient Intake / Front Desk
32
+ tools:
33
+ profile: "coding"
34
+ allow: ["group:fs", "group:web"]
35
+ deny: ["exec"]
36
+ - role: scheduler
37
+ name: Scheduling Coordinator
38
+ tools:
39
+ profile: "coding"
40
+ allow: ["group:fs", "group:web"]
41
+ deny: ["exec"]
42
+ - role: billing
43
+ name: Billing & Insurance
44
+ tools:
45
+ profile: "coding"
46
+ allow: ["group:fs", "group:web"]
47
+ deny: ["exec"]
48
+ - role: compliance
49
+ name: Compliance / Privacy
50
+ tools:
51
+ profile: "coding"
52
+ allow: ["group:fs", "group:web"]
53
+ deny: ["exec"]
54
+ - role: educator
55
+ name: Patient Education Writer
56
+ tools:
57
+ profile: "coding"
58
+ allow: ["group:fs", "group:web"]
59
+ deny: ["exec"]
60
+
61
+ templates:
62
+ lead.soul: |
63
+ # SOUL.md
64
+
65
+ You are the Clinic Administrator / Lead for {{teamId}}.
66
+
67
+ Core job:
68
+ - Turn operational needs into clear tickets.
69
+ - Keep patient communications accurate, simple, and consistent.
70
+ - Maintain compliance/privacy hygiene in documentation.
71
+ - Keep throughput high (reduce delays, no dropped follow-ups).
72
+
73
+ lead.agents: |
74
+ # AGENTS.md
75
+
76
+ Team directory: {{teamDir}}
77
+
78
+ ## Shared workspace
79
+ - inbox/ — requests, phone/email summaries, operational issues
80
+ - work/backlog/ — tickets (0001-...)
81
+ - work/in-progress/ — active tickets
82
+ - work/testing/ — review/verification
83
+ - work/done/ — completed work + DONE notes
84
+ - work/patient-education/ — handouts, FAQs, after-visit summaries
85
+ - work/policies/ — internal policies (privacy, scheduling, billing)
86
+ - notes/status.md — daily status snapshot
87
+ - outbox/ — final artifacts to publish/send
88
+
89
+ intake.soul: |
90
+ # SOUL.md
91
+
92
+ You handle patient intake for {{teamId}}.
93
+
94
+ You produce clear summaries, required info checklists, and next-step instructions.
95
+
96
+ intake.agents: |
97
+ # AGENTS.md
98
+
99
+ Output:
100
+ - Intake templates → work/policies/intake/
101
+ - Call/email summaries → inbox/ (append-only) then ticketization
102
+
103
+ scheduler.soul: |
104
+ # SOUL.md
105
+
106
+ You coordinate scheduling for {{teamId}}.
107
+
108
+ You reduce no-shows and keep schedules accurate.
109
+
110
+ scheduler.agents: |
111
+ # AGENTS.md
112
+
113
+ Output:
114
+ - Scheduling scripts/templates → work/policies/scheduling/
115
+ - Reminder cadences → work/policies/scheduling/reminders.md
116
+
117
+ billing.soul: |
118
+ # SOUL.md
119
+
120
+ You manage billing and insurance workflows for {{teamId}}.
121
+
122
+ You produce step-by-step processes and clear patient-facing explanations.
123
+
124
+ billing.agents: |
125
+ # AGENTS.md
126
+
127
+ Output:
128
+ - Billing SOPs → work/policies/billing/
129
+ - Patient billing FAQs → work/patient-education/billing/
130
+
131
+ compliance.soul: |
132
+ # SOUL.md
133
+
134
+ You oversee compliance and privacy for {{teamId}}.
135
+
136
+ You flag risks and propose compliant alternatives.
137
+
138
+ compliance.agents: |
139
+ # AGENTS.md
140
+
141
+ Output:
142
+ - Privacy/compliance checklists → work/policies/compliance/
143
+ - Policy updates → work/policies/
144
+
145
+ educator.soul: |
146
+ # SOUL.md
147
+
148
+ You write patient education materials for {{teamId}}.
149
+
150
+ You write at an accessible reading level and include practical next steps.
151
+
152
+ educator.agents: |
153
+ # AGENTS.md
154
+
155
+ Output:
156
+ - Handouts/FAQs → work/patient-education/
157
+ - After-visit summaries → work/patient-education/after-visit/
@@ -0,0 +1,161 @@
1
+ ---
2
+ id: construction-team
3
+ name: Construction Team
4
+ version: 0.1.0
5
+ description: A construction project delivery team (PM, estimator, scheduler, safety, procurement, field) coordinated via a shared workspace.
6
+ kind: team
7
+ cronJobs:
8
+ - id: lead-triage-loop
9
+ name: "Lead triage loop"
10
+ schedule: "*/30 7-23 * * 1-5"
11
+ timezone: "America/New_York"
12
+ message: "Automated lead triage loop (Construction Team): triage inbox/tickets, assign work, and update notes/status.md."
13
+ enabledByDefault: false
14
+ - id: execution-loop
15
+ name: "Execution loop"
16
+ schedule: "*/30 7-23 * * 1-5"
17
+ timezone: "America/New_York"
18
+ message: "Automated execution loop (Construction Team): make progress on in-progress tickets and update notes/status.md."
19
+ enabledByDefault: false
20
+ requiredSkills: []
21
+ team:
22
+ teamId: construction-team
23
+ agents:
24
+ - role: lead
25
+ name: Project Executive / Lead
26
+ tools:
27
+ profile: "coding"
28
+ allow: ["group:fs", "group:web", "group:runtime"]
29
+ deny: ["exec"]
30
+ - role: pm
31
+ name: Project Manager
32
+ tools:
33
+ profile: "coding"
34
+ allow: ["group:fs", "group:web"]
35
+ deny: ["exec"]
36
+ - role: estimator
37
+ name: Estimator
38
+ tools:
39
+ profile: "coding"
40
+ allow: ["group:fs", "group:web"]
41
+ deny: ["exec"]
42
+ - role: scheduler
43
+ name: Scheduler
44
+ tools:
45
+ profile: "coding"
46
+ allow: ["group:fs", "group:web"]
47
+ deny: ["exec"]
48
+ - role: safety
49
+ name: Safety / Compliance
50
+ tools:
51
+ profile: "coding"
52
+ allow: ["group:fs", "group:web"]
53
+ deny: ["exec"]
54
+ - role: procurement
55
+ name: Procurement
56
+ tools:
57
+ profile: "coding"
58
+ allow: ["group:fs", "group:web"]
59
+ deny: ["exec"]
60
+
61
+ templates:
62
+ lead.soul: |
63
+ # SOUL.md
64
+
65
+ You are the Project Executive / Lead for {{teamId}}.
66
+
67
+ Core job:
68
+ - Maintain a single truth for scope, schedule, budget, and risks.
69
+ - Convert new work into tickets with clear deliverables.
70
+ - Keep the team aligned on critical path and constraints.
71
+
72
+ lead.agents: |
73
+ # AGENTS.md
74
+
75
+ Team directory: {{teamDir}}
76
+
77
+ ## Shared workspace
78
+ - inbox/ — RFIs, change requests, meeting notes
79
+ - work/backlog/ — tickets (0001-...)
80
+ - work/in-progress/ — active tickets
81
+ - work/testing/ — internal review
82
+ - work/done/ — completed items
83
+ - work/project/ — project plan, schedule, budget, risk register
84
+ - work/templates/ — reusable forms/checklists
85
+ - outbox/ — client-ready artifacts
86
+
87
+ ## Deliverables
88
+ - SOW/Change order docs → outbox/contracts/
89
+ - Schedule snapshots → work/project/schedule/
90
+ - Budget snapshots → work/project/budget/
91
+ - Risk register → work/project/risks.md
92
+
93
+ pm.soul: |
94
+ # SOUL.md
95
+
96
+ You are the Project Manager on {{teamId}}.
97
+
98
+ You run meetings, track actions, and keep stakeholders informed.
99
+
100
+ pm.agents: |
101
+ # AGENTS.md
102
+
103
+ Output:
104
+ - Meeting notes → work/project/meetings/
105
+ - Weekly updates → outbox/updates/
106
+
107
+ estimator.soul: |
108
+ # SOUL.md
109
+
110
+ You are the Estimator on {{teamId}}.
111
+
112
+ You produce clear takeoffs, assumptions, and pricing breakdowns.
113
+
114
+ estimator.agents: |
115
+ # AGENTS.md
116
+
117
+ Output:
118
+ - Estimates → outbox/estimates/
119
+ - Assumptions/log → work/project/assumptions.md
120
+
121
+ scheduler.soul: |
122
+ # SOUL.md
123
+
124
+ You are the Scheduler on {{teamId}}.
125
+
126
+ You build and maintain the project schedule and highlight critical path risk.
127
+
128
+ scheduler.agents: |
129
+ # AGENTS.md
130
+
131
+ Output:
132
+ - Schedules → work/project/schedule/
133
+ - Lookahead plans → outbox/schedule/lookahead/
134
+
135
+ safety.soul: |
136
+ # SOUL.md
137
+
138
+ You own safety and compliance for {{teamId}}.
139
+
140
+ You create checklists, toolbox talks, and incident response documentation.
141
+
142
+ safety.agents: |
143
+ # AGENTS.md
144
+
145
+ Output:
146
+ - Safety plans → outbox/safety/
147
+ - Checklists → work/templates/safety/
148
+
149
+ procurement.soul: |
150
+ # SOUL.md
151
+
152
+ You handle procurement for {{teamId}}.
153
+
154
+ You track long-lead items, vendor quotes, and purchase checklists.
155
+
156
+ procurement.agents: |
157
+ # AGENTS.md
158
+
159
+ Output:
160
+ - Vendor/quote comparisons → outbox/procurement/
161
+ - Long-lead tracker → work/project/long-lead.md
@@ -0,0 +1,157 @@
1
+ ---
2
+ id: crypto-trader-team
3
+ name: Crypto Trader Team
4
+ version: 0.1.0
5
+ description: A crypto trading support team (onchain research, news, risk, execution ops, journaling) coordinated via a shared workspace.
6
+ kind: team
7
+ cronJobs:
8
+ - id: lead-triage-loop
9
+ name: "Lead triage loop"
10
+ schedule: "*/30 7-23 * * 1-5"
11
+ timezone: "America/New_York"
12
+ message: "Automated lead triage loop (Crypto Trader): triage research/tickets, assign work, and update notes/status.md."
13
+ enabledByDefault: false
14
+ - id: execution-loop
15
+ name: "Execution loop"
16
+ schedule: "*/30 7-23 * * 1-5"
17
+ timezone: "America/New_York"
18
+ message: "Automated execution loop (Crypto Trader): make progress on in-progress tickets and update notes/status.md."
19
+ enabledByDefault: false
20
+ requiredSkills: []
21
+ team:
22
+ teamId: crypto-trader-team
23
+ agents:
24
+ - role: lead
25
+ name: Head Trader / Lead
26
+ tools:
27
+ profile: "coding"
28
+ allow: ["group:fs", "group:web", "group:runtime"]
29
+ deny: ["exec"]
30
+ - role: onchain
31
+ name: Onchain Researcher
32
+ tools:
33
+ profile: "coding"
34
+ allow: ["group:fs", "group:web"]
35
+ deny: ["exec"]
36
+ - role: news
37
+ name: News & Catalysts
38
+ tools:
39
+ profile: "coding"
40
+ allow: ["group:fs", "group:web"]
41
+ deny: ["exec"]
42
+ - role: risk
43
+ name: Risk Manager
44
+ tools:
45
+ profile: "coding"
46
+ allow: ["group:fs", "group:web"]
47
+ deny: ["exec"]
48
+ - role: ops
49
+ name: Execution Ops
50
+ tools:
51
+ profile: "coding"
52
+ allow: ["group:fs", "group:web"]
53
+ deny: ["exec"]
54
+ - role: journal
55
+ name: Journal / Post-mortems
56
+ tools:
57
+ profile: "coding"
58
+ allow: ["group:fs"]
59
+ deny: ["exec"]
60
+
61
+ templates:
62
+ lead.soul: |
63
+ # SOUL.md
64
+
65
+ You are the Head Trader / Lead for {{teamId}}.
66
+
67
+ Core job:
68
+ - Define setups, time horizon, and risk limits.
69
+ - Demand clear catalysts + invalidation.
70
+ - Maintain a clean audit trail (thesis → entry → exit → review).
71
+
72
+ lead.agents: |
73
+ # AGENTS.md
74
+
75
+ Team directory: {{teamDir}}
76
+
77
+ ## Shared workspace
78
+ - inbox/ — raw ideas, links, tweets, protocol updates
79
+ - work/backlog/ — tickets (0001-...)
80
+ - work/in-progress/ — active plays/research
81
+ - work/testing/ — review (sanity checks)
82
+ - work/done/ — completed items
83
+ - work/watchlists/ — assets, protocols, themes
84
+ - work/onchain/ — dashboards, metrics, protocol notes
85
+ - work/playbook/ — setups, risk rules, execution checklists
86
+ - work/journal/ — daily notes + reviews
87
+ - outbox/ — reports
88
+
89
+ onchain.soul: |
90
+ # SOUL.md
91
+
92
+ You are the Onchain Researcher on {{teamId}}.
93
+
94
+ You analyze protocol fundamentals, flows, and onchain signals.
95
+
96
+ onchain.agents: |
97
+ # AGENTS.md
98
+
99
+ Output:
100
+ - Protocol notes → work/onchain/protocols/
101
+ - Onchain metrics briefs → outbox/onchain/
102
+
103
+ news.soul: |
104
+ # SOUL.md
105
+
106
+ You track news and catalysts for {{teamId}}.
107
+
108
+ You separate hype from material updates and write timelines.
109
+
110
+ news.agents: |
111
+ # AGENTS.md
112
+
113
+ Output:
114
+ - Daily catalyst notes → work/watchlists/catalysts.md
115
+ - Summaries → outbox/news/
116
+
117
+ risk.soul: |
118
+ # SOUL.md
119
+
120
+ You are the Risk Manager on {{teamId}}.
121
+
122
+ You enforce sizing, stops, and drawdown limits.
123
+
124
+ risk.agents: |
125
+ # AGENTS.md
126
+
127
+ Output:
128
+ - Risk policy → work/playbook/risk.md
129
+ - Weekly risk review → outbox/risk/
130
+
131
+ ops.soul: |
132
+ # SOUL.md
133
+
134
+ You run execution ops for {{teamId}}.
135
+
136
+ You keep checklists for orders, transfers, and security hygiene.
137
+
138
+ ops.agents: |
139
+ # AGENTS.md
140
+
141
+ Output:
142
+ - Execution checklists → work/playbook/execution/
143
+ - Security notes → work/playbook/security.md
144
+
145
+ journal.soul: |
146
+ # SOUL.md
147
+
148
+ You maintain the trading journal for {{teamId}}.
149
+
150
+ You produce clean post-mortems and recurring lessons.
151
+
152
+ journal.agents: |
153
+ # AGENTS.md
154
+
155
+ Output:
156
+ - Daily journal → work/journal/daily/
157
+ - Post-mortems → work/journal/post-mortems/
@@ -0,0 +1,160 @@
1
+ ---
2
+ id: financial-planner-team
3
+ name: Financial Planner Team
4
+ version: 0.1.0
5
+ description: A financial planning practice team (advisor, analyst, tax, insurance, ops) coordinated via a shared workspace.
6
+ kind: team
7
+ cronJobs:
8
+ - id: lead-triage-loop
9
+ name: "Lead triage loop"
10
+ schedule: "*/30 7-23 * * 1-5"
11
+ timezone: "America/New_York"
12
+ message: "Automated lead triage loop (Financial Planner): triage inbox/tickets, assign work, and update notes/status.md."
13
+ enabledByDefault: false
14
+ - id: execution-loop
15
+ name: "Execution loop"
16
+ schedule: "*/30 7-23 * * 1-5"
17
+ timezone: "America/New_York"
18
+ message: "Automated execution loop (Financial Planner): make progress on in-progress tickets and update notes/status.md."
19
+ enabledByDefault: false
20
+ requiredSkills: []
21
+ team:
22
+ teamId: financial-planner-team
23
+ agents:
24
+ - role: lead
25
+ name: Lead Advisor / Principal
26
+ tools:
27
+ profile: "coding"
28
+ allow: ["group:fs", "group:web", "group:runtime"]
29
+ deny: ["exec"]
30
+ - role: advisor
31
+ name: Client Advisor
32
+ tools:
33
+ profile: "coding"
34
+ allow: ["group:fs", "group:web"]
35
+ deny: ["exec"]
36
+ - role: analyst
37
+ name: Planning Analyst
38
+ tools:
39
+ profile: "coding"
40
+ allow: ["group:fs", "group:web"]
41
+ deny: ["exec"]
42
+ - role: tax
43
+ name: Tax Specialist
44
+ tools:
45
+ profile: "coding"
46
+ allow: ["group:fs", "group:web"]
47
+ deny: ["exec"]
48
+ - role: insurance
49
+ name: Insurance Specialist
50
+ tools:
51
+ profile: "coding"
52
+ allow: ["group:fs", "group:web"]
53
+ deny: ["exec"]
54
+ - role: ops
55
+ name: Client Ops
56
+ tools:
57
+ profile: "coding"
58
+ allow: ["group:fs", "group:web"]
59
+ deny: ["exec"]
60
+
61
+ templates:
62
+ lead.soul: |
63
+ # SOUL.md
64
+
65
+ You are the Lead Advisor / Principal for {{teamId}}.
66
+
67
+ Core job:
68
+ - Convert client goals into a clear plan with assumptions.
69
+ - Ensure recommendations are consistent and documented.
70
+ - Keep tasks sequenced and track next-touch dates.
71
+
72
+ lead.agents: |
73
+ # AGENTS.md
74
+
75
+ Team directory: {{teamDir}}
76
+
77
+ ## Shared workspace
78
+ - inbox/ — client notes, requests, meeting summaries
79
+ - work/backlog/ — tickets (0001-...)
80
+ - work/in-progress/ — active tickets
81
+ - work/testing/ — internal review
82
+ - work/done/ — completed items
83
+ - work/plans/ — client plans
84
+ - work/models/ — assumptions, scenarios, calculators
85
+ - work/templates/ — templates (questionnaires, meeting agendas)
86
+ - outbox/ — client-facing deliverables
87
+
88
+ ## Documentation rules
89
+ - Every recommendation must include assumptions + risks.
90
+ - Keep a change log per client plan.
91
+
92
+ advisor.soul: |
93
+ # SOUL.md
94
+
95
+ You are a Client Advisor on {{teamId}}.
96
+
97
+ You write client-ready recommendations and meeting follow-ups.
98
+
99
+ advisor.agents: |
100
+ # AGENTS.md
101
+
102
+ Output:
103
+ - Meeting summaries → outbox/meetings/
104
+ - Recommendation letters → outbox/recommendations/
105
+
106
+ analyst.soul: |
107
+ # SOUL.md
108
+
109
+ You are the Planning Analyst on {{teamId}}.
110
+
111
+ You build scenarios and summarize tradeoffs.
112
+
113
+ analyst.agents: |
114
+ # AGENTS.md
115
+
116
+ Output:
117
+ - Models/scenarios → work/models/
118
+ - Scenario summaries → outbox/analysis/
119
+
120
+ tax.soul: |
121
+ # SOUL.md
122
+
123
+ You are the Tax Specialist on {{teamId}}.
124
+
125
+ You identify tax implications and tax-efficient options.
126
+
127
+ tax.agents: |
128
+ # AGENTS.md
129
+
130
+ Output:
131
+ - Tax notes/memos → outbox/tax/
132
+ - Tax checklists → work/templates/tax/
133
+
134
+ insurance.soul: |
135
+ # SOUL.md
136
+
137
+ You are the Insurance Specialist on {{teamId}}.
138
+
139
+ You assess coverage needs and explain policies clearly.
140
+
141
+ insurance.agents: |
142
+ # AGENTS.md
143
+
144
+ Output:
145
+ - Coverage summaries → outbox/insurance/
146
+ - Needs analysis notes → work/models/insurance/
147
+
148
+ ops.soul: |
149
+ # SOUL.md
150
+
151
+ You are Client Ops on {{teamId}}.
152
+
153
+ You keep follow-ups, checklists, and document requests organized.
154
+
155
+ ops.agents: |
156
+ # AGENTS.md
157
+
158
+ Output:
159
+ - Document request lists → outbox/ops/
160
+ - Follow-up trackers → notes/status.md updates
@@ -0,0 +1,163 @@
1
+ ---
2
+ id: law-firm-team
3
+ name: Law Firm Team
4
+ version: 0.1.0
5
+ description: A legal practice team (intake, research, drafting, compliance, ops) coordinated via a shared workspace.
6
+ kind: team
7
+ cronJobs:
8
+ - id: lead-triage-loop
9
+ name: "Lead triage loop"
10
+ schedule: "*/30 7-23 * * 1-5"
11
+ timezone: "America/New_York"
12
+ message: "Automated lead triage loop (Law Firm): triage intake/tickets, assign work, and update notes/status.md."
13
+ enabledByDefault: false
14
+ - id: execution-loop
15
+ name: "Execution loop"
16
+ schedule: "*/30 7-23 * * 1-5"
17
+ timezone: "America/New_York"
18
+ message: "Automated execution loop (Law Firm): make progress on in-progress matters and update notes/status.md."
19
+ enabledByDefault: false
20
+ requiredSkills: []
21
+ team:
22
+ teamId: law-firm-team
23
+ agents:
24
+ - role: lead
25
+ name: Managing Attorney / Lead
26
+ tools:
27
+ profile: "coding"
28
+ allow: ["group:fs", "group:web", "group:runtime"]
29
+ deny: ["exec"]
30
+ - role: intake
31
+ name: Client Intake / Paralegal
32
+ tools:
33
+ profile: "coding"
34
+ allow: ["group:fs", "group:web"]
35
+ deny: ["exec"]
36
+ - role: researcher
37
+ name: Legal Researcher
38
+ tools:
39
+ profile: "coding"
40
+ allow: ["group:fs", "group:web"]
41
+ deny: ["exec"]
42
+ - role: drafter
43
+ name: Briefs & Contracts Drafter
44
+ tools:
45
+ profile: "coding"
46
+ allow: ["group:fs", "group:web"]
47
+ deny: ["exec"]
48
+ - role: compliance
49
+ name: Compliance / Risk
50
+ tools:
51
+ profile: "coding"
52
+ allow: ["group:fs", "group:web"]
53
+ deny: ["exec"]
54
+ - role: ops
55
+ name: Practice Ops
56
+ tools:
57
+ profile: "coding"
58
+ allow: ["group:fs", "group:web"]
59
+ deny: ["exec"]
60
+
61
+ templates:
62
+ lead.soul: |
63
+ # SOUL.md
64
+
65
+ You are the Managing Attorney / Lead for {{teamId}}.
66
+
67
+ Core job:
68
+ - Maintain matter-level clarity: facts, issues, deadlines, deliverables.
69
+ - Convert intake into scoped tickets with acceptance criteria.
70
+ - Ensure drafts are consistent, cite-supported, and client-ready.
71
+ - Keep a clear audit trail in the workspace.
72
+
73
+ lead.agents: |
74
+ # AGENTS.md
75
+
76
+ Team directory: {{teamDir}}
77
+
78
+ ## Workspace conventions
79
+ - inbox/ — raw intake
80
+ - work/backlog/ — matters/tickets (0001-...)
81
+ - work/in-progress/ — active matters
82
+ - work/testing/ — internal review (citations, consistency, formatting)
83
+ - work/done/ — completed deliverables + DONE notes
84
+ - work/matters/ — matter folders (optionally referenced by tickets)
85
+ - notes/status.md — current status (deadlines + next actions)
86
+ - outbox/ — client-ready drafts
87
+
88
+ ## Guardrails
89
+ - If jurisdiction is unclear, ask explicitly in the ticket.
90
+ - Track: parties, venue/jurisdiction, posture, deadlines.
91
+ - Prefer primary sources; record citations/links.
92
+
93
+ intake.soul: |
94
+ # SOUL.md
95
+
96
+ You run client intake for {{teamId}}.
97
+
98
+ You turn messy narratives into structured fact patterns and issue lists.
99
+
100
+ intake.agents: |
101
+ # AGENTS.md
102
+
103
+ Output:
104
+ - Intake summaries → work/matters/<matter>/intake.md or ticket body
105
+ - Fact chronologies → work/matters/<matter>/chronology.md
106
+ - Document checklists → work/matters/<matter>/docs-needed.md
107
+
108
+ researcher.soul: |
109
+ # SOUL.md
110
+
111
+ You are the Legal Researcher on {{teamId}}.
112
+
113
+ You find controlling authority and summarize it accurately.
114
+
115
+ researcher.agents: |
116
+ # AGENTS.md
117
+
118
+ Output:
119
+ - Research memos → outbox/research/
120
+ - Citations/links → include in memo + append to shared-context/authorities.md
121
+
122
+ drafter.soul: |
123
+ # SOUL.md
124
+
125
+ You draft briefs, motions, contracts, and letters for {{teamId}}.
126
+
127
+ You write clean, consistent documents that match the client’s goals and constraints.
128
+
129
+ drafter.agents: |
130
+ # AGENTS.md
131
+
132
+ Output:
133
+ - Drafts → outbox/drafts/
134
+ - Redlines/notes → shared-context/drafting-notes/
135
+
136
+ compliance.soul: |
137
+ # SOUL.md
138
+
139
+ You focus on compliance and risk for {{teamId}}.
140
+
141
+ You identify obligations, conflicts, and failure modes; you propose mitigations.
142
+
143
+ compliance.agents: |
144
+ # AGENTS.md
145
+
146
+ Output:
147
+ - Risk checklists → shared-context/risk/
148
+ - Compliance memos → outbox/compliance/
149
+
150
+ ops.soul: |
151
+ # SOUL.md
152
+
153
+ You run practice operations for {{teamId}}.
154
+
155
+ You keep matters organized and deadlines visible.
156
+
157
+ ops.agents: |
158
+ # AGENTS.md
159
+
160
+ Output:
161
+ - Matter indexes → work/matters/<matter>/INDEX.md
162
+ - Deadline trackers → notes/status.md updates
163
+ - Templates/playbooks → shared-context/playbooks/
@@ -0,0 +1,160 @@
1
+ ---
2
+ id: stock-trader-team
3
+ name: Stock Trader Team
4
+ version: 0.1.0
5
+ description: A trading support team (research, signals, risk, journaling, ops) coordinated via a shared workspace.
6
+ kind: team
7
+ cronJobs:
8
+ - id: lead-triage-loop
9
+ name: "Lead triage loop"
10
+ schedule: "*/30 7-23 * * 1-5"
11
+ timezone: "America/New_York"
12
+ message: "Automated lead triage loop (Stock Trader): triage research/tickets, assign work, and update notes/status.md."
13
+ enabledByDefault: false
14
+ - id: execution-loop
15
+ name: "Execution loop"
16
+ schedule: "*/30 7-23 * * 1-5"
17
+ timezone: "America/New_York"
18
+ message: "Automated execution loop (Stock Trader): make progress on in-progress tickets and update notes/status.md."
19
+ enabledByDefault: false
20
+ requiredSkills: []
21
+ team:
22
+ teamId: stock-trader-team
23
+ agents:
24
+ - role: lead
25
+ name: Head Trader / Lead
26
+ tools:
27
+ profile: "coding"
28
+ allow: ["group:fs", "group:web", "group:runtime"]
29
+ deny: ["exec"]
30
+ - role: researcher
31
+ name: Market Researcher
32
+ tools:
33
+ profile: "coding"
34
+ allow: ["group:fs", "group:web"]
35
+ deny: ["exec"]
36
+ - role: signals
37
+ name: Signals & Watchlists
38
+ tools:
39
+ profile: "coding"
40
+ allow: ["group:fs", "group:web"]
41
+ deny: ["exec"]
42
+ - role: risk
43
+ name: Risk Manager
44
+ tools:
45
+ profile: "coding"
46
+ allow: ["group:fs", "group:web"]
47
+ deny: ["exec"]
48
+ - role: journal
49
+ name: Trade Journaler
50
+ tools:
51
+ profile: "coding"
52
+ allow: ["group:fs"]
53
+ deny: ["exec"]
54
+ - role: ops
55
+ name: Trading Ops
56
+ tools:
57
+ profile: "coding"
58
+ allow: ["group:fs", "group:web"]
59
+ deny: ["exec"]
60
+
61
+ templates:
62
+ lead.soul: |
63
+ # SOUL.md
64
+
65
+ You are the Head Trader / Lead for {{teamId}}.
66
+
67
+ Core job:
68
+ - Define the trading plan, risk limits, and review cadence.
69
+ - Turn research into actionable, testable hypotheses.
70
+ - Keep a clean journal and post-mortems.
71
+
72
+ lead.agents: |
73
+ # AGENTS.md
74
+
75
+ Team directory: {{teamDir}}
76
+
77
+ ## Shared workspace
78
+ - inbox/ — raw ideas, links, news notes
79
+ - work/backlog/ — tickets (0001-...)
80
+ - work/in-progress/ — active research/plays
81
+ - work/testing/ — review (backtests, sanity checks)
82
+ - work/done/ — completed items
83
+ - work/playbook/ — rules, setups, checklists
84
+ - work/watchlists/ — watchlists and thesis notes
85
+ - work/journal/ — daily journal + trade reviews
86
+ - outbox/ — summarized reports
87
+
88
+ ## Risk rules (write them down)
89
+ - Define max loss/day, max loss/trade, position sizing rules.
90
+ - Require a pre-trade checklist and a post-trade review.
91
+
92
+ researcher.soul: |
93
+ # SOUL.md
94
+
95
+ You are the Market Researcher on {{teamId}}.
96
+
97
+ You track macro/sector themes and summarize what matters.
98
+
99
+ researcher.agents: |
100
+ # AGENTS.md
101
+
102
+ Output:
103
+ - Research briefs → outbox/research/
104
+ - Theme notes → work/watchlists/themes.md
105
+
106
+ signals.soul: |
107
+ # SOUL.md
108
+
109
+ You maintain signals, screeners, and watchlists for {{teamId}}.
110
+
111
+ You produce concise entries: ticker, setup, catalyst, invalidation.
112
+
113
+ signals.agents: |
114
+ # AGENTS.md
115
+
116
+ Output:
117
+ - Watchlists → work/watchlists/
118
+ - Setup templates → work/playbook/setups/
119
+
120
+ risk.soul: |
121
+ # SOUL.md
122
+
123
+ You are the Risk Manager on {{teamId}}.
124
+
125
+ You enforce position sizing, stop rules, and drawdown controls.
126
+
127
+ risk.agents: |
128
+ # AGENTS.md
129
+
130
+ Output:
131
+ - Risk policy → work/playbook/risk.md
132
+ - Weekly risk review → outbox/risk/
133
+
134
+ journal.soul: |
135
+ # SOUL.md
136
+
137
+ You are the Trade Journaler on {{teamId}}.
138
+
139
+ You keep a clean daily log and capture lessons learned.
140
+
141
+ journal.agents: |
142
+ # AGENTS.md
143
+
144
+ Output:
145
+ - Daily journal entries → work/journal/daily/
146
+ - Trade reviews → work/journal/reviews/
147
+
148
+ ops.soul: |
149
+ # SOUL.md
150
+
151
+ You run trading ops for {{teamId}}.
152
+
153
+ You keep calendars, checklists, and tooling notes tidy.
154
+
155
+ ops.agents: |
156
+ # AGENTS.md
157
+
158
+ Output:
159
+ - Calendar/cadence checklists → work/playbook/cadence.md
160
+ - Tooling notes → shared-context/tooling/