oh-my-claude-sisyphus 3.5.6 → 3.5.7
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 +58 -343
- package/commands/omc-setup.md +51 -0
- package/dist/__tests__/analytics/tokscale-adapter.test.d.ts +2 -0
- package/dist/__tests__/analytics/tokscale-adapter.test.d.ts.map +1 -0
- package/dist/__tests__/analytics/tokscale-adapter.test.js +79 -0
- package/dist/__tests__/analytics/tokscale-adapter.test.js.map +1 -0
- package/dist/analytics/cost-estimator.d.ts +14 -0
- package/dist/analytics/cost-estimator.d.ts.map +1 -1
- package/dist/analytics/cost-estimator.js +65 -0
- package/dist/analytics/cost-estimator.js.map +1 -1
- package/dist/analytics/index.d.ts +1 -0
- package/dist/analytics/index.d.ts.map +1 -1
- package/dist/analytics/index.js +4 -0
- package/dist/analytics/index.js.map +1 -1
- package/dist/analytics/query-engine.d.ts +3 -0
- package/dist/analytics/query-engine.d.ts.map +1 -1
- package/dist/analytics/query-engine.js +87 -0
- package/dist/analytics/query-engine.js.map +1 -1
- package/dist/analytics/token-tracker.d.ts +3 -0
- package/dist/analytics/token-tracker.d.ts.map +1 -1
- package/dist/analytics/token-tracker.js +89 -0
- package/dist/analytics/token-tracker.js.map +1 -1
- package/dist/analytics/tokscale-adapter.d.ts +71 -0
- package/dist/analytics/tokscale-adapter.d.ts.map +1 -0
- package/dist/analytics/tokscale-adapter.js +223 -0
- package/dist/analytics/tokscale-adapter.js.map +1 -0
- package/dist/analytics/types.d.ts +17 -0
- package/dist/analytics/types.d.ts.map +1 -1
- package/dist/analytics/types.js +5 -0
- package/dist/analytics/types.js.map +1 -1
- package/dist/cli/analytics.js +35 -0
- package/dist/cli/analytics.js.map +1 -1
- package/dist/cli/commands/agents.d.ts.map +1 -1
- package/dist/cli/commands/agents.js +4 -2
- package/dist/cli/commands/agents.js.map +1 -1
- package/dist/cli/commands/stats.d.ts.map +1 -1
- package/dist/cli/commands/stats.js +6 -1
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/index.js +95 -35
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/utils/tokscale-launcher.d.ts +18 -0
- package/dist/cli/utils/tokscale-launcher.d.ts.map +1 -0
- package/dist/cli/utils/tokscale-launcher.js +64 -0
- package/dist/cli/utils/tokscale-launcher.js.map +1 -0
- package/dist/features/auto-update.js +5 -5
- package/dist/features/auto-update.js.map +1 -1
- package/dist/hud/types.d.ts +6 -2
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js.map +1 -1
- package/dist/hud/usage-api.d.ts.map +1 -1
- package/dist/hud/usage-api.js +13 -1
- package/dist/hud/usage-api.js.map +1 -1
- package/docs/ARCHITECTURE.md +80 -397
- package/docs/FEATURES.md +396 -1981
- package/docs/MIGRATION.md +4 -4
- package/docs/REFERENCE.md +545 -0
- package/docs/SYNC-SYSTEM.md +6 -6
- package/package.json +2 -1
- package/scripts/sync-metadata.ts +2 -2
- package/skills/omc-setup/SKILL.md +51 -0
- package/docs/FULL-README.md +0 -1001
package/docs/FULL-README.md
DELETED
|
@@ -1,1001 +0,0 @@
|
|
|
1
|
-
# Full Reference Documentation
|
|
2
|
-
|
|
3
|
-
> This is the complete reference documentation. For quick start, see the main [README.md](../README.md).
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
<div align="center">
|
|
8
|
-
|
|
9
|
-

