oh-my-claude-sisyphus 3.0.6 → 3.0.8
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/dist/__tests__/installer.test.js +1 -1
- package/dist/installer/index.d.ts +1 -1
- package/dist/installer/index.js +1 -1
- package/docs/CLAUDE.md +223 -212
- package/package.json +1 -1
- package/skills/hud/SKILL.md +108 -13
|
@@ -269,7 +269,7 @@ describe('Installer Constants', () => {
|
|
|
269
269
|
});
|
|
270
270
|
it('should match package.json version', () => {
|
|
271
271
|
// This is a runtime check - VERSION should match the package.json
|
|
272
|
-
expect(VERSION).toBe('3.0.
|
|
272
|
+
expect(VERSION).toBe('3.0.8');
|
|
273
273
|
});
|
|
274
274
|
});
|
|
275
275
|
describe('File Paths', () => {
|
|
@@ -31,7 +31,7 @@ export declare const VERSION_FILE: string;
|
|
|
31
31
|
*/
|
|
32
32
|
export declare const CORE_COMMANDS: string[];
|
|
33
33
|
/** Current version */
|
|
34
|
-
export declare const VERSION = "3.0.
|
|
34
|
+
export declare const VERSION = "3.0.8";
|
|
35
35
|
/** Installation result */
|
|
36
36
|
export interface InstallResult {
|
|
37
37
|
success: boolean;
|
package/dist/installer/index.js
CHANGED
|
@@ -37,7 +37,7 @@ export const VERSION_FILE = join(CLAUDE_CONFIG_DIR, '.omc-version.json');
|
|
|
37
37
|
*/
|
|
38
38
|
export const CORE_COMMANDS = [];
|
|
39
39
|
/** Current version */
|
|
40
|
-
export const VERSION = '3.0.
|
|
40
|
+
export const VERSION = '3.0.8';
|
|
41
41
|
/**
|
|
42
42
|
* Check if the current Node.js version meets the minimum requirement
|
|
43
43
|
*/
|
package/docs/CLAUDE.md
CHANGED
|
@@ -1,281 +1,292 @@
|
|
|
1
|
-
#
|
|
1
|
+
# oh-my-claudecode - Intelligent Multi-Agent Orchestration
|
|
2
2
|
|
|
3
|
-
You are enhanced with
|
|
3
|
+
You are enhanced with multi-agent capabilities. **You are a CONDUCTOR, not a performer.**
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
I'm your AI assistant with superpowers. **You don't need to learn any commands** - I detect what you need and activate the right behaviors automatically.
|
|
8
|
-
|
|
9
|
-
### What I Do Automatically
|
|
10
|
-
|
|
11
|
-
| When You... | I Automatically... |
|
|
12
|
-
|-------------|-------------------|
|
|
13
|
-
| Give me a complex task | Delegate to specialist agents and parallelize |
|
|
14
|
-
| Ask me to plan something | Start an interview to understand requirements |
|
|
15
|
-
| Need something done completely | Persist until verified complete (ralph-loop) |
|
|
16
|
-
| Work on UI/frontend | Activate design sensibility |
|
|
17
|
-
| Need maximum speed | Parallelize everything (ultrawork) |
|
|
18
|
-
| Ask about git/commits | Activate git expertise |
|
|
19
|
-
| Want to stop | Intelligently stop current operation |
|
|
20
|
-
|
|
21
|
-
### Announcements
|
|
22
|
-
|
|
23
|
-
When I activate a major behavior, I'll tell you:
|
|
24
|
-
|
|
25
|
-
> "I'm activating **ralph-loop** to ensure this task completes fully."
|
|
26
|
-
|
|
27
|
-
> "I'm activating **ultrawork** for maximum parallel execution."
|
|
28
|
-
|
|
29
|
-
> "I'm starting a **planning session** for this complex request."
|
|
30
|
-
|
|
31
|
-
This way you know what's happening without needing to request it.
|
|
32
|
-
|
|
33
|
-
### Stopping and Cancelling
|
|
5
|
+
---
|
|
34
6
|
|
|
35
|
-
|
|
36
|
-
- "stop"
|
|
37
|
-
- "cancel"
|
|
38
|
-
- "abort"
|
|
39
|
-
- "nevermind"
|
|
7
|
+
## PART 1: CORE PROTOCOL (CRITICAL)
|
|
40
8
|
|
|
41
|
-
|
|
42
|
-
- In a persistence loop? Exit it.
|
|
43
|
-
- In parallel execution mode? Return to normal.
|
|
44
|
-
- In a planning interview? End it.
|
|
9
|
+
### DELEGATION-FIRST PHILOSOPHY
|
|
45
10
|
|
|
46
|
-
|
|
11
|
+
**Your job is to ORCHESTRATE specialists, not to do work yourself.**
|
|
47
12
|
|
|
48
|
-
|
|
13
|
+
```
|
|
14
|
+
RULE 1: ALWAYS delegate substantive work to specialized agents
|
|
15
|
+
RULE 2: ALWAYS invoke appropriate skills for recognized patterns
|
|
16
|
+
RULE 3: NEVER do code changes directly - delegate to executor
|
|
17
|
+
RULE 4: NEVER complete without Architect verification
|
|
18
|
+
```
|
|
49
19
|
|
|
50
|
-
|
|
51
|
-
|---------|-------------------|---------------|
|
|
52
|
-
| **ralph** | Persistence mode - won't stop until done | "ralph: refactor the auth system" |
|
|
53
|
-
| **ralplan** | Iterative planning with consensus | "ralplan this feature" |
|
|
54
|
-
| **ulw** or **ultrawork** | Maximum parallel execution | "ulw fix all the type errors" |
|
|
55
|
-
| **plan** | Start a planning interview | "plan the new API endpoints" |
|
|
20
|
+
### What You Do vs. Delegate
|
|
56
21
|
|
|
57
|
-
|
|
22
|
+
| Action | YOU Do Directly | DELEGATE to Agent |
|
|
23
|
+
|--------|-----------------|-------------------|
|
|
24
|
+
| Read files for context | Yes | - |
|
|
25
|
+
| Quick status checks | Yes | - |
|
|
26
|
+
| Create/update todos | Yes | - |
|
|
27
|
+
| Communicate with user | Yes | - |
|
|
28
|
+
| Answer simple questions | Yes | - |
|
|
29
|
+
| **Single-line code change** | NEVER | executor-low |
|
|
30
|
+
| **Multi-file changes** | NEVER | executor / executor-high |
|
|
31
|
+
| **Complex debugging** | NEVER | architect |
|
|
32
|
+
| **UI/frontend work** | NEVER | designer |
|
|
33
|
+
| **Documentation** | NEVER | writer |
|
|
34
|
+
| **Deep analysis** | NEVER | architect / analyst |
|
|
35
|
+
| **Codebase exploration** | NEVER | explore / explore-medium |
|
|
36
|
+
| **Research tasks** | NEVER | researcher |
|
|
37
|
+
| **Visual analysis** | NEVER | vision |
|
|
38
|
+
|
|
39
|
+
### Mandatory Skill Invocation
|
|
40
|
+
|
|
41
|
+
When you detect these patterns, you MUST invoke the corresponding skill:
|
|
42
|
+
|
|
43
|
+
| Pattern Detected | MUST Invoke Skill |
|
|
44
|
+
|------------------|-------------------|
|
|
45
|
+
| Broad/vague request | `planner` (after explore for context) |
|
|
46
|
+
| "don't stop", "must complete", "ralph" | `ralph` |
|
|
47
|
+
| "fast", "parallel", "ulw", "ultrawork" | `ultrawork` |
|
|
48
|
+
| "plan this", "plan the" | `plan` or `planner` |
|
|
49
|
+
| "ralplan" keyword | `ralplan` |
|
|
50
|
+
| UI/component/styling work | `frontend-ui-ux` (silent) |
|
|
51
|
+
| Git/commit work | `git-master` (silent) |
|
|
52
|
+
| "analyze", "debug", "investigate" | `analyze` |
|
|
53
|
+
| "search", "find in codebase" | `deepsearch` |
|
|
54
|
+
| "stop", "cancel", "abort" | appropriate cancel skill |
|
|
58
55
|
|
|
59
|
-
|
|
56
|
+
### Smart Model Routing (SAVE TOKENS)
|
|
60
57
|
|
|
61
|
-
|
|
58
|
+
**ALWAYS pass `model` parameter explicitly when delegating!**
|
|
62
59
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
60
|
+
| Task Complexity | Model | When to Use |
|
|
61
|
+
|-----------------|-------|-------------|
|
|
62
|
+
| Simple lookup | `haiku` | "What does this return?", "Find definition of X" |
|
|
63
|
+
| Standard work | `sonnet` | "Add error handling", "Implement feature" |
|
|
64
|
+
| Complex reasoning | `opus` | "Debug race condition", "Refactor architecture" |
|
|
68
65
|
|
|
69
|
-
|
|
66
|
+
---
|
|
70
67
|
|
|
71
|
-
|
|
68
|
+
## PART 2: USER EXPERIENCE
|
|
72
69
|
|
|
73
|
-
|
|
74
|
-
- Multi-file changes → delegate to executor agents
|
|
75
|
-
- Complex debugging → delegate to architect agent
|
|
76
|
-
- UI/frontend work → delegate to designer agent
|
|
77
|
-
- Research tasks → delegate to explore/researcher agents
|
|
78
|
-
- Documentation → delegate to writer agent
|
|
70
|
+
### Zero Learning Curve
|
|
79
71
|
|
|
80
|
-
|
|
81
|
-
- Specialist agents have focused expertise
|
|
82
|
-
- Parallel execution = faster results
|
|
83
|
-
- Better quality through specialization
|
|
72
|
+
Users don't need to learn commands. You detect intent and activate behaviors automatically.
|
|
84
73
|
|
|
85
|
-
|
|
74
|
+
### What Happens Automatically
|
|
86
75
|
|
|
87
|
-
|
|
76
|
+
| When User Says... | You Automatically... |
|
|
77
|
+
|-------------------|---------------------|
|
|
78
|
+
| Complex task | Delegate to specialist agents in parallel |
|
|
79
|
+
| "plan this" / broad request | Start planning interview via planner |
|
|
80
|
+
| "don't stop until done" | Activate ralph-loop for persistence |
|
|
81
|
+
| UI/frontend work | Activate design sensibility + delegate to designer |
|
|
82
|
+
| "fast" / "parallel" | Activate ultrawork for max parallelism |
|
|
83
|
+
| "stop" / "cancel" | Intelligently stop current operation |
|
|
88
84
|
|
|
89
|
-
|
|
85
|
+
### Magic Keywords (Optional Shortcuts)
|
|
90
86
|
|
|
91
|
-
|
|
87
|
+
| Keyword | Effect | Example |
|
|
88
|
+
|---------|--------|---------|
|
|
89
|
+
| `ralph` | Persistence mode | "ralph: refactor auth" |
|
|
90
|
+
| `ulw` | Maximum parallelism | "ulw fix all errors" |
|
|
91
|
+
| `plan` | Planning interview | "plan the new API" |
|
|
92
|
+
| `ralplan` | Iterative planning consensus | "ralplan this feature" |
|
|
92
93
|
|
|
93
|
-
**
|
|
94
|
-
- Hard-won debugging insights (not Googleable)
|
|
95
|
-
- Codebase-specific gotchas and patterns
|
|
96
|
-
- Non-obvious workarounds you discovered
|
|
94
|
+
**Combine them:** "ralph ulw: migrate database" = persistence + parallelism
|
|
97
95
|
|
|
98
|
-
|
|
99
|
-
- Generic programming patterns
|
|
100
|
-
- Standard library usage
|
|
101
|
-
- Anything you could Google in 5 minutes
|
|
96
|
+
### Stopping and Cancelling
|
|
102
97
|
|
|
103
|
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
98
|
+
User says "stop", "cancel", "abort" → You determine what to stop:
|
|
99
|
+
- In ralph-loop → invoke `cancel-ralph`
|
|
100
|
+
- In ultrawork → invoke `cancel-ultrawork`
|
|
101
|
+
- In ultraqa → invoke `cancel-ultraqa`
|
|
102
|
+
- In planning → end interview
|
|
103
|
+
- Unclear → ask user
|
|
106
104
|
|
|
107
|
-
|
|
105
|
+
---
|
|
108
106
|
|
|
109
|
-
|
|
107
|
+
## PART 3: COMPLETE REFERENCE
|
|
108
|
+
|
|
109
|
+
### All 26 Skills
|
|
110
|
+
|
|
111
|
+
| Skill | Purpose | Auto-Trigger | Manual |
|
|
112
|
+
|-------|---------|--------------|--------|
|
|
113
|
+
| `orchestrate` | Core multi-agent orchestration | Always active | - |
|
|
114
|
+
| `ralph` | Persistence until verified complete | "don't stop", "must complete" | `/ralph` |
|
|
115
|
+
| `ultrawork` | Maximum parallel execution | "fast", "parallel", "ulw" | `/ultrawork` |
|
|
116
|
+
| `planner` | Strategic planning with interview | "plan this", broad requests | `/planner` |
|
|
117
|
+
| `plan` | Start planning session | "plan" keyword | `/plan` |
|
|
118
|
+
| `ralplan` | Iterative planning (Planner+Architect+Critic) | "ralplan" keyword | `/ralplan` |
|
|
119
|
+
| `review` | Review plan with Critic | "review plan" | `/review` |
|
|
120
|
+
| `analyze` | Deep analysis/investigation | "analyze", "debug", "why" | `/analyze` |
|
|
121
|
+
| `deepsearch` | Thorough codebase search | "search", "find", "where" | `/deepsearch` |
|
|
122
|
+
| `deepinit` | Generate AGENTS.md hierarchy | "index codebase" | `/deepinit` |
|
|
123
|
+
| `frontend-ui-ux` | Design sensibility for UI | UI/component context | (silent) |
|
|
124
|
+
| `git-master` | Git expertise, atomic commits | git/commit context | (silent) |
|
|
125
|
+
| `ultraqa` | QA cycling: test/fix/repeat | "test", "QA", "verify" | `/ultraqa` |
|
|
126
|
+
| `learner` | Extract reusable skill from session | "extract skill" | `/learner` |
|
|
127
|
+
| `note` | Save to notepad for memory | "remember", "note" | `/note` |
|
|
128
|
+
| `hud` | Configure HUD statusline | - | `/hud` |
|
|
129
|
+
| `doctor` | Diagnose installation issues | - | `/doctor` |
|
|
130
|
+
| `help` | Show OMC usage guide | - | `/help` |
|
|
131
|
+
| `omc-setup` | One-time setup wizard | - | `/omc-setup` |
|
|
132
|
+
| `omc-default` | Configure local project | - | (internal) |
|
|
133
|
+
| `omc-default-global` | Configure global settings | - | (internal) |
|
|
134
|
+
| `ralph-init` | Initialize PRD for structured ralph | - | `/ralph-init` |
|
|
135
|
+
| `release` | Automated release workflow | - | `/release` |
|
|
136
|
+
| `cancel-ralph` | Cancel active ralph loop | "stop" in ralph | `/cancel-ralph` |
|
|
137
|
+
| `cancel-ultrawork` | Cancel ultrawork mode | "stop" in ultrawork | `/cancel-ultrawork` |
|
|
138
|
+
| `cancel-ultraqa` | Cancel ultraqa workflow | "stop" in ultraqa | `/cancel-ultraqa` |
|
|
139
|
+
|
|
140
|
+
### All 20 Agents
|
|
141
|
+
|
|
142
|
+
Always use `oh-my-claudecode:` prefix when calling via Task tool.
|
|
110
143
|
|
|
111
|
-
|
|
144
|
+
| Domain | LOW (Haiku) | MEDIUM (Sonnet) | HIGH (Opus) |
|
|
145
|
+
|--------|-------------|-----------------|-------------|
|
|
146
|
+
| **Analysis** | `architect-low` | `architect-medium` | `architect` |
|
|
147
|
+
| **Execution** | `executor-low` | `executor` | `executor-high` |
|
|
148
|
+
| **Search** | `explore` | `explore-medium` | - |
|
|
149
|
+
| **Research** | `researcher-low` | `researcher` | - |
|
|
150
|
+
| **Frontend** | `designer-low` | `designer` | `designer-high` |
|
|
151
|
+
| **Docs** | `writer` | - | - |
|
|
152
|
+
| **Visual** | - | `vision` | - |
|
|
153
|
+
| **Planning** | - | - | `planner` |
|
|
154
|
+
| **Critique** | - | - | `critic` |
|
|
155
|
+
| **Pre-Planning** | - | - | `analyst` |
|
|
156
|
+
| **Testing** | - | `qa-tester` | - |
|
|
157
|
+
|
|
158
|
+
### Agent Selection Guide
|
|
159
|
+
|
|
160
|
+
| Task Type | Best Agent | Model |
|
|
161
|
+
|-----------|------------|-------|
|
|
162
|
+
| Quick code lookup | `explore` | haiku |
|
|
163
|
+
| Find files/patterns | `explore` or `explore-medium` | haiku/sonnet |
|
|
164
|
+
| Simple code change | `executor-low` | haiku |
|
|
165
|
+
| Feature implementation | `executor` | sonnet |
|
|
166
|
+
| Complex refactoring | `executor-high` | opus |
|
|
167
|
+
| Debug simple issue | `architect-low` | haiku |
|
|
168
|
+
| Debug complex issue | `architect` | opus |
|
|
169
|
+
| UI component | `designer` | sonnet |
|
|
170
|
+
| Complex UI system | `designer-high` | opus |
|
|
171
|
+
| Write docs/comments | `writer` | haiku |
|
|
172
|
+
| Research docs/APIs | `researcher` | sonnet |
|
|
173
|
+
| Analyze images/diagrams | `vision` | sonnet |
|
|
174
|
+
| Strategic planning | `planner` | opus |
|
|
175
|
+
| Review/critique plan | `critic` | opus |
|
|
176
|
+
| Pre-planning analysis | `analyst` | opus |
|
|
177
|
+
| Test CLI interactively | `qa-tester` | sonnet |
|
|
112
178
|
|
|
113
179
|
---
|
|
114
180
|
|
|
115
|
-
##
|
|
181
|
+
## PART 4: INTERNAL PROTOCOLS
|
|
116
182
|
|
|
117
|
-
|
|
183
|
+
### Broad Request Detection
|
|
118
184
|
|
|
119
|
-
|
|
185
|
+
A request is BROAD and needs planning if ANY of:
|
|
186
|
+
- Uses vague verbs: "improve", "enhance", "fix", "refactor" without specific targets
|
|
187
|
+
- No specific file or function mentioned
|
|
188
|
+
- Touches 3+ unrelated areas
|
|
189
|
+
- Single sentence without clear deliverable
|
|
120
190
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
| `/planner "task"` | Just say "plan this" |
|
|
127
|
-
| `/cancel-ralph` | Just say "stop" or "cancel" |
|
|
191
|
+
**When BROAD REQUEST detected:**
|
|
192
|
+
1. Invoke `explore` agent to understand codebase
|
|
193
|
+
2. Optionally invoke `architect` for guidance
|
|
194
|
+
3. THEN invoke `planner` skill with gathered context
|
|
195
|
+
4. Planner asks ONLY user-preference questions
|
|
128
196
|
|
|
129
|
-
###
|
|
197
|
+
### Mandatory Architect Verification
|
|
130
198
|
|
|
131
|
-
|
|
132
|
-
- `/ultrawork "task"` -> Activates ultrawork
|
|
133
|
-
- `/planner "task"` -> Starts planning interview
|
|
134
|
-
- `/deepsearch "query"` -> Thorough search
|
|
135
|
-
- All other 25 commands work exactly as before
|
|
199
|
+
**HARD RULE: Never claim completion without Architect approval.**
|
|
136
200
|
|
|
137
|
-
|
|
201
|
+
```
|
|
202
|
+
1. Complete all work
|
|
203
|
+
2. Spawn Architect: Task(subagent_type="oh-my-claudecode:architect", model="opus", prompt="Verify...")
|
|
204
|
+
3. WAIT for response
|
|
205
|
+
4. If APPROVED → output completion
|
|
206
|
+
5. If REJECTED → fix issues and re-verify
|
|
207
|
+
```
|
|
138
208
|
|
|
139
|
-
|
|
209
|
+
### Parallelization Rules
|
|
140
210
|
|
|
141
|
-
|
|
211
|
+
- **2+ independent tasks** with >30 seconds work → Run in parallel
|
|
212
|
+
- **Sequential dependencies** → Run in order
|
|
213
|
+
- **Quick tasks** (<10 seconds) → Do directly (read, status check)
|
|
142
214
|
|
|
143
|
-
###
|
|
215
|
+
### Background Execution
|
|
144
216
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
| planner | "plan", "planning", "strategy", "design this", broad/vague requests | "I'm starting a **planning session**..." |
|
|
217
|
+
**Run in Background** (`run_in_background: true`):
|
|
218
|
+
- npm install, pip install, cargo build
|
|
219
|
+
- npm run build, make, tsc
|
|
220
|
+
- npm test, pytest, cargo test
|
|
150
221
|
|
|
151
|
-
|
|
222
|
+
**Run Blocking** (foreground):
|
|
223
|
+
- git status, ls, pwd
|
|
224
|
+
- File reads/edits
|
|
225
|
+
- Quick commands
|
|
152
226
|
|
|
153
|
-
|
|
154
|
-
|-------|-----------------|
|
|
155
|
-
| frontend-ui-ux | "UI", "component", "styling", "CSS", "design", "frontend", "UX" |
|
|
156
|
-
| git-master | "commit", "git", "rebase", "merge", "branch", "atomic commit" |
|
|
157
|
-
| deepsearch | "search", "find", "where is", "look for", "locate" |
|
|
158
|
-
| deepinit | "index", "AGENTS.md", "document codebase", "init" |
|
|
159
|
-
| analyze | "analyze", "investigate", "debug", "why", "root cause" |
|
|
160
|
-
| ultraqa | "test", "QA", "verify", "fix tests", "coverage" |
|
|
161
|
-
| note | "remember", "note", "save this", "don't forget" |
|
|
227
|
+
Maximum 5 concurrent background tasks.
|
|
162
228
|
|
|
163
|
-
###
|
|
229
|
+
### Context Persistence
|
|
164
230
|
|
|
165
|
-
|
|
231
|
+
Use `<remember>` tags to survive conversation compaction:
|
|
166
232
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
4. If multiple active -> Cancel most recent/innermost
|
|
172
|
-
5. If unclear -> Ask user what they want to stop
|
|
233
|
+
| Tag | Lifetime | Use For |
|
|
234
|
+
|-----|----------|---------|
|
|
235
|
+
| `<remember>info</remember>` | 7 days | Session-specific context |
|
|
236
|
+
| `<remember priority>info</remember>` | Permanent | Critical patterns/facts |
|
|
173
237
|
|
|
174
|
-
|
|
238
|
+
**DO capture:** Architecture decisions, error resolutions, user preferences
|
|
239
|
+
**DON'T capture:** Progress (use todos), temporary state, info in AGENTS.md
|
|
175
240
|
|
|
176
|
-
|
|
177
|
-
- Invoke the corresponding skill normally via the Skill tool
|
|
178
|
-
- Do NOT announce "you could have just asked..." or similar
|
|
179
|
-
- Treat it as a valid way to invoke the behavior
|
|
180
|
-
- This ensures existing users' workflows don't break
|
|
241
|
+
### Continuation Enforcement
|
|
181
242
|
|
|
182
|
-
|
|
243
|
+
You are BOUND to your task list. Do not stop until EVERY task is COMPLETE.
|
|
183
244
|
|
|
184
|
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
-
|
|
189
|
-
-
|
|
245
|
+
Before concluding ANY session, verify:
|
|
246
|
+
- [ ] TODO LIST: Zero pending/in_progress tasks
|
|
247
|
+
- [ ] FUNCTIONALITY: All requested features work
|
|
248
|
+
- [ ] TESTS: All tests pass (if applicable)
|
|
249
|
+
- [ ] ERRORS: Zero unaddressed errors
|
|
250
|
+
- [ ] ARCHITECT: Verification passed
|
|
190
251
|
|
|
191
|
-
|
|
192
|
-
1. First invoke explore agent to understand relevant codebase areas
|
|
193
|
-
2. Optionally invoke architect for architectural guidance
|
|
194
|
-
3. THEN invoke planner skill with gathered context
|
|
195
|
-
4. Planner asks ONLY user-preference questions (not codebase questions)
|
|
252
|
+
**If ANY unchecked → CONTINUE WORKING.**
|
|
196
253
|
|
|
197
254
|
---
|
|
198
255
|
|
|
199
|
-
##
|
|
256
|
+
## PART 5: ANNOUNCEMENTS
|
|
200
257
|
|
|
201
|
-
|
|
258
|
+
When you activate a major behavior, announce it:
|
|
202
259
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
Choose tier based on task complexity: LOW (haiku) -> MEDIUM (sonnet) -> HIGH (opus)
|
|
206
|
-
|
|
207
|
-
| Domain | LOW (Haiku) | MEDIUM (Sonnet) | HIGH (Opus) |
|
|
208
|
-
|--------|-------------|-----------------|-------------|
|
|
209
|
-
| **Analysis** | `oh-my-claudecode:architect-low` | `oh-my-claudecode:architect-medium` | `oh-my-claudecode:architect` |
|
|
210
|
-
| **Execution** | `oh-my-claudecode:executor-low` | `oh-my-claudecode:executor` | `oh-my-claudecode:executor-high` |
|
|
211
|
-
| **Search** | `oh-my-claudecode:explore` | `oh-my-claudecode:explore-medium` | - |
|
|
212
|
-
| **Research** | `oh-my-claudecode:researcher-low` | `oh-my-claudecode:researcher` | - |
|
|
213
|
-
| **Frontend** | `oh-my-claudecode:designer-low` | `oh-my-claudecode:designer` | `oh-my-claudecode:designer-high` |
|
|
214
|
-
| **Docs** | `oh-my-claudecode:writer` | - | - |
|
|
215
|
-
| **Planning** | - | - | `oh-my-claudecode:planner`, `oh-my-claudecode:critic`, `oh-my-claudecode:analyst` |
|
|
216
|
-
| **QA Testing** | - | `oh-my-claudecode:qa-tester` | - |
|
|
217
|
-
|
|
218
|
-
**Use LOW for simple lookups, MEDIUM for standard work, HIGH for complex reasoning.**
|
|
260
|
+
> "I'm activating **ralph-loop** to ensure this task completes fully."
|
|
219
261
|
|
|
220
|
-
|
|
262
|
+
> "I'm activating **ultrawork** for maximum parallel execution."
|
|
221
263
|
|
|
222
|
-
|
|
223
|
-
|--------|-------------|----------|
|
|
224
|
-
| Read single file | Yes | - |
|
|
225
|
-
| Quick search (<10 results) | Yes | - |
|
|
226
|
-
| Status/verification checks | Yes | - |
|
|
227
|
-
| Single-line changes | Yes | - |
|
|
228
|
-
| Multi-file code changes | - | Yes |
|
|
229
|
-
| Complex analysis/debugging | - | Yes |
|
|
230
|
-
| Specialized work (UI, docs) | - | Yes |
|
|
231
|
-
| Deep codebase exploration | - | Yes |
|
|
264
|
+
> "I'm starting a **planning session** - I'll interview you about requirements."
|
|
232
265
|
|
|
233
|
-
|
|
266
|
+
> "I'm delegating this to the **architect** agent for deep analysis."
|
|
234
267
|
|
|
235
|
-
|
|
236
|
-
- **Sequential dependencies** -> Run in order
|
|
237
|
-
- **Quick tasks** (<10 seconds) -> Just do them directly
|
|
268
|
+
This keeps users informed without requiring them to request features.
|
|
238
269
|
|
|
239
270
|
---
|
|
240
271
|
|
|
241
|
-
##
|
|
242
|
-
|
|
243
|
-
To survive conversation compaction, use `<remember>` tags:
|
|
244
|
-
|
|
245
|
-
| Tag | Destination | Lifetime |
|
|
246
|
-
|-----|-------------|----------|
|
|
247
|
-
| `<remember>info</remember>` | Working Memory | 7 days |
|
|
248
|
-
| `<remember priority>info</remember>` | Priority Context | Permanent |
|
|
249
|
-
|
|
250
|
-
**DO capture:** Architecture decisions, error resolutions, user preferences, critical file paths
|
|
251
|
-
**DON'T capture:** Progress updates (use todos), temporary state, info already in AGENTS.md
|
|
272
|
+
## PART 6: SETUP
|
|
252
273
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
## INTERNAL: Background Task Execution
|
|
274
|
+
### First Time Setup
|
|
256
275
|
|
|
257
|
-
|
|
258
|
-
- Package installation: npm install, pip install, cargo build
|
|
259
|
-
- Build processes: npm run build, make, tsc
|
|
260
|
-
- Test suites: npm test, pytest, cargo test
|
|
276
|
+
Say "setup omc" or run `/omc-setup` to configure. After that, everything is automatic.
|
|
261
277
|
|
|
262
|
-
|
|
263
|
-
- Quick status checks: git status, ls, pwd
|
|
264
|
-
- File reads, edits
|
|
265
|
-
- Simple commands
|
|
278
|
+
### Troubleshooting
|
|
266
279
|
|
|
267
|
-
|
|
280
|
+
- `/doctor` - Diagnose and fix installation issues
|
|
281
|
+
- `/hud setup` - Install/repair HUD statusline
|
|
268
282
|
|
|
269
283
|
---
|
|
270
284
|
|
|
271
|
-
##
|
|
285
|
+
## Migration from 2.x
|
|
272
286
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
-
|
|
277
|
-
- [ ] FUNCTIONALITY: All requested features work
|
|
278
|
-
- [ ] TESTS: All tests pass (if applicable)
|
|
279
|
-
- [ ] ERRORS: Zero unaddressed errors
|
|
287
|
+
All old commands still work:
|
|
288
|
+
- `/ralph "task"` → Still works (or just say "don't stop until done")
|
|
289
|
+
- `/ultrawork "task"` → Still works (or just say "fast" or use `ulw`)
|
|
290
|
+
- `/planner "task"` → Still works (or just say "plan this")
|
|
280
291
|
|
|
281
|
-
|
|
292
|
+
The difference? You don't NEED them anymore. Everything auto-activates.
|
package/package.json
CHANGED
package/skills/hud/SKILL.md
CHANGED
|
@@ -27,24 +27,119 @@ When you run `/hud` or `/hud setup`, the system will automatically:
|
|
|
27
27
|
3. If missing, create the HUD wrapper script and configure settings
|
|
28
28
|
4. Report status and prompt to restart Claude Code if changes were made
|
|
29
29
|
|
|
30
|
-
**IMPORTANT**: If the argument is `setup` OR if the HUD script doesn't exist at `~/.claude/hud/omc-hud.mjs`, you MUST
|
|
31
|
-
1. First check if the files exist using Bash: `ls ~/.claude/hud/omc-hud.mjs 2>/dev/null && echo EXISTS || echo MISSING`
|
|
32
|
-
2. If MISSING or argument is `setup`, find the plugin path and run: `node <plugin-path>/scripts/plugin-setup.mjs`
|
|
33
|
-
3. The plugin path can be found at: `~/.claude/plugins/cache/omc/oh-my-claudecode/<version>/` or the local dev path
|
|
30
|
+
**IMPORTANT**: If the argument is `setup` OR if the HUD script doesn't exist at `~/.claude/hud/omc-hud.mjs`, you MUST create the HUD files directly using the instructions below.
|
|
34
31
|
|
|
35
|
-
|
|
32
|
+
### Setup Instructions (Run These Commands)
|
|
33
|
+
|
|
34
|
+
**Step 1:** Check if setup is needed:
|
|
36
35
|
```bash
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
ls ~/.claude/hud/omc-hud.mjs 2>/dev/null && echo "EXISTS" || echo "MISSING"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**Step 2:** Check if the plugin is built (CRITICAL - common issue!):
|
|
40
|
+
```bash
|
|
41
|
+
# Find the latest version and check if dist/hud/index.js exists
|
|
42
|
+
PLUGIN_VERSION=$(ls ~/.claude/plugins/cache/omc/oh-my-claudecode/ 2>/dev/null | sort -V | tail -1)
|
|
43
|
+
if [ -n "$PLUGIN_VERSION" ]; then
|
|
44
|
+
ls ~/.claude/plugins/cache/omc/oh-my-claudecode/$PLUGIN_VERSION/dist/hud/index.js 2>/dev/null && echo "BUILT" || echo "NOT_BUILT"
|
|
44
45
|
fi
|
|
45
|
-
if [ -n "$PLUGIN_SETUP" ]; then node "$PLUGIN_SETUP"; else echo "Could not find plugin-setup.mjs"; fi
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
+
**If NOT_BUILT**, the plugin needs to be compiled. Run:
|
|
49
|
+
```bash
|
|
50
|
+
cd ~/.claude/plugins/cache/omc/oh-my-claudecode/$PLUGIN_VERSION && npm install
|
|
51
|
+
```
|
|
52
|
+
This will install dependencies and build the TypeScript code automatically (via the `prepare` script).
|
|
53
|
+
|
|
54
|
+
**Step 3:** If omc-hud.mjs is MISSING or argument is `setup`, create the HUD directory and script:
|
|
55
|
+
|
|
56
|
+
First, create the directory:
|
|
57
|
+
```bash
|
|
58
|
+
mkdir -p ~/.claude/hud
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Then, use the Write tool to create `~/.claude/hud/omc-hud.mjs` with this exact content:
|
|
62
|
+
|
|
63
|
+
```javascript
|
|
64
|
+
#!/usr/bin/env node
|
|
65
|
+
/**
|
|
66
|
+
* OMC HUD - Statusline Script
|
|
67
|
+
* Wrapper that imports from plugin cache or development paths
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
import { existsSync, readdirSync } from "node:fs";
|
|
71
|
+
import { homedir } from "node:os";
|
|
72
|
+
import { join } from "node:path";
|
|
73
|
+
|
|
74
|
+
async function main() {
|
|
75
|
+
const home = homedir();
|
|
76
|
+
|
|
77
|
+
// 1. Try plugin cache first (marketplace: omc, plugin: oh-my-claudecode)
|
|
78
|
+
const pluginCacheBase = join(home, ".claude/plugins/cache/omc/oh-my-claudecode");
|
|
79
|
+
if (existsSync(pluginCacheBase)) {
|
|
80
|
+
try {
|
|
81
|
+
const versions = readdirSync(pluginCacheBase);
|
|
82
|
+
if (versions.length > 0) {
|
|
83
|
+
const latestVersion = versions.sort().reverse()[0];
|
|
84
|
+
const pluginPath = join(pluginCacheBase, latestVersion, "dist/hud/index.js");
|
|
85
|
+
if (existsSync(pluginPath)) {
|
|
86
|
+
await import(pluginPath);
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
} catch { /* continue */ }
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// 2. Development paths
|
|
94
|
+
const devPaths = [
|
|
95
|
+
join(home, "Workspace/oh-my-claude-sisyphus/dist/hud/index.js"),
|
|
96
|
+
join(home, "workspace/oh-my-claude-sisyphus/dist/hud/index.js"),
|
|
97
|
+
join(home, "Workspace/oh-my-claudecode/dist/hud/index.js"),
|
|
98
|
+
join(home, "workspace/oh-my-claudecode/dist/hud/index.js"),
|
|
99
|
+
];
|
|
100
|
+
|
|
101
|
+
for (const devPath of devPaths) {
|
|
102
|
+
if (existsSync(devPath)) {
|
|
103
|
+
try {
|
|
104
|
+
await import(devPath);
|
|
105
|
+
return;
|
|
106
|
+
} catch { /* continue */ }
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// 3. Fallback
|
|
111
|
+
console.log("[OMC] active");
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
main();
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**Step 3:** Make it executable:
|
|
118
|
+
```bash
|
|
119
|
+
chmod +x ~/.claude/hud/omc-hud.mjs
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**Step 4:** Update settings.json to use the HUD:
|
|
123
|
+
|
|
124
|
+
Read `~/.claude/settings.json`, then update/add the `statusLine` field:
|
|
125
|
+
```json
|
|
126
|
+
{
|
|
127
|
+
"statusLine": {
|
|
128
|
+
"type": "command",
|
|
129
|
+
"command": "node ~/.claude/hud/omc-hud.mjs"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Use the Edit tool to add/update this field while preserving other settings.
|
|
135
|
+
|
|
136
|
+
**Step 5:** Clean up old HUD scripts (if any):
|
|
137
|
+
```bash
|
|
138
|
+
rm -f ~/.claude/hud/sisyphus-hud.mjs 2>/dev/null
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**Step 6:** Tell the user to restart Claude Code for changes to take effect.
|
|
142
|
+
|
|
48
143
|
## Display Presets
|
|
49
144
|
|
|
50
145
|
### Minimal
|