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,282 @@
|
|
|
1
|
+
# Delegation Enforcer
|
|
2
|
+
|
|
3
|
+
**Automatic model parameter injection for Task/Agent calls**
|
|
4
|
+
|
|
5
|
+
## Problem
|
|
6
|
+
|
|
7
|
+
Claude Code does NOT automatically apply model parameters from agent definitions. When you invoke the `Task` tool (or `Agent` tool), you must manually specify the `model` parameter every time, even though each agent has a default model defined in its configuration.
|
|
8
|
+
|
|
9
|
+
This leads to:
|
|
10
|
+
- Verbose delegation code
|
|
11
|
+
- Forgotten model parameters defaulting to parent model
|
|
12
|
+
- Inconsistent model usage across codebase
|
|
13
|
+
|
|
14
|
+
## Solution
|
|
15
|
+
|
|
16
|
+
The **Delegation Enforcer** is middleware that automatically injects the model parameter based on agent definitions when not explicitly specified.
|
|
17
|
+
|
|
18
|
+
## How It Works
|
|
19
|
+
|
|
20
|
+
### 1. Pre-Tool-Use Hook
|
|
21
|
+
|
|
22
|
+
The enforcer runs as a pre-tool-use hook that intercepts `Task` and `Agent` tool calls:
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
// Before enforcement
|
|
26
|
+
Task(
|
|
27
|
+
subagent_type="oh-my-claudecode:executor",
|
|
28
|
+
prompt="Implement feature X"
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
// After enforcement (automatic)
|
|
32
|
+
Task(
|
|
33
|
+
subagent_type="oh-my-claudecode:executor",
|
|
34
|
+
model="sonnet", // ← Automatically injected
|
|
35
|
+
prompt="Implement feature X"
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 2. Agent Definition Lookup
|
|
40
|
+
|
|
41
|
+
Each agent has a default model in its definition:
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
export const executorAgent: AgentConfig = {
|
|
45
|
+
name: 'executor',
|
|
46
|
+
description: '...',
|
|
47
|
+
prompt: '...',
|
|
48
|
+
tools: [...],
|
|
49
|
+
model: 'sonnet' // ← Default model
|
|
50
|
+
};
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
The enforcer reads this definition and injects the model when not specified.
|
|
54
|
+
|
|
55
|
+
### 3. Explicit Models Preserved
|
|
56
|
+
|
|
57
|
+
If you explicitly specify a model, it's always preserved:
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
// Explicit model is never overridden
|
|
61
|
+
Task(
|
|
62
|
+
subagent_type="oh-my-claudecode:executor",
|
|
63
|
+
model="haiku", // ← Explicitly using haiku instead of default sonnet
|
|
64
|
+
prompt="Quick lookup"
|
|
65
|
+
)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## API
|
|
69
|
+
|
|
70
|
+
### Core Functions
|
|
71
|
+
|
|
72
|
+
#### `enforceModel(agentInput: AgentInput): EnforcementResult`
|
|
73
|
+
|
|
74
|
+
Enforces model parameter for a single agent delegation call.
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import { enforceModel } from 'oh-my-claude-sisyphus';
|
|
78
|
+
|
|
79
|
+
const input = {
|
|
80
|
+
description: 'Implement feature',
|
|
81
|
+
prompt: 'Add validation',
|
|
82
|
+
subagent_type: 'executor'
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const result = enforceModel(input);
|
|
86
|
+
console.log(result.modifiedInput.model); // 'sonnet'
|
|
87
|
+
console.log(result.injected); // true
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### `getModelForAgent(agentType: string): ModelType`
|
|
91
|
+
|
|
92
|
+
Get the default model for an agent type.
|
|
93
|
+
|
|
94
|
+
```typescript
|
|
95
|
+
import { getModelForAgent } from 'oh-my-claude-sisyphus';
|
|
96
|
+
|
|
97
|
+
getModelForAgent('executor'); // 'sonnet'
|
|
98
|
+
getModelForAgent('executor-low'); // 'haiku'
|
|
99
|
+
getModelForAgent('executor-high'); // 'opus'
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
#### `isAgentCall(toolName: string, toolInput: unknown): boolean`
|
|
103
|
+
|
|
104
|
+
Check if a tool invocation is an agent delegation call.
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
import { isAgentCall } from 'oh-my-claude-sisyphus';
|
|
108
|
+
|
|
109
|
+
isAgentCall('Task', { subagent_type: 'executor', ... }); // true
|
|
110
|
+
isAgentCall('Bash', { command: 'ls' }); // false
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Hook Integration
|
|
114
|
+
|
|
115
|
+
The enforcer automatically integrates with the pre-tool-use hook:
|
|
116
|
+
|
|
117
|
+
```typescript
|
|
118
|
+
import { processHook } from 'oh-my-claude-sisyphus';
|
|
119
|
+
|
|
120
|
+
const hookInput = {
|
|
121
|
+
toolName: 'Task',
|
|
122
|
+
toolInput: {
|
|
123
|
+
description: 'Test',
|
|
124
|
+
prompt: 'Test',
|
|
125
|
+
subagent_type: 'executor'
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
const result = await processHook('pre-tool-use', hookInput);
|
|
130
|
+
console.log(result.modifiedInput.model); // 'sonnet'
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Agent Model Mapping
|
|
134
|
+
|
|
135
|
+
| Agent Type | Default Model | Use Case |
|
|
136
|
+
|------------|---------------|----------|
|
|
137
|
+
| `architect` | opus | Complex analysis, debugging |
|
|
138
|
+
| `architect-medium` | sonnet | Standard analysis |
|
|
139
|
+
| `architect-low` | haiku | Quick questions |
|
|
140
|
+
| `executor` | sonnet | Standard implementation |
|
|
141
|
+
| `executor-high` | opus | Complex refactoring |
|
|
142
|
+
| `executor-low` | haiku | Simple changes |
|
|
143
|
+
| `explore` | haiku | Fast code search |
|
|
144
|
+
| `explore-medium` | sonnet | Thorough search |
|
|
145
|
+
| `designer` | sonnet | UI implementation |
|
|
146
|
+
| `designer-high` | opus | Complex UI architecture |
|
|
147
|
+
| `designer-low` | haiku | Simple styling |
|
|
148
|
+
| `researcher` | sonnet | Documentation lookup |
|
|
149
|
+
| `researcher-low` | haiku | Quick docs |
|
|
150
|
+
| `writer` | haiku | Documentation writing |
|
|
151
|
+
| `vision` | sonnet | Image analysis |
|
|
152
|
+
| `planner` | opus | Strategic planning |
|
|
153
|
+
| `critic` | opus | Plan review |
|
|
154
|
+
| `analyst` | opus | Pre-planning analysis |
|
|
155
|
+
| `qa-tester` | sonnet | CLI testing |
|
|
156
|
+
| `qa-tester-high` | opus | Comprehensive QA |
|
|
157
|
+
| `scientist` | sonnet | Data analysis |
|
|
158
|
+
| `scientist-low` | haiku | Quick inspection |
|
|
159
|
+
| `scientist-high` | opus | Complex research |
|
|
160
|
+
|
|
161
|
+
## Debug Mode
|
|
162
|
+
|
|
163
|
+
Enable debug logging to see when models are auto-injected:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
export OMC_DEBUG=true
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
When enabled, you'll see warnings like:
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
[OMC] Auto-injecting model: sonnet for executor
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**Important:** Warnings are ONLY shown when `OMC_DEBUG=true`. Without this flag, enforcement happens silently.
|
|
176
|
+
|
|
177
|
+
## Usage Examples
|
|
178
|
+
|
|
179
|
+
### Before (Manual)
|
|
180
|
+
|
|
181
|
+
```typescript
|
|
182
|
+
// Every delegation needs explicit model
|
|
183
|
+
Task(
|
|
184
|
+
subagent_type="oh-my-claudecode:executor",
|
|
185
|
+
model="sonnet",
|
|
186
|
+
prompt="Implement X"
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
Task(
|
|
190
|
+
subagent_type="oh-my-claudecode:executor-low",
|
|
191
|
+
model="haiku",
|
|
192
|
+
prompt="Quick lookup"
|
|
193
|
+
)
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### After (Automatic)
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
// Model automatically injected from definition
|
|
200
|
+
Task(
|
|
201
|
+
subagent_type="oh-my-claudecode:executor",
|
|
202
|
+
prompt="Implement X"
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
Task(
|
|
206
|
+
subagent_type="oh-my-claudecode:executor-low",
|
|
207
|
+
prompt="Quick lookup"
|
|
208
|
+
)
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Override When Needed
|
|
212
|
+
|
|
213
|
+
```typescript
|
|
214
|
+
// Use haiku for a simple executor task
|
|
215
|
+
Task(
|
|
216
|
+
subagent_type="oh-my-claudecode:executor",
|
|
217
|
+
model="haiku", // Override default sonnet
|
|
218
|
+
prompt="Find definition of X"
|
|
219
|
+
)
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Implementation Details
|
|
223
|
+
|
|
224
|
+
### Hook Integration
|
|
225
|
+
|
|
226
|
+
The enforcer runs in the `pre-tool-use` hook:
|
|
227
|
+
|
|
228
|
+
1. Hook receives tool invocation
|
|
229
|
+
2. Checks if tool is `Task` or `Agent`
|
|
230
|
+
3. Checks if `model` parameter is missing
|
|
231
|
+
4. Looks up agent definition
|
|
232
|
+
5. Injects default model
|
|
233
|
+
6. Returns modified input
|
|
234
|
+
|
|
235
|
+
### Error Handling
|
|
236
|
+
|
|
237
|
+
- Unknown agent types throw errors
|
|
238
|
+
- Agents without default models throw errors
|
|
239
|
+
- Invalid input structures are passed through unchanged
|
|
240
|
+
- Non-agent tools are ignored
|
|
241
|
+
|
|
242
|
+
### Performance
|
|
243
|
+
|
|
244
|
+
- O(1) lookup: Direct hash map lookup for agent definitions
|
|
245
|
+
- No async operations: Synchronous enforcement
|
|
246
|
+
- Minimal overhead: Only applies to Task/Agent calls
|
|
247
|
+
|
|
248
|
+
## Testing
|
|
249
|
+
|
|
250
|
+
Run tests:
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
npm test -- delegation-enforcer
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Run demo:
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
npx tsx examples/delegation-enforcer-demo.ts
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
## Benefits
|
|
263
|
+
|
|
264
|
+
1. **Cleaner Code**: No need to manually specify model every time
|
|
265
|
+
2. **Consistency**: Always uses correct model tier for each agent
|
|
266
|
+
3. **Safety**: Explicit models always preserved
|
|
267
|
+
4. **Transparency**: Debug mode shows when models are injected
|
|
268
|
+
5. **Zero Config**: Works automatically with existing agent definitions
|
|
269
|
+
|
|
270
|
+
## Migration
|
|
271
|
+
|
|
272
|
+
No migration needed! The enforcer is backward compatible:
|
|
273
|
+
|
|
274
|
+
- Existing code with explicit models continues working
|
|
275
|
+
- New code can omit model parameter
|
|
276
|
+
- No breaking changes
|
|
277
|
+
|
|
278
|
+
## Related
|
|
279
|
+
|
|
280
|
+
- [Model Routing](./MODEL-ROUTING.md) - Intelligent task complexity analysis
|
|
281
|
+
- [Agent Definitions](./AGENTS.md) - Complete agent reference
|
|
282
|
+
- [Delegation Categories](./DELEGATION-CATEGORIES.md) - Semantic task grouping
|
package/docs/FULL-README.md
CHANGED
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
|
|
11
11
|
# oh-my-claudecode
|
|
12
12
|
|
|
13
|
-
[](https://github.com/Yeachan-Heo/oh-my-claudecode)
|
|
14
|
+
[](https://www.npmjs.com/package/oh-my-claudecode)
|
|
15
15
|
[](https://opensource.org/licenses/MIT)
|
|
16
16
|
[](https://nodejs.org/)
|
|
17
17
|
[](https://www.typescriptlang.org/)
|
|
18
18
|
|
|
19
19
|
**Multi-agent orchestration system for [Claude Code](https://docs.anthropic.com/claude-code)**
|
|
20
20
|
|
|
21
|
-
[Install](#quick-install) • [Usage](#usage) • [Agents](#the-
|
|
21
|
+
[Install](#quick-install) • [Usage](#usage) • [Agents](#the-32-specialized-agents) • [Architecture](docs/ARCHITECTURE.md) • [Website](https://yeachan-heo.github.io/oh-my-claudecode-website)
|
|
22
22
|
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
## ⚡ NEW in 3.
|
|
27
|
+
## ⚡ NEW in 3.4: HUD Statusline, Learned Skills & Enhanced Orchestration
|
|
28
28
|
|
|
29
29
|
**Game-changing release:** Claude never forgets critical project knowledge, even through context compaction.
|
|
30
30
|
|
|
@@ -143,6 +143,102 @@ Background agent resumption with context preservation via `resumeSession()`.
|
|
|
143
143
|
|
|
144
144
|
---
|
|
145
145
|
|
|
146
|
+
## NEW in 3.4.1: Parallel Execution & Advanced Workflows
|
|
147
|
+
|
|
148
|
+
**Game-changing features:** Ultrapilot, swarm orchestration, and pipeline workflows for 3-5x faster execution.
|
|
149
|
+
|
|
150
|
+
### 🚀 Ultrapilot: Parallel Autopilot
|
|
151
|
+
|
|
152
|
+
Execute complex tasks with **up to 5 concurrent workers** for 3-5x speedup:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
/oh-my-claudecode:ultrapilot "build a fullstack todo app"
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
**How it works:**
|
|
159
|
+
- **Task decomposition engine** breaks complex tasks into parallelizable subtasks
|
|
160
|
+
- **File ownership coordinator** assigns non-overlapping file sets to workers
|
|
161
|
+
- **Workers execute in parallel**, coordinator manages shared files
|
|
162
|
+
- **Automatic conflict detection** and resolution
|
|
163
|
+
|
|
164
|
+
**Best for:** Multi-component systems, fullstack apps, large refactoring
|
|
165
|
+
|
|
166
|
+
**State files:**
|
|
167
|
+
- `.omc/state/ultrapilot-state.json` - Session state
|
|
168
|
+
- `.omc/state/ultrapilot-ownership.json` - File ownership
|
|
169
|
+
|
|
170
|
+
### 🐝 Swarm: Coordinated Agent Teams
|
|
171
|
+
|
|
172
|
+
N coordinated agents with atomic task claiming from shared pool:
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
/oh-my-claudecode:swarm 5:executor "fix all TypeScript errors"
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**Features:**
|
|
179
|
+
- Shared task list with pending/claimed/done status
|
|
180
|
+
- 5-minute timeout per task with auto-release
|
|
181
|
+
- Clean completion when all tasks done
|
|
182
|
+
- Scales from 2 to 10 workers
|
|
183
|
+
|
|
184
|
+
### 🔗 Pipeline: Sequential Agent Chaining
|
|
185
|
+
|
|
186
|
+
Chain agents with data passing between stages:
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
/oh-my-claudecode:pipeline explore:haiku -> architect:opus -> executor:sonnet
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
**Built-in Presets:**
|
|
193
|
+
| Preset | Stages |
|
|
194
|
+
|--------|--------|
|
|
195
|
+
| `review` | explore → architect → critic → executor |
|
|
196
|
+
| `implement` | planner → executor → tdd-guide |
|
|
197
|
+
| `debug` | explore → architect → build-fixer |
|
|
198
|
+
| `research` | parallel(researcher, explore) → architect → writer |
|
|
199
|
+
| `refactor` | explore → architect-medium → executor-high → qa-tester |
|
|
200
|
+
| `security` | explore → security-reviewer → executor → security-reviewer-low |
|
|
201
|
+
|
|
202
|
+
### 💰 Ecomode: Token-Efficient Execution
|
|
203
|
+
|
|
204
|
+
Maximum parallelism with **30-50% token savings**:
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
/oh-my-claudecode:ecomode "refactor the authentication system"
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Smart model routing:
|
|
211
|
+
- Simple tasks → Haiku (ultra-cheap)
|
|
212
|
+
- Standard work → Sonnet (balanced)
|
|
213
|
+
- Complex reasoning → Opus (when needed)
|
|
214
|
+
|
|
215
|
+
### 🎯 Unified Cancel
|
|
216
|
+
|
|
217
|
+
Smart cancellation that auto-detects active mode:
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
/oh-my-claudecode:cancel
|
|
221
|
+
# Or just say: "stop", "cancel", "abort"
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Auto-detects and cancels:** autopilot, ultrapilot, ralph, ultrawork, ultraqa, ecomode, swarm, pipeline
|
|
225
|
+
|
|
226
|
+
**Deprecation notice:** Individual cancel commands (`cancel-ralph`, `cancel-ultraqa`, `cancel-ultrawork`, `cancel-ecomode`) still work but are deprecated. Use `/oh-my-claudecode:cancel` instead.
|
|
227
|
+
|
|
228
|
+
### 🔍 Explore-High Agent
|
|
229
|
+
|
|
230
|
+
Opus-powered architectural search for complex codebase exploration:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
Task(subagent_type="oh-my-claudecode:explore-high",
|
|
234
|
+
model="opus",
|
|
235
|
+
prompt="Find all authentication-related code patterns...")
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
**Best for:** Architectural analysis, cross-cutting concerns, complex refactoring planning
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
146
242
|
## Quick Install
|
|
147
243
|
|
|
148
244
|
Choose **ONE** installation method below. Do not mix methods.
|
|
@@ -232,7 +328,7 @@ Without running one of these commands, Claude operates with basic capabilities.
|
|
|
232
328
|
### What These Commands Do
|
|
233
329
|
|
|
234
330
|
1. ✅ Download latest CLAUDE.md with full omc orchestration prompt
|
|
235
|
-
2. ✅ Configure
|
|
331
|
+
2. ✅ Configure 32 agents with intelligent model routing
|
|
236
332
|
3. ✅ Enable magic keyword detection (ultrawork, search, analyze)
|
|
237
333
|
4. ✅ Activate continuation enforcement (tasks complete before stopping)
|
|
238
334
|
5. ✅ Set up skill composition (orchestrate + ultrawork + git-master, etc.)
|
|
@@ -266,9 +362,9 @@ The repository is also a Claude Code plugin with this structure:
|
|
|
266
362
|
oh-my-claudecode/
|
|
267
363
|
├── .claude-plugin/
|
|
268
364
|
│ └── plugin.json # Plugin manifest
|
|
269
|
-
├── agents/ #
|
|
270
|
-
├── commands/ #
|
|
271
|
-
├── skills/ #
|
|
365
|
+
├── agents/ # 32 specialized agents (tiered: architect, executor, explore, etc.)
|
|
366
|
+
├── commands/ # 37 slash commands
|
|
367
|
+
├── skills/ # 40 skills (orchestrate, ultrawork, ultrapilot, swarm, pipeline, ecomode, ralph, planner, research, tdd, build-fix, code-review, security-review, and more)
|
|
272
368
|
├── hooks/
|
|
273
369
|
│ └── hooks.json # Hook configuration
|
|
274
370
|
└── scripts/ # Hook scripts
|
|
@@ -462,19 +558,24 @@ Oh-my-claudecode includes 19 lifecycle hooks that enhance Claude Code's behavior
|
|
|
462
558
|
|
|
463
559
|
## Builtin Skills
|
|
464
560
|
|
|
465
|
-
|
|
561
|
+
40 builtin skills provide specialized capabilities:
|
|
466
562
|
|
|
467
563
|
### Core Skills
|
|
468
564
|
| Skill | Description |
|
|
469
565
|
|-------|-------------|
|
|
470
566
|
| **orchestrate** | Multi-agent orchestration mode |
|
|
567
|
+
| **autopilot** | Full autonomous execution from idea to working code |
|
|
471
568
|
| **ultrawork** | Maximum performance with parallel agents |
|
|
472
|
-
| **
|
|
569
|
+
| **ultrapilot** | Parallel autopilot with 3-5x speedup (v3.4.0) |
|
|
570
|
+
| **swarm** | N coordinated agents with task claiming (v3.4.0) |
|
|
571
|
+
| **pipeline** | Sequential agent chaining (v3.4.0) |
|
|
572
|
+
| **ecomode** | Token-efficient parallel execution (v3.4.0) |
|
|
573
|
+
| **ralph** | Self-referential development until completion |
|
|
473
574
|
| **ralph-init** | Initialize PRD for structured task tracking |
|
|
474
|
-
| **ultrawork-ralph** | Maximum intensity + completion guarantee |
|
|
475
575
|
| **ultraqa** | Autonomous QA cycling workflow |
|
|
476
576
|
| **planner** | Strategic planning with interview workflow |
|
|
477
577
|
| **plan** | Start planning session |
|
|
578
|
+
| **ralplan** | Iterative planning (Planner+Architect+Critic) |
|
|
478
579
|
| **review** | Review work plans with critic |
|
|
479
580
|
|
|
480
581
|
### Enhancement Skills
|
|
@@ -483,22 +584,35 @@ Oh-my-claudecode includes 19 lifecycle hooks that enhance Claude Code's behavior
|
|
|
483
584
|
| **deepinit** | Hierarchical AGENTS.md codebase documentation |
|
|
484
585
|
| **deepsearch** | Thorough multi-strategy codebase search |
|
|
485
586
|
| **analyze** | Deep analysis and investigation |
|
|
587
|
+
| **research** | Parallel scientist orchestration (v3.4.0) |
|
|
486
588
|
| **frontend-ui-ux** | Designer-turned-developer UI/UX expertise |
|
|
487
589
|
| **git-master** | Git expert for atomic commits and history |
|
|
590
|
+
| **tdd** | TDD enforcement: test-first development (v3.4.0) |
|
|
591
|
+
| **learner** | Extract reusable skill from session |
|
|
488
592
|
|
|
489
593
|
### Utility Skills
|
|
490
594
|
| Skill | Description |
|
|
491
595
|
|-------|-------------|
|
|
492
596
|
| **note** | Save notes to compaction-resilient notepad |
|
|
493
|
-
| **cancel
|
|
494
|
-
| **cancel-
|
|
597
|
+
| **cancel** | Unified cancellation for all modes (v3.4.0) |
|
|
598
|
+
| **cancel-autopilot** | Cancel autopilot (deprecated - use cancel) |
|
|
599
|
+
| **cancel-ralph** | Cancel Ralph Loop (deprecated - use cancel) |
|
|
600
|
+
| **cancel-ultraqa** | Cancel UltraQA (deprecated - use cancel) |
|
|
601
|
+
| **cancel-ultrawork** | Cancel ultrawork (deprecated - use cancel) |
|
|
602
|
+
| **cancel-ecomode** | Cancel ecomode (deprecated - use cancel) |
|
|
495
603
|
| **omc-default** | Configure omc for current project |
|
|
496
604
|
| **omc-default-global** | Configure omc globally |
|
|
605
|
+
| **omc-setup** | One-time setup wizard |
|
|
497
606
|
| **doctor** | Diagnose and fix installation issues |
|
|
607
|
+
| **help** | Show OMC usage guide |
|
|
608
|
+
| **hud** | Configure HUD statusline |
|
|
498
609
|
| **release** | Automated release workflow |
|
|
610
|
+
| **mcp-setup** | Configure MCP servers (v3.4.0) |
|
|
499
611
|
|
|
500
612
|
Skills are automatically activated via slash commands or magic keywords.
|
|
501
613
|
|
|
614
|
+
**Note:** Individual cancel commands (`cancel-ralph`, `cancel-ultraqa`, `cancel-ultrawork`, `cancel-ecomode`, `cancel-autopilot`) are deprecated in v3.4.0. Use the unified `/oh-my-claudecode:cancel` command instead, which auto-detects the active mode.
|
|
615
|
+
|
|
502
616
|
---
|
|
503
617
|
|
|
504
618
|
## Intelligent Skill Activation
|
|
@@ -550,7 +664,7 @@ Claude uses judgment to detect task type and activate appropriate skill combinat
|
|
|
550
664
|
|
|
551
665
|
---
|
|
552
666
|
|
|
553
|
-
## The
|
|
667
|
+
## The 32 Specialized Agents
|
|
554
668
|
|
|
555
669
|
Claude will automatically delegate to these specialized agents:
|
|
556
670
|
|
|
@@ -778,9 +892,9 @@ The original oh-my-opencode used multiple AI providers. This project uses Claude
|
|
|
778
892
|
|
|
779
893
|
| Feature | Description |
|
|
780
894
|
|---------|-------------|
|
|
781
|
-
| **
|
|
895
|
+
| **32 Specialized Agents** | architect, researcher, explore, designer, writer, vision, qa-tester, critic, analyst, executor, planner (+ tiered variants: -low, -medium, -high) + security-reviewer, build-fixer, tdd-guide, code-reviewer, scientist (all with tier variants) |
|
|
782
896
|
| **19 Lifecycle Hooks** | rules-injector, omc-orchestrator, auto-slash-command, keyword-detector, ralph-loop, todo-continuation, notepad, post-tool-use, context-window-limit-recovery, preemptive-compaction, session-recovery, directory-readme-injector, comment-checker, thinking-block-validator, empty-message-sanitizer, edit-error-recovery, non-interactive-env, agent-usage-reminder, background-notification |
|
|
783
|
-
| **
|
|
897
|
+
| **37 Builtin Skills** | orchestrate, autopilot, ultrawork, ultrapilot, swarm, pipeline, ecomode, ralph, ralph-init, ultraqa, planner, plan, ralplan, review, deepinit, deepsearch, analyze, research, frontend-ui-ux, git-master, tdd, learner, note, cancel (unified), cancel-autopilot, cancel-ralph, cancel-ultraqa, cancel-ultrawork, cancel-ecomode, omc-default, omc-default-global, omc-setup, doctor, help, hud, release, mcp-setup |
|
|
784
898
|
| **Magic Keywords** | `ultrawork`, `search`, `analyze`, `ultrathink` trigger enhanced modes |
|
|
785
899
|
| **Slash Commands** | All skills available via `/oh-my-claudecode:skill-name` (e.g., `/oh-my-claudecode:ultrawork`, `/oh-my-claudecode:ralph`, `/oh-my-claudecode:plan`) |
|
|
786
900
|
| **Compaction-Resilient Memory** | Three-tier notepad system (Priority Context, Working Memory, MANUAL) |
|
|
@@ -43,7 +43,7 @@ The plugin requires a `plugin.json` manifest:
|
|
|
43
43
|
```json
|
|
44
44
|
{
|
|
45
45
|
"name": "oh-my-claudecode",
|
|
46
|
-
"version": "3.0
|
|
46
|
+
"version": "3.4.0",
|
|
47
47
|
"description": "Multi-agent orchestration system for Claude Code",
|
|
48
48
|
"hooks": {
|
|
49
49
|
"PreToolUse": ["scripts/pre-tool-enforcer.mjs"],
|