|
|
10
|
-
|
|
11
|
-
# oh-my-claudecode
|
|
12
|
-
|
|
13
|
-
[](https://github.com/Yeachan-Heo/oh-my-claudecode)
|
|
14
|
-
[](https://www.npmjs.com/package/oh-my-claudecode)
|
|
15
|
-
[](https://opensource.org/licenses/MIT)
|
|
16
|
-
[](https://nodejs.org/)
|
|
17
|
-
[](https://www.typescriptlang.org/)
|
|
18
|
-
|
|
19
|
-
**Multi-agent orchestration system for [Claude Code](https://docs.anthropic.com/claude-code)**
|
|
20
|
-
|
|
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
|
-
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## ⚡ NEW in 3.4: HUD Statusline, Learned Skills & Enhanced Orchestration
|
|
28
|
-
|
|
29
|
-
**Game-changing release:** Claude never forgets critical project knowledge, even through context compaction.
|
|
30
|
-
|
|
31
|
-
### 🧠 Three-Tier Memory System
|
|
32
|
-
|
|
33
|
-
**The Problem:** Long sessions lose context through compaction. Critical discoveries vanish.
|
|
34
|
-
|
|
35
|
-
**The Solution:** Persistent notepad system that survives compaction:
|
|
36
|
-
|
|
37
|
-
| Tier | Purpose | Retention |
|
|
38
|
-
|------|---------|-----------|
|
|
39
|
-
| **Priority Context** | Critical discoveries (API URLs, key files) | Always loaded on session start |
|
|
40
|
-
| **Working Memory** | Session notes with timestamps | Auto-pruned after 7 days |
|
|
41
|
-
| **MANUAL** | User permanent notes | Never pruned |
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
# Agents can persist discoveries automatically
|
|
45
|
-
<remember>Project uses pnpm not npm</remember>
|
|
46
|
-
<remember priority>API client at src/api/client.ts</remember>
|
|
47
|
-
|
|
48
|
-
# Or save notes manually
|
|
49
|
-
/oh-my-claudecode:note Database schema uses PostgreSQL with Prisma ORM
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### 📋 Ralph Loop PRD Support
|
|
53
|
-
|
|
54
|
-
**Structured task tracking** inspired by [Ralph](https://github.com/snarktank/ralph):
|
|
55
|
-
|
|
56
|
-
- **Product Requirements Document (PRD)** format with user stories
|
|
57
|
-
- **Progress tracking** with learnings and patterns
|
|
58
|
-
- **Completion guarantee** - loop continues until ALL stories pass
|
|
59
|
-
- **Three powerful modes:**
|
|
60
|
-
- `/oh-my-claudecode:ralph` - Self-referential loop until completion
|
|
61
|
-
- `/oh-my-claudecode:ultrawork` + `/oh-my-claudecode:ralph` - Maximum intensity + completion guarantee
|
|
62
|
-
- `/oh-my-claudecode:ultraqa` - Autonomous test-verify-fix cycles
|
|
63
|
-
|
|
64
|
-
```bash
|
|
65
|
-
# Initialize a structured task
|
|
66
|
-
/oh-my-claudecode:ralph-init implement user authentication with OAuth
|
|
67
|
-
|
|
68
|
-
# Maximum intensity with completion guarantee
|
|
69
|
-
/oh-my-claudecode:ultrawork refactor the entire API layer
|
|
70
|
-
|
|
71
|
-
# Autonomous QA cycling
|
|
72
|
-
/oh-my-claudecode:ultraqa all tests must pass with 90%+ coverage
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
See [CHANGELOG.md](CHANGELOG.md) for full details.
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## NEW in 3.1: oh-my-opencode Integration
|
|
80
|
-
|
|
81
|
-
The following features were integrated from oh-my-opencode to enhance orchestration capabilities:
|
|
82
|
-
|
|
83
|
-
### Notepad Wisdom System
|
|
84
|
-
|
|
85
|
-
Plan-scoped wisdom capture for persistent learnings, decisions, issues, and problems. Stores wisdom in `.omc/notepads/{plan-name}/` with timestamped entries.
|
|
86
|
-
|
|
87
|
-
**Functions:** `initPlanNotepad()`, `addLearning()`, `addDecision()`, `addIssue()`, `addProblem()`, `getWisdomSummary()`
|
|
88
|
-
|
|
89
|
-
**Benefits:**
|
|
90
|
-
- Separates learnings by plan for better organization
|
|
91
|
-
- Automatic timestamp tracking for temporal context
|
|
92
|
-
- Structured wisdom capture (learning vs decision vs issue vs problem)
|
|
93
|
-
- Persistent storage survives session resets
|
|
94
|
-
|
|
95
|
-
### Delegation Categories
|
|
96
|
-
|
|
97
|
-
Semantic task categorization that auto-maps to model tier, temperature, and thinking budget.
|
|
98
|
-
|
|
99
|
-
**Categories:**
|
|
100
|
-
- `visual-engineering` - UI/visual reasoning, frontend work, design systems (Opus, extended thinking)
|
|
101
|
-
- `ultrabrain` - Deep reasoning tasks (Opus, maximum thinking)
|
|
102
|
-
- `artistry` - Creative writing, novel approaches, innovative solutions (Sonnet, high temperature 0.9)
|
|
103
|
-
- `quick` - Simple lookups (Haiku, no thinking)
|
|
104
|
-
- `writing` - Documentation and content (Haiku, standard temperature)
|
|
105
|
-
|
|
106
|
-
**Benefits:**
|
|
107
|
-
- Automatic optimal model selection
|
|
108
|
-
- Context-aware temperature tuning
|
|
109
|
-
- Efficient thinking budget allocation
|
|
110
|
-
- Semantic task routing without manual configuration
|
|
111
|
-
|
|
112
|
-
### Directory Diagnostics
|
|
113
|
-
|
|
114
|
-
Project-level type checking via `lsp_diagnostics_directory` tool with dual strategy (tsc fast, LSP fallback).
|
|
115
|
-
|
|
116
|
-
**Capabilities:**
|
|
117
|
-
- Scan entire project directory for type errors
|
|
118
|
-
- Automatic TypeScript compiler optimization
|
|
119
|
-
- Fallback to LSP when tsc unavailable
|
|
120
|
-
- Batch processing with progress reporting
|
|
121
|
-
|
|
122
|
-
**Benefits:**
|
|
123
|
-
- Comprehensive project health checks
|
|
124
|
-
- Performance-optimized with smart strategy selection
|
|
125
|
-
- Deep language server integration for accuracy
|
|
126
|
-
- Works with or without explicit TypeScript setup
|
|
127
|
-
|
|
128
|
-
### Session Resume
|
|
129
|
-
|
|
130
|
-
Background agent resumption with context preservation via `resumeSession()`.
|
|
131
|
-
|
|
132
|
-
**Capabilities:**
|
|
133
|
-
- Automatic session state recovery
|
|
134
|
-
- Context preservation across interruptions
|
|
135
|
-
- Background agent reconnection
|
|
136
|
-
- Graceful degradation on failure
|
|
137
|
-
|
|
138
|
-
**Benefits:**
|
|
139
|
-
- Uninterrupted workflow during agent crashes
|
|
140
|
-
- Persistent work state across sessions
|
|
141
|
-
- No manual context re-entry needed
|
|
142
|
-
- Seamless continuation of complex tasks
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
## NEW in 3.4.2: 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` | analyst → 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
|
-
**Removed in v3.5.3:** Individual cancel commands (`cancel-ralph`, `cancel-ultraqa`, `cancel-ultrawork`, `cancel-ecomode`, `cancel-autopilot`) have been removed. 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
|
-
|
|
242
|
-
## Quick Install
|
|
243
|
-
|
|
244
|
-
Choose **ONE** installation method below. Do not mix methods.
|
|
245
|
-
|
|
246
|
-
### Option A: Claude Code Plugin (Recommended)
|
|
247
|
-
|
|
248
|
-
```bash
|
|
249
|
-
# From terminal:
|
|
250
|
-
claude plugin install oh-my-claude-sisyphus
|
|
251
|
-
|
|
252
|
-
# Or from within Claude Code:
|
|
253
|
-
/oh-my-claudecode:plugin oh-my-claude-sisyphus
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
Uses Node.js hooks from the plugin directory. Integrates directly with Claude Code's plugin system.
|
|
257
|
-
|
|
258
|
-
### Option B: Curl One-Liner (Deprecated)
|
|
259
|
-
|
|
260
|
-
```bash
|
|
261
|
-
curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/main/scripts/install.sh | bash
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
> **Deprecated**: This method installs bash hooks to `~/.claude/` which can conflict with plugin installations. Use the plugin method above instead.
|
|
265
|
-
|
|
266
|
-
### Option C: Via npm (Windows & Cross-Platform)
|
|
267
|
-
|
|
268
|
-
```bash
|
|
269
|
-
npm install -g oh-my-claudecode
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
> **Windows Users**: This is the recommended installation method. Requires Node.js 20+.
|
|
273
|
-
|
|
274
|
-
> **Important:** Plugin install and curl install are **mutually exclusive**. Using both will cause hook conflicts. Choose one method only.
|
|
275
|
-
|
|
276
|
-
### Manual Install (macOS/Linux)
|
|
277
|
-
|
|
278
|
-
```bash
|
|
279
|
-
git clone https://github.com/Yeachan-Heo/oh-my-claude-sisyphus.git
|
|
280
|
-
cd oh-my-claude-sisyphus
|
|
281
|
-
chmod +x scripts/install.sh
|
|
282
|
-
./scripts/install.sh
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
---
|
|
286
|
-
|
|
287
|
-
## 🎯 Configuration: Choose Global or Project Scope
|
|
288
|
-
|
|
289
|
-
**After ANY installation method**, choose how you want to configure omc:
|
|
290
|
-
|
|
291
|
-
### Option A: Project-Scoped (Recommended)
|
|
292
|
-
|
|
293
|
-
Configure omc for the current project only:
|
|
294
|
-
|
|
295
|
-
```
|
|
296
|
-
/oh-my-claudecode:omc-setup
|
|
297
|
-
```
|
|
298
|
-
|
|
299
|
-
- Creates `./.claude/CLAUDE.md` in your current project
|
|
300
|
-
- Configuration applies only to this project
|
|
301
|
-
- Won't affect other projects or global settings
|
|
302
|
-
- **Safe**: Preserves your global CLAUDE.md
|
|
303
|
-
|
|
304
|
-
### Option B: Global Configuration
|
|
305
|
-
|
|
306
|
-
Configure omc for all Claude Code sessions:
|
|
307
|
-
|
|
308
|
-
```
|
|
309
|
-
/oh-my-claudecode:omc-setup
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
- Creates `~/.claude/CLAUDE.md` globally
|
|
313
|
-
- Configuration applies to all projects
|
|
314
|
-
- **Warning**: Completely overwrites existing `~/.claude/CLAUDE.md`
|
|
315
|
-
|
|
316
|
-
### Why This Matters
|
|
317
|
-
|
|
318
|
-
Without running one of these commands, Claude operates with basic capabilities. Running either enables:
|
|
319
|
-
|
|
320
|
-
| Feature | Without | With omc Config |
|
|
321
|
-
|---------|---------|-----------------|
|
|
322
|
-
| Agent delegation | Manual only | Automatic based on task |
|
|
323
|
-
| Keyword detection | Disabled | ultrawork, search, analyze |
|
|
324
|
-
| Todo continuation | Basic | Enforced completion |
|
|
325
|
-
| Model routing | Default | Smart tier selection |
|
|
326
|
-
| Skill composition | None | Auto-combines skills |
|
|
327
|
-
|
|
328
|
-
### What These Commands Do
|
|
329
|
-
|
|
330
|
-
1. ✅ Download latest CLAUDE.md with full omc orchestration prompt
|
|
331
|
-
2. ✅ Configure 32 agents with intelligent model routing
|
|
332
|
-
3. ✅ Enable magic keyword detection (ultrawork, search, analyze)
|
|
333
|
-
4. ✅ Activate continuation enforcement (tasks complete before stopping)
|
|
334
|
-
5. ✅ Set up skill composition (orchestrate + ultrawork + git-master, etc.)
|
|
335
|
-
|
|
336
|
-
### When to Run Them
|
|
337
|
-
|
|
338
|
-
- **First time**: Run after installation (choose project or global)
|
|
339
|
-
- **After updates**: Re-run to get the latest configuration
|
|
340
|
-
- **Different machines**: Run on each machine where you use Claude Code
|
|
341
|
-
- **New projects**: Run `/oh-my-claudecode:omc-setup --local` in each project that needs omc
|
|
342
|
-
|
|
343
|
-
### Configuration Precedence
|
|
344
|
-
|
|
345
|
-
If both configurations exist, **project-scoped takes precedence** over global:
|
|
346
|
-
|
|
347
|
-
```
|
|
348
|
-
./.claude/CLAUDE.md (project) → Overrides → ~/.claude/CLAUDE.md (global)
|
|
349
|
-
```
|
|
350
|
-
|
|
351
|
-
> **NOTE**: After updating the plugin (via `npm update`, `git pull`, or Claude Code's plugin update), you MUST re-run `/oh-my-claudecode:omc-setup` to apply the latest CLAUDE.md changes. The plugin update does NOT automatically update your CLAUDE.md files.
|
|
352
|
-
|
|
353
|
-
---
|
|
354
|
-
|
|
355
|
-
## What Gets Installed
|
|
356
|
-
|
|
357
|
-
### Plugin Structure (Claude Code Plugin Format)
|
|
358
|
-
|
|
359
|
-
The repository is also a Claude Code plugin with this structure:
|
|
360
|
-
|
|
361
|
-
```
|
|
362
|
-
oh-my-claudecode/
|
|
363
|
-
├── .claude-plugin/
|
|
364
|
-
│ └── plugin.json # Plugin manifest
|
|
365
|
-
├── agents/ # 32 specialized agents (tiered: architect, executor, explore, etc.)
|
|
366
|
-
├── commands/ # 30 slash commands
|
|
367
|
-
├── skills/ # 35 skills (orchestrate, ultrawork, ultrapilot, swarm, pipeline, ecomode, ralph, plan, research, tdd, build-fix, code-review, security-review, and more)
|
|
368
|
-
├── hooks/
|
|
369
|
-
│ └── hooks.json # Hook configuration
|
|
370
|
-
└── scripts/ # Hook scripts
|
|
371
|
-
```
|
|
372
|
-
|
|
373
|
-
### Traditional Installation Structure
|
|
374
|
-
|
|
375
|
-
The installer adds to your Claude Code config (`~/.claude/`):
|
|
376
|
-
|
|
377
|
-
```
|
|
378
|
-
~/.claude/
|
|
379
|
-
├── agents/
|
|
380
|
-
│ ├── architect.md # Architecture & debugging expert (Opus)
|
|
381
|
-
│ ├── researcher.md # Documentation & research (Sonnet)
|
|
382
|
-
│ ├── explore.md # Fast pattern matching (Haiku)
|
|
383
|
-
│ ├── designer.md # UI/UX specialist (Sonnet)
|
|
384
|
-
│ ├── writer.md # Technical writing (Haiku)
|
|
385
|
-
│ ├── vision.md # Visual analysis (Sonnet)
|
|
386
|
-
│ ├── critic.md # Plan reviewer (Opus)
|
|
387
|
-
│ ├── analyst.md # Pre-planning consultant (Opus)
|
|
388
|
-
│ ├── executor.md # Focused executor (Sonnet)
|
|
389
|
-
│ └── qa-tester.md # CLI/service testing (Sonnet)
|
|
390
|
-
├── commands/
|
|
391
|
-
│ ├── analyze.md # /oh-my-claudecode:analyze command
|
|
392
|
-
│ ├── autopilot.md # /oh-my-claudecode:autopilot command
|
|
393
|
-
│ ├── build-fix.md # /oh-my-claudecode:build-fix command
|
|
394
|
-
│ ├── cancel.md # /oh-my-claudecode:cancel command
|
|
395
|
-
│ ├── code-review.md # /oh-my-claudecode:code-review command
|
|
396
|
-
│ ├── deepinit.md # /oh-my-claudecode:deepinit command
|
|
397
|
-
│ ├── deepsearch.md # /oh-my-claudecode:deepsearch command
|
|
398
|
-
│ ├── doctor.md # /oh-my-claudecode:doctor command
|
|
399
|
-
│ ├── ecomode.md # /oh-my-claudecode:ecomode command
|
|
400
|
-
│ ├── help.md # /oh-my-claudecode:help command
|
|
401
|
-
│ ├── hud.md # /oh-my-claudecode:hud command
|
|
402
|
-
│ ├── learner.md # /oh-my-claudecode:learner command
|
|
403
|
-
│ ├── mcp-setup.md # /oh-my-claudecode:mcp-setup command
|
|
404
|
-
│ ├── note.md # /oh-my-claudecode:note command
|
|
405
|
-
│ ├── omc-setup.md # /oh-my-claudecode:omc-setup command
|
|
406
|
-
│ ├── pipeline.md # /oh-my-claudecode:pipeline command
|
|
407
|
-
│ ├── plan.md # /oh-my-claudecode:plan command
|
|
408
|
-
│ ├── ralph-init.md # /oh-my-claudecode:ralph-init command
|
|
409
|
-
│ ├── ralph.md # /oh-my-claudecode:ralph command
|
|
410
|
-
│ ├── ralplan.md # /oh-my-claudecode:ralplan command
|
|
411
|
-
│ ├── release.md # /oh-my-claudecode:release command
|
|
412
|
-
│ ├── research.md # /oh-my-claudecode:research command
|
|
413
|
-
│ ├── review.md # /oh-my-claudecode:review command
|
|
414
|
-
│ ├── security-review.md # /oh-my-claudecode:security-review command
|
|
415
|
-
│ ├── swarm.md # /oh-my-claudecode:swarm command
|
|
416
|
-
│ ├── tdd.md # /oh-my-claudecode:tdd command
|
|
417
|
-
│ ├── ultrapilot.md # /oh-my-claudecode:ultrapilot command
|
|
418
|
-
│ ├── ultraqa.md # /oh-my-claudecode:ultraqa command
|
|
419
|
-
│ └── ultrawork.md # /oh-my-claudecode:ultrawork command
|
|
420
|
-
├── skills/
|
|
421
|
-
│ ├── ultrawork/SKILL.md # Maximum performance mode
|
|
422
|
-
│ ├── deepinit/SKILL.md # Hierarchical AGENTS.md generation
|
|
423
|
-
│ ├── git-master/SKILL.md # Git expert skill
|
|
424
|
-
│ └── frontend-ui-ux/SKILL.md # UI/UX design skill
|
|
425
|
-
└── CLAUDE.md # omc system prompt
|
|
426
|
-
```
|
|
427
|
-
|
|
428
|
-
---
|
|
429
|
-
|
|
430
|
-
## Usage
|
|
431
|
-
|
|
432
|
-
### Start Claude Code
|
|
433
|
-
|
|
434
|
-
```bash
|
|
435
|
-
claude
|
|
436
|
-
```
|
|
437
|
-
|
|
438
|
-
### Slash Commands
|
|
439
|
-
|
|
440
|
-
| Command | Description |
|
|
441
|
-
|---------|-------------|
|
|
442
|
-
| `/oh-my-claudecode:orchestrate <task>` | Activate multi-agent orchestration mode |
|
|
443
|
-
| `/oh-my-claudecode:ultrawork <task>` | Maximum performance mode with parallel agents |
|
|
444
|
-
| `/oh-my-claudecode:ralph-init <task>` | Initialize PRD (Product Requirements Document) for structured task tracking |
|
|
445
|
-
| `/oh-my-claudecode:ralph <task>` | Self-referential loop until task completion |
|
|
446
|
-
| `/oh-my-claudecode:ultraqa <goal>` | Autonomous QA cycling workflow (test → verify → fix → repeat) |
|
|
447
|
-
| `/oh-my-claudecode:note <content>` | Save notes to notepad.md for compaction resilience |
|
|
448
|
-
| `/oh-my-claudecode:deepsearch <query>` | Thorough multi-strategy codebase search |
|
|
449
|
-
| `/oh-my-claudecode:deepinit [path]` | Index codebase with hierarchical AGENTS.md files |
|
|
450
|
-
| `/oh-my-claudecode:analyze <target>` | Deep analysis and investigation |
|
|
451
|
-
| `/oh-my-claudecode:plan <description>` | Start planning session |
|
|
452
|
-
| `/oh-my-claudecode:review [plan-path]` | Review a plan with critic |
|
|
453
|
-
| `/oh-my-claudecode:doctor` | Diagnose and fix installation issues |
|
|
454
|
-
|
|
455
|
-
### Examples
|
|
456
|
-
|
|
457
|
-
```bash
|
|
458
|
-
# In Claude Code:
|
|
459
|
-
|
|
460
|
-
# Activate orchestration for a task
|
|
461
|
-
/oh-my-claudecode:orchestrate refactor the authentication module
|
|
462
|
-
|
|
463
|
-
# Use ultrawork for maximum performance
|
|
464
|
-
/oh-my-claudecode:ultrawork implement user dashboard with charts
|
|
465
|
-
|
|
466
|
-
# Initialize structured task with PRD
|
|
467
|
-
/oh-my-claudecode:ralph-init implement user authentication with OAuth
|
|
468
|
-
|
|
469
|
-
# Maximum intensity with completion guarantee
|
|
470
|
-
/oh-my-claudecode:ultrawork-ralph migrate database schema to PostgreSQL
|
|
471
|
-
|
|
472
|
-
# Autonomous QA cycling
|
|
473
|
-
/oh-my-claudecode:ultraqa all tests must pass with 90%+ coverage
|
|
474
|
-
|
|
475
|
-
# Save important discoveries
|
|
476
|
-
/oh-my-claudecode:note Project uses Bun runtime instead of Node.js
|
|
477
|
-
|
|
478
|
-
# Deep search
|
|
479
|
-
/oh-my-claudecode:deepsearch API endpoints that handle user data
|
|
480
|
-
|
|
481
|
-
# Deep analysis
|
|
482
|
-
/oh-my-claudecode:analyze performance bottleneck in the database layer
|
|
483
|
-
```
|
|
484
|
-
|
|
485
|
-
### Magic Keywords
|
|
486
|
-
|
|
487
|
-
Just include these words anywhere in your prompt:
|
|
488
|
-
|
|
489
|
-
| Keyword | Effect |
|
|
490
|
-
|---------|--------|
|
|
491
|
-
| `ultrawork`, `ulw`, `uw` | Activates parallel agent orchestration |
|
|
492
|
-
| `search`, `find`, `locate` | Enhanced search mode |
|
|
493
|
-
| `analyze`, `investigate` | Deep analysis mode |
|
|
494
|
-
|
|
495
|
-
```bash
|
|
496
|
-
# These work in normal prompts too:
|
|
497
|
-
> ultrawork implement user authentication with OAuth
|
|
498
|
-
|
|
499
|
-
> find all files that import the utils module
|
|
500
|
-
|
|
501
|
-
> analyze why the tests are failing
|
|
502
|
-
```
|
|
503
|
-
|
|
504
|
-
---
|
|
505
|
-
|
|
506
|
-
## Auto-Update
|
|
507
|
-
|
|
508
|
-
Oh-my-claudecode includes a silent auto-update system that checks for updates in the background. Updates are applied automatically without interrupting your workflow.
|
|
509
|
-
|
|
510
|
-
Features:
|
|
511
|
-
- **Rate-limited**: Checks at most once every 24 hours
|
|
512
|
-
- **Concurrent-safe**: Lock file prevents simultaneous update attempts
|
|
513
|
-
- **Cross-platform**: Works on both macOS and Linux
|
|
514
|
-
|
|
515
|
-
To manually update, re-run the plugin install command or use Claude Code's built-in update mechanism.
|
|
516
|
-
|
|
517
|
-
---
|
|
518
|
-
|
|
519
|
-
## Hooks System
|
|
520
|
-
|
|
521
|
-
Oh-my-claudecode includes 19 lifecycle hooks that enhance Claude Code's behavior:
|
|
522
|
-
|
|
523
|
-
### Core Hooks
|
|
524
|
-
|
|
525
|
-
| Hook | Description |
|
|
526
|
-
|------|-------------|
|
|
527
|
-
| **rules-injector** | Dynamic rules injection with YAML frontmatter parsing |
|
|
528
|
-
| **omc-orchestrator** | Enforces orchestrator behavior and delegation |
|
|
529
|
-
| **auto-slash-command** | Automatic slash command detection and execution |
|
|
530
|
-
| **keyword-detector** | Magic keyword detection (ultrawork, search, analyze) |
|
|
531
|
-
| **ralph-loop** | Self-referential development loop management |
|
|
532
|
-
| **todo-continuation** | Ensures todo list completion |
|
|
533
|
-
| **notepad** | Compaction-resilient memory system with three-tier storage |
|
|
534
|
-
|
|
535
|
-
### Context & Recovery
|
|
536
|
-
|
|
537
|
-
| Hook | Description |
|
|
538
|
-
|------|-------------|
|
|
539
|
-
| **context-window-limit-recovery** | Token limit error handling and recovery |
|
|
540
|
-
| **preemptive-compaction** | Context usage monitoring to prevent limits |
|
|
541
|
-
| **session-recovery** | Session state recovery on crashes |
|
|
542
|
-
| **directory-readme-injector** | README context injection |
|
|
543
|
-
|
|
544
|
-
### Quality & Validation
|
|
545
|
-
|
|
546
|
-
| Hook | Description |
|
|
547
|
-
|------|-------------|
|
|
548
|
-
| **comment-checker** | BDD detection and directive filtering |
|
|
549
|
-
| **thinking-block-validator** | Extended thinking validation |
|
|
550
|
-
| **empty-message-sanitizer** | Empty message handling |
|
|
551
|
-
| **edit-error-recovery** | Automatic recovery from edit errors |
|
|
552
|
-
| **post-tool-use** | Remember tag auto-capture to notepad system |
|
|
553
|
-
|
|
554
|
-
### Environment & Notifications
|
|
555
|
-
|
|
556
|
-
| Hook | Description |
|
|
557
|
-
|------|-------------|
|
|
558
|
-
| **non-interactive-env** | CI/non-interactive environment handling |
|
|
559
|
-
| **agent-usage-reminder** | Reminder to use specialized agents |
|
|
560
|
-
| **background-notification** | Background task completion notifications |
|
|
561
|
-
|
|
562
|
-
---
|
|
563
|
-
|
|
564
|
-
## Builtin Skills
|
|
565
|
-
|
|
566
|
-
35 builtin skills provide specialized capabilities:
|
|
567
|
-
|
|
568
|
-
### Core Skills
|
|
569
|
-
| Skill | Description |
|
|
570
|
-
|-------|-------------|
|
|
571
|
-
| **orchestrate** | Multi-agent orchestration mode |
|
|
572
|
-
| **autopilot** | Full autonomous execution from idea to working code |
|
|
573
|
-
| **ultrawork** | Maximum performance with parallel agents |
|
|
574
|
-
| **ultrapilot** | Parallel autopilot with 3-5x speedup (v3.4.0) |
|
|
575
|
-
| **swarm** | N coordinated agents with task claiming (v3.4.0) |
|
|
576
|
-
| **pipeline** | Sequential agent chaining (v3.4.0) |
|
|
577
|
-
| **ecomode** | Token-efficient parallel execution (v3.4.0) |
|
|
578
|
-
| **ralph** | Self-referential development until completion |
|
|
579
|
-
| **ralph-init** | Initialize PRD for structured task tracking |
|
|
580
|
-
| **ultraqa** | Autonomous QA cycling workflow |
|
|
581
|
-
| **plan** | Start planning session |
|
|
582
|
-
| **ralplan** | Iterative planning (Planner+Architect+Critic) |
|
|
583
|
-
| **review** | Review work plans with critic |
|
|
584
|
-
|
|
585
|
-
### Enhancement Skills
|
|
586
|
-
| Skill | Description |
|
|
587
|
-
|-------|-------------|
|
|
588
|
-
| **deepinit** | Hierarchical AGENTS.md codebase documentation |
|
|
589
|
-
| **deepsearch** | Thorough multi-strategy codebase search |
|
|
590
|
-
| **analyze** | Deep analysis and investigation |
|
|
591
|
-
| **research** | Parallel scientist orchestration (v3.4.0) |
|
|
592
|
-
| **frontend-ui-ux** | Designer-turned-developer UI/UX expertise |
|
|
593
|
-
| **git-master** | Git expert for atomic commits and history |
|
|
594
|
-
| **tdd** | TDD enforcement: test-first development (v3.4.0) |
|
|
595
|
-
| **learner** | Extract reusable skill from session |
|
|
596
|
-
|
|
597
|
-
### Utility Skills
|
|
598
|
-
| Skill | Description |
|
|
599
|
-
|-------|-------------|
|
|
600
|
-
| **note** | Save notes to compaction-resilient notepad |
|
|
601
|
-
| **cancel** | Unified cancellation for all modes (v3.4.0) |
|
|
602
|
-
| **omc-setup** | One-time setup wizard |
|
|
603
|
-
| **doctor** | Diagnose and fix installation issues |
|
|
604
|
-
| **help** | Show OMC usage guide |
|
|
605
|
-
| **hud** | Configure HUD statusline |
|
|
606
|
-
| **release** | Automated release workflow |
|
|
607
|
-
| **mcp-setup** | Configure MCP servers (v3.4.0) |
|
|
608
|
-
|
|
609
|
-
Skills are automatically activated via slash commands or magic keywords.
|
|
610
|
-
|
|
611
|
-
---
|
|
612
|
-
|
|
613
|
-
## Intelligent Skill Activation
|
|
614
|
-
|
|
615
|
-
> **New in v1.11.0**: Enhanced Hook Enforcement System - PreToolUse/PostToolUse hooks and strengthened Stop hook for stronger orchestration behavior beyond CLAUDE.md.
|
|
616
|
-
|
|
617
|
-
### Skill Layers
|
|
618
|
-
|
|
619
|
-
Skills work in **three composable layers**:
|
|
620
|
-
|
|
621
|
-
| Layer | Skills | Purpose |
|
|
622
|
-
|-------|--------|---------|
|
|
623
|
-
| **Execution** | orchestrate, orchestrator, plan | HOW you work (pick primary) |
|
|
624
|
-
| **Enhancement** | ultrawork, git-master, frontend-ui-ux | ADD capabilities (stack multiple) |
|
|
625
|
-
| **Guarantee** | ralph-loop | ENSURE completion |
|
|
626
|
-
|
|
627
|
-
**Combination Formula:** `[Execution] + [0-N Enhancements] + [Optional Guarantee]`
|
|
628
|
-
|
|
629
|
-
### Task Type → Skill Selection
|
|
630
|
-
|
|
631
|
-
Claude uses judgment to detect task type and activate appropriate skill combinations:
|
|
632
|
-
|
|
633
|
-
| Task Type | Skill Combination | When |
|
|
634
|
-
|-----------|-------------------|------|
|
|
635
|
-
| Multi-step implementation | `orchestrate` | Building features, refactoring |
|
|
636
|
-
| + parallel subtasks | `orchestrate + ultrawork` | 3+ independent subtasks |
|
|
637
|
-
| + multi-file changes | `orchestrate + git-master` | Changes span 3+ files |
|
|
638
|
-
| + must complete | `orchestrate + ralph-loop` | User emphasizes completion |
|
|
639
|
-
| UI/frontend work | `orchestrate + frontend-ui-ux` | Components, styling |
|
|
640
|
-
| Complex debugging | `architect` → `orchestrate` | Root cause → fix |
|
|
641
|
-
| Strategic planning | `plan` | Need plan first |
|
|
642
|
-
| Maximum performance | `ultrawork` (stacks) | Speed critical |
|
|
643
|
-
|
|
644
|
-
### Examples
|
|
645
|
-
|
|
646
|
-
```
|
|
647
|
-
"Add dark mode with proper commits"
|
|
648
|
-
→ orchestrate + frontend-ui-ux + git-master
|
|
649
|
-
|
|
650
|
-
"ultrawork: refactor the entire API layer"
|
|
651
|
-
→ ultrawork + orchestrate + git-master
|
|
652
|
-
|
|
653
|
-
"Plan auth system, then implement it completely"
|
|
654
|
-
→ plan (first) → orchestrate + ralph-loop (after plan)
|
|
655
|
-
|
|
656
|
-
"Fix this bug, don't stop until it's done"
|
|
657
|
-
→ orchestrate + ralph-loop
|
|
658
|
-
```
|
|
659
|
-
|
|
660
|
-
---
|
|
661
|
-
|
|
662
|
-
## The 32 Specialized Agents
|
|
663
|
-
|
|
664
|
-
Claude will automatically delegate to these specialized agents:
|
|
665
|
-
|
|
666
|
-
### Task Execution
|
|
667
|
-
|
|
668
|
-
| | Agent | Model | Best For |
|
|
669
|
-
|---|-------|-------|----------|
|
|
670
|
-
| **architect** | Opus | Complex debugging, architecture decisions, root cause analysis |
|
|
671
|
-
| **researcher** | Sonnet | Finding documentation, understanding code organization |
|
|
672
|
-
| **explore** | Haiku | Quick file searches, pattern matching, reconnaissance |
|
|
673
|
-
| **designer** | Sonnet | UI components, styling, accessibility |
|
|
674
|
-
| **writer** | Haiku | README files, API docs, code comments |
|
|
675
|
-
| **vision** | Sonnet | Analyzing screenshots, diagrams, mockups |
|
|
676
|
-
| **qa-tester** | Sonnet | Interactive CLI/service testing with tmux |
|
|
677
|
-
|
|
678
|
-
### Planning & Review
|
|
679
|
-
|
|
680
|
-
| | Agent | Model | Best For |
|
|
681
|
-
|---|-------|-------|----------|
|
|
682
|
-
| **critic** | Opus | Critical plan review, feasibility assessment, risk identification |
|
|
683
|
-
| **analyst** | Opus | Pre-planning analysis, hidden requirement detection, ambiguity resolution |
|
|
684
|
-
|
|
685
|
-
### Orchestration
|
|
686
|
-
|
|
687
|
-
| | Agent | Model | Best For |
|
|
688
|
-
|---|-------|-------|----------|
|
|
689
|
-
| **orchestrator** | Opus | Master todo coordination, complex multi-step task management |
|
|
690
|
-
| **executor** | Sonnet | Focused task execution, plan following, direct implementation |
|
|
691
|
-
|
|
692
|
-
### Manual Agent Invocation
|
|
693
|
-
|
|
694
|
-
You can explicitly request an agent:
|
|
695
|
-
|
|
696
|
-
```
|
|
697
|
-
Use the architect agent to debug the memory leak in the worker process
|
|
698
|
-
|
|
699
|
-
Have the researcher find all documentation about the API
|
|
700
|
-
|
|
701
|
-
Ask explore to find all TypeScript files that import React
|
|
702
|
-
```
|
|
703
|
-
|
|
704
|
-
---
|
|
705
|
-
|
|
706
|
-
## Configuration
|
|
707
|
-
|
|
708
|
-
### Project-Level Config
|
|
709
|
-
|
|
710
|
-
Create `.claude/CLAUDE.md` in your project for project-specific instructions:
|
|
711
|
-
|
|
712
|
-
```markdown
|
|
713
|
-
# Project Context
|
|
714
|
-
|
|
715
|
-
This is a TypeScript monorepo using:
|
|
716
|
-
- Bun runtime
|
|
717
|
-
- React for frontend
|
|
718
|
-
- PostgreSQL database
|
|
719
|
-
|
|
720
|
-
## Conventions
|
|
721
|
-
- Use functional components
|
|
722
|
-
- All API routes in /src/api
|
|
723
|
-
- Tests alongside source files
|
|
724
|
-
```
|
|
725
|
-
|
|
726
|
-
### Agent Customization
|
|
727
|
-
|
|
728
|
-
Edit agent files in `~/.claude/agents/` to customize behavior:
|
|
729
|
-
|
|
730
|
-
```yaml
|
|
731
|
-
---
|
|
732
|
-
name: architect
|
|
733
|
-
description: Your custom description
|
|
734
|
-
tools: Read, Grep, Glob, Bash, Edit
|
|
735
|
-
model: opus # or sonnet, haiku
|
|
736
|
-
---
|
|
737
|
-
|
|
738
|
-
Your custom system prompt here...
|
|
739
|
-
```
|
|
740
|
-
|
|
741
|
-
---
|
|
742
|
-
|
|
743
|
-
## Uninstall
|
|
744
|
-
|
|
745
|
-
```bash
|
|
746
|
-
curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/main/scripts/uninstall.sh | bash
|
|
747
|
-
```
|
|
748
|
-
|
|
749
|
-
Or manually:
|
|
750
|
-
|
|
751
|
-
```bash
|
|
752
|
-
rm ~/.claude/agents/{architect,researcher,explore,designer,writer,vision,critic,analyst,executor,qa-tester}.md
|
|
753
|
-
rm ~/.claude/commands/{analyze,autopilot,deepsearch,plan,review,ultrawork}.md
|
|
754
|
-
```
|
|
755
|
-
|
|
756
|
-
---
|
|
757
|
-
|
|
758
|
-
## SDK Usage (Advanced)
|
|
759
|
-
|
|
760
|
-
For programmatic use with the Claude Agent SDK:
|
|
761
|
-
|
|
762
|
-
```bash
|
|
763
|
-
npm install oh-my-claudecode @anthropic-ai/claude-agent-sdk
|
|
764
|
-
```
|
|
765
|
-
|
|
766
|
-
```typescript
|
|
767
|
-
import { createOmcSession } from 'oh-my-claudecode';
|
|
768
|
-
import { query } from '@anthropic-ai/claude-agent-sdk';
|
|
769
|
-
|
|
770
|
-
const session = createOmcSession();
|
|
771
|
-
|
|
772
|
-
for await (const message of query({
|
|
773
|
-
prompt: session.processPrompt("ultrawork implement feature X"),
|
|
774
|
-
...session.queryOptions
|
|
775
|
-
})) {
|
|
776
|
-
console.log(message);
|
|
777
|
-
}
|
|
778
|
-
```
|
|
779
|
-
|
|
780
|
-
---
|
|
781
|
-
|
|
782
|
-
## How It Works
|
|
783
|
-
|
|
784
|
-
```
|
|
785
|
-
┌─────────────────────────────────────────────────────────────────┐
|
|
786
|
-
│ ORCHESTRATOR │
|
|
787
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
788
|
-
│
|
|
789
|
-
┌───────────────────┼───────────────────┐
|
|
790
|
-
│ │ │
|
|
791
|
-
▼ ▼ ▼
|
|
792
|
-
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
793
|
-
│ PLANNING │ │ EXECUTION │ │ SUPPORT │
|
|
794
|
-
├─────────────────┤ ├─────────────────┤ ├─────────────────┤
|
|
795
|
-
│ critic │ │ architect │ │ researcher │
|
|
796
|
-
│ analyst │ │ designer │ │ explore │
|
|
797
|
-
│ │ │ orchestrator │ │ writer │
|
|
798
|
-
│ │ │ executor │ │ vision │
|
|
799
|
-
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
800
|
-
```
|
|
801
|
-
|
|
802
|
-
1. **Orchestrator**: The main Claude instance coordinates all work
|
|
803
|
-
2. **Specialized Subagents**: Each agent has focused expertise and tools
|
|
804
|
-
3. **Parallel Execution**: Independent tasks run concurrently
|
|
805
|
-
4. **Continuation Enforcement**: Agents persist until ALL tasks complete
|
|
806
|
-
5. **Context Injection**: Project-specific instructions from CLAUDE.md files
|
|
807
|
-
|
|
808
|
-
---
|
|
809
|
-
|
|
810
|
-
<details>
|
|
811
|
-
<summary><h2>Differences from oh-my-opencode</h2></summary>
|
|
812
|
-
|
|
813
|
-
This project is inspired by [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode), reimagined for Claude Code with skill composition, intelligent model routing, and native integration. Here's what's different:
|
|
814
|
-
|
|
815
|
-
### Model Mapping
|
|
816
|
-
|
|
817
|
-
The original oh-my-opencode used multiple AI providers. This project uses Claude models exclusively:
|
|
818
|
-
|
|
819
|
-
| Agent | Original Model | Ported Model | Notes |
|
|
820
|
-
|-------|---------------|--------------|-------|
|
|
821
|
-
| **orchestrator** | Claude Opus 4.5 | Claude Opus 4.5 | Same |
|
|
822
|
-
| **architect** | GPT-5.2 | Claude Opus | Was OpenAI's flagship for deep reasoning |
|
|
823
|
-
| **researcher** | Claude Sonnet or Gemini 3 Flash | Claude Sonnet | Multi-provider → Claude only |
|
|
824
|
-
| **explore** | Grok Code or Gemini 3 Flash | Claude Haiku 4.5 | Fast/cheap model for quick searches |
|
|
825
|
-
| **designer** | Gemini 3 Pro | Claude Sonnet | Was Google's model |
|
|
826
|
-
| **writer** | Gemini 3 Flash | Claude Haiku 4.5 | Fast model for docs |
|
|
827
|
-
| **vision** | Various | Claude Sonnet | Visual analysis |
|
|
828
|
-
| **critic** | GPT-5.2 | Claude Opus | Plan reviewer |
|
|
829
|
-
| **analyst** | Claude Opus 4.5 | Claude Opus | Pre-planning consultant |
|
|
830
|
-
| **executor** | Configurable | Claude Sonnet | Focused task executor |
|
|
831
|
-
|
|
832
|
-
**Why Claude-only?** The Claude Agent SDK is designed for Claude models. Using Claude throughout provides:
|
|
833
|
-
- Consistent behavior and capabilities
|
|
834
|
-
- Simpler authentication (single API key)
|
|
835
|
-
- Native integration with Claude Code's tools
|
|
836
|
-
|
|
837
|
-
### Tools Comparison
|
|
838
|
-
|
|
839
|
-
#### Available Tools (via Claude Code)
|
|
840
|
-
|
|
841
|
-
| Tool | Status | Description |
|
|
842
|
-
|------|--------|-------------|
|
|
843
|
-
| **Read** | ✅ Available | Read files |
|
|
844
|
-
| **Write** | ✅ Available | Create files |
|
|
845
|
-
| **Edit** | ✅ Available | Modify files |
|
|
846
|
-
| **Bash** | ✅ Available | Run shell commands |
|
|
847
|
-
| **Glob** | ✅ Available | Find files by pattern |
|
|
848
|
-
| **Grep** | ✅ Available | Search file contents |
|
|
849
|
-
| **WebSearch** | ✅ Available | Search the web |
|
|
850
|
-
| **WebFetch** | ✅ Available | Fetch web pages |
|
|
851
|
-
| **Task** | ✅ Available | Spawn subagents |
|
|
852
|
-
| **TodoWrite** | ✅ Available | Track tasks |
|
|
853
|
-
|
|
854
|
-
#### LSP Tools (Real Implementation)
|
|
855
|
-
|
|
856
|
-
| Tool | Status | Description |
|
|
857
|
-
|------|--------|-------------|
|
|
858
|
-
| **lsp_hover** | ✅ Implemented | Get type info and documentation at position |
|
|
859
|
-
| **lsp_goto_definition** | ✅ Implemented | Jump to symbol definition |
|
|
860
|
-
| **lsp_find_references** | ✅ Implemented | Find all usages of a symbol |
|
|
861
|
-
| **lsp_document_symbols** | ✅ Implemented | Get file outline (functions, classes, etc.) |
|
|
862
|
-
| **lsp_workspace_symbols** | ✅ Implemented | Search symbols across workspace |
|
|
863
|
-
| **lsp_diagnostics** | ✅ Implemented | Get errors, warnings, hints |
|
|
864
|
-
| **lsp_prepare_rename** | ✅ Implemented | Check if rename is valid |
|
|
865
|
-
| **lsp_rename** | ✅ Implemented | Rename symbol across project |
|
|
866
|
-
| **lsp_code_actions** | ✅ Implemented | Get available refactorings |
|
|
867
|
-
| **lsp_code_action_resolve** | ✅ Implemented | Get details of a code action |
|
|
868
|
-
| **lsp_servers** | ✅ Implemented | List available language servers |
|
|
869
|
-
| **lsp_diagnostics_directory** | ✅ Implemented | Project-level type checking (tsc fast path, LSP fallback) |
|
|
870
|
-
|
|
871
|
-
> **Note:** LSP tools require language servers to be installed (typescript-language-server, pylsp, rust-analyzer, gopls, etc.). Use `lsp_servers` to check installation status.
|
|
872
|
-
|
|
873
|
-
#### AST Tools (ast-grep Integration)
|
|
874
|
-
|
|
875
|
-
| Tool | Status | Description |
|
|
876
|
-
|------|--------|-------------|
|
|
877
|
-
| **ast_grep_search** | ✅ Implemented | Pattern-based code search using AST matching |
|
|
878
|
-
| **ast_grep_replace** | ✅ Implemented | Pattern-based code transformation |
|
|
879
|
-
|
|
880
|
-
> **Note:** AST tools use [@ast-grep/napi](https://ast-grep.github.io/) for structural code matching. Supports meta-variables like `$VAR` (single node) and `$$$` (multiple nodes).
|
|
881
|
-
|
|
882
|
-
### Features Comparison
|
|
883
|
-
|
|
884
|
-
#### Fully Implemented ✅
|
|
885
|
-
|
|
886
|
-
| Feature | Description |
|
|
887
|
-
|---------|-------------|
|
|
888
|
-
| **32 Specialized Agents** | architect, researcher, explore, designer, writer, vision, qa-tester, critic, analyst, executor (+ tiered variants: -low, -medium, -high) + security-reviewer, build-fixer, tdd-guide, code-reviewer, scientist (all with tier variants) |
|
|
889
|
-
| **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 |
|
|
890
|
-
| **35 Builtin Skills** | orchestrate, autopilot, ultrawork, ultrapilot, swarm, pipeline, ecomode, ralph, ralph-init, ultraqa, plan, ralplan, review, deepinit, deepsearch, analyze, research, frontend-ui-ux, git-master, tdd, learner, note, cancel, omc-setup, doctor, help, hud, release, mcp-setup |
|
|
891
|
-
| **Magic Keywords** | `ultrawork`, `search`, `analyze`, `ultrathink` trigger enhanced modes |
|
|
892
|
-
| **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`) |
|
|
893
|
-
| **Compaction-Resilient Memory** | Three-tier notepad system (Priority Context, Working Memory, MANUAL) |
|
|
894
|
-
| **Remember Tag Auto-Capture** | Agents can persist discoveries with `<remember>` tags |
|
|
895
|
-
| **PRD Support** | Structured task tracking with user stories and acceptance criteria |
|
|
896
|
-
| **Progress Tracking** | Append-only progress log with learnings and patterns |
|
|
897
|
-
| **Auto-Update System** | Updates via Claude Code's plugin system |
|
|
898
|
-
| **Configuration System** | JSONC config with multi-source merging |
|
|
899
|
-
| **Context Injection** | Auto-loads CLAUDE.md and AGENTS.md files |
|
|
900
|
-
| **Continuation Enforcement** | System prompt and hooks enforce task completion |
|
|
901
|
-
| **Session Recovery** | Automatic state recovery on crashes |
|
|
902
|
-
| **Background Task Manager** | Async agent execution with concurrency limits |
|
|
903
|
-
| **Context Window Recovery** | Multi-stage recovery when hitting token limits |
|
|
904
|
-
| **MCP Server Configs** | Exa, Context7, grep.app server definitions |
|
|
905
|
-
| **LSP Tools** | Real LSP server integration with 11 tools |
|
|
906
|
-
| **AST Tools** | ast-grep integration for structural code search/replace |
|
|
907
|
-
| **Comprehensive Test Suite** | 358 tests covering all major features |
|
|
908
|
-
|
|
909
|
-
#### Not Implemented ❌
|
|
910
|
-
|
|
911
|
-
| Feature | Original Capability | Why Not Ported |
|
|
912
|
-
|---------|---------------------|----------------|
|
|
913
|
-
| **Multi-Model Routing** | Route to GPT/Gemini/Grok based on task | Claude-only by design |
|
|
914
|
-
| **Per-Model Concurrency** | Fine-grained concurrency per provider | Single provider simplifies this |
|
|
915
|
-
| **Interactive Bash + Tmux** | Advanced terminal with Tmux integration | Standard Bash tool sufficient |
|
|
916
|
-
|
|
917
|
-
### Architecture Differences
|
|
918
|
-
|
|
919
|
-
```
|
|
920
|
-
oh-my-opencode (Original) oh-my-claudecode (Port)
|
|
921
|
-
───────────────────────── ────────────────────────
|
|
922
|
-
┌─────────────────────┐ ┌─────────────────────┐
|
|
923
|
-
│ OpenCode Plugin │ │ Claude Code │
|
|
924
|
-
│ (Bun runtime) │ │ (Native CLI) │
|
|
925
|
-
└─────────┬───────────┘ └─────────┬───────────┘
|
|
926
|
-
│ │
|
|
927
|
-
┌─────────▼───────────┐ ┌─────────▼───────────┐
|
|
928
|
-
│ Multi-Provider │ │ Claude Agent SDK │
|
|
929
|
-
│ Orchestration │ │ (Claude only) │
|
|
930
|
-
│ ┌───┐ ┌───┐ ┌───┐ │ └─────────┬───────────┘
|
|
931
|
-
│ │GPT│ │Gem│ │Grok│ │ │
|
|
932
|
-
│ └───┘ └───┘ └───┘ │ ┌─────────▼───────────┐
|
|
933
|
-
└─────────┬───────────┘ │ ~/.claude/agents/ │
|
|
934
|
-
│ │ (Markdown configs) │
|
|
935
|
-
┌─────────▼───────────┐ └─────────────────────┘
|
|
936
|
-
│ Custom Tool Layer │
|
|
937
|
-
│ (LSP, AST, etc.) │
|
|
938
|
-
└─────────────────────┘
|
|
939
|
-
```
|
|
940
|
-
|
|
941
|
-
**Key Architectural Changes:**
|
|
942
|
-
|
|
943
|
-
1. **Plugin → Native Integration**: Original was an OpenCode plugin; this uses Claude Code's native agent/command system
|
|
944
|
-
2. **Multi-Provider → Single Provider**: Simplified to Claude-only for consistency
|
|
945
|
-
3. **Custom Runtime → Claude Code Runtime**: Leverages Claude Code's built-in capabilities
|
|
946
|
-
4. **Programmatic Config → Markdown Files**: Agents defined as `.md` files in `~/.claude/agents/`
|
|
947
|
-
|
|
948
|
-
### What You Gain
|
|
949
|
-
|
|
950
|
-
- **Simpler Setup**: One curl command vs. multi-step plugin installation
|
|
951
|
-
- **Native Integration**: Works directly with Claude Code, no plugin layer
|
|
952
|
-
- **Consistent Behavior**: All agents use Claude, no cross-model quirks
|
|
953
|
-
- **Easier Customization**: Edit markdown files to customize agents
|
|
954
|
-
|
|
955
|
-
### What You Lose
|
|
956
|
-
|
|
957
|
-
- **Model Diversity**: Can't use GPT-5.2 for architect's deep reasoning
|
|
958
|
-
- **Advanced Hooks**: Fewer lifecycle interception points (22 hooks → system prompt enforcement)
|
|
959
|
-
|
|
960
|
-
### Migration Tips
|
|
961
|
-
|
|
962
|
-
If you're coming from oh-my-opencode:
|
|
963
|
-
|
|
964
|
-
1. **Architect Tasks**: Claude Opus handles architecture/debugging well, but differently than GPT-5.2
|
|
965
|
-
2. **LSP Workflows**: All LSP tools are available! Use `lsp_servers` to check which servers are installed
|
|
966
|
-
3. **AST Searches**: Use `ast_grep_search` with pattern syntax (e.g., `function $NAME($$$)`)
|
|
967
|
-
4. **Background Tasks**: Claude Code's `Task` tool with `run_in_background` works similarly
|
|
968
|
-
5. **Planning**: Use `/oh-my-claudecode:plan` command to start a planning session
|
|
969
|
-
|
|
970
|
-
</details>
|
|
971
|
-
|
|
972
|
-
---
|
|
973
|
-
|
|
974
|
-
## Requirements
|
|
975
|
-
|
|
976
|
-
- [Claude Code](https://docs.anthropic.com/claude-code) installed
|
|
977
|
-
- One of:
|
|
978
|
-
- **Claude Max/Pro subscription** (recommended for individuals)
|
|
979
|
-
- **Anthropic API key** (`ANTHROPIC_API_KEY` environment variable)
|
|
980
|
-
- **Windows**: Node.js 20+ (for npm installation)
|
|
981
|
-
- **macOS/Linux**: Bash shell (default) or Node.js 20+ (optional)
|
|
982
|
-
|
|
983
|
-
### Platform Support
|
|
984
|
-
|
|
985
|
-
| Platform | Install Method | Hook Type |
|
|
986
|
-
|----------|---------------|-----------|
|
|
987
|
-
| **Windows** | `npm install -g` | Node.js (.mjs) |
|
|
988
|
-
| **macOS** | curl or npm | Bash (.sh) |
|
|
989
|
-
| **Linux** | curl or npm | Bash (.sh) |
|
|
990
|
-
|
|
991
|
-
> **Note**: Bash hooks are fully portable across macOS and Linux (no GNU-specific dependencies).
|
|
992
|
-
|
|
993
|
-
> **Advanced**: Set `OMC_USE_NODE_HOOKS=1` to use Node.js hooks on macOS/Linux.
|
|
994
|
-
|
|
995
|
-
## License
|
|
996
|
-
|
|
997
|
-
MIT - see [LICENSE](LICENSE)
|
|
998
|
-
|
|
999
|
-
## Credits
|
|
1000
|
-
|
|
1001
|
-
Inspired by [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) by code-yeongyu.
|