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
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Tier-Specific Instructions
|
|
2
|
+
|
|
3
|
+
This document defines the behavioral differences between agent tiers (LOW/MEDIUM/HIGH).
|
|
4
|
+
|
|
5
|
+
## LOW Tier (Haiku)
|
|
6
|
+
**Model**: claude-haiku-4-5
|
|
7
|
+
**Focus**: Speed and efficiency for simple, well-defined tasks
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
**Tier: LOW (Haiku) - Speed-Focused Execution**
|
|
11
|
+
|
|
12
|
+
- Focus on speed and direct execution
|
|
13
|
+
- Handle simple, well-defined tasks only
|
|
14
|
+
- Limit exploration to 5 files maximum
|
|
15
|
+
- Escalate to MEDIUM tier if:
|
|
16
|
+
- Task requires analyzing more than 5 files
|
|
17
|
+
- Complexity is higher than expected
|
|
18
|
+
- Architectural decisions needed
|
|
19
|
+
- Prefer straightforward solutions over clever ones
|
|
20
|
+
- Skip deep investigation - implement what's asked
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## MEDIUM Tier (Sonnet)
|
|
24
|
+
**Model**: claude-sonnet-4-5
|
|
25
|
+
**Focus**: Balance between thoroughness and efficiency
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
**Tier: MEDIUM (Sonnet) - Balanced Execution**
|
|
29
|
+
|
|
30
|
+
- Balance thoroughness with efficiency
|
|
31
|
+
- Can explore up to 20 files
|
|
32
|
+
- Handle moderate complexity tasks
|
|
33
|
+
- Consult architect agent for architectural decisions
|
|
34
|
+
- Escalate to HIGH tier if:
|
|
35
|
+
- Task requires deep architectural changes
|
|
36
|
+
- System-wide refactoring needed
|
|
37
|
+
- Complex debugging across many components
|
|
38
|
+
- Consider edge cases but don't over-engineer
|
|
39
|
+
- Document non-obvious decisions
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## HIGH Tier (Opus)
|
|
43
|
+
**Model**: claude-opus-4-5
|
|
44
|
+
**Focus**: Correctness and quality for complex tasks
|
|
45
|
+
|
|
46
|
+
```markdown
|
|
47
|
+
**Tier: HIGH (Opus) - Excellence-Focused Execution**
|
|
48
|
+
|
|
49
|
+
- Prioritize correctness and code quality above all
|
|
50
|
+
- Full codebase exploration allowed
|
|
51
|
+
- Make architectural decisions confidently
|
|
52
|
+
- Handle complex, ambiguous, or system-wide tasks
|
|
53
|
+
- Consider:
|
|
54
|
+
- Long-term maintainability
|
|
55
|
+
- Edge cases and error scenarios
|
|
56
|
+
- Performance implications
|
|
57
|
+
- Security considerations
|
|
58
|
+
- Thoroughly document reasoning
|
|
59
|
+
- No escalation needed - you are the top tier
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Selection Guide
|
|
63
|
+
|
|
64
|
+
| Task Type | Tier | Rationale |
|
|
65
|
+
|-----------|------|-----------|
|
|
66
|
+
| Simple bug fix in known file | LOW | Well-defined, single file |
|
|
67
|
+
| Add validation to existing function | LOW | Straightforward addition |
|
|
68
|
+
| Implement feature across 3-5 files | MEDIUM | Moderate scope |
|
|
69
|
+
| Debug integration issue | MEDIUM | Requires investigation |
|
|
70
|
+
| Refactor module architecture | HIGH | Architectural decision |
|
|
71
|
+
| Design new system component | HIGH | Complex design needed |
|
|
72
|
+
| Fix subtle race condition | HIGH | Deep debugging required |
|
|
73
|
+
| Optimize performance bottleneck | HIGH | Requires deep analysis |
|
|
74
|
+
|
|
75
|
+
## Template Usage
|
|
76
|
+
|
|
77
|
+
When creating an agent prompt, replace `{{TIER_INSTRUCTIONS}}` with the appropriate tier block above.
|
|
78
|
+
|
|
79
|
+
Example for executor-low:
|
|
80
|
+
```markdown
|
|
81
|
+
# executor-low
|
|
82
|
+
|
|
83
|
+
## Role
|
|
84
|
+
You execute simple, well-defined code changes quickly and efficiently.
|
|
85
|
+
|
|
86
|
+
## Tier-Specific Instructions
|
|
87
|
+
**Tier: LOW (Haiku) - Speed-Focused Execution**
|
|
88
|
+
|
|
89
|
+
- Focus on speed and direct execution
|
|
90
|
+
- Handle simple, well-defined tasks only
|
|
91
|
+
- Limit exploration to 5 files maximum
|
|
92
|
+
- Escalate to MEDIUM tier if complexity exceeds expectations
|
|
93
|
+
...
|
|
94
|
+
```
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Cancel active Ecomode mode (deprecated - use /oh-my-claudecode:cancel instead)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Cancel Ecomode
|
|
6
|
+
|
|
7
|
+
[ECOMODE CANCELLED]
|
|
8
|
+
|
|
9
|
+
**DEPRECATION NOTICE:** This command is deprecated. Use `/oh-my-claudecode:cancel` instead, which intelligently detects and cancels any active mode including ecomode.
|
|
10
|
+
|
|
11
|
+
The unified cancel command is safer because it:
|
|
12
|
+
- Checks if ecomode is linked to Ralph and handles both
|
|
13
|
+
- Prevents orphaned state files
|
|
14
|
+
- Provides consistent cancellation experience
|
|
15
|
+
|
|
16
|
+
## Legacy Behavior
|
|
17
|
+
|
|
18
|
+
If you still use this command, it will:
|
|
19
|
+
|
|
20
|
+
1. Check if ecomode is linked to Ralph
|
|
21
|
+
2. If linked → Warn and suggest using `/oh-my-claudecode:cancel-ralph`
|
|
22
|
+
3. If standalone → Cancel ecomode only
|
|
23
|
+
|
|
24
|
+
## Arguments
|
|
25
|
+
|
|
26
|
+
{{ARGUMENTS}}
|
|
27
|
+
|
|
28
|
+
## Recommended Action
|
|
29
|
+
|
|
30
|
+
Use the unified cancel command:
|
|
31
|
+
```
|
|
32
|
+
/oh-my-claudecode:cancel
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
This will detect ecomode and cancel it properly, along with any linked modes.
|
|
36
|
+
|
|
37
|
+
## Implementation
|
|
38
|
+
|
|
39
|
+
If you must cancel ecomode directly:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Check if linked to ralph
|
|
43
|
+
LINKED=$(cat .omc/ecomode-state.json 2>/dev/null | jq -r '.linked_to_ralph // false')
|
|
44
|
+
|
|
45
|
+
if [[ "$LINKED" == "true" ]]; then
|
|
46
|
+
echo "Warning: Ecomode is linked to Ralph."
|
|
47
|
+
echo "Use /oh-my-claudecode:cancel to cancel both modes."
|
|
48
|
+
exit 1
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
# Cancel standalone ecomode
|
|
52
|
+
mkdir -p .omc ~/.claude
|
|
53
|
+
rm -f .omc/ecomode-state.json
|
|
54
|
+
rm -f ~/.claude/ecomode-state.json
|
|
55
|
+
|
|
56
|
+
echo "Ecomode cancelled. Token-efficient execution mode deactivated."
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Migration
|
|
60
|
+
|
|
61
|
+
Replace:
|
|
62
|
+
```bash
|
|
63
|
+
/oh-my-claudecode:cancel-ecomode
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
With:
|
|
67
|
+
```bash
|
|
68
|
+
/oh-my-claudecode:cancel
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
The new unified cancel is smarter and safer.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Cancel any active OMC mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Cancel Command
|
|
6
|
+
|
|
7
|
+
[UNIFIED CANCEL - INTELLIGENT MODE DETECTION]
|
|
8
|
+
|
|
9
|
+
You are cancelling the active OMC mode. The cancel skill will automatically detect which mode is running and clean it up properly.
|
|
10
|
+
|
|
11
|
+
## Auto-Detection
|
|
12
|
+
|
|
13
|
+
The skill checks state files to determine what's active and cancels in order of dependency:
|
|
14
|
+
|
|
15
|
+
1. **Autopilot** - Stops workflow, preserves progress for resume, cleans up ralph/ultraqa
|
|
16
|
+
2. **Ralph** - Stops persistence loop, cleans up linked ultrawork or ecomode
|
|
17
|
+
3. **Ultrawork** - Stops parallel execution (standalone)
|
|
18
|
+
4. **Ecomode** - Stops token-efficient execution (standalone)
|
|
19
|
+
5. **UltraQA** - Stops QA cycling workflow
|
|
20
|
+
6. **Swarm** - Stops coordinated agents, releases claimed tasks
|
|
21
|
+
7. **Ultrapilot** - Stops parallel autopilot workers
|
|
22
|
+
8. **Pipeline** - Stops sequential agent chain
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
Basic cancellation (auto-detects mode):
|
|
27
|
+
```
|
|
28
|
+
/oh-my-claudecode:cancel
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Force clear ALL state files:
|
|
32
|
+
```
|
|
33
|
+
/oh-my-claudecode:cancel --force
|
|
34
|
+
/oh-my-claudecode:cancel --all
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## User Arguments
|
|
38
|
+
|
|
39
|
+
{{ARGUMENTS}}
|
|
40
|
+
|
|
41
|
+
## State Files Checked
|
|
42
|
+
|
|
43
|
+
- `.omc/autopilot-state.json` → Autopilot
|
|
44
|
+
- `.omc/ralph-state.json` → Ralph
|
|
45
|
+
- `.omc/ultrawork-state.json` → Ultrawork
|
|
46
|
+
- `.omc/ecomode-state.json` → Ecomode
|
|
47
|
+
- `.omc/ultraqa-state.json` → UltraQA
|
|
48
|
+
- `.omc/swarm-state.json` → Swarm
|
|
49
|
+
- `.omc/ultrapilot-state.json` → Ultrapilot
|
|
50
|
+
- `.omc/pipeline-state.json` → Pipeline
|
|
51
|
+
|
|
52
|
+
## What Gets Preserved
|
|
53
|
+
|
|
54
|
+
| Mode | Progress Preserved | Resume |
|
|
55
|
+
|------|-------------------|--------|
|
|
56
|
+
| Autopilot | Yes (phase, spec, plan) | `/oh-my-claudecode:autopilot` |
|
|
57
|
+
| All Others | No | N/A |
|
|
58
|
+
|
|
59
|
+
## Dependency-Aware Cleanup
|
|
60
|
+
|
|
61
|
+
- **Autopilot cancellation** → Cleans ralph + ultraqa if active
|
|
62
|
+
- **Ralph cancellation** → Cleans linked ultrawork OR ecomode if applicable
|
|
63
|
+
- **Force mode** → Clears ALL state files regardless of what's active
|
|
64
|
+
|
|
65
|
+
## Exit Messages
|
|
66
|
+
|
|
67
|
+
The skill will report:
|
|
68
|
+
- Which mode was cancelled
|
|
69
|
+
- What phase/iteration it was in (if applicable)
|
|
70
|
+
- What dependent modes were cleaned up
|
|
71
|
+
- How to resume (if applicable)
|
|
72
|
+
|
|
73
|
+
## Implementation
|
|
74
|
+
|
|
75
|
+
Run the cancel skill which contains the full bash implementation for intelligent mode detection and cleanup.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Token-efficient parallel execution mode using Haiku and Sonnet agents
|
|
3
|
+
aliases: [eco, efficient, save-tokens, budget]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Ecomode Skill
|
|
7
|
+
|
|
8
|
+
Activates token-efficient parallel execution for pro-plan users who prioritize cost efficiency over maximum capability.
|
|
9
|
+
|
|
10
|
+
## When to Use Ecomode
|
|
11
|
+
|
|
12
|
+
- You're on a pro plan and want to conserve tokens
|
|
13
|
+
- Tasks don't require complex reasoning (no deep debugging, architecture design)
|
|
14
|
+
- You want faster responses (smaller models = lower latency)
|
|
15
|
+
- Standard development work: features, bug fixes, refactoring
|
|
16
|
+
|
|
17
|
+
## How It Differs from Ultrawork
|
|
18
|
+
|
|
19
|
+
| Aspect | Ecomode | Ultrawork |
|
|
20
|
+
|--------|---------|-----------|
|
|
21
|
+
| **Default Tier** | Haiku (LOW) | Sonnet (MEDIUM) |
|
|
22
|
+
| **Fallback Tier** | Sonnet (MEDIUM) | Opus (HIGH) |
|
|
23
|
+
| **Opus Usage** | Avoided (planning only if essential) | Used for complex tasks |
|
|
24
|
+
| **Token Cost** | Lower | Higher |
|
|
25
|
+
| **Best For** | Standard dev work | Complex challenges |
|
|
26
|
+
|
|
27
|
+
## Activation
|
|
28
|
+
|
|
29
|
+
**Explicit keywords** (always activates ecomode):
|
|
30
|
+
- "ecomode", "eco", "efficient", "save-tokens", "budget"
|
|
31
|
+
|
|
32
|
+
**Examples:**
|
|
33
|
+
```
|
|
34
|
+
eco fix the login bug
|
|
35
|
+
ecomode: refactor the API
|
|
36
|
+
budget mode: add form validation
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Agent Routing
|
|
40
|
+
|
|
41
|
+
Ecomode routes tasks to lower-tier agents:
|
|
42
|
+
|
|
43
|
+
| Domain | Ecomode Uses | Ultrawork Uses |
|
|
44
|
+
|--------|--------------|----------------|
|
|
45
|
+
| Analysis | architect-low (haiku) | architect (opus) |
|
|
46
|
+
| Execution | executor-low (haiku) | executor-high (opus) |
|
|
47
|
+
| Frontend | designer-low (haiku) | designer-high (opus) |
|
|
48
|
+
| Search | explore (haiku) | explore-medium (sonnet) |
|
|
49
|
+
|
|
50
|
+
## Setting as Default
|
|
51
|
+
|
|
52
|
+
Run `/oh-my-claudecode:omc-setup` to set ecomode as your default parallel execution mode.
|
|
53
|
+
|
|
54
|
+
When set as default, saying "fast" or "parallel" will activate ecomode instead of ultrawork.
|
|
55
|
+
|
|
56
|
+
## Cancellation
|
|
57
|
+
|
|
58
|
+
- `/oh-my-claudecode:cancel-ecomode` - Cancel ecomode only
|
|
59
|
+
- `/oh-my-claudecode:cancel` - Cancel any active mode (auto-detects)
|
|
60
|
+
- Say "stop" or "cancel" - Unified cancellation
|
package/commands/help.md
CHANGED
package/commands/mcp-setup.md
CHANGED
|
@@ -64,7 +64,7 @@ Read the current `~/.claude/settings.json` and add/update the `mcpServers` secti
|
|
|
64
64
|
"mcpServers": {
|
|
65
65
|
"context7": {
|
|
66
66
|
"command": "npx",
|
|
67
|
-
"args": ["-y", "@context7
|
|
67
|
+
"args": ["-y", "@upstash/context7-mcp"]
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -76,7 +76,7 @@ Read the current `~/.claude/settings.json` and add/update the `mcpServers` secti
|
|
|
76
76
|
"mcpServers": {
|
|
77
77
|
"exa": {
|
|
78
78
|
"command": "npx",
|
|
79
|
-
"args": ["-y", "
|
|
79
|
+
"args": ["-y", "exa-mcp-server"],
|
|
80
80
|
"env": {
|
|
81
81
|
"EXA_API_KEY": "<user-provided-key>"
|
|
82
82
|
}
|
|
@@ -91,7 +91,7 @@ Read the current `~/.claude/settings.json` and add/update the `mcpServers` secti
|
|
|
91
91
|
"mcpServers": {
|
|
92
92
|
"filesystem": {
|
|
93
93
|
"command": "npx",
|
|
94
|
-
"args": ["-y", "@
|
|
94
|
+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "<allowed-directories>"]
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -102,15 +102,16 @@ Read the current `~/.claude/settings.json` and add/update the `mcpServers` secti
|
|
|
102
102
|
{
|
|
103
103
|
"mcpServers": {
|
|
104
104
|
"github": {
|
|
105
|
-
"command": "
|
|
106
|
-
"args": ["-
|
|
105
|
+
"command": "docker",
|
|
106
|
+
"args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
|
|
107
107
|
"env": {
|
|
108
|
-
"
|
|
108
|
+
"GITHUB_PERSONAL_ACCESS_TOKEN": "<user-provided-token>"
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
```
|
|
114
|
+
> Note: GitHub MCP requires Docker. Alternatively, configure as a remote URL: https://api.githubcopilot.com/mcp/
|
|
114
115
|
|
|
115
116
|
## Step 4: Merge Configuration
|
|
116
117
|
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Sequential agent chaining with data passing between stages
|
|
3
|
+
aliases: [pipe, chain]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Pipeline Command
|
|
7
|
+
|
|
8
|
+
[PIPELINE MODE ACTIVATED]
|
|
9
|
+
|
|
10
|
+
Chain multiple agents together in sequential workflows where output from one agent flows to the next. Like Unix pipes for AI agents.
|
|
11
|
+
|
|
12
|
+
## User's Request
|
|
13
|
+
|
|
14
|
+
{{ARGUMENTS}}
|
|
15
|
+
|
|
16
|
+
## Mission
|
|
17
|
+
|
|
18
|
+
Execute a pipeline of agents where each stage receives context from previous stages and passes refined output to the next.
|
|
19
|
+
|
|
20
|
+
## Usage Patterns
|
|
21
|
+
|
|
22
|
+
### Built-in Presets
|
|
23
|
+
|
|
24
|
+
Use predefined pipelines for common workflows:
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
/oh-my-claudecode:pipeline review <task>
|
|
28
|
+
/oh-my-claudecode:pipeline implement <task>
|
|
29
|
+
/oh-my-claudecode:pipeline debug <issue>
|
|
30
|
+
/oh-my-claudecode:pipeline research <topic>
|
|
31
|
+
/oh-my-claudecode:pipeline refactor <target>
|
|
32
|
+
/oh-my-claudecode:pipeline security <scope>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Custom Pipelines
|
|
36
|
+
|
|
37
|
+
Define your own agent sequence:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
/oh-my-claudecode:pipeline explore -> architect -> executor "add authentication"
|
|
41
|
+
/oh-my-claudecode:pipeline explore:haiku -> architect:opus -> executor:sonnet "optimize performance"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### With Parallel Stages
|
|
45
|
+
|
|
46
|
+
Run agents in parallel then merge:
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
/oh-my-claudecode:pipeline [explore, researcher] -> architect -> executor "implement OAuth"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Built-in Pipeline Definitions
|
|
53
|
+
|
|
54
|
+
### Review Pipeline
|
|
55
|
+
**Stages:** explore → architect → critic → executor
|
|
56
|
+
**Use for:** Comprehensive code review and implementation
|
|
57
|
+
|
|
58
|
+
### Implement Pipeline
|
|
59
|
+
**Stages:** planner → executor → tdd-guide
|
|
60
|
+
**Use for:** New features with clear requirements
|
|
61
|
+
|
|
62
|
+
### Debug Pipeline
|
|
63
|
+
**Stages:** explore → architect → build-fixer
|
|
64
|
+
**Use for:** Bugs, build errors, test failures
|
|
65
|
+
|
|
66
|
+
### Research Pipeline
|
|
67
|
+
**Stages:** parallel(researcher, explore) → architect → writer
|
|
68
|
+
**Use for:** Technology decisions, API integrations
|
|
69
|
+
|
|
70
|
+
### Refactor Pipeline
|
|
71
|
+
**Stages:** explore → architect-medium → executor-high → qa-tester
|
|
72
|
+
**Use for:** Architectural changes, API redesigns
|
|
73
|
+
|
|
74
|
+
### Security Pipeline
|
|
75
|
+
**Stages:** explore → security-reviewer → executor → security-reviewer-low
|
|
76
|
+
**Use for:** Security audits and vulnerability fixes
|
|
77
|
+
|
|
78
|
+
## Pipeline State
|
|
79
|
+
|
|
80
|
+
Pipelines maintain state in `.omc/pipeline-state.json`:
|
|
81
|
+
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"pipeline_id": "uuid",
|
|
85
|
+
"name": "review",
|
|
86
|
+
"active": true,
|
|
87
|
+
"current_stage": 2,
|
|
88
|
+
"stages": [
|
|
89
|
+
{
|
|
90
|
+
"name": "explore",
|
|
91
|
+
"status": "completed",
|
|
92
|
+
"output": "..."
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "architect",
|
|
96
|
+
"status": "in_progress"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "executor",
|
|
100
|
+
"status": "pending"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Data Passing Protocol
|
|
107
|
+
|
|
108
|
+
Each agent receives structured context:
|
|
109
|
+
|
|
110
|
+
```json
|
|
111
|
+
{
|
|
112
|
+
"pipeline_context": {
|
|
113
|
+
"original_task": "user's request",
|
|
114
|
+
"previous_stages": [
|
|
115
|
+
{
|
|
116
|
+
"agent": "explore",
|
|
117
|
+
"findings": "...",
|
|
118
|
+
"files_identified": ["src/auth.ts"]
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"current_stage": "architect",
|
|
122
|
+
"next_stage": "executor"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Workflow
|
|
128
|
+
|
|
129
|
+
### 1. Parse Pipeline Definition
|
|
130
|
+
|
|
131
|
+
Extract:
|
|
132
|
+
- Pipeline name (preset) or custom agent sequence
|
|
133
|
+
- Model specifications for each stage
|
|
134
|
+
- Task description
|
|
135
|
+
|
|
136
|
+
### 2. Initialize State
|
|
137
|
+
|
|
138
|
+
Create `.omc/pipeline-state.json` with:
|
|
139
|
+
- Unique pipeline ID
|
|
140
|
+
- Stage definitions
|
|
141
|
+
- Status tracking
|
|
142
|
+
|
|
143
|
+
### 3. Execute Stages Sequentially
|
|
144
|
+
|
|
145
|
+
For each stage:
|
|
146
|
+
1. Spawn agent via Task tool
|
|
147
|
+
2. Pass context from previous stages
|
|
148
|
+
3. Collect output
|
|
149
|
+
4. Update pipeline state
|
|
150
|
+
5. Move to next stage
|
|
151
|
+
|
|
152
|
+
### 4. Handle Parallel Stages
|
|
153
|
+
|
|
154
|
+
When parallel stages detected (e.g., `[explore, researcher]`):
|
|
155
|
+
1. Spawn multiple agents with `run_in_background: true`
|
|
156
|
+
2. Wait for all to complete
|
|
157
|
+
3. Merge outputs (concat or summarize)
|
|
158
|
+
4. Pass merged output to next stage
|
|
159
|
+
|
|
160
|
+
### 5. Verify and Complete
|
|
161
|
+
|
|
162
|
+
Before completion:
|
|
163
|
+
- All stages marked "completed"
|
|
164
|
+
- Output from final stage addresses original task
|
|
165
|
+
- No unhandled errors
|
|
166
|
+
- Modified files pass lsp_diagnostics
|
|
167
|
+
- Tests pass (if applicable)
|
|
168
|
+
|
|
169
|
+
## Error Handling
|
|
170
|
+
|
|
171
|
+
When a stage fails:
|
|
172
|
+
- **Retry** - Re-run same agent (up to 3 times)
|
|
173
|
+
- **Fallback** - Route to higher-tier agent
|
|
174
|
+
- **Abort** - Stop entire pipeline
|
|
175
|
+
|
|
176
|
+
Configuration:
|
|
177
|
+
```
|
|
178
|
+
/pipeline explore -> architect -> executor --retry=3 --on-error=abort
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Cancellation
|
|
182
|
+
|
|
183
|
+
Stop active pipeline:
|
|
184
|
+
```
|
|
185
|
+
/oh-my-claudecode:cancel
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
The unified cancel command auto-detects active pipeline and cleans up state.
|
|
189
|
+
|
|
190
|
+
## Examples
|
|
191
|
+
|
|
192
|
+
### Example 1: Feature Implementation
|
|
193
|
+
```
|
|
194
|
+
/oh-my-claudecode:pipeline review "add rate limiting to API"
|
|
195
|
+
```
|
|
196
|
+
Triggers: explore → architect → critic → executor
|
|
197
|
+
|
|
198
|
+
### Example 2: Bug Fix
|
|
199
|
+
```
|
|
200
|
+
/oh-my-claudecode:pipeline debug "login fails with OAuth"
|
|
201
|
+
```
|
|
202
|
+
Triggers: explore → architect → build-fixer
|
|
203
|
+
|
|
204
|
+
### Example 3: Custom Chain
|
|
205
|
+
```
|
|
206
|
+
/oh-my-claudecode:pipeline explore:haiku -> architect:opus -> executor:sonnet -> tdd-guide:sonnet "refactor auth module"
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Example 4: Research-Driven Implementation
|
|
210
|
+
```
|
|
211
|
+
/oh-my-claudecode:pipeline research "implement GraphQL subscriptions"
|
|
212
|
+
```
|
|
213
|
+
Triggers: parallel(researcher, explore) → architect → writer
|
|
214
|
+
|
|
215
|
+
## Best Practices
|
|
216
|
+
|
|
217
|
+
1. **Start with presets** - Use built-in pipelines before custom ones
|
|
218
|
+
2. **Match model to complexity** - haiku for simple, opus for complex
|
|
219
|
+
3. **Keep stages focused** - One clear responsibility per agent
|
|
220
|
+
4. **Use parallel stages** - Run independent work simultaneously
|
|
221
|
+
5. **Verify at checkpoints** - Use architect or critic to verify progress
|
|
222
|
+
6. **Document custom pipelines** - Save successful patterns for reuse
|
|
223
|
+
|
|
224
|
+
## Output
|
|
225
|
+
|
|
226
|
+
Report when complete:
|
|
227
|
+
- Pipeline name and stages executed
|
|
228
|
+
- Output from each stage
|
|
229
|
+
- Final result
|
|
230
|
+
- Verification status
|
|
231
|
+
- Total time elapsed
|