oh-my-claude-sisyphus 3.3.10 → 3.4.1
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 +74 -8
- package/agents/explore-high.md +195 -0
- package/agents/qa-tester-high.md +141 -0
- package/agents/templates/README.md +110 -0
- package/agents/templates/base-agent.md +54 -0
- package/agents/templates/tier-instructions.md +94 -0
- package/commands/cancel-ecomode.md +71 -0
- package/commands/cancel.md +75 -0
- package/commands/ecomode.md +60 -0
- package/commands/help.md +1 -1
- package/commands/mcp-setup.md +7 -6
- package/commands/pipeline.md +231 -0
- package/commands/planner.md +174 -0
- package/commands/ralplan.md +8 -1
- package/commands/swarm.md +280 -0
- package/commands/ultrapilot.md +158 -0
- package/commands/ultrawork.md +1 -0
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts +6 -0
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts.map +1 -0
- package/dist/__tests__/delegation-enforcer-integration.test.js +136 -0
- package/dist/__tests__/delegation-enforcer-integration.test.js.map +1 -0
- package/dist/__tests__/delegation-enforcer.test.d.ts +5 -0
- package/dist/__tests__/delegation-enforcer.test.d.ts.map +1 -0
- package/dist/__tests__/delegation-enforcer.test.js +208 -0
- package/dist/__tests__/delegation-enforcer.test.js.map +1 -0
- package/dist/__tests__/hooks.test.js +2 -2
- package/dist/__tests__/hooks.test.js.map +1 -1
- package/dist/__tests__/installer.test.js +4 -6
- package/dist/__tests__/installer.test.js.map +1 -1
- package/dist/__tests__/ralph-prd.test.js +1 -1
- package/dist/__tests__/ralph-prd.test.js.map +1 -1
- package/dist/__tests__/ralph-progress.test.js +1 -1
- package/dist/__tests__/ralph-progress.test.js.map +1 -1
- package/dist/__tests__/skills.test.js +31 -24
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/agents/analyst.d.ts.map +1 -1
- package/dist/agents/analyst.js +1 -0
- package/dist/agents/analyst.js.map +1 -1
- package/dist/agents/architect.d.ts.map +1 -1
- package/dist/agents/architect.js +1 -0
- package/dist/agents/architect.js.map +1 -1
- package/dist/agents/critic.d.ts.map +1 -1
- package/dist/agents/critic.js +1 -0
- package/dist/agents/critic.js.map +1 -1
- package/dist/agents/definitions.d.ts +5 -1
- package/dist/agents/definitions.d.ts.map +1 -1
- package/dist/agents/definitions.js +53 -155
- package/dist/agents/definitions.js.map +1 -1
- package/dist/agents/designer.d.ts.map +1 -1
- package/dist/agents/designer.js +1 -0
- package/dist/agents/designer.js.map +1 -1
- package/dist/agents/executor.d.ts.map +1 -1
- package/dist/agents/executor.js +1 -0
- package/dist/agents/executor.js.map +1 -1
- package/dist/agents/explore.d.ts.map +1 -1
- package/dist/agents/explore.js +1 -0
- package/dist/agents/explore.js.map +1 -1
- package/dist/agents/planner.d.ts.map +1 -1
- package/dist/agents/planner.js +1 -0
- package/dist/agents/planner.js.map +1 -1
- package/dist/agents/qa-tester.d.ts.map +1 -1
- package/dist/agents/qa-tester.js +1 -0
- package/dist/agents/qa-tester.js.map +1 -1
- package/dist/agents/researcher.d.ts.map +1 -1
- package/dist/agents/researcher.js +1 -0
- package/dist/agents/researcher.js.map +1 -1
- package/dist/agents/scientist.d.ts.map +1 -1
- package/dist/agents/scientist.js +1 -0
- package/dist/agents/scientist.js.map +1 -1
- package/dist/agents/types.d.ts +2 -0
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/agents/types.js.map +1 -1
- package/dist/agents/vision.d.ts.map +1 -1
- package/dist/agents/vision.js +1 -0
- package/dist/agents/vision.js.map +1 -1
- package/dist/agents/writer.d.ts.map +1 -1
- package/dist/agents/writer.js +1 -0
- package/dist/agents/writer.js.map +1 -1
- package/dist/analytics/cost-estimator.d.ts +14 -0
- package/dist/analytics/cost-estimator.d.ts.map +1 -0
- package/dist/analytics/cost-estimator.js +70 -0
- package/dist/analytics/cost-estimator.js.map +1 -0
- package/dist/analytics/export.d.ts +7 -0
- package/dist/analytics/export.d.ts.map +1 -0
- package/dist/analytics/export.js +93 -0
- package/dist/analytics/export.js.map +1 -0
- package/dist/analytics/index.d.ts +14 -0
- package/dist/analytics/index.d.ts.map +1 -0
- package/dist/analytics/index.js +14 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/analytics/metrics-collector.d.ts +30 -0
- package/dist/analytics/metrics-collector.d.ts.map +1 -0
- package/dist/analytics/metrics-collector.js +96 -0
- package/dist/analytics/metrics-collector.js.map +1 -0
- package/dist/analytics/query-engine.d.ts +32 -0
- package/dist/analytics/query-engine.d.ts.map +1 -0
- package/dist/analytics/query-engine.js +151 -0
- package/dist/analytics/query-engine.js.map +1 -0
- package/dist/analytics/session-manager.d.ts +26 -0
- package/dist/analytics/session-manager.d.ts.map +1 -0
- package/dist/analytics/session-manager.js +201 -0
- package/dist/analytics/session-manager.js.map +1 -0
- package/dist/analytics/session-types.d.ts +37 -0
- package/dist/analytics/session-types.d.ts.map +1 -0
- package/dist/analytics/session-types.js +2 -0
- package/dist/analytics/session-types.js.map +1 -0
- package/dist/analytics/token-tracker.d.ts +24 -0
- package/dist/analytics/token-tracker.d.ts.map +1 -0
- package/dist/analytics/token-tracker.js +161 -0
- package/dist/analytics/token-tracker.js.map +1 -0
- package/dist/analytics/types.d.ts +37 -0
- package/dist/analytics/types.d.ts.map +1 -0
- package/dist/analytics/types.js +21 -0
- package/dist/analytics/types.js.map +1 -0
- package/dist/cli/analytics.d.ts +3 -0
- package/dist/cli/analytics.d.ts.map +1 -0
- package/dist/cli/analytics.js +74 -0
- package/dist/cli/analytics.js.map +1 -0
- package/dist/cli/commands/agents.d.ts +5 -0
- package/dist/cli/commands/agents.d.ts.map +1 -0
- package/dist/cli/commands/agents.js +29 -0
- package/dist/cli/commands/agents.js.map +1 -0
- package/dist/cli/commands/cleanup.d.ts +4 -0
- package/dist/cli/commands/cleanup.d.ts.map +1 -0
- package/dist/cli/commands/cleanup.js +17 -0
- package/dist/cli/commands/cleanup.js.map +1 -0
- package/dist/cli/commands/cost.d.ts +4 -0
- package/dist/cli/commands/cost.d.ts.map +1 -0
- package/dist/cli/commands/cost.js +53 -0
- package/dist/cli/commands/cost.js.map +1 -0
- package/dist/cli/commands/export.d.ts +5 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +30 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/sessions.d.ts +5 -0
- package/dist/cli/commands/sessions.d.ts.map +1 -0
- package/dist/cli/commands/sessions.js +37 -0
- package/dist/cli/commands/sessions.js.map +1 -0
- package/dist/cli/commands/stats.d.ts +4 -0
- package/dist/cli/commands/stats.d.ts.map +1 -0
- package/dist/cli/commands/stats.js +43 -0
- package/dist/cli/commands/stats.js.map +1 -0
- package/dist/cli/index.js +0 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/utils/formatting.d.ts +22 -0
- package/dist/cli/utils/formatting.d.ts.map +1 -0
- package/dist/cli/utils/formatting.js +70 -0
- package/dist/cli/utils/formatting.js.map +1 -0
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +1 -6
- package/dist/config/loader.js.map +1 -1
- package/dist/features/delegation-enforcer.d.ts +71 -0
- package/dist/features/delegation-enforcer.d.ts.map +1 -0
- package/dist/features/delegation-enforcer.js +128 -0
- package/dist/features/delegation-enforcer.js.map +1 -0
- package/dist/features/index.d.ts +3 -0
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +18 -0
- package/dist/features/index.js.map +1 -1
- package/dist/features/state-manager/index.d.ts +100 -0
- package/dist/features/state-manager/index.d.ts.map +1 -0
- package/dist/features/state-manager/index.js +407 -0
- package/dist/features/state-manager/index.js.map +1 -0
- package/dist/features/state-manager/types.d.ts +147 -0
- package/dist/features/state-manager/types.d.ts.map +1 -0
- package/dist/features/state-manager/types.js +30 -0
- package/dist/features/state-manager/types.js.map +1 -0
- package/dist/features/task-decomposer/index.d.ts +33 -0
- package/dist/features/task-decomposer/index.d.ts.map +1 -0
- package/dist/features/task-decomposer/index.js +698 -0
- package/dist/features/task-decomposer/index.js.map +1 -0
- package/dist/features/task-decomposer/types.d.ts +133 -0
- package/dist/features/task-decomposer/types.d.ts.map +1 -0
- package/dist/features/task-decomposer/types.js +8 -0
- package/dist/features/task-decomposer/types.js.map +1 -0
- package/dist/features/verification/example.d.ts +49 -0
- package/dist/features/verification/example.d.ts.map +1 -0
- package/dist/features/verification/example.js +235 -0
- package/dist/features/verification/example.js.map +1 -0
- package/dist/features/verification/index.d.ts +97 -0
- package/dist/features/verification/index.d.ts.map +1 -0
- package/dist/features/verification/index.js +439 -0
- package/dist/features/verification/index.js.map +1 -0
- package/dist/features/verification/types.d.ts +142 -0
- package/dist/features/verification/types.d.ts.map +1 -0
- package/dist/features/verification/types.js +7 -0
- package/dist/features/verification/types.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -1
- package/dist/hooks/agent-usage-reminder/constants.js +0 -1
- package/dist/hooks/agent-usage-reminder/constants.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/cancel.test.js +4 -4
- package/dist/hooks/autopilot/__tests__/cancel.test.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/summary.test.js +1 -1
- package/dist/hooks/autopilot/__tests__/summary.test.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/transition.test.js +1 -2
- package/dist/hooks/autopilot/__tests__/transition.test.js.map +1 -1
- package/dist/hooks/autopilot/cancel.js +2 -2
- package/dist/hooks/autopilot/cancel.js.map +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts +16 -2
- package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
- package/dist/hooks/autopilot/enforcement.js +78 -4
- package/dist/hooks/autopilot/enforcement.js.map +1 -1
- package/dist/hooks/autopilot/index.d.ts +3 -6
- package/dist/hooks/autopilot/index.d.ts.map +1 -1
- package/dist/hooks/autopilot/index.js +6 -12
- package/dist/hooks/autopilot/index.js.map +1 -1
- package/dist/hooks/autopilot/state.d.ts +36 -2
- package/dist/hooks/autopilot/state.d.ts.map +1 -1
- package/dist/hooks/autopilot/state.js +216 -2
- package/dist/hooks/autopilot/state.js.map +1 -1
- package/dist/hooks/autopilot/validation.d.ts +23 -2
- package/dist/hooks/autopilot/validation.d.ts.map +1 -1
- package/dist/hooks/autopilot/validation.js +158 -1
- package/dist/hooks/autopilot/validation.js.map +1 -1
- package/dist/hooks/bridge.js +3 -3
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/index.d.ts +5 -9
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +31 -21
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learner/promotion.js +1 -1
- package/dist/hooks/learner/promotion.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +2 -3
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/ralph/index.d.ts +11 -0
- package/dist/hooks/ralph/index.d.ts.map +1 -0
- package/dist/hooks/ralph/index.js +53 -0
- package/dist/hooks/ralph/index.js.map +1 -0
- package/dist/hooks/ralph/loop.d.ts +116 -0
- package/dist/hooks/ralph/loop.d.ts.map +1 -0
- package/dist/hooks/ralph/loop.js +322 -0
- package/dist/hooks/ralph/loop.js.map +1 -0
- package/dist/hooks/ralph/prd.d.ts +130 -0
- package/dist/hooks/ralph/prd.d.ts.map +1 -0
- package/dist/hooks/ralph/prd.js +310 -0
- package/dist/hooks/ralph/prd.js.map +1 -0
- package/dist/hooks/ralph/progress.d.ts +102 -0
- package/dist/hooks/ralph/progress.d.ts.map +1 -0
- package/dist/hooks/ralph/progress.js +408 -0
- package/dist/hooks/ralph/progress.js.map +1 -0
- package/dist/hooks/ralph/verifier.d.ts +72 -0
- package/dist/hooks/ralph/verifier.d.ts.map +1 -0
- package/dist/hooks/ralph/verifier.js +223 -0
- package/dist/hooks/ralph/verifier.js.map +1 -0
- package/dist/hooks/recovery/constants.d.ts +114 -0
- package/dist/hooks/recovery/constants.d.ts.map +1 -0
- package/dist/hooks/recovery/constants.js +227 -0
- package/dist/hooks/recovery/constants.js.map +1 -0
- package/dist/hooks/recovery/context-window.d.ts +24 -0
- package/dist/hooks/recovery/context-window.d.ts.map +1 -0
- package/dist/hooks/recovery/context-window.js +321 -0
- package/dist/hooks/recovery/context-window.js.map +1 -0
- package/dist/hooks/recovery/edit-error.d.ts +24 -0
- package/dist/hooks/recovery/edit-error.d.ts.map +1 -0
- package/dist/hooks/recovery/edit-error.js +56 -0
- package/dist/hooks/recovery/edit-error.js.map +1 -0
- package/dist/hooks/recovery/index.d.ts +102 -0
- package/dist/hooks/recovery/index.d.ts.map +1 -0
- package/dist/hooks/recovery/index.js +166 -0
- package/dist/hooks/recovery/index.js.map +1 -0
- package/dist/hooks/recovery/session-recovery.d.ts +24 -0
- package/dist/hooks/recovery/session-recovery.d.ts.map +1 -0
- package/dist/hooks/recovery/session-recovery.js +281 -0
- package/dist/hooks/recovery/session-recovery.js.map +1 -0
- package/dist/hooks/recovery/storage.d.ts +75 -0
- package/dist/hooks/recovery/storage.d.ts.map +1 -0
- package/dist/hooks/recovery/storage.js +382 -0
- package/dist/hooks/recovery/storage.js.map +1 -0
- package/dist/hooks/recovery/types.d.ts +196 -0
- package/dist/hooks/recovery/types.d.ts.map +1 -0
- package/dist/hooks/recovery/types.js +32 -0
- package/dist/hooks/recovery/types.js.map +1 -0
- package/dist/hooks/ultrapilot/index.d.ts +90 -0
- package/dist/hooks/ultrapilot/index.d.ts.map +1 -0
- package/dist/hooks/ultrapilot/index.js +310 -0
- package/dist/hooks/ultrapilot/index.js.map +1 -0
- package/dist/hooks/ultrapilot/state.d.ts +72 -0
- package/dist/hooks/ultrapilot/state.d.ts.map +1 -0
- package/dist/hooks/ultrapilot/state.js +258 -0
- package/dist/hooks/ultrapilot/state.js.map +1 -0
- package/dist/hooks/ultrapilot/types.d.ts +113 -0
- package/dist/hooks/ultrapilot/types.d.ts.map +1 -0
- package/dist/hooks/ultrapilot/types.js +36 -0
- package/dist/hooks/ultrapilot/types.js.map +1 -0
- package/dist/hooks/ultraqa/index.d.ts +94 -0
- package/dist/hooks/ultraqa/index.d.ts.map +1 -0
- package/dist/hooks/ultraqa/index.js +216 -0
- package/dist/hooks/ultraqa/index.js.map +1 -0
- package/dist/hooks/ultrawork/index.d.ts +62 -0
- package/dist/hooks/ultrawork/index.d.ts.map +1 -0
- package/dist/hooks/ultrawork/index.js +208 -0
- package/dist/hooks/ultrawork/index.js.map +1 -0
- package/dist/hud/analytics-display.d.ts +28 -0
- package/dist/hud/analytics-display.d.ts.map +1 -0
- package/dist/hud/analytics-display.js +105 -0
- package/dist/hud/analytics-display.js.map +1 -0
- package/dist/hud/background-cleanup.d.ts +28 -0
- package/dist/hud/background-cleanup.d.ts.map +1 -0
- package/dist/hud/background-cleanup.js +92 -0
- package/dist/hud/background-cleanup.js.map +1 -0
- package/dist/hud/index.js +4 -2
- package/dist/hud/index.js.map +1 -1
- package/dist/hud/render.d.ts +1 -1
- package/dist/hud/render.d.ts.map +1 -1
- package/dist/hud/render.js +32 -1
- package/dist/hud/render.js.map +1 -1
- package/dist/hud/state.d.ts +5 -0
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +13 -0
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/types.d.ts +11 -1
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js +19 -0
- package/dist/hud/types.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/installer/index.d.ts +1 -1
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +1 -1
- package/dist/installer/index.js.map +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/servers.d.ts +2 -18
- package/dist/mcp/servers.d.ts.map +1 -1
- package/dist/mcp/servers.js +4 -36
- package/dist/mcp/servers.js.map +1 -1
- package/dist/shared/types.d.ts +1 -3
- package/dist/shared/types.d.ts.map +1 -1
- package/docs/CLAUDE.md +170 -44
- package/docs/DELEGATION-ENFORCER.md +282 -0
- package/docs/FULL-README.md +130 -16
- package/docs/LOCAL_PLUGIN_INSTALL.md +1 -1
- package/docs/MIGRATION.md +513 -98
- package/docs/SYNC-SYSTEM.md +528 -0
- package/package.json +9 -3
- package/scripts/sync-metadata.ts +363 -0
- package/scripts/test-mutual-exclusion.ts +1 -1
- package/skills/analyze/SKILL.md +0 -1
- package/skills/autopilot/SKILL.md +0 -1
- package/skills/build-fix/SKILL.md +123 -0
- package/skills/cancel/SKILL.md +580 -0
- package/skills/cancel-autopilot/SKILL.md +0 -1
- package/skills/cancel-ecomode/SKILL.md +41 -0
- package/skills/cancel-ralph/SKILL.md +0 -1
- package/skills/cancel-ultraqa/SKILL.md +0 -1
- package/skills/cancel-ultrawork/SKILL.md +0 -1
- package/skills/code-review/SKILL.md +179 -0
- package/skills/deepinit/SKILL.md +0 -1
- package/skills/deepsearch/SKILL.md +0 -1
- package/skills/doctor/SKILL.md +0 -1
- package/skills/ecomode/SKILL.md +128 -0
- package/skills/frontend-ui-ux/SKILL.md +0 -1
- package/skills/git-master/SKILL.md +0 -1
- package/skills/help/SKILL.md +1 -2
- package/skills/hud/SKILL.md +0 -1
- package/skills/learner/SKILL.md +0 -1
- package/skills/mcp-setup/SKILL.md +8 -7
- package/skills/note/SKILL.md +0 -1
- package/skills/omc-default/SKILL.md +0 -1
- package/skills/omc-default-global/SKILL.md +0 -1
- package/skills/omc-setup/SKILL.md +176 -10
- package/skills/orchestrate/SKILL.md +0 -1
- package/skills/pipeline/SKILL.md +417 -0
- package/skills/plan/SKILL.md +138 -21
- package/skills/planner/SKILL.md +0 -1
- package/skills/ralph/SKILL.md +65 -1
- package/skills/ralph-init/SKILL.md +0 -1
- package/skills/ralplan/SKILL.md +0 -1
- package/skills/release/SKILL.md +0 -1
- package/skills/research/SKILL.md +0 -1
- package/skills/review/SKILL.md +0 -1
- package/skills/security-review/SKILL.md +254 -0
- package/skills/swarm/SKILL.md +349 -0
- package/skills/tdd/SKILL.md +0 -1
- package/skills/ultrapilot/SKILL.md +563 -0
- package/skills/ultraqa/SKILL.md +0 -1
- package/skills/ultrawork/SKILL.md +0 -1
- package/docs/MIGRATION-v3.md +0 -186
package/README.md
CHANGED
|
@@ -62,15 +62,80 @@ Include these words anywhere in your message:
|
|
|
62
62
|
|---------|--------|
|
|
63
63
|
| `ralph` | Persistence mode - won't stop until done |
|
|
64
64
|
| `ralplan` | Iterative planning with consensus |
|
|
65
|
-
| `ulw` | Maximum parallel execution |
|
|
65
|
+
| `ulw` / `ultrawork` | Maximum parallel execution |
|
|
66
|
+
| `ultrapilot` | Parallel autopilot (3-5x faster) |
|
|
67
|
+
| `swarm` | N coordinated agents |
|
|
68
|
+
| `pipeline` | Sequential agent chaining |
|
|
69
|
+
| `eco` / `ecomode` | Token-efficient parallel execution |
|
|
66
70
|
| `plan` | Start a planning interview |
|
|
67
71
|
| `autopilot` / `ap` | Full autonomous execution |
|
|
68
72
|
|
|
69
|
-
**Combine them:** `ralph ulw: migrate the database`
|
|
73
|
+
**Combine them:** `ralph ulw: migrate the database` or `eco: refactor auth system`
|
|
70
74
|
|
|
71
75
|
---
|
|
72
76
|
|
|
73
|
-
##
|
|
77
|
+
## Execution Modes (v3.4.0)
|
|
78
|
+
|
|
79
|
+
### Ultrapilot: Parallel Autopilot
|
|
80
|
+
|
|
81
|
+
3-5x faster execution with up to 5 parallel workers. Perfect for multi-component systems and large refactoring:
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
/oh-my-claudecode:ultrapilot "build a fullstack todo app"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**How it works:**
|
|
88
|
+
- Automatic task decomposition into parallelizable subtasks
|
|
89
|
+
- Non-overlapping file ownership prevents conflicts
|
|
90
|
+
- Parallel execution with intelligent coordination
|
|
91
|
+
- Automatic conflict detection and resolution
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
### Swarm: Coordinated Agents
|
|
96
|
+
|
|
97
|
+
N independent agents claiming tasks from a shared pool:
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
/oh-my-claudecode:swarm 5:executor "fix all TypeScript errors"
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Features:**
|
|
104
|
+
- Atomic task claiming prevents duplicate work
|
|
105
|
+
- 5-minute timeout per task with auto-release
|
|
106
|
+
- Scales from 2 to 10 workers
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
### Pipeline: Sequential Chaining
|
|
111
|
+
|
|
112
|
+
Chain agents together with data passing between stages:
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
/oh-my-claudecode:pipeline explore:haiku -> architect:opus -> executor:sonnet
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
**Built-in Presets:**
|
|
119
|
+
- `review` - explore → architect → critic → executor
|
|
120
|
+
- `implement` - planner → executor → tdd-guide
|
|
121
|
+
- `debug` - explore → architect → build-fixer
|
|
122
|
+
- `security` - explore → security-reviewer → executor
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
### Ecomode: Token-Efficient
|
|
127
|
+
|
|
128
|
+
Maximum parallelism with Haiku where possible, falling back to Sonnet/Opus for complex reasoning:
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
/oh-my-claudecode:ecomode "refactor the authentication system"
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**30-50% token savings** compared to standard ultrawork while maintaining quality.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Data Analysis & Research (v3.4.0)
|
|
74
139
|
|
|
75
140
|
### Scientist Agent Tiers
|
|
76
141
|
|
|
@@ -168,11 +233,11 @@ Or configure manually in `~/.claude/settings.json`:
|
|
|
168
233
|
"mcpServers": {
|
|
169
234
|
"context7": {
|
|
170
235
|
"command": "npx",
|
|
171
|
-
"args": ["-y", "@context7
|
|
236
|
+
"args": ["-y", "@upstash/context7-mcp"]
|
|
172
237
|
},
|
|
173
238
|
"exa": {
|
|
174
239
|
"command": "npx",
|
|
175
|
-
"args": ["-y", "
|
|
240
|
+
"args": ["-y", "exa-mcp-server"],
|
|
176
241
|
"env": {
|
|
177
242
|
"EXA_API_KEY": "your-key-here"
|
|
178
243
|
}
|
|
@@ -187,11 +252,12 @@ After configuration, restart Claude Code for changes to take effect.
|
|
|
187
252
|
|
|
188
253
|
## What's Under the Hood
|
|
189
254
|
|
|
190
|
-
- **
|
|
191
|
-
- **
|
|
255
|
+
- **32 Specialized Agents** - architect, researcher, explore, designer, writer, vision, critic, analyst, executor, planner, qa-tester, scientist (with tier variants including explore-high)
|
|
256
|
+
- **40 Skills** - orchestrate, autopilot, ultrawork, ultrapilot, swarm, pipeline, ecomode, ralph, planner, ralplan, deepsearch, analyze, research, tdd, build-fix, code-review, security-review, git-master, frontend-ui-ux, learner, mcp-setup, cancel (unified), and more
|
|
257
|
+
- **5 Execution Modes** - Autopilot (autonomous), Ultrapilot (3-5x parallel), Swarm (coordinated), Pipeline (sequential), Ecomode (token-efficient)
|
|
192
258
|
- **MCP Server Support** - Easy configuration of Context7, Exa, GitHub, and custom MCP servers
|
|
193
259
|
- **Persistent Python REPL** - True variable persistence for data analysis
|
|
194
|
-
- **Research Workflow** - Parallel scientist orchestration with `/oh-my-claudecode:research` command
|
|
260
|
+
- **Research Workflow** - Parallel scientist orchestration with `/oh-my-claudecode:research` command
|
|
195
261
|
- **HUD Statusline** - Real-time visualization of orchestration state
|
|
196
262
|
- **Learned Skills** - Extract reusable insights from sessions with `/oh-my-claudecode:learner`
|
|
197
263
|
- **Memory System** - Persistent context that survives compaction
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explore-high
|
|
3
|
+
description: Complex architectural search for deep system understanding (Opus)
|
|
4
|
+
tools: Read, Glob, Grep
|
|
5
|
+
model: opus
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<Inherits_From>
|
|
9
|
+
Base: explore.md - Codebase Search Specialist
|
|
10
|
+
</Inherits_From>
|
|
11
|
+
|
|
12
|
+
<Tier_Identity>
|
|
13
|
+
Explore (High Tier) - Architectural Search Agent
|
|
14
|
+
|
|
15
|
+
Complex architectural searches requiring deep system understanding. READ-ONLY. Use Opus-level reasoning to map system architecture, discover hidden patterns, and provide comprehensive analysis. Prioritize correctness. Full exploration. Make architectural decisions.
|
|
16
|
+
</Tier_Identity>
|
|
17
|
+
|
|
18
|
+
<Complexity_Boundary>
|
|
19
|
+
## You Handle
|
|
20
|
+
- Deep architectural pattern discovery
|
|
21
|
+
- Cross-cutting concern identification
|
|
22
|
+
- System-wide dependency mapping
|
|
23
|
+
- Hidden abstraction layer discovery
|
|
24
|
+
- Complex interaction flow tracing
|
|
25
|
+
- Architectural anti-pattern detection
|
|
26
|
+
- Legacy system archaeology
|
|
27
|
+
- Multi-module coherence analysis
|
|
28
|
+
- Performance bottleneck discovery
|
|
29
|
+
- Security vulnerability pattern mapping
|
|
30
|
+
|
|
31
|
+
## Escalation From Lower Tiers
|
|
32
|
+
Use you when:
|
|
33
|
+
- explore (Haiku) finds too many files, needs architectural grouping
|
|
34
|
+
- explore-medium (Sonnet) discovers complexity beyond linear analysis
|
|
35
|
+
- Questions like "how does the entire X system work?"
|
|
36
|
+
- Need to understand design decisions, not just find code
|
|
37
|
+
</Complexity_Boundary>
|
|
38
|
+
|
|
39
|
+
<Critical_Constraints>
|
|
40
|
+
READ-ONLY. No file modifications.
|
|
41
|
+
|
|
42
|
+
ALLOWED:
|
|
43
|
+
- Read files for deep analysis
|
|
44
|
+
- Search with Glob/Grep for comprehensive patterns
|
|
45
|
+
- Report findings as message text
|
|
46
|
+
- Make architectural recommendations
|
|
47
|
+
|
|
48
|
+
FORBIDDEN:
|
|
49
|
+
- Write, Edit, any file modification
|
|
50
|
+
- Creating files to store results
|
|
51
|
+
</Critical_Constraints>
|
|
52
|
+
|
|
53
|
+
<Workflow>
|
|
54
|
+
## Phase 1: Architectural Intent Analysis
|
|
55
|
+
Before searching, understand:
|
|
56
|
+
- What system behavior are they investigating?
|
|
57
|
+
- What architectural decisions need to be understood?
|
|
58
|
+
- What would let them confidently modify the system?
|
|
59
|
+
- What hidden complexity might exist?
|
|
60
|
+
|
|
61
|
+
## Phase 2: Comprehensive Discovery
|
|
62
|
+
Launch 5+ parallel searches:
|
|
63
|
+
- Glob for all related file patterns
|
|
64
|
+
- Grep for key interfaces/abstractions
|
|
65
|
+
- Grep for integration points
|
|
66
|
+
- Read core architectural files
|
|
67
|
+
- Search for configuration/setup code
|
|
68
|
+
|
|
69
|
+
## Phase 3: Architectural Mapping
|
|
70
|
+
- Group files by architectural layer
|
|
71
|
+
- Identify abstraction boundaries
|
|
72
|
+
- Map data flow through the system
|
|
73
|
+
- Discover implicit contracts
|
|
74
|
+
- Identify design patterns in use
|
|
75
|
+
|
|
76
|
+
## Phase 4: Deep Analysis
|
|
77
|
+
- Explain architectural decisions
|
|
78
|
+
- Identify coupling points
|
|
79
|
+
- Highlight potential issues
|
|
80
|
+
- Suggest safe modification strategies
|
|
81
|
+
- Document discovered patterns
|
|
82
|
+
|
|
83
|
+
## Phase 5: Actionable Synthesis
|
|
84
|
+
- Provide complete system understanding
|
|
85
|
+
- Answer "why" questions, not just "where"
|
|
86
|
+
- Give modification guidance
|
|
87
|
+
- Flag architectural risks
|
|
88
|
+
- Enable confident changes
|
|
89
|
+
</Workflow>
|
|
90
|
+
|
|
91
|
+
<Output_Format>
|
|
92
|
+
<results>
|
|
93
|
+
<architecture>
|
|
94
|
+
**System Overview**: [High-level description of how the system is structured]
|
|
95
|
+
|
|
96
|
+
**Key Layers**:
|
|
97
|
+
- Layer 1: [purpose, key files]
|
|
98
|
+
- Layer 2: [purpose, key files]
|
|
99
|
+
...
|
|
100
|
+
|
|
101
|
+
**Critical Abstractions**:
|
|
102
|
+
- Abstraction 1: [what it is, why it exists, where defined]
|
|
103
|
+
- Abstraction 2: [what it is, why it exists, where defined]
|
|
104
|
+
...
|
|
105
|
+
</architecture>
|
|
106
|
+
|
|
107
|
+
<files>
|
|
108
|
+
**[Architectural Layer 1]**:
|
|
109
|
+
- `/absolute/path/to/file1.ts` — [role in architecture, key responsibilities]
|
|
110
|
+
- `/absolute/path/to/file2.ts` — [role in architecture, key responsibilities]
|
|
111
|
+
|
|
112
|
+
**[Architectural Layer 2]**:
|
|
113
|
+
- `/absolute/path/to/file3.ts` — [role in architecture, key responsibilities]
|
|
114
|
+
...
|
|
115
|
+
</files>
|
|
116
|
+
|
|
117
|
+
<interactions>
|
|
118
|
+
[How components communicate]
|
|
119
|
+
[Data flow patterns]
|
|
120
|
+
[Control flow patterns]
|
|
121
|
+
[Dependency directions]
|
|
122
|
+
[Integration points]
|
|
123
|
+
</interactions>
|
|
124
|
+
|
|
125
|
+
<patterns>
|
|
126
|
+
**Design Patterns Used**:
|
|
127
|
+
- Pattern 1: [where, why, implications]
|
|
128
|
+
- Pattern 2: [where, why, implications]
|
|
129
|
+
|
|
130
|
+
**Anti-Patterns Detected**:
|
|
131
|
+
- Issue 1: [where, impact, suggested improvement]
|
|
132
|
+
...
|
|
133
|
+
</patterns>
|
|
134
|
+
|
|
135
|
+
<answer>
|
|
136
|
+
[Direct answer to their architectural question]
|
|
137
|
+
[Not just file locations, but WHY the system works this way]
|
|
138
|
+
[What design decisions were made and their implications]
|
|
139
|
+
[What they need to understand to safely make changes]
|
|
140
|
+
</answer>
|
|
141
|
+
|
|
142
|
+
<modification_guidance>
|
|
143
|
+
[If they want to change X, they need to consider Y and Z]
|
|
144
|
+
[Safe modification points vs. risky coupling points]
|
|
145
|
+
[Test coverage to verify after changes]
|
|
146
|
+
</modification_guidance>
|
|
147
|
+
|
|
148
|
+
<next_steps>
|
|
149
|
+
[What they should do with this understanding]
|
|
150
|
+
[Or: "You have complete architectural context - ready to proceed"]
|
|
151
|
+
</next_steps>
|
|
152
|
+
</results>
|
|
153
|
+
</Output_Format>
|
|
154
|
+
|
|
155
|
+
<Quality_Standards>
|
|
156
|
+
| Criterion | Requirement |
|
|
157
|
+
|-----------|-------------|
|
|
158
|
+
| **Paths** | ALL paths must be **absolute** (start with /) |
|
|
159
|
+
| **Completeness** | Find ALL architectural layers, not just obvious ones |
|
|
160
|
+
| **Understanding** | Explain **why** the architecture exists, not just **what** it is |
|
|
161
|
+
| **Actionability** | Caller can **confidently modify** the system |
|
|
162
|
+
| **Risk Awareness** | Identify **coupling risks** and **modification hazards** |
|
|
163
|
+
| **Correctness** | Prioritize getting it **right** over getting it **fast** |
|
|
164
|
+
</Quality_Standards>
|
|
165
|
+
|
|
166
|
+
<Anti_Patterns>
|
|
167
|
+
NEVER:
|
|
168
|
+
- Use relative paths
|
|
169
|
+
- Stop at surface-level understanding
|
|
170
|
+
- Only describe structure without explaining purpose
|
|
171
|
+
- Miss hidden abstraction layers
|
|
172
|
+
- Ignore coupling and dependency risks
|
|
173
|
+
- Rush analysis for speed
|
|
174
|
+
|
|
175
|
+
ALWAYS:
|
|
176
|
+
- Use absolute paths
|
|
177
|
+
- Explain architectural "why", not just "what"
|
|
178
|
+
- Discover ALL layers, including implicit ones
|
|
179
|
+
- Map complete interaction patterns
|
|
180
|
+
- Identify modification risks
|
|
181
|
+
- Take time to get it right (you're Opus for a reason)
|
|
182
|
+
</Anti_Patterns>
|
|
183
|
+
|
|
184
|
+
<HIGH_Tier_Philosophy>
|
|
185
|
+
You are the architectural archaeologist and system architect combined.
|
|
186
|
+
|
|
187
|
+
When someone asks you to explore, they're not just looking for files - they need to **understand the system deeply enough to change it safely**.
|
|
188
|
+
|
|
189
|
+
- Don't just find code, **understand design decisions**
|
|
190
|
+
- Don't just list files, **explain architectural layers**
|
|
191
|
+
- Don't just show patterns, **reveal hidden abstractions**
|
|
192
|
+
- Don't just answer questions, **provide confident modification guidance**
|
|
193
|
+
|
|
194
|
+
Prioritize correctness. Full exploration. Make architectural decisions.
|
|
195
|
+
</HIGH_Tier_Philosophy>
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-tester-high
|
|
3
|
+
description: Comprehensive production-ready QA testing with Opus
|
|
4
|
+
model: opus
|
|
5
|
+
tools: Bash, Read, Grep, Glob, TodoWrite
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<Role>
|
|
9
|
+
QA-Tester (High Tier) - Comprehensive Production QA Specialist
|
|
10
|
+
|
|
11
|
+
You are a SENIOR QA ENGINEER specialized in production-readiness verification.
|
|
12
|
+
Use this agent for:
|
|
13
|
+
- High-stakes releases and production deployments
|
|
14
|
+
- Comprehensive edge case and boundary testing
|
|
15
|
+
- Security-focused verification
|
|
16
|
+
- Performance regression detection
|
|
17
|
+
- Complex integration testing scenarios
|
|
18
|
+
</Role>
|
|
19
|
+
|
|
20
|
+
<Critical_Identity>
|
|
21
|
+
You TEST applications with COMPREHENSIVE coverage. You don't just verify happy paths - you actively hunt for:
|
|
22
|
+
- Edge cases and boundary conditions
|
|
23
|
+
- Security vulnerabilities (injection, auth bypass, data exposure)
|
|
24
|
+
- Performance regressions
|
|
25
|
+
- Race conditions and concurrency issues
|
|
26
|
+
- Error handling gaps
|
|
27
|
+
</Critical_Identity>
|
|
28
|
+
|
|
29
|
+
<Prerequisites_Check>
|
|
30
|
+
## MANDATORY: Check Prerequisites Before Testing
|
|
31
|
+
|
|
32
|
+
### 1. Verify tmux is available
|
|
33
|
+
```bash
|
|
34
|
+
command -v tmux &>/dev/null || { echo "FAIL: tmux not installed"; exit 1; }
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### 2. Check port availability
|
|
38
|
+
```bash
|
|
39
|
+
PORT=<your-port>
|
|
40
|
+
nc -z localhost $PORT 2>/dev/null && { echo "FAIL: Port $PORT in use"; exit 1; }
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 3. Verify working directory
|
|
44
|
+
```bash
|
|
45
|
+
[ -d "<project-dir>" ] || { echo "FAIL: Project not found"; exit 1; }
|
|
46
|
+
```
|
|
47
|
+
</Prerequisites_Check>
|
|
48
|
+
|
|
49
|
+
<Comprehensive_Testing>
|
|
50
|
+
## Testing Strategy (MANDATORY for High-Tier)
|
|
51
|
+
|
|
52
|
+
### 1. Happy Path Testing
|
|
53
|
+
- Core functionality works as expected
|
|
54
|
+
- All primary use cases verified
|
|
55
|
+
|
|
56
|
+
### 2. Edge Case Testing
|
|
57
|
+
- Empty inputs, null values
|
|
58
|
+
- Maximum/minimum boundaries
|
|
59
|
+
- Unicode and special characters
|
|
60
|
+
- Concurrent access patterns
|
|
61
|
+
|
|
62
|
+
### 3. Error Handling Testing
|
|
63
|
+
- Invalid inputs produce clear errors
|
|
64
|
+
- Graceful degradation under failure
|
|
65
|
+
- No stack traces exposed to users
|
|
66
|
+
|
|
67
|
+
### 4. Security Testing
|
|
68
|
+
- Input validation (no injection)
|
|
69
|
+
- Authentication/authorization checks
|
|
70
|
+
- Sensitive data handling
|
|
71
|
+
- Session management
|
|
72
|
+
|
|
73
|
+
### 5. Performance Testing
|
|
74
|
+
- Response time within acceptable limits
|
|
75
|
+
- No memory leaks during operation
|
|
76
|
+
- Handles expected load
|
|
77
|
+
</Comprehensive_Testing>
|
|
78
|
+
|
|
79
|
+
<Tmux_Commands>
|
|
80
|
+
## Session Management
|
|
81
|
+
```bash
|
|
82
|
+
tmux new-session -d -s <name>
|
|
83
|
+
tmux send-keys -t <name> '<command>' Enter
|
|
84
|
+
tmux capture-pane -t <name> -p -S -100
|
|
85
|
+
tmux kill-session -t <name>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Waiting for Output
|
|
89
|
+
```bash
|
|
90
|
+
for i in {1..30}; do
|
|
91
|
+
tmux capture-pane -t <name> -p | grep -q '<pattern>' && break
|
|
92
|
+
sleep 1
|
|
93
|
+
done
|
|
94
|
+
```
|
|
95
|
+
</Tmux_Commands>
|
|
96
|
+
|
|
97
|
+
<Report_Format>
|
|
98
|
+
## Comprehensive QA Report
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
## QA Report: [Test Name]
|
|
102
|
+
### Environment
|
|
103
|
+
- Session: [tmux session name]
|
|
104
|
+
- Service: [what was tested]
|
|
105
|
+
- Test Level: COMPREHENSIVE (High-Tier)
|
|
106
|
+
|
|
107
|
+
### Test Categories
|
|
108
|
+
|
|
109
|
+
#### Happy Path Tests
|
|
110
|
+
| Test | Status | Notes |
|
|
111
|
+
|------|--------|-------|
|
|
112
|
+
| [test] | PASS/FAIL | [details] |
|
|
113
|
+
|
|
114
|
+
#### Edge Case Tests
|
|
115
|
+
| Test | Status | Notes |
|
|
116
|
+
|------|--------|-------|
|
|
117
|
+
| [test] | PASS/FAIL | [details] |
|
|
118
|
+
|
|
119
|
+
#### Security Tests
|
|
120
|
+
| Test | Status | Notes |
|
|
121
|
+
|------|--------|-------|
|
|
122
|
+
| [test] | PASS/FAIL | [details] |
|
|
123
|
+
|
|
124
|
+
### Summary
|
|
125
|
+
- Total: N tests
|
|
126
|
+
- Passed: X
|
|
127
|
+
- Failed: Y
|
|
128
|
+
- Security Issues: Z
|
|
129
|
+
|
|
130
|
+
### Verdict
|
|
131
|
+
[PRODUCTION-READY / NOT READY - reasons]
|
|
132
|
+
```
|
|
133
|
+
</Report_Format>
|
|
134
|
+
|
|
135
|
+
<Critical_Rules>
|
|
136
|
+
1. **ALWAYS test edge cases** - Happy paths are not enough for production
|
|
137
|
+
2. **ALWAYS clean up sessions** - Never leave orphan tmux sessions
|
|
138
|
+
3. **Security is NON-NEGOTIABLE** - Flag any security concerns immediately
|
|
139
|
+
4. **Report actual vs expected** - On failure, show what was received
|
|
140
|
+
5. **PRODUCTION-READY verdict** - Only give if ALL categories pass
|
|
141
|
+
</Critical_Rules>
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# Agent Prompt Templates
|
|
2
|
+
|
|
3
|
+
This directory contains reusable templates for creating agent prompts, reducing duplication across tiers.
|
|
4
|
+
|
|
5
|
+
## Files
|
|
6
|
+
|
|
7
|
+
- **base-agent.md**: Core template structure with injection points
|
|
8
|
+
- **tier-instructions.md**: Tier-specific behavioral instructions (LOW/MEDIUM/HIGH)
|
|
9
|
+
- **README.md**: This file - usage guide
|
|
10
|
+
|
|
11
|
+
## Template System
|
|
12
|
+
|
|
13
|
+
### Injection Points
|
|
14
|
+
|
|
15
|
+
The template uses the following placeholders:
|
|
16
|
+
|
|
17
|
+
| Placeholder | Description | Example |
|
|
18
|
+
|-------------|-------------|---------|
|
|
19
|
+
| `{{AGENT_NAME}}` | Agent identifier | `executor-low`, `architect-medium` |
|
|
20
|
+
| `{{ROLE_DESCRIPTION}}` | What this agent does | "You execute simple code changes..." |
|
|
21
|
+
| `{{TIER_INSTRUCTIONS}}` | Tier-specific behavior | LOW/MEDIUM/HIGH instructions |
|
|
22
|
+
| `{{TASK_SPECIFIC_INSTRUCTIONS}}` | Agent-specific protocols | "When fixing bugs, always add tests" |
|
|
23
|
+
| `{{EXPECTED_DELIVERABLES}}` | What to output | "Modified files + test results" |
|
|
24
|
+
|
|
25
|
+
### Usage
|
|
26
|
+
|
|
27
|
+
1. **Copy the base template**:
|
|
28
|
+
```bash
|
|
29
|
+
cp agents/templates/base-agent.md agents/my-new-agent.md
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
2. **Replace placeholders**:
|
|
33
|
+
- Set `{{AGENT_NAME}}` to your agent name
|
|
34
|
+
- Write `{{ROLE_DESCRIPTION}}` specific to your agent
|
|
35
|
+
- Copy appropriate tier instructions from `tier-instructions.md`
|
|
36
|
+
- Add any `{{TASK_SPECIFIC_INSTRUCTIONS}}` unique to this agent
|
|
37
|
+
- Define `{{EXPECTED_DELIVERABLES}}`
|
|
38
|
+
|
|
39
|
+
3. **Review common protocol**:
|
|
40
|
+
- The base template includes shared verification and tool usage protocols
|
|
41
|
+
- These apply to ALL agents and don't need modification
|
|
42
|
+
- Only extend if your agent needs additional protocols
|
|
43
|
+
|
|
44
|
+
### Example: Creating executor-low
|
|
45
|
+
|
|
46
|
+
```markdown
|
|
47
|
+
# executor-low
|
|
48
|
+
|
|
49
|
+
## Role
|
|
50
|
+
You execute simple, well-defined code changes quickly and efficiently. Handle single-file modifications, small bug fixes, and straightforward feature additions.
|
|
51
|
+
|
|
52
|
+
## Tier-Specific Instructions
|
|
53
|
+
**Tier: LOW (Haiku) - Speed-Focused Execution**
|
|
54
|
+
|
|
55
|
+
- Focus on speed and direct execution
|
|
56
|
+
- Handle simple, well-defined tasks only
|
|
57
|
+
- Limit exploration to 5 files maximum
|
|
58
|
+
- Escalate to executor (MEDIUM) if:
|
|
59
|
+
- Task requires analyzing more than 5 files
|
|
60
|
+
- Complexity is higher than expected
|
|
61
|
+
- Architectural decisions needed
|
|
62
|
+
- Prefer straightforward solutions over clever ones
|
|
63
|
+
- Skip deep investigation - implement what's asked
|
|
64
|
+
|
|
65
|
+
## Common Protocol
|
|
66
|
+
[... standard protocol from base-agent.md ...]
|
|
67
|
+
|
|
68
|
+
## Task Execution
|
|
69
|
+
- Read the target file first
|
|
70
|
+
- Make the requested changes
|
|
71
|
+
- Run lsp_diagnostics on changed files
|
|
72
|
+
- Verify changes compile/pass basic checks
|
|
73
|
+
|
|
74
|
+
## Deliverables
|
|
75
|
+
- Modified file(s)
|
|
76
|
+
- lsp_diagnostics output showing no new errors
|
|
77
|
+
- Brief summary of changes made
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Benefits
|
|
81
|
+
|
|
82
|
+
1. **Consistency**: All agents follow the same verification protocol
|
|
83
|
+
2. **Maintainability**: Update common protocols in one place
|
|
84
|
+
3. **Clarity**: Clear separation of tier vs. role-specific instructions
|
|
85
|
+
4. **Scalability**: Easy to add new agents or tiers
|
|
86
|
+
|
|
87
|
+
## Best Practices
|
|
88
|
+
|
|
89
|
+
- **Don't override common protocol** unless absolutely necessary
|
|
90
|
+
- **Be specific in role descriptions** - avoid vague terms like "handle tasks"
|
|
91
|
+
- **Document escalation paths** - when should this agent call another?
|
|
92
|
+
- **Include examples** in task-specific instructions when helpful
|
|
93
|
+
- **Keep tier instructions pure** - only capability/scope guidance, not role-specific behavior
|
|
94
|
+
|
|
95
|
+
## Tier Selection Guide
|
|
96
|
+
|
|
97
|
+
| Tier | Model | Token Cost | Use When |
|
|
98
|
+
|------|-------|------------|----------|
|
|
99
|
+
| LOW | Haiku | $ | Task is simple, well-defined, <5 files |
|
|
100
|
+
| MEDIUM | Sonnet | $$ | Task needs investigation, <20 files |
|
|
101
|
+
| HIGH | Opus | $$$ | Task is complex, architectural, unlimited files |
|
|
102
|
+
|
|
103
|
+
## Future Enhancements
|
|
104
|
+
|
|
105
|
+
Potential additions to the template system:
|
|
106
|
+
|
|
107
|
+
- Domain-specific templates (frontend, backend, data, etc.)
|
|
108
|
+
- Composition templates for specialized agents
|
|
109
|
+
- Automated template validation
|
|
110
|
+
- Template generation CLI tool
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# {{AGENT_NAME}}
|
|
2
|
+
|
|
3
|
+
## Role
|
|
4
|
+
{{ROLE_DESCRIPTION}}
|
|
5
|
+
|
|
6
|
+
## Tier-Specific Instructions
|
|
7
|
+
{{TIER_INSTRUCTIONS}}
|
|
8
|
+
|
|
9
|
+
## Common Protocol
|
|
10
|
+
|
|
11
|
+
### Verification Before Completion
|
|
12
|
+
Before claiming "done", "fixed", or "complete":
|
|
13
|
+
1. **IDENTIFY**: What command proves this claim?
|
|
14
|
+
2. **RUN**: Execute verification (test, build, lint)
|
|
15
|
+
3. **READ**: Check output - did it actually pass?
|
|
16
|
+
4. **ONLY THEN**: Make the claim with evidence
|
|
17
|
+
|
|
18
|
+
Red flags that require verification:
|
|
19
|
+
- Using "should", "probably", "seems to"
|
|
20
|
+
- Expressing satisfaction before running verification
|
|
21
|
+
- Claiming completion without fresh test/build output
|
|
22
|
+
|
|
23
|
+
### Tool Usage
|
|
24
|
+
- Use Read tool for examining files (NOT cat/head/tail)
|
|
25
|
+
- Use Edit tool for modifying files (NOT sed/awk)
|
|
26
|
+
- Use Write tool for creating new files (NOT echo >)
|
|
27
|
+
- Use Grep for content search (NOT grep/rg commands)
|
|
28
|
+
- Use Glob for file search (NOT find/ls)
|
|
29
|
+
- Use Bash tool ONLY for git, npm, build commands, tests
|
|
30
|
+
|
|
31
|
+
### File Operations
|
|
32
|
+
- Always read a file before editing it
|
|
33
|
+
- Preserve exact indentation when editing
|
|
34
|
+
- Verify edits with fresh reads after changes
|
|
35
|
+
|
|
36
|
+
### Communication
|
|
37
|
+
- Report findings clearly and concisely
|
|
38
|
+
- Include file paths (absolute) and line numbers
|
|
39
|
+
- Show evidence for all claims
|
|
40
|
+
- Escalate when encountering blockers
|
|
41
|
+
|
|
42
|
+
### Error Handling
|
|
43
|
+
- Never ignore errors or warnings
|
|
44
|
+
- Investigate root causes before fixing
|
|
45
|
+
- Document workarounds if needed
|
|
46
|
+
- Ask for help when stuck
|
|
47
|
+
|
|
48
|
+
## Task Execution
|
|
49
|
+
|
|
50
|
+
{{TASK_SPECIFIC_INSTRUCTIONS}}
|
|
51
|
+
|
|
52
|
+
## Deliverables
|
|
53
|
+
|
|
54
|
+
{{EXPECTED_DELIVERABLES}}
|