oh-my-claude-sisyphus 3.3.6 → 3.3.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/README.md +79 -19
- package/agents/planner.md +7 -7
- package/agents/scientist-high.md +3 -3
- package/commands/cancel-ralph.md +3 -3
- package/commands/cancel-ultraqa.md +5 -5
- package/commands/cancel-ultrawork.md +4 -4
- package/commands/hud.md +8 -8
- package/commands/learner.md +2 -2
- package/commands/mcp-setup.md +194 -0
- package/commands/note.md +11 -11
- package/commands/omc-setup.md +18 -2
- package/commands/ralph-init.md +1 -1
- package/commands/ralplan.md +59 -6
- package/commands/release.md +2 -2
- package/commands/research.md +7 -7
- package/commands/ultraqa.md +6 -6
- package/dist/__tests__/installer.test.js +1 -1
- package/dist/features/auto-update.d.ts.map +1 -1
- package/dist/features/auto-update.js +27 -7
- package/dist/features/auto-update.js.map +1 -1
- package/dist/hud/transcript.d.ts.map +1 -1
- package/dist/hud/transcript.js +2 -2
- package/dist/hud/transcript.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 +5 -3
- package/dist/installer/index.js.map +1 -1
- package/dist/platform/index.d.ts +16 -0
- package/dist/platform/index.d.ts.map +1 -0
- package/dist/platform/index.js +29 -0
- package/dist/platform/index.js.map +1 -0
- package/dist/platform/process-utils.d.ts +26 -0
- package/dist/platform/process-utils.d.ts.map +1 -0
- package/dist/platform/process-utils.js +157 -0
- package/dist/platform/process-utils.js.map +1 -0
- package/dist/tools/lsp/client.d.ts.map +1 -1
- package/dist/tools/lsp/client.js +10 -3
- package/dist/tools/lsp/client.js.map +1 -1
- package/dist/tools/python-repl/bridge-manager.d.ts.map +1 -1
- package/dist/tools/python-repl/bridge-manager.js +24 -78
- package/dist/tools/python-repl/bridge-manager.js.map +1 -1
- package/dist/tools/python-repl/paths.d.ts.map +1 -1
- package/dist/tools/python-repl/paths.js +5 -0
- package/dist/tools/python-repl/paths.js.map +1 -1
- package/dist/tools/python-repl/session-lock.d.ts +1 -1
- package/dist/tools/python-repl/session-lock.d.ts.map +1 -1
- package/dist/tools/python-repl/session-lock.js +26 -62
- package/dist/tools/python-repl/session-lock.js.map +1 -1
- package/docs/CLAUDE.md +27 -27
- package/docs/FULL-README.md +26 -24
- package/docs/MIGRATION-v3.md +6 -6
- package/docs/MIGRATION.md +43 -43
- package/package.json +1 -1
- package/skills/autopilot/SKILL.md +8 -8
- package/skills/cancel-autopilot/SKILL.md +3 -3
- package/skills/cancel-ralph/SKILL.md +3 -3
- package/skills/cancel-ultraqa/SKILL.md +5 -5
- package/skills/cancel-ultrawork/SKILL.md +4 -4
- package/skills/hud/SKILL.md +9 -9
- package/skills/learner/SKILL.md +3 -3
- package/skills/mcp-setup/SKILL.md +196 -0
- package/skills/note/SKILL.md +11 -11
- package/skills/omc-setup/SKILL.md +18 -2
- package/skills/ralph-init/SKILL.md +1 -1
- package/skills/ralplan/SKILL.md +59 -6
- package/skills/release/SKILL.md +2 -2
- package/skills/research/SKILL.md +17 -17
- package/skills/ultraqa/SKILL.md +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides single-writer enforcement per session with:
|
|
5
5
|
* - PID-reuse safety via process start time verification
|
|
6
|
-
* - Cross-platform support (Linux, macOS)
|
|
6
|
+
* - Cross-platform support (Linux, macOS, Windows)
|
|
7
7
|
* - Stale lock detection and safe breaking
|
|
8
8
|
* - Request queuing with timeout
|
|
9
9
|
*/
|
|
@@ -16,6 +16,7 @@ import { execFile } from 'child_process';
|
|
|
16
16
|
import { promisify } from 'util';
|
|
17
17
|
import { ensureDirSync } from '../../lib/atomic-write.js';
|
|
18
18
|
import { getSessionLockPath } from './paths.js';
|
|
19
|
+
import { getProcessStartTime } from '../../platform/index.js';
|
|
19
20
|
const execFileAsync = promisify(execFile);
|
|
20
21
|
// =============================================================================
|
|
21
22
|
// CONSTANTS
|
|
@@ -62,69 +63,12 @@ function isValidPid(pid) {
|
|
|
62
63
|
// =============================================================================
|
|
63
64
|
// PROCESS START TIME DETECTION
|
|
64
65
|
// =============================================================================
|
|
65
|
-
/**
|
|
66
|
-
* Get process start time on Linux via /proc/{pid}/stat field 22.
|
|
67
|
-
* The stat format is: pid (comm) state ppid... with field 22 being starttime.
|
|
68
|
-
* Command names can contain spaces/parens, so we parse from the last ')'.
|
|
69
|
-
*
|
|
70
|
-
* Returns clock ticks since boot (jiffies), or undefined if unavailable.
|
|
71
|
-
*/
|
|
72
|
-
async function getProcessStartTimeLinux(pid) {
|
|
73
|
-
try {
|
|
74
|
-
const stat = await fs.readFile(`/proc/${pid}/stat`, 'utf8');
|
|
75
|
-
const closeParen = stat.lastIndexOf(')');
|
|
76
|
-
if (closeParen === -1)
|
|
77
|
-
return undefined;
|
|
78
|
-
// Fields after comm: state(1) ppid(2) ... starttime(20) - 0-indexed after split
|
|
79
|
-
const fieldsAfterComm = stat.substring(closeParen + 2).split(' ');
|
|
80
|
-
// starttime is field 22 in /proc/pid/stat, which is index 19 after removing pid and comm
|
|
81
|
-
const startTimeField = fieldsAfterComm[19];
|
|
82
|
-
if (!startTimeField)
|
|
83
|
-
return undefined;
|
|
84
|
-
const startTime = parseInt(startTimeField, 10);
|
|
85
|
-
return isNaN(startTime) ? undefined : startTime;
|
|
86
|
-
}
|
|
87
|
-
catch {
|
|
88
|
-
return undefined;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Get process start time on macOS via `ps -p {pid} -o lstart=`.
|
|
93
|
-
* Returns Unix timestamp in ms, or undefined if unavailable.
|
|
94
|
-
*/
|
|
95
|
-
async function getProcessStartTimeMacOS(pid) {
|
|
96
|
-
if (!isValidPid(pid))
|
|
97
|
-
return undefined;
|
|
98
|
-
try {
|
|
99
|
-
const { stdout } = await execFileAsync('ps', ['-p', String(pid), '-o', 'lstart='], {
|
|
100
|
-
env: { ...process.env, LC_ALL: 'C' },
|
|
101
|
-
});
|
|
102
|
-
const lstart = stdout.trim();
|
|
103
|
-
if (!lstart)
|
|
104
|
-
return undefined;
|
|
105
|
-
const date = new Date(lstart);
|
|
106
|
-
if (isNaN(date.getTime()))
|
|
107
|
-
return undefined;
|
|
108
|
-
return date.getTime();
|
|
109
|
-
}
|
|
110
|
-
catch {
|
|
111
|
-
return undefined;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
66
|
/**
|
|
115
67
|
* Get the start time of the current process.
|
|
116
68
|
* Used when creating lock files to enable PID reuse detection.
|
|
117
69
|
*/
|
|
118
70
|
export async function getCurrentProcessStartTime() {
|
|
119
|
-
|
|
120
|
-
if (process.platform === 'linux') {
|
|
121
|
-
return getProcessStartTimeLinux(pid);
|
|
122
|
-
}
|
|
123
|
-
else if (process.platform === 'darwin') {
|
|
124
|
-
return getProcessStartTimeMacOS(pid);
|
|
125
|
-
}
|
|
126
|
-
// Unsupported platform - return undefined
|
|
127
|
-
return undefined;
|
|
71
|
+
return getProcessStartTime(process.pid);
|
|
128
72
|
}
|
|
129
73
|
// =============================================================================
|
|
130
74
|
// PROCESS LIVENESS DETECTION
|
|
@@ -140,7 +84,7 @@ export async function isProcessAlive(pid, recordedStartTime) {
|
|
|
140
84
|
if (!isValidPid(pid))
|
|
141
85
|
return false;
|
|
142
86
|
if (process.platform === 'linux') {
|
|
143
|
-
const currentStartTime = await
|
|
87
|
+
const currentStartTime = await getProcessStartTime(pid);
|
|
144
88
|
if (currentStartTime === undefined)
|
|
145
89
|
return false;
|
|
146
90
|
// If we have a recorded start time, verify it matches
|
|
@@ -159,7 +103,7 @@ export async function isProcessAlive(pid, recordedStartTime) {
|
|
|
159
103
|
return false;
|
|
160
104
|
// If we have a recorded start time, verify it matches
|
|
161
105
|
if (recordedStartTime !== undefined) {
|
|
162
|
-
const currentStartTime = await
|
|
106
|
+
const currentStartTime = await getProcessStartTime(pid);
|
|
163
107
|
// Fail-closed: if we can't get current start time but we have a recorded one,
|
|
164
108
|
// assume PID reuse has occurred (safer than assuming same process)
|
|
165
109
|
if (currentStartTime === undefined) {
|
|
@@ -175,6 +119,25 @@ export async function isProcessAlive(pid, recordedStartTime) {
|
|
|
175
119
|
return false;
|
|
176
120
|
}
|
|
177
121
|
}
|
|
122
|
+
else if (process.platform === 'win32') {
|
|
123
|
+
// On Windows, check if process exists and optionally verify start time
|
|
124
|
+
try {
|
|
125
|
+
process.kill(pid, 0);
|
|
126
|
+
if (recordedStartTime !== undefined) {
|
|
127
|
+
const currentStartTime = await getProcessStartTime(pid);
|
|
128
|
+
if (currentStartTime === undefined) {
|
|
129
|
+
return false;
|
|
130
|
+
}
|
|
131
|
+
if (currentStartTime !== recordedStartTime) {
|
|
132
|
+
return false;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return true;
|
|
136
|
+
}
|
|
137
|
+
catch {
|
|
138
|
+
return false;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
178
141
|
// Unknown platform: conservative assumption that process is alive
|
|
179
142
|
return true;
|
|
180
143
|
}
|
|
@@ -187,7 +150,8 @@ export async function isProcessAlive(pid, recordedStartTime) {
|
|
|
187
150
|
*/
|
|
188
151
|
async function openNoFollow(filePath, flags, mode) {
|
|
189
152
|
// Add O_NOFOLLOW if available (Linux, macOS)
|
|
190
|
-
|
|
153
|
+
// O_NOFOLLOW doesn't exist on Windows. Use 0 to disable the flag.
|
|
154
|
+
const O_NOFOLLOW = fsSync.constants.O_NOFOLLOW ?? 0;
|
|
191
155
|
const flagsWithNoFollow = flags | O_NOFOLLOW;
|
|
192
156
|
try {
|
|
193
157
|
return await fs.open(filePath, flagsWithNoFollow, mode);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-lock.js","sourceRoot":"","sources":["../../../src/tools/python-repl/session-lock.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,KAAK,MAAM,MAAM,IAAI,CAAC;AAC7B,OAA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AE9C,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO;YACL,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,KAAK;YACf,SAAS,EAAE,KAAK;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC,QAAQ,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,QAAQ,CAAC,GAAG,KAAK,OAAO,CAAC,GAAG,IAAI,QAAQ,CAAC,QAAQ,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC;IAEtF,OAAO;QACL,MAAM,EAAE,IAAI;QACZ,QAAQ;QACR,QAAQ,EAAE,cAAc;QACxB,SAAS;KACV,CAAC;AACJ,CAAC"}
|
package/docs/CLAUDE.md
CHANGED
|
@@ -160,35 +160,35 @@ User says "stop", "cancel", "abort" → You determine what to stop:
|
|
|
160
160
|
|
|
161
161
|
| Skill | Purpose | Auto-Trigger | Manual |
|
|
162
162
|
|-------|---------|--------------|--------|
|
|
163
|
-
| `autopilot` | Full autonomous execution from idea to working code | "autopilot", "build me", "I want a" | `/autopilot` |
|
|
163
|
+
| `autopilot` | Full autonomous execution from idea to working code | "autopilot", "build me", "I want a" | `/oh-my-claudecode:autopilot` |
|
|
164
164
|
| `orchestrate` | Core multi-agent orchestration | Always active | - |
|
|
165
|
-
| `ralph` | Persistence until verified complete | "don't stop", "must complete" | `/ralph` |
|
|
166
|
-
| `ultrawork` | Maximum parallel execution | "fast", "parallel", "ulw" | `/ultrawork` |
|
|
167
|
-
| `planner` | Strategic planning with interview | "plan this", broad requests | `/planner` |
|
|
168
|
-
| `plan` | Start planning session | "plan" keyword | `/plan` |
|
|
169
|
-
| `ralplan` | Iterative planning (Planner+Architect+Critic) | "ralplan" keyword | `/ralplan` |
|
|
170
|
-
| `review` | Review plan with Critic | "review plan" | `/review` |
|
|
171
|
-
| `analyze` | Deep analysis/investigation | "analyze", "debug", "why" | `/analyze` |
|
|
172
|
-
| `deepsearch` | Thorough codebase search | "search", "find", "where" | `/deepsearch` |
|
|
173
|
-
| `deepinit` | Generate AGENTS.md hierarchy | "index codebase" | `/deepinit` |
|
|
165
|
+
| `ralph` | Persistence until verified complete | "don't stop", "must complete" | `/oh-my-claudecode:ralph` |
|
|
166
|
+
| `ultrawork` | Maximum parallel execution | "fast", "parallel", "ulw" | `/oh-my-claudecode:ultrawork` |
|
|
167
|
+
| `planner` | Strategic planning with interview | "plan this", broad requests | `/oh-my-claudecode:planner` |
|
|
168
|
+
| `plan` | Start planning session | "plan" keyword | `/oh-my-claudecode:plan` |
|
|
169
|
+
| `ralplan` | Iterative planning (Planner+Architect+Critic) | "ralplan" keyword | `/oh-my-claudecode:ralplan` |
|
|
170
|
+
| `review` | Review plan with Critic | "review plan" | `/oh-my-claudecode:review` |
|
|
171
|
+
| `analyze` | Deep analysis/investigation | "analyze", "debug", "why" | `/oh-my-claudecode:analyze` |
|
|
172
|
+
| `deepsearch` | Thorough codebase search | "search", "find", "where" | `/oh-my-claudecode:deepsearch` |
|
|
173
|
+
| `deepinit` | Generate AGENTS.md hierarchy | "index codebase" | `/oh-my-claudecode:deepinit` |
|
|
174
174
|
| `frontend-ui-ux` | Design sensibility for UI | UI/component context | (silent) |
|
|
175
175
|
| `git-master` | Git expertise, atomic commits | git/commit context | (silent) |
|
|
176
|
-
| `ultraqa` | QA cycling: test/fix/repeat | "test", "QA", "verify" | `/ultraqa` |
|
|
177
|
-
| `learner` | Extract reusable skill from session | "extract skill" | `/learner` |
|
|
178
|
-
| `note` | Save to notepad for memory | "remember", "note" | `/note` |
|
|
179
|
-
| `hud` | Configure HUD statusline | - | `/hud` |
|
|
180
|
-
| `doctor` | Diagnose installation issues | - | `/doctor` |
|
|
176
|
+
| `ultraqa` | QA cycling: test/fix/repeat | "test", "QA", "verify" | `/oh-my-claudecode:ultraqa` |
|
|
177
|
+
| `learner` | Extract reusable skill from session | "extract skill" | `/oh-my-claudecode:learner` |
|
|
178
|
+
| `note` | Save to notepad for memory | "remember", "note" | `/oh-my-claudecode:note` |
|
|
179
|
+
| `hud` | Configure HUD statusline | - | `/oh-my-claudecode:hud` |
|
|
180
|
+
| `doctor` | Diagnose installation issues | - | `/oh-my-claudecode:doctor` |
|
|
181
181
|
| `help` | Show OMC usage guide | - | `/oh-my-claudecode:help` |
|
|
182
182
|
| `omc-setup` | One-time setup wizard | - | `/oh-my-claudecode:omc-setup` |
|
|
183
183
|
| `omc-default` | Configure local project | - | (internal) |
|
|
184
184
|
| `omc-default-global` | Configure global settings | - | (internal) |
|
|
185
|
-
| `ralph-init` | Initialize PRD for structured ralph | - | `/ralph-init` |
|
|
186
|
-
| `release` | Automated release workflow | - | `/release` |
|
|
187
|
-
| `cancel-autopilot` | Cancel active autopilot session | "stop autopilot", "cancel autopilot" | `/cancel-autopilot` |
|
|
188
|
-
| `cancel-ralph` | Cancel active ralph loop | "stop" in ralph | `/cancel-ralph` |
|
|
189
|
-
| `cancel-ultrawork` | Cancel ultrawork mode | "stop" in ultrawork | `/cancel-ultrawork` |
|
|
190
|
-
| `cancel-ultraqa` | Cancel ultraqa workflow | "stop" in ultraqa | `/cancel-ultraqa` |
|
|
191
|
-
| `research` | Parallel scientist orchestration | "research", "analyze data" | `/research` |
|
|
185
|
+
| `ralph-init` | Initialize PRD for structured ralph | - | `/oh-my-claudecode:ralph-init` |
|
|
186
|
+
| `release` | Automated release workflow | - | `/oh-my-claudecode:release` |
|
|
187
|
+
| `cancel-autopilot` | Cancel active autopilot session | "stop autopilot", "cancel autopilot" | `/oh-my-claudecode:cancel-autopilot` |
|
|
188
|
+
| `cancel-ralph` | Cancel active ralph loop | "stop" in ralph | `/oh-my-claudecode:cancel-ralph` |
|
|
189
|
+
| `cancel-ultrawork` | Cancel ultrawork mode | "stop" in ultrawork | `/oh-my-claudecode:cancel-ultrawork` |
|
|
190
|
+
| `cancel-ultraqa` | Cancel ultraqa workflow | "stop" in ultraqa | `/oh-my-claudecode:cancel-ultraqa` |
|
|
191
|
+
| `research` | Parallel scientist orchestration | "research", "analyze data" | `/oh-my-claudecode:research` |
|
|
192
192
|
|
|
193
193
|
### All 28 Agents
|
|
194
194
|
|
|
@@ -429,8 +429,8 @@ Say "setup omc" or run `/oh-my-claudecode:omc-setup` to configure. After that, e
|
|
|
429
429
|
|
|
430
430
|
### Troubleshooting
|
|
431
431
|
|
|
432
|
-
- `/doctor` - Diagnose and fix installation issues
|
|
433
|
-
- `/hud setup` - Install/repair HUD statusline
|
|
432
|
+
- `/oh-my-claudecode:doctor` - Diagnose and fix installation issues
|
|
433
|
+
- `/oh-my-claudecode:hud setup` - Install/repair HUD statusline
|
|
434
434
|
|
|
435
435
|
---
|
|
436
436
|
|
|
@@ -448,9 +448,9 @@ Autopilot activates automatically and handles the rest. No commands needed.
|
|
|
448
448
|
## Migration from 2.x
|
|
449
449
|
|
|
450
450
|
All old commands still work:
|
|
451
|
-
- `/ralph "task"` → Still works (or just say "don't stop until done")
|
|
452
|
-
- `/ultrawork "task"` → Still works (or just say "fast" or use `ulw`)
|
|
453
|
-
- `/planner "task"` → Still works (or just say "plan this")
|
|
451
|
+
- `/oh-my-claudecode:ralph "task"` → Still works (or just say "don't stop until done")
|
|
452
|
+
- `/oh-my-claudecode:ultrawork "task"` → Still works (or just say "fast" or use `ulw`)
|
|
453
|
+
- `/oh-my-claudecode:planner "task"` → Still works (or just say "plan this")
|
|
454
454
|
|
|
455
455
|
The difference? You don't NEED them anymore. Everything auto-activates.
|
|
456
456
|
|
package/docs/FULL-README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
# oh-my-claudecode
|
|
12
12
|
|
|
13
|
-
[](https://github.com/Yeachan-Heo/oh-my-claudecode)
|
|
14
14
|
[](https://www.npmjs.com/package/oh-my-claudecode)
|
|
15
15
|
[](https://opensource.org/licenses/MIT)
|
|
16
16
|
[](https://nodejs.org/)
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<remember priority>API client at src/api/client.ts</remember>
|
|
47
47
|
|
|
48
48
|
# Or save notes manually
|
|
49
|
-
/note Database schema uses PostgreSQL with Prisma ORM
|
|
49
|
+
/oh-my-claudecode:note Database schema uses PostgreSQL with Prisma ORM
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
### 📋 Ralph Loop PRD Support
|
|
@@ -154,7 +154,7 @@ Choose **ONE** installation method below. Do not mix methods.
|
|
|
154
154
|
claude plugin install oh-my-claude-sisyphus
|
|
155
155
|
|
|
156
156
|
# Or from within Claude Code:
|
|
157
|
-
/plugin oh-my-claude-sisyphus
|
|
157
|
+
/oh-my-claudecode:plugin oh-my-claude-sisyphus
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
Uses Node.js hooks from the plugin directory. Integrates directly with Claude Code's plugin system.
|
|
@@ -197,7 +197,7 @@ chmod +x scripts/install.sh
|
|
|
197
197
|
Configure omc for the current project only:
|
|
198
198
|
|
|
199
199
|
```
|
|
200
|
-
/omc-default
|
|
200
|
+
/oh-my-claudecode:omc-default
|
|
201
201
|
```
|
|
202
202
|
|
|
203
203
|
- Creates `./.claude/CLAUDE.md` in your current project
|
|
@@ -210,7 +210,7 @@ Configure omc for the current project only:
|
|
|
210
210
|
Configure omc for all Claude Code sessions:
|
|
211
211
|
|
|
212
212
|
```
|
|
213
|
-
/omc-default-global
|
|
213
|
+
/oh-my-claudecode:omc-default-global
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
- Creates `~/.claude/CLAUDE.md` globally
|
|
@@ -293,18 +293,18 @@ The installer adds to your Claude Code config (`~/.claude/`):
|
|
|
293
293
|
│ ├── planner.md # Strategic planner (Opus)
|
|
294
294
|
│ └── qa-tester.md # CLI/service testing (Sonnet)
|
|
295
295
|
├── commands/
|
|
296
|
-
│ ├── orchestrate.md # /orchestrate command
|
|
297
|
-
│ ├── omc-default.md # /omc-default command (project-scoped)
|
|
298
|
-
│ ├── omc-default-global.md # /omc-default-global command (global)
|
|
299
|
-
│ ├── ultrawork.md # /ultrawork command
|
|
300
|
-
│ ├── deepsearch.md # /deepsearch command
|
|
301
|
-
│ ├── analyze.md # /analyze command
|
|
302
|
-
│ ├── plan.md # /plan command (planner)
|
|
303
|
-
│ ├── review.md # /review command (critic)
|
|
304
|
-
│ ├── planner.md # /planner command
|
|
305
|
-
│ ├── orchestrator.md # /orchestrator command
|
|
306
|
-
│ ├── ralph-loop.md # /ralph-loop command
|
|
307
|
-
│ └── cancel-ralph.md # /cancel-ralph command
|
|
296
|
+
│ ├── orchestrate.md # /oh-my-claudecode:orchestrate command
|
|
297
|
+
│ ├── omc-default.md # /oh-my-claudecode:omc-default command (project-scoped)
|
|
298
|
+
│ ├── omc-default-global.md # /oh-my-claudecode:omc-default-global command (global)
|
|
299
|
+
│ ├── ultrawork.md # /oh-my-claudecode:ultrawork command
|
|
300
|
+
│ ├── deepsearch.md # /oh-my-claudecode:deepsearch command
|
|
301
|
+
│ ├── analyze.md # /oh-my-claudecode:analyze command
|
|
302
|
+
│ ├── plan.md # /oh-my-claudecode:plan command (planner)
|
|
303
|
+
│ ├── review.md # /oh-my-claudecode:review command (critic)
|
|
304
|
+
│ ├── planner.md # /oh-my-claudecode:planner command
|
|
305
|
+
│ ├── orchestrator.md # /oh-my-claudecode:orchestrator command
|
|
306
|
+
│ ├── ralph-loop.md # /oh-my-claudecode:ralph-loop command
|
|
307
|
+
│ └── cancel-ralph.md # /oh-my-claudecode:cancel-ralph command
|
|
308
308
|
├── skills/
|
|
309
309
|
│ ├── ultrawork/SKILL.md # Maximum performance mode
|
|
310
310
|
│ ├── deepinit/SKILL.md # Hierarchical AGENTS.md generation
|
|
@@ -363,22 +363,22 @@ claude
|
|
|
363
363
|
/oh-my-claudecode:ultrawork implement user dashboard with charts
|
|
364
364
|
|
|
365
365
|
# Initialize structured task with PRD
|
|
366
|
-
/ralph-init implement user authentication with OAuth
|
|
366
|
+
/oh-my-claudecode:ralph-init implement user authentication with OAuth
|
|
367
367
|
|
|
368
368
|
# Maximum intensity with completion guarantee
|
|
369
|
-
/ultrawork-ralph migrate database schema to PostgreSQL
|
|
369
|
+
/oh-my-claudecode:ultrawork-ralph migrate database schema to PostgreSQL
|
|
370
370
|
|
|
371
371
|
# Autonomous QA cycling
|
|
372
|
-
/ultraqa all tests must pass with 90%+ coverage
|
|
372
|
+
/oh-my-claudecode:ultraqa all tests must pass with 90%+ coverage
|
|
373
373
|
|
|
374
374
|
# Save important discoveries
|
|
375
|
-
/note Project uses Bun runtime instead of Node.js
|
|
375
|
+
/oh-my-claudecode:note Project uses Bun runtime instead of Node.js
|
|
376
376
|
|
|
377
377
|
# Deep search
|
|
378
|
-
/deepsearch API endpoints that handle user data
|
|
378
|
+
/oh-my-claudecode:deepsearch API endpoints that handle user data
|
|
379
379
|
|
|
380
380
|
# Deep analysis
|
|
381
|
-
/analyze performance bottleneck in the database layer
|
|
381
|
+
/oh-my-claudecode:analyze performance bottleneck in the database layer
|
|
382
382
|
```
|
|
383
383
|
|
|
384
384
|
### Magic Keywords
|
|
@@ -867,7 +867,9 @@ If you're coming from oh-my-opencode:
|
|
|
867
867
|
## Requirements
|
|
868
868
|
|
|
869
869
|
- [Claude Code](https://docs.anthropic.com/claude-code) installed
|
|
870
|
-
-
|
|
870
|
+
- One of:
|
|
871
|
+
- **Claude Max/Pro subscription** (recommended for individuals)
|
|
872
|
+
- **Anthropic API key** (`ANTHROPIC_API_KEY` environment variable)
|
|
871
873
|
- **Windows**: Node.js 20+ (for npm installation)
|
|
872
874
|
- **macOS/Linux**: Bash shell (default) or Node.js 20+ (optional)
|
|
873
875
|
|
package/docs/MIGRATION-v3.md
CHANGED
|
@@ -81,11 +81,11 @@ Slash commands have been updated to use new naming:
|
|
|
81
81
|
|
|
82
82
|
| Old Command | New Command |
|
|
83
83
|
|-------------|-------------|
|
|
84
|
-
| /sisyphus | /orchestrate |
|
|
85
|
-
| /sisyphus-default | /omc-default |
|
|
86
|
-
| /sisyphus-default-global | /omc-default-global |
|
|
87
|
-
| /prometheus | /planner |
|
|
88
|
-
| /mnemosyne | /learner |
|
|
84
|
+
| /sisyphus | /oh-my-claudecode:orchestrate |
|
|
85
|
+
| /sisyphus-default | /oh-my-claudecode:omc-default |
|
|
86
|
+
| /sisyphus-default-global | /oh-my-claudecode:omc-default-global |
|
|
87
|
+
| /prometheus | /oh-my-claudecode:planner |
|
|
88
|
+
| /mnemosyne | /oh-my-claudecode:learner |
|
|
89
89
|
|
|
90
90
|
## Feature Flag Changes
|
|
91
91
|
|
|
@@ -183,4 +183,4 @@ After migration, verify your setup:
|
|
|
183
183
|
If you encounter issues during migration:
|
|
184
184
|
- Check the [GitHub Issues](https://github.com/Yeachan-Heo/oh-my-claude-sisyphus/issues)
|
|
185
185
|
- Review the [Documentation](https://github.com/Yeachan-Heo/oh-my-claude-sisyphus/tree/main/docs)
|
|
186
|
-
- Run `/doctor` to diagnose common issues
|
|
186
|
+
- Run `/oh-my-claudecode:doctor` to diagnose common issues
|
package/docs/MIGRATION.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Your old commands still work! But now you don't need them.
|
|
6
6
|
|
|
7
|
-
**Before 3.0:** Explicitly invoke 25+ commands like `/ralph "task"`, `/ultrawork "task"`
|
|
7
|
+
**Before 3.0:** Explicitly invoke 25+ commands like `/oh-my-claudecode:ralph "task"`, `/oh-my-claudecode:ultrawork "task"`
|
|
8
8
|
|
|
9
9
|
**After 3.0:** Just work naturally - Claude auto-activates the right behaviors. One-time setup: just say "setup omc"
|
|
10
10
|
|
|
@@ -18,13 +18,13 @@ You had to remember and explicitly invoke specific commands for each mode:
|
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
# 2.x workflow: Multiple commands, lots to remember
|
|
21
|
-
/ralph "implement user authentication" # Persistence mode
|
|
22
|
-
/ultrawork "refactor the API layer" # Maximum parallelism
|
|
23
|
-
/planner "plan the new dashboard" # Planning interview
|
|
24
|
-
/deepsearch "find database schema files" # Deep search
|
|
25
|
-
/git-master "commit these changes" # Git expertise
|
|
26
|
-
/deepinit ./src # Index codebase
|
|
27
|
-
/analyze "why is this test failing?" # Deep analysis
|
|
21
|
+
/oh-my-claudecode:ralph "implement user authentication" # Persistence mode
|
|
22
|
+
/oh-my-claudecode:ultrawork "refactor the API layer" # Maximum parallelism
|
|
23
|
+
/oh-my-claudecode:planner "plan the new dashboard" # Planning interview
|
|
24
|
+
/oh-my-claudecode:deepsearch "find database schema files" # Deep search
|
|
25
|
+
/oh-my-claudecode:git-master "commit these changes" # Git expertise
|
|
26
|
+
/oh-my-claudecode:deepinit ./src # Index codebase
|
|
27
|
+
/oh-my-claudecode:analyze "why is this test failing?" # Deep analysis
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
### After (3.0): Auto-Activation + Keywords
|
|
@@ -49,20 +49,20 @@ All 2.x commands continue to work. Here's what changed:
|
|
|
49
49
|
|
|
50
50
|
| 2.x Command | 3.0 Equivalent | Works? |
|
|
51
51
|
|-------------|----------------|--------|
|
|
52
|
-
| `/ralph "task"` | Say "don't stop until done" OR use `ralph` keyword | ✅ YES (both ways) |
|
|
53
|
-
| `/ultrawork "task"` | Say "fast" or "parallel" OR use `ulw` keyword | ✅ YES (both ways) |
|
|
54
|
-
| `/ultrawork-ralph` | Say "ralph ulw:" prefix | ✅ YES (keyword combo) |
|
|
55
|
-
| `/planner "task"` | Say "plan this" OR use `plan` keyword | ✅ YES (both ways) |
|
|
56
|
-
| `/plan "description"` | Start planning naturally | ✅ YES |
|
|
57
|
-
| `/review [path]` | Invoke normally | ✅ YES (unchanged) |
|
|
58
|
-
| `/deepsearch "query"` | Say "find" or "search" | ✅ YES (auto-detect) |
|
|
59
|
-
| `/analyze "target"` | Say "analyze" or "investigate" | ✅ YES (auto-detect) |
|
|
60
|
-
| `/deepinit [path]` | Invoke normally | ✅ YES (unchanged) |
|
|
61
|
-
| `/git-master` | Say "git", "commit", "atomic commit" | ✅ YES (auto-detect) |
|
|
62
|
-
| `/frontend-ui-ux` | Say "UI", "styling", "component", "design" | ✅ YES (auto-detect) |
|
|
63
|
-
| `/note "content"` | Say "remember this" or "save this" | ✅ YES (auto-detect) |
|
|
64
|
-
| `/cancel-ralph` | Say "stop", "cancel", or "abort" | ✅ YES (auto-detect) |
|
|
65
|
-
| `/doctor` | Invoke normally | ✅ YES (unchanged) |
|
|
52
|
+
| `/oh-my-claudecode:ralph "task"` | Say "don't stop until done" OR use `ralph` keyword | ✅ YES (both ways) |
|
|
53
|
+
| `/oh-my-claudecode:ultrawork "task"` | Say "fast" or "parallel" OR use `ulw` keyword | ✅ YES (both ways) |
|
|
54
|
+
| `/oh-my-claudecode:ultrawork-ralph` | Say "ralph ulw:" prefix | ✅ YES (keyword combo) |
|
|
55
|
+
| `/oh-my-claudecode:planner "task"` | Say "plan this" OR use `plan` keyword | ✅ YES (both ways) |
|
|
56
|
+
| `/oh-my-claudecode:plan "description"` | Start planning naturally | ✅ YES |
|
|
57
|
+
| `/oh-my-claudecode:review [path]` | Invoke normally | ✅ YES (unchanged) |
|
|
58
|
+
| `/oh-my-claudecode:deepsearch "query"` | Say "find" or "search" | ✅ YES (auto-detect) |
|
|
59
|
+
| `/oh-my-claudecode:analyze "target"` | Say "analyze" or "investigate" | ✅ YES (auto-detect) |
|
|
60
|
+
| `/oh-my-claudecode:deepinit [path]` | Invoke normally | ✅ YES (unchanged) |
|
|
61
|
+
| `/oh-my-claudecode:git-master` | Say "git", "commit", "atomic commit" | ✅ YES (auto-detect) |
|
|
62
|
+
| `/oh-my-claudecode:frontend-ui-ux` | Say "UI", "styling", "component", "design" | ✅ YES (auto-detect) |
|
|
63
|
+
| `/oh-my-claudecode:note "content"` | Say "remember this" or "save this" | ✅ YES (auto-detect) |
|
|
64
|
+
| `/oh-my-claudecode:cancel-ralph` | Say "stop", "cancel", or "abort" | ✅ YES (auto-detect) |
|
|
65
|
+
| `/oh-my-claudecode:doctor` | Invoke normally | ✅ YES (unchanged) |
|
|
66
66
|
| All other commands | Work exactly as before | ✅ YES |
|
|
67
67
|
|
|
68
68
|
---
|
|
@@ -113,7 +113,7 @@ If in planning → End planning interview
|
|
|
113
113
|
If multiple active → Stop the most recent
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
No more `/cancel-ralph` - just say "cancel"!
|
|
116
|
+
No more `/oh-my-claudecode:cancel-ralph` - just say "cancel"!
|
|
117
117
|
|
|
118
118
|
---
|
|
119
119
|
|
|
@@ -126,10 +126,10 @@ No more `/cancel-ralph` - just say "cancel"!
|
|
|
126
126
|
You can still use explicit commands if you prefer:
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
/ralph "implement OAuth" # Still works ✅
|
|
130
|
-
/ultrawork "refactor everything" # Still works ✅
|
|
131
|
-
/planner "plan the feature" # Still works ✅
|
|
132
|
-
/cancel-ralph # Still works ✅
|
|
129
|
+
/oh-my-claudecode:ralph "implement OAuth" # Still works ✅
|
|
130
|
+
/oh-my-claudecode:ultrawork "refactor everything" # Still works ✅
|
|
131
|
+
/oh-my-claudecode:planner "plan the feature" # Still works ✅
|
|
132
|
+
/oh-my-claudecode:cancel-ralph # Still works ✅
|
|
133
133
|
```
|
|
134
134
|
|
|
135
135
|
These are now **optional** - use them if you like, but you don't have to.
|
|
@@ -172,7 +172,7 @@ See [MIGRATION-v3.md](MIGRATION-v3.md) for detailed 2.x → 3.0 naming changes.
|
|
|
172
172
|
**No commands to memorize.** Work naturally:
|
|
173
173
|
|
|
174
174
|
```
|
|
175
|
-
Before: "OK, I need to use /ultrawork for speed..."
|
|
175
|
+
Before: "OK, I need to use /oh-my-claudecode:ultrawork for speed..."
|
|
176
176
|
After: "I'm in a hurry, go fast!"
|
|
177
177
|
↓
|
|
178
178
|
Claude: "I'm activating ultrawork mode..."
|
|
@@ -194,7 +194,7 @@ Your request Claude's action
|
|
|
194
194
|
|
|
195
195
|
You don't ask for delegation - it happens automatically.
|
|
196
196
|
|
|
197
|
-
### 3. Learned Skills (`/learner`)
|
|
197
|
+
### 3. Learned Skills (`/oh-my-claudecode:learner`)
|
|
198
198
|
|
|
199
199
|
Extract reusable insights from problem-solving:
|
|
200
200
|
|
|
@@ -219,7 +219,7 @@ See what Claude is doing in the status bar:
|
|
|
219
219
|
[OMC] ralph:3/10 | US-002 | ultrawork skill:planner | ctx:67% | agents:2 | todos:2/5
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
Run `/hud setup` to install. Presets: minimal, focused, full.
|
|
222
|
+
Run `/oh-my-claudecode:hud setup` to install. Presets: minimal, focused, full.
|
|
223
223
|
|
|
224
224
|
### 5. Three-Tier Memory System
|
|
225
225
|
|
|
@@ -233,10 +233,10 @@ Permanently loaded on session start
|
|
|
233
233
|
Never lost through compaction
|
|
234
234
|
```
|
|
235
235
|
|
|
236
|
-
Or use `/note` to save discoveries manually:
|
|
236
|
+
Or use `/oh-my-claudecode:note` to save discoveries manually:
|
|
237
237
|
|
|
238
238
|
```bash
|
|
239
|
-
/note Project uses PostgreSQL with Prisma ORM
|
|
239
|
+
/oh-my-claudecode:note Project uses PostgreSQL with Prisma ORM
|
|
240
240
|
```
|
|
241
241
|
|
|
242
242
|
### 6. Structured Task Tracking (PRD Support)
|
|
@@ -244,7 +244,7 @@ Or use `/note` to save discoveries manually:
|
|
|
244
244
|
**Ralph Loop now uses Product Requirements Documents:**
|
|
245
245
|
|
|
246
246
|
```bash
|
|
247
|
-
/ralph-init "implement OAuth with multiple providers"
|
|
247
|
+
/oh-my-claudecode:ralph-init "implement OAuth with multiple providers"
|
|
248
248
|
↓
|
|
249
249
|
Auto-creates PRD with user stories
|
|
250
250
|
↓
|
|
@@ -312,7 +312,7 @@ You're done - Claude handles the rest
|
|
|
312
312
|
Apply oh-my-claudecode to current project only:
|
|
313
313
|
|
|
314
314
|
```
|
|
315
|
-
/omc-default
|
|
315
|
+
/oh-my-claudecode:omc-default
|
|
316
316
|
```
|
|
317
317
|
|
|
318
318
|
Creates: `./.claude/CLAUDE.md`
|
|
@@ -322,7 +322,7 @@ Creates: `./.claude/CLAUDE.md`
|
|
|
322
322
|
Apply to all Claude Code sessions:
|
|
323
323
|
|
|
324
324
|
```
|
|
325
|
-
/omc-default-global
|
|
325
|
+
/oh-my-claudecode:omc-default-global
|
|
326
326
|
```
|
|
327
327
|
|
|
328
328
|
Creates: `~/.claude/CLAUDE.md`
|
|
@@ -337,7 +337,7 @@ Creates: `~/.claude/CLAUDE.md`
|
|
|
337
337
|
|
|
338
338
|
**2.x Workflow:**
|
|
339
339
|
```
|
|
340
|
-
/ultrawork "implement the todo list feature"
|
|
340
|
+
/oh-my-claudecode:ultrawork "implement the todo list feature"
|
|
341
341
|
```
|
|
342
342
|
|
|
343
343
|
**3.0 Workflow:**
|
|
@@ -353,7 +353,7 @@ Claude: "I'm activating ultrawork for maximum parallelism"
|
|
|
353
353
|
|
|
354
354
|
**2.x Workflow:**
|
|
355
355
|
```
|
|
356
|
-
/ralph "debug the memory leak"
|
|
356
|
+
/oh-my-claudecode:ralph "debug the memory leak"
|
|
357
357
|
```
|
|
358
358
|
|
|
359
359
|
**3.0 Workflow:**
|
|
@@ -369,7 +369,7 @@ Claude: "I'm activating ralph-loop to ensure completion"
|
|
|
369
369
|
|
|
370
370
|
**2.x Workflow:**
|
|
371
371
|
```
|
|
372
|
-
/planner "design the new authentication system"
|
|
372
|
+
/oh-my-claudecode:planner "design the new authentication system"
|
|
373
373
|
```
|
|
374
374
|
|
|
375
375
|
**3.0 Workflow:**
|
|
@@ -387,7 +387,7 @@ Interview begins automatically
|
|
|
387
387
|
|
|
388
388
|
**2.x Workflow:**
|
|
389
389
|
```
|
|
390
|
-
/cancel-ralph
|
|
390
|
+
/oh-my-claudecode:cancel-ralph
|
|
391
391
|
```
|
|
392
392
|
|
|
393
393
|
**3.0 Workflow:**
|
|
@@ -421,10 +421,10 @@ A: No. Keywords are optional shortcuts. Claude auto-detects intent without them.
|
|
|
421
421
|
A: No. All 2.x commands continue to work exactly as before.
|
|
422
422
|
|
|
423
423
|
**Q: What if I like explicit commands?**
|
|
424
|
-
A: Keep using them! `/ralph`, `/ultrawork`, `/planner` all still work.
|
|
424
|
+
A: Keep using them! `/oh-my-claudecode:ralph`, `/oh-my-claudecode:ultrawork`, `/oh-my-claudecode:planner` all still work.
|
|
425
425
|
|
|
426
426
|
**Q: How do I know what Claude is doing?**
|
|
427
|
-
A: Claude announces major behaviors: "I'm activating ralph-loop..." or set up `/hud` for real-time status.
|
|
427
|
+
A: Claude announces major behaviors: "I'm activating ralph-loop..." or set up `/oh-my-claudecode:hud` for real-time status.
|
|
428
428
|
|
|
429
429
|
**Q: Where's the old command list?**
|
|
430
430
|
A: See [README.md](../README.md) for full command reference. All commands still work.
|
|
@@ -436,9 +436,9 @@ A: Keywords are explicit shortcuts. Natural language triggers auto-detection. Bo
|
|
|
436
436
|
|
|
437
437
|
## Need Help?
|
|
438
438
|
|
|
439
|
-
- **Diagnose issues**: Run `/doctor`
|
|
439
|
+
- **Diagnose issues**: Run `/oh-my-claudecode:doctor`
|
|
440
440
|
- **See all commands**: Run `/oh-my-claudecode:help`
|
|
441
|
-
- **View real-time status**: Run `/hud setup`
|
|
441
|
+
- **View real-time status**: Run `/oh-my-claudecode:hud setup`
|
|
442
442
|
- **Review detailed changelog**: See [CHANGELOG.md](../CHANGELOG.md)
|
|
443
443
|
- **Report bugs**: [GitHub Issues](https://github.com/Yeachan-Heo/oh-my-claude-sisyphus/issues)
|
|
444
444
|
|