oh-my-codex 0.4.3 → 0.5.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 +17 -10
- package/dist/agents/definitions.d.ts.map +1 -1
- package/dist/agents/definitions.js +7 -13
- package/dist/agents/definitions.js.map +1 -1
- package/dist/agents/native-config.d.ts +20 -0
- package/dist/agents/native-config.d.ts.map +1 -0
- package/dist/agents/native-config.js +84 -0
- package/dist/agents/native-config.js.map +1 -0
- package/dist/catalog/__tests__/generator.test.d.ts +2 -0
- package/dist/catalog/__tests__/generator.test.d.ts.map +1 -0
- package/dist/catalog/__tests__/generator.test.js +42 -0
- package/dist/catalog/__tests__/generator.test.js.map +1 -0
- package/dist/catalog/__tests__/schema.test.d.ts +2 -0
- package/dist/catalog/__tests__/schema.test.d.ts.map +1 -0
- package/dist/catalog/__tests__/schema.test.js +33 -0
- package/dist/catalog/__tests__/schema.test.js.map +1 -0
- package/dist/catalog/reader.d.ts +19 -0
- package/dist/catalog/reader.d.ts.map +1 -0
- package/dist/catalog/reader.js +63 -0
- package/dist/catalog/reader.js.map +1 -0
- package/dist/catalog/schema.d.ts +32 -0
- package/dist/catalog/schema.d.ts.map +1 -0
- package/dist/catalog/schema.js +101 -0
- package/dist/catalog/schema.js.map +1 -0
- package/dist/cli/__tests__/index.test.js +109 -1
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/setup-scope.test.d.ts +2 -0
- package/dist/cli/__tests__/setup-scope.test.d.ts.map +1 -0
- package/dist/cli/__tests__/setup-scope.test.js +164 -0
- package/dist/cli/__tests__/setup-scope.test.js.map +1 -0
- package/dist/cli/catalog-contract.d.ts +10 -0
- package/dist/cli/catalog-contract.d.ts.map +1 -0
- package/dist/cli/catalog-contract.js +24 -0
- package/dist/cli/catalog-contract.js.map +1 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +7 -4
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/index.d.ts +10 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +124 -99
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/setup.d.ts +3 -0
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +208 -47
- package/dist/cli/setup.js.map +1 -1
- package/dist/config/__tests__/generator-notify.test.js +28 -0
- package/dist/config/__tests__/generator-notify.test.js.map +1 -1
- package/dist/config/generator.d.ts +1 -0
- package/dist/config/generator.d.ts.map +1 -1
- package/dist/config/generator.js +34 -2
- package/dist/config/generator.js.map +1 -1
- package/dist/hooks/code-simplifier/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/code-simplifier/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/code-simplifier/__tests__/index.test.js +135 -0
- package/dist/hooks/code-simplifier/__tests__/index.test.js.map +1 -0
- package/dist/hooks/code-simplifier/index.d.ts +74 -0
- package/dist/hooks/code-simplifier/index.d.ts.map +1 -0
- package/dist/hooks/code-simplifier/index.js +145 -0
- package/dist/hooks/code-simplifier/index.js.map +1 -0
- package/dist/hooks/emulator.d.ts.map +1 -1
- package/dist/hooks/emulator.js +0 -1
- package/dist/hooks/emulator.js.map +1 -1
- package/dist/hooks/keyword-detector.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.js +0 -3
- package/dist/hooks/keyword-detector.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/notifications/__tests__/tmux.test.js +61 -1
- package/dist/notifications/__tests__/tmux.test.js.map +1 -1
- package/dist/notifications/__tests__/verbosity.test.d.ts +2 -0
- package/dist/notifications/__tests__/verbosity.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/verbosity.test.js +202 -0
- package/dist/notifications/__tests__/verbosity.test.js.map +1 -0
- package/dist/notifications/config.d.ts +14 -1
- package/dist/notifications/config.d.ts.map +1 -1
- package/dist/notifications/config.js +52 -0
- package/dist/notifications/config.js.map +1 -1
- package/dist/notifications/formatter.d.ts.map +1 -1
- package/dist/notifications/formatter.js +14 -0
- package/dist/notifications/formatter.js.map +1 -1
- package/dist/notifications/index.d.ts +3 -3
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +14 -4
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/tmux.d.ts +6 -0
- package/dist/notifications/tmux.d.ts.map +1 -1
- package/dist/notifications/tmux.js +31 -1
- package/dist/notifications/tmux.js.map +1 -1
- package/dist/notifications/types.d.ts +13 -0
- package/dist/notifications/types.d.ts.map +1 -1
- package/dist/team/__tests__/model-contract.test.d.ts +2 -0
- package/dist/team/__tests__/model-contract.test.d.ts.map +1 -0
- package/dist/team/__tests__/model-contract.test.js +47 -0
- package/dist/team/__tests__/model-contract.test.js.map +1 -0
- package/dist/team/__tests__/phase-controller.test.d.ts +2 -0
- package/dist/team/__tests__/phase-controller.test.d.ts.map +1 -0
- package/dist/team/__tests__/phase-controller.test.js +36 -0
- package/dist/team/__tests__/phase-controller.test.js.map +1 -0
- package/dist/team/__tests__/runtime.test.js +112 -8
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.test.js +71 -1
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/model-contract.d.ts +19 -0
- package/dist/team/model-contract.d.ts.map +1 -0
- package/dist/team/model-contract.js +123 -0
- package/dist/team/model-contract.js.map +1 -0
- package/dist/team/orchestrator.d.ts.map +1 -1
- package/dist/team/orchestrator.js +0 -1
- package/dist/team/orchestrator.js.map +1 -1
- package/dist/team/phase-controller.d.ts +10 -0
- package/dist/team/phase-controller.d.ts.map +1 -0
- package/dist/team/phase-controller.js +128 -0
- package/dist/team/phase-controller.js.map +1 -0
- package/dist/team/runtime.d.ts +3 -3
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +40 -74
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/state.d.ts +15 -0
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +35 -0
- package/dist/team/state.js.map +1 -1
- package/dist/team/team-ops.d.ts +3 -1
- package/dist/team/team-ops.d.ts.map +1 -1
- package/dist/team/team-ops.js +2 -0
- package/dist/team/team-ops.js.map +1 -1
- package/dist/team/tmux-session.d.ts +12 -0
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +33 -1
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/utils/paths.d.ts +2 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +4 -0
- package/dist/utils/paths.js.map +1 -1
- package/package.json +2 -2
- package/prompts/code-simplifier.md +91 -0
- package/prompts/product-analyst.md +7 -7
- package/scripts/generate-catalog-docs.js +111 -0
- package/scripts/notify-hook.js +36 -1
- package/skills/build-fix/SKILL.md +3 -3
- package/skills/code-review/SKILL.md +3 -3
- package/skills/help/SKILL.md +4 -4
- package/skills/omx-setup/SKILL.md +24 -15
- package/skills/research/SKILL.md +28 -28
- package/skills/security-review/SKILL.md +3 -3
- package/templates/AGENTS.md +1 -8
- package/templates/catalog-manifest.json +397 -0
- package/prompts/deep-executor.md +0 -19
- package/prompts/scientist.md +0 -89
- package/skills/deepinit/SKILL.md +0 -320
- package/skills/learn-about-omx/SKILL.md +0 -37
- package/skills/learner/SKILL.md +0 -135
- package/skills/pipeline/SKILL.md +0 -407
- package/skills/project-session-manager/SKILL.md +0 -560
- package/skills/psm/SKILL.md +0 -20
- package/skills/release/SKILL.md +0 -83
- package/skills/ultrapilot/SKILL.md +0 -627
- package/skills/writer-memory/SKILL.md +0 -443
|
@@ -10,36 +10,45 @@ Use this skill when users want to install or refresh oh-my-codex for the **curre
|
|
|
10
10
|
## Command
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
omx setup [--force] [--dry-run] [--verbose]
|
|
13
|
+
omx setup [--force] [--dry-run] [--verbose] [--scope <user|project-local|project>]
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Supported setup flags (current implementation):
|
|
17
17
|
- `--force`: overwrite/reinstall managed artifacts where applicable
|
|
18
18
|
- `--dry-run`: print actions without mutating files
|
|
19
19
|
- `--verbose`: print per-file/per-step details
|
|
20
|
+
- `--scope`: choose install scope (`user`, `project-local`, `project`)
|
|
20
21
|
|
|
21
22
|
## What this setup actually does
|
|
22
23
|
|
|
23
24
|
`omx setup` performs these steps:
|
|
24
25
|
|
|
25
|
-
1.
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
2.
|
|
31
|
-
3.
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
1. Resolve setup scope:
|
|
27
|
+
- `--scope` explicit value
|
|
28
|
+
- else persisted `./.omx/setup-scope.json`
|
|
29
|
+
- else interactive prompt on TTY (default `user`)
|
|
30
|
+
- else default `user` (safe for CI/tests)
|
|
31
|
+
2. Create project OMX directories (`./.omx/state`, `./.omx/plans`, `./.omx/logs`) and persist effective scope
|
|
32
|
+
3. For `user`/`project-local` scope:
|
|
33
|
+
- install prompts
|
|
34
|
+
- remove legacy prompt shims
|
|
35
|
+
- install native agent configs
|
|
36
|
+
- install skills
|
|
37
|
+
- merge OMX config.toml
|
|
38
|
+
4. For `project` scope: skip prompt/skill/config/native-agent installs with console messages
|
|
34
39
|
6. Verify required team MCP comm tool exports exist in built `dist/mcp/state-server.js`
|
|
35
40
|
7. Generate project-root `./AGENTS.md` from `templates/AGENTS.md` (or skip when existing and no force)
|
|
36
41
|
8. Configure notify hook references and write `./.omx/hud-config.json`
|
|
37
42
|
|
|
38
43
|
## Important behavior notes
|
|
39
44
|
|
|
40
|
-
- `omx setup`
|
|
45
|
+
- `omx setup` only prompts for scope when no scope is provided/persisted and stdin/stdout are TTY.
|
|
41
46
|
- Local project orchestration file is `./AGENTS.md` (project root).
|
|
42
|
-
-
|
|
47
|
+
- Scope targets:
|
|
48
|
+
- `user`: user directories (`~/.codex`, `~/.agents/skills`, `~/.omx/agents`)
|
|
49
|
+
- `project-local`: local directories (`./.codex`, `./.agents/skills`, `./.omx/agents`)
|
|
50
|
+
- `project`: project-only OMX setup (`./.omx/*`, `AGENTS.md`, HUD)
|
|
51
|
+
- If persisted scope is `project-local`, `omx` launch automatically uses `CODEX_HOME=./.codex` unless user explicitly overrides `CODEX_HOME`.
|
|
43
52
|
- With `--force`, AGENTS overwrite may still be skipped if an active OMX session is detected (safety guard).
|
|
44
53
|
|
|
45
54
|
## Recommended workflow
|
|
@@ -61,11 +70,11 @@ omx doctor
|
|
|
61
70
|
## Expected verification indicators
|
|
62
71
|
|
|
63
72
|
From `omx doctor`, expect:
|
|
64
|
-
- Prompts installed (
|
|
65
|
-
- Skills installed (
|
|
73
|
+
- Prompts installed (scope-dependent: user or project-local)
|
|
74
|
+
- Skills installed (scope-dependent: user or project-local)
|
|
66
75
|
- AGENTS.md found in project root
|
|
67
76
|
- `.omx/state` exists
|
|
68
|
-
- OMX MCP servers configured in `~/.codex/config.toml`
|
|
77
|
+
- OMX MCP servers configured in scope target `config.toml` (`~/.codex/config.toml` or `./.codex/config.toml`)
|
|
69
78
|
|
|
70
79
|
## Troubleshooting
|
|
71
80
|
|
package/skills/research/SKILL.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: research
|
|
3
|
-
description: Orchestrate parallel
|
|
3
|
+
description: Orchestrate parallel researcher agents for comprehensive research with AUTO mode
|
|
4
4
|
argument-hint: <research goal>
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Research Skill
|
|
8
8
|
|
|
9
|
-
Orchestrate parallel
|
|
9
|
+
Orchestrate parallel researcher agents for comprehensive research workflows with optional AUTO mode for fully autonomous execution.
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
13
|
Research is a multi-stage workflow that decomposes complex research goals into parallel investigations:
|
|
14
14
|
|
|
15
15
|
1. **Decomposition** - Break research goal into independent stages/hypotheses
|
|
16
|
-
2. **Execution** - Run parallel
|
|
16
|
+
2. **Execution** - Run parallel researcher agents on each stage
|
|
17
17
|
3. **Verification** - Cross-validate findings, check consistency
|
|
18
18
|
4. **Synthesis** - Aggregate results into comprehensive report
|
|
19
19
|
|
|
@@ -57,19 +57,19 @@ When given a research goal, decompose into 3-7 independent stages:
|
|
|
57
57
|
...
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
### Parallel
|
|
60
|
+
### Parallel Researcher Invocation
|
|
61
61
|
|
|
62
62
|
Fire independent stages in parallel via sub-agent spawning:
|
|
63
63
|
|
|
64
64
|
```
|
|
65
65
|
// Stage 1 - Simple data gathering
|
|
66
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
66
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="haiku", prompt="[RESEARCH_STAGE:1] Investigate...")
|
|
67
67
|
|
|
68
68
|
// Stage 2 - Standard analysis
|
|
69
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
69
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="sonnet", prompt="[RESEARCH_STAGE:2] Analyze...")
|
|
70
70
|
|
|
71
71
|
// Stage 3 - Complex reasoning
|
|
72
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
72
|
+
spawn_sub_agent(subagent_type="oh-my-codex:architect", model="opus", prompt="[RESEARCH_STAGE:3] Deep analysis of...")
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
### Smart Model Routing
|
|
@@ -78,9 +78,9 @@ spawn_sub_agent(subagent_type="oh-my-codex:scientist-high", model="opus", prompt
|
|
|
78
78
|
|
|
79
79
|
| Task Complexity | Agent | Model | Use For |
|
|
80
80
|
|-----------------|-------|-------|---------|
|
|
81
|
-
| Data gathering | `
|
|
82
|
-
| Standard analysis | `
|
|
83
|
-
| Complex reasoning | `
|
|
81
|
+
| Data gathering | `researcher` (model=haiku) | haiku | File enumeration, pattern counting, simple lookups |
|
|
82
|
+
| Standard analysis | `researcher` | sonnet | Code analysis, pattern detection, documentation review |
|
|
83
|
+
| Complex reasoning | `architect` | opus | Architecture analysis, cross-cutting concerns, hypothesis validation |
|
|
84
84
|
|
|
85
85
|
### Routing Decision Guide
|
|
86
86
|
|
|
@@ -99,7 +99,7 @@ After parallel execution completes, verify findings:
|
|
|
99
99
|
|
|
100
100
|
```
|
|
101
101
|
// Cross-validation stage
|
|
102
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
102
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="sonnet", prompt="
|
|
103
103
|
[RESEARCH_VERIFICATION]
|
|
104
104
|
Cross-validate these findings for consistency:
|
|
105
105
|
|
|
@@ -180,9 +180,9 @@ When stages analyze different data sources:
|
|
|
180
180
|
|
|
181
181
|
```
|
|
182
182
|
// All fire simultaneously
|
|
183
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
184
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
185
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
183
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="haiku", prompt="[STAGE:1] Analyze src/api/...")
|
|
184
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="haiku", prompt="[STAGE:2] Analyze src/utils/...")
|
|
185
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="haiku", prompt="[STAGE:3] Analyze src/components/...")
|
|
186
186
|
```
|
|
187
187
|
|
|
188
188
|
### Hypothesis Battery (Parallel)
|
|
@@ -191,9 +191,9 @@ When testing multiple hypotheses:
|
|
|
191
191
|
|
|
192
192
|
```
|
|
193
193
|
// Test hypotheses simultaneously
|
|
194
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
195
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
196
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
194
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="sonnet", prompt="[HYPOTHESIS:A] Test if caching improves...")
|
|
195
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="sonnet", prompt="[HYPOTHESIS:B] Test if batching reduces...")
|
|
196
|
+
spawn_sub_agent(subagent_type="oh-my-codex:researcher", model="sonnet", prompt="[HYPOTHESIS:C] Test if lazy loading helps...")
|
|
197
197
|
```
|
|
198
198
|
|
|
199
199
|
### Cross-Validation (Sequential)
|
|
@@ -205,7 +205,7 @@ When verification depends on all findings:
|
|
|
205
205
|
[stages complete]
|
|
206
206
|
|
|
207
207
|
// Then sequential verification
|
|
208
|
-
spawn_sub_agent(subagent_type="oh-my-codex:
|
|
208
|
+
spawn_sub_agent(subagent_type="oh-my-codex:architect", model="opus", prompt="
|
|
209
209
|
[CROSS_VALIDATION]
|
|
210
210
|
Validate consistency across all findings:
|
|
211
211
|
- Finding 1: ...
|
|
@@ -216,7 +216,7 @@ Validate consistency across all findings:
|
|
|
216
216
|
|
|
217
217
|
### Concurrency Limit
|
|
218
218
|
|
|
219
|
-
**Maximum 20 concurrent
|
|
219
|
+
**Maximum 20 concurrent researcher agents** to prevent resource exhaustion.
|
|
220
220
|
|
|
221
221
|
If more than 20 stages, batch them:
|
|
222
222
|
```
|
|
@@ -237,7 +237,7 @@ Batch 2: Stages 6-7 (parallel)
|
|
|
237
237
|
stage-2.md # Stage 2 findings
|
|
238
238
|
...
|
|
239
239
|
findings/
|
|
240
|
-
raw/ # Raw findings from
|
|
240
|
+
raw/ # Raw findings from researchers
|
|
241
241
|
verified/ # Post-verification findings
|
|
242
242
|
figures/
|
|
243
243
|
figure-1.png # Generated visualizations
|
|
@@ -289,7 +289,7 @@ Batch 2: Stages 6-7 (parallel)
|
|
|
289
289
|
|
|
290
290
|
## Tag Extraction
|
|
291
291
|
|
|
292
|
-
|
|
292
|
+
Research agents use structured tags for findings. Extract them with these patterns:
|
|
293
293
|
|
|
294
294
|
### Finding Tags
|
|
295
295
|
|
|
@@ -427,7 +427,7 @@ Findings must meet quality threshold:
|
|
|
427
427
|
|
|
428
428
|
### Figure Embedding Protocol
|
|
429
429
|
|
|
430
|
-
|
|
430
|
+
Research agents generate visualizations using this marker:
|
|
431
431
|
|
|
432
432
|
```
|
|
433
433
|
[FIGURE:path/to/figure.png]
|
|
@@ -452,11 +452,11 @@ Report generator embeds figures:
|
|
|
452
452
|
|
|
453
453
|
| Type | Use For | Generated By |
|
|
454
454
|
|------|---------|--------------|
|
|
455
|
-
| Architecture diagram | System structure |
|
|
456
|
-
| Flow chart | Process flows |
|
|
457
|
-
| Dependency graph | Module relationships |
|
|
458
|
-
| Timeline | Sequence of events |
|
|
459
|
-
| Comparison table | A vs B analysis |
|
|
455
|
+
| Architecture diagram | System structure | architect |
|
|
456
|
+
| Flow chart | Process flows | researcher |
|
|
457
|
+
| Dependency graph | Module relationships | researcher |
|
|
458
|
+
| Timeline | Sequence of events | researcher |
|
|
459
|
+
| Comparison table | A vs B analysis | researcher |
|
|
460
460
|
|
|
461
461
|
## Configuration
|
|
462
462
|
|
|
@@ -489,7 +489,7 @@ Progress is preserved in `.omx/research/{session-id}/` for resume.
|
|
|
489
489
|
- Review state.json for specific conflicts
|
|
490
490
|
- May need to re-run specific stages with different approach
|
|
491
491
|
|
|
492
|
-
**
|
|
492
|
+
**Research agents returning low-quality findings?**
|
|
493
493
|
- Check tier assignment - complex analysis needs HIGH tier
|
|
494
494
|
- Ensure prompts include clear scope and expected output format
|
|
495
495
|
- Review if research goal is too broad
|
|
@@ -256,11 +256,11 @@ The security-reviewer agent verifies:
|
|
|
256
256
|
|
|
257
257
|
## Use with Other Skills
|
|
258
258
|
|
|
259
|
-
**With
|
|
259
|
+
**With Team:**
|
|
260
260
|
```
|
|
261
|
-
/
|
|
261
|
+
/team "run security review on authentication module"
|
|
262
262
|
```
|
|
263
|
-
Uses: explore → security-reviewer → executor → security-reviewer
|
|
263
|
+
Uses: explore → security-reviewer → executor → security-reviewer (re-verify)
|
|
264
264
|
|
|
265
265
|
**With Swarm:**
|
|
266
266
|
```
|
package/templates/AGENTS.md
CHANGED
|
@@ -39,7 +39,7 @@ Use delegation when it improves quality, speed, or correctness:
|
|
|
39
39
|
Work directly only for trivial operations where delegation adds disproportionate overhead:
|
|
40
40
|
- Small clarifications, quick status checks, or single-command sequential operations.
|
|
41
41
|
|
|
42
|
-
For substantive code changes, delegate to `executor` (default for both standard and complex implementation work
|
|
42
|
+
For substantive code changes, delegate to `executor` (default for both standard and complex implementation work).
|
|
43
43
|
For non-trivial SDK/API/framework usage, delegate to `dependency-expert` to check official docs first.
|
|
44
44
|
</delegation_rules>
|
|
45
45
|
|
|
@@ -106,7 +106,6 @@ Build/Analysis Lane:
|
|
|
106
106
|
- `/prompts:architect`: System design, boundaries, interfaces, long-horizon tradeoffs
|
|
107
107
|
- `/prompts:debugger`: Root-cause analysis, regression isolation, failure diagnosis
|
|
108
108
|
- `/prompts:executor`: Code implementation, refactoring, feature work
|
|
109
|
-
- `/prompts:deep-executor`: Deprecated — use `/prompts:executor` for complex autonomous goal-oriented tasks
|
|
110
109
|
- `/prompts:verifier`: Completion evidence, claim validation, test adequacy
|
|
111
110
|
|
|
112
111
|
Review Lane:
|
|
@@ -125,7 +124,6 @@ Domain Specialists:
|
|
|
125
124
|
- `/prompts:designer`: UX/UI architecture, interaction design
|
|
126
125
|
- `/prompts:writer`: Docs, migration notes, user guidance
|
|
127
126
|
- `/prompts:qa-tester`: Interactive CLI/service runtime validation
|
|
128
|
-
- `/prompts:scientist`: Data/statistical analysis
|
|
129
127
|
- `/prompts:git-master`: Commit strategy, history hygiene
|
|
130
128
|
- `/prompts:researcher`: External documentation and reference research
|
|
131
129
|
|
|
@@ -154,10 +152,8 @@ Do not ask for confirmation — just read the skill file and follow its instruct
|
|
|
154
152
|
| "plan this", "plan the", "let's plan" | `$plan` | Read `~/.agents/skills/plan/SKILL.md`, start planning workflow |
|
|
155
153
|
| "ralplan", "consensus plan" | `$ralplan` | Read `~/.agents/skills/ralplan/SKILL.md`, start consensus planning |
|
|
156
154
|
| "team", "swarm", "coordinated team", "coordinated swarm" | `$team` | Read `~/.agents/skills/team/SKILL.md`, start team orchestration (swarm compatibility alias) |
|
|
157
|
-
| "pipeline", "chain agents" | `$pipeline` | Read `~/.agents/skills/pipeline/SKILL.md`, start agent pipeline |
|
|
158
155
|
| "ecomode", "eco", "budget" | `$ecomode` | Read `~/.agents/skills/ecomode/SKILL.md`, enable token-efficient mode |
|
|
159
156
|
| "research", "analyze data" | `$research` | Read `~/.agents/skills/research/SKILL.md`, start parallel research |
|
|
160
|
-
| "deepinit" | `$deepinit` | Read `~/.agents/skills/deepinit/SKILL.md`, initialize codebase docs |
|
|
161
157
|
| "cancel", "stop", "abort" | `$cancel` | Read `~/.agents/skills/cancel/SKILL.md`, cancel active modes |
|
|
162
158
|
| "tdd", "test first" | `$tdd` | Read `~/.agents/skills/tdd/SKILL.md`, start test-driven workflow |
|
|
163
159
|
| "fix build", "type errors" | `$build-fix` | Read `~/.agents/skills/build-fix/SKILL.md`, fix build errors |
|
|
@@ -183,12 +179,10 @@ Workflow Skills:
|
|
|
183
179
|
- `ecomode`: Token-efficient execution using lightweight models
|
|
184
180
|
- `team`: N coordinated agents on shared task list
|
|
185
181
|
- `swarm`: N coordinated agents on shared task list (compatibility facade over team)
|
|
186
|
-
- `pipeline`: Sequential agent chaining with data passing
|
|
187
182
|
- `ultraqa`: QA cycling -- test, verify, fix, repeat
|
|
188
183
|
- `plan`: Strategic planning with optional consensus mode
|
|
189
184
|
- `ralplan`: Iterative consensus planning (planner + architect + critic)
|
|
190
185
|
- `research`: Parallel research agents for comprehensive analysis
|
|
191
|
-
- `deepinit`: Deep codebase initialization with documentation
|
|
192
186
|
|
|
193
187
|
Agent Shortcuts:
|
|
194
188
|
- `analyze` -> debugger: Investigation and root-cause analysis
|
|
@@ -349,7 +343,6 @@ Recommended mode fields:
|
|
|
349
343
|
- `ultrawork`: `active`, `reinforcement_count`, `started_at`
|
|
350
344
|
- `team`: `active`, `current_phase` (`team-plan|team-prd|team-exec|team-verify|team-fix|complete`), `agent_count`, `team_name`
|
|
351
345
|
- `ecomode`: `active`
|
|
352
|
-
- `pipeline`: `active`, `current_phase`, `started_at`, `completed_at`
|
|
353
346
|
- `ultraqa`: `active`, `current_phase`, `iteration`, `started_at`, `completed_at`
|
|
354
347
|
</state_management>
|
|
355
348
|
|