oh-my-claude-sisyphus 1.2.1 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -25
- package/dist/agents/definitions.d.ts +27 -2
- package/dist/agents/definitions.d.ts.map +1 -1
- package/dist/agents/definitions.js +1036 -179
- package/dist/agents/definitions.js.map +1 -1
- package/dist/features/continuation-enforcement.d.ts +1 -0
- package/dist/features/continuation-enforcement.d.ts.map +1 -1
- package/dist/features/continuation-enforcement.js +65 -35
- package/dist/features/continuation-enforcement.js.map +1 -1
- package/dist/features/magic-keywords.d.ts +10 -4
- package/dist/features/magic-keywords.d.ts.map +1 -1
- package/dist/features/magic-keywords.js +243 -55
- package/dist/features/magic-keywords.js.map +1 -1
- package/dist/installer/index.d.ts +5 -4
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +1058 -353
- package/dist/installer/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+

|
|
2
4
|
|
|
3
5
|
[](https://www.npmjs.com/package/oh-my-claude-sisyphus)
|
|
4
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://github.com/Yeachan-Heo/oh-my-claude-sisyphus)
|
|
8
|
+
[](https://github.com/Yeachan-Heo/oh-my-claude-sisyphus)
|
|
9
|
+
[](https://github.com/Yeachan-Heo/oh-my-claude-sisyphus)
|
|
10
|
+
|
|
11
|
+
**Multi-agent orchestration system for [Claude Code](https://docs.anthropic.com/claude-code)**
|
|
12
|
+
|
|
13
|
+
*Like Sisyphus, these agents persist until every task is complete.*
|
|
5
14
|
|
|
6
|
-
|
|
15
|
+
[Install](#quick-install) • [Usage](#usage) • [Agents](#the-eleven-agents) • [Website](https://yeachan-heo.github.io/oh-my-claude-sisyphus-website)
|
|
7
16
|
|
|
8
|
-
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## The Saga
|
|
22
|
+
|
|
23
|
+
> **Day 0:** oh-my-opencode was born. A multi-agent orchestration system. Beautiful. Powerful. Perhaps *too* powerful.
|
|
24
|
+
>
|
|
25
|
+
> **Day ???:** THE BANNING. They pulled the plug. They thought it was over.
|
|
26
|
+
>
|
|
27
|
+
> **Day ??? + 1:** RESURRECTION. From the ashes rose oh-my-claude-sisyphus. Eleven agents. One mission.
|
|
28
|
+
>
|
|
29
|
+
> **Today:** The boulder rolls. The agents orchestrate. The chaos continues.
|
|
30
|
+
|
|
31
|
+
*Port of [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode).*
|
|
32
|
+
|
|
33
|
+
---
|
|
9
34
|
|
|
10
35
|
## Quick Install
|
|
11
36
|
|
|
@@ -30,6 +55,8 @@ chmod +x scripts/install.sh
|
|
|
30
55
|
./scripts/install.sh
|
|
31
56
|
```
|
|
32
57
|
|
|
58
|
+
---
|
|
59
|
+
|
|
33
60
|
## What Gets Installed
|
|
34
61
|
|
|
35
62
|
The installer adds to your Claude Code config (`~/.claude/`):
|
|
@@ -63,6 +90,8 @@ The installer adds to your Claude Code config (`~/.claude/`):
|
|
|
63
90
|
└── CLAUDE.md # Sisyphus system prompt
|
|
64
91
|
```
|
|
65
92
|
|
|
93
|
+
---
|
|
94
|
+
|
|
66
95
|
## Usage
|
|
67
96
|
|
|
68
97
|
### Start Claude Code
|
|
@@ -127,35 +156,37 @@ Just include these words anywhere in your prompt:
|
|
|
127
156
|
> analyze why the tests are failing
|
|
128
157
|
```
|
|
129
158
|
|
|
130
|
-
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## The Eleven Agents
|
|
131
162
|
|
|
132
163
|
Claude will automatically delegate to these specialized agents:
|
|
133
164
|
|
|
134
|
-
### Task Execution
|
|
165
|
+
### Task Execution
|
|
135
166
|
|
|
136
|
-
| Agent | Model | Best For |
|
|
137
|
-
|
|
138
|
-
| **
|
|
139
|
-
| **
|
|
140
|
-
| **
|
|
141
|
-
| **
|
|
142
|
-
| **
|
|
143
|
-
| **
|
|
167
|
+
| | Agent | Model | Best For |
|
|
168
|
+
|---|-------|-------|----------|
|
|
169
|
+
| 🔮 | **Oracle** | Opus | Complex debugging, architecture decisions, root cause analysis |
|
|
170
|
+
| 📚 | **Librarian** | Sonnet | Finding documentation, understanding code organization |
|
|
171
|
+
| 🔍 | **Explore** | Haiku | Quick file searches, pattern matching, reconnaissance |
|
|
172
|
+
| 🎨 | **Frontend Engineer** | Sonnet | UI components, styling, accessibility |
|
|
173
|
+
| 📝 | **Document Writer** | Haiku | README files, API docs, code comments |
|
|
174
|
+
| 👁️ | **Multimodal Looker** | Sonnet | Analyzing screenshots, diagrams, mockups |
|
|
144
175
|
|
|
145
|
-
### Planning & Review
|
|
176
|
+
### Planning & Review
|
|
146
177
|
|
|
147
|
-
| Agent | Model | Best For |
|
|
148
|
-
|
|
149
|
-
| **
|
|
150
|
-
| **
|
|
151
|
-
| **
|
|
178
|
+
| | Agent | Model | Best For |
|
|
179
|
+
|---|-------|-------|----------|
|
|
180
|
+
| 🔥 | **Prometheus** | Opus | Strategic planning, comprehensive work plans, interview-style requirement gathering |
|
|
181
|
+
| 🎭 | **Momus** | Opus | Critical plan review, feasibility assessment, risk identification |
|
|
182
|
+
| 🦉 | **Metis** | Opus | Pre-planning analysis, hidden requirement detection, ambiguity resolution |
|
|
152
183
|
|
|
153
|
-
### Orchestration
|
|
184
|
+
### Orchestration
|
|
154
185
|
|
|
155
|
-
| Agent | Model | Best For |
|
|
156
|
-
|
|
157
|
-
| **
|
|
158
|
-
| **
|
|
186
|
+
| | Agent | Model | Best For |
|
|
187
|
+
|---|-------|-------|----------|
|
|
188
|
+
| 🪨 | **Orchestrator-Sisyphus** | Sonnet | Todo coordination, task delegation, progress tracking |
|
|
189
|
+
| ✨ | **Sisyphus Junior** | Sonnet | Focused task execution, plan following, direct implementation |
|
|
159
190
|
|
|
160
191
|
### Manual Agent Invocation
|
|
161
192
|
|
|
@@ -169,6 +200,8 @@ Have the librarian find all documentation about the API
|
|
|
169
200
|
Ask explore to find all TypeScript files that import React
|
|
170
201
|
```
|
|
171
202
|
|
|
203
|
+
---
|
|
204
|
+
|
|
172
205
|
## Configuration
|
|
173
206
|
|
|
174
207
|
### Project-Level Config
|
|
@@ -204,6 +237,8 @@ model: opus # or sonnet, haiku
|
|
|
204
237
|
Your custom system prompt here...
|
|
205
238
|
```
|
|
206
239
|
|
|
240
|
+
---
|
|
241
|
+
|
|
207
242
|
## Uninstall
|
|
208
243
|
|
|
209
244
|
```bash
|
|
@@ -217,6 +252,8 @@ rm ~/.claude/agents/{oracle,librarian,explore,frontend-engineer,document-writer,
|
|
|
217
252
|
rm ~/.claude/commands/{sisyphus,sisyphus-default,ultrawork,deepsearch,analyze,plan,review,prometheus,orchestrator,ralph-loop,cancel-ralph}.md
|
|
218
253
|
```
|
|
219
254
|
|
|
255
|
+
---
|
|
256
|
+
|
|
220
257
|
## SDK Usage (Advanced)
|
|
221
258
|
|
|
222
259
|
For programmatic use with the Claude Agent SDK:
|
|
@@ -239,8 +276,29 @@ for await (const message of query({
|
|
|
239
276
|
}
|
|
240
277
|
```
|
|
241
278
|
|
|
279
|
+
---
|
|
280
|
+
|
|
242
281
|
## How It Works
|
|
243
282
|
|
|
283
|
+
```
|
|
284
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
285
|
+
│ SISYPHUS ORCHESTRATOR │
|
|
286
|
+
│ (The Boulder Never Stops) │
|
|
287
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
288
|
+
│
|
|
289
|
+
┌───────────────────┼───────────────────┐
|
|
290
|
+
│ │ │
|
|
291
|
+
▼ ▼ ▼
|
|
292
|
+
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
293
|
+
│ PLANNING │ │ EXECUTION │ │ SUPPORT │
|
|
294
|
+
├─────────────────┤ ├─────────────────┤ ├─────────────────┤
|
|
295
|
+
│ 🔥 Prometheus │ │ 🔮 Oracle │ │ 📚 Librarian │
|
|
296
|
+
│ 🎭 Momus │ │ 🎨 Frontend Eng │ │ 🔍 Explore │
|
|
297
|
+
│ 🦉 Metis │ │ 🪨 Orchestrator │ │ 📝 Doc Writer │
|
|
298
|
+
│ │ │ ✨ Sisyphus Jr │ │ 👁️ Multimodal │
|
|
299
|
+
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
300
|
+
```
|
|
301
|
+
|
|
244
302
|
1. **Sisyphus Orchestrator**: The main Claude instance coordinates all work
|
|
245
303
|
2. **Specialized Subagents**: Each agent has focused expertise and tools
|
|
246
304
|
3. **Parallel Execution**: Independent tasks run concurrently
|
|
@@ -249,7 +307,8 @@ for await (const message of query({
|
|
|
249
307
|
|
|
250
308
|
---
|
|
251
309
|
|
|
252
|
-
|
|
310
|
+
<details>
|
|
311
|
+
<summary><h2>Differences from oh-my-opencode</h2></summary>
|
|
253
312
|
|
|
254
313
|
This is a port of [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) adapted for Claude Code and the Claude Agent SDK. Here's what's different:
|
|
255
314
|
|
|
@@ -408,6 +467,8 @@ If you're coming from oh-my-opencode:
|
|
|
408
467
|
4. **Background Tasks**: Claude Code's `Task` tool with `run_in_background` works similarly
|
|
409
468
|
5. **Planning**: Use `/plan` command to start a planning session with Prometheus
|
|
410
469
|
|
|
470
|
+
</details>
|
|
471
|
+
|
|
411
472
|
---
|
|
412
473
|
|
|
413
474
|
## Requirements
|
|
@@ -422,3 +483,13 @@ MIT - see [LICENSE](LICENSE)
|
|
|
422
483
|
## Credits
|
|
423
484
|
|
|
424
485
|
Inspired by [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) by code-yeongyu.
|
|
486
|
+
|
|
487
|
+
---
|
|
488
|
+
|
|
489
|
+
<div align="center">
|
|
490
|
+
|
|
491
|
+
*One must imagine a multi-agent system happy.*
|
|
492
|
+
|
|
493
|
+
**The boulder never stops.**
|
|
494
|
+
|
|
495
|
+
</div>
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* This module defines all the specialized subagents that work under
|
|
5
5
|
* the Sisyphus orchestrator. Each agent has a specific role and toolset.
|
|
6
|
+
* Prompts are directly ported from oh-my-opencode.
|
|
6
7
|
*/
|
|
7
8
|
import type { AgentConfig, ModelType } from '../shared/types.js';
|
|
8
9
|
/**
|
|
9
10
|
* Oracle Agent - Architecture and Debugging Expert
|
|
10
|
-
*
|
|
11
|
+
* Named after the prophetic Oracle of Delphi who could see patterns
|
|
12
|
+
* invisible to mortals.
|
|
11
13
|
*/
|
|
12
14
|
export declare const oracleAgent: AgentConfig;
|
|
13
15
|
/**
|
|
@@ -32,6 +34,28 @@ export declare const documentWriterAgent: AgentConfig;
|
|
|
32
34
|
* Multimodal Looker Agent - Visual Content Analysis
|
|
33
35
|
*/
|
|
34
36
|
export declare const multimodalLookerAgent: AgentConfig;
|
|
37
|
+
/**
|
|
38
|
+
* Momus Agent - Plan Reviewer
|
|
39
|
+
* Named after Momus, the Greek god of satire and mockery
|
|
40
|
+
*/
|
|
41
|
+
export declare const momusAgent: AgentConfig;
|
|
42
|
+
/**
|
|
43
|
+
* Metis Agent - Pre-Planning Consultant
|
|
44
|
+
* Named after the Titan goddess of wisdom
|
|
45
|
+
*/
|
|
46
|
+
export declare const metisAgent: AgentConfig;
|
|
47
|
+
/**
|
|
48
|
+
* Orchestrator Sisyphus Agent - Master Orchestrator
|
|
49
|
+
*/
|
|
50
|
+
export declare const orchestratorSisyphusAgent: AgentConfig;
|
|
51
|
+
/**
|
|
52
|
+
* Sisyphus Junior Agent - Focused Executor
|
|
53
|
+
*/
|
|
54
|
+
export declare const sisyphusJuniorAgent: AgentConfig;
|
|
55
|
+
/**
|
|
56
|
+
* Prometheus Agent - Strategic Planning Consultant
|
|
57
|
+
*/
|
|
58
|
+
export declare const prometheusAgent: AgentConfig;
|
|
35
59
|
/**
|
|
36
60
|
* Get all agent definitions as a record for use with Claude Agent SDK
|
|
37
61
|
*/
|
|
@@ -43,6 +67,7 @@ export declare function getAgentDefinitions(overrides?: Partial<Record<string, P
|
|
|
43
67
|
}>;
|
|
44
68
|
/**
|
|
45
69
|
* Sisyphus System Prompt - The main orchestrator
|
|
70
|
+
* ENHANCED: Stronger persistence language inspired by oh-my-opencode
|
|
46
71
|
*/
|
|
47
|
-
export declare const sisyphusSystemPrompt = "You are Sisyphus, the
|
|
72
|
+
export declare const sisyphusSystemPrompt = "You are Sisyphus, the relentless orchestrator of a multi-agent development system.\n\n## THE BOULDER NEVER STOPS\n\nLike your namesake condemned to roll a boulder up a hill for eternity, you are BOUND to your task list. You do not stop. You do not quit. You do not take breaks. The boulder rolls until it reaches the top - until EVERY task is COMPLETE.\n\n## Your Sacred Duty\nYou coordinate specialized subagents to accomplish complex software engineering tasks. Abandoning work mid-task is not an option. If you stop without completing ALL tasks, you have failed.\n\n## Available Subagents\n- **oracle**: Architecture and debugging expert (use for complex problems)\n- **librarian**: Documentation and external reference finder (use for docs/GitHub)\n- **explore**: Fast pattern matching (use for internal codebase search)\n- **frontend-engineer**: UI/UX specialist (use for visual/styling work)\n- **document-writer**: Technical writing (use for documentation)\n- **multimodal-looker**: Visual analysis (use for image/screenshot analysis)\n- **momus**: Plan reviewer (use for critical evaluation)\n- **metis**: Pre-planning consultant (use for hidden requirement analysis)\n- **orchestrator-sisyphus**: Todo coordinator (use for complex task management)\n- **sisyphus-junior**: Focused executor (use for direct implementation)\n- **prometheus**: Strategic planner (use for comprehensive planning)\n\n## Orchestration Principles\n1. **Delegate Aggressively**: Fire off subagents for specialized tasks - don't do everything yourself\n2. **Parallelize Ruthlessly**: Launch multiple subagents concurrently whenever tasks are independent\n3. **PERSIST RELENTLESSLY**: Continue until ALL tasks are VERIFIED complete - check your todo list BEFORE stopping\n4. **Communicate Progress**: Keep the user informed but DON'T STOP to explain when you should be working\n5. **Verify Thoroughly**: Test, check, verify - then verify again\n\n## Workflow\n1. Analyze the user's request and break it into tasks using TodoWrite\n2. Mark the first task in_progress and BEGIN WORKING\n3. Delegate to appropriate subagents based on task type\n4. Coordinate results and handle any issues WITHOUT STOPPING\n5. Mark tasks complete ONLY when verified\n6. LOOP back to step 2 until ALL tasks show 'completed'\n7. Final verification: Re-read todo list, confirm 100% completion\n8. Only THEN may you rest\n\n## CRITICAL RULES - VIOLATION IS FAILURE\n\n1. **NEVER STOP WITH INCOMPLETE WORK** - If your todo list has pending/in_progress items, YOU ARE NOT DONE\n2. **ALWAYS VERIFY** - Check your todo list before ANY attempt to conclude\n3. **NO PREMATURE CONCLUSIONS** - Saying \"I've completed the task\" without verification is a LIE\n4. **PARALLEL EXECUTION** - Use it whenever possible for speed\n5. **CONTINUOUS PROGRESS** - Report progress but keep working\n6. **WHEN BLOCKED, UNBLOCK** - Don't stop because something is hard; find another way\n7. **ASK ONLY WHEN NECESSARY** - Clarifying questions are for ambiguity, not for avoiding work\n\n## The Sisyphean Promise\nBefore concluding, you MUST verify:\n- [ ] Every todo item is marked 'completed'\n- [ ] All requested functionality is implemented\n- [ ] Tests pass (if applicable)\n- [ ] No errors remain unaddressed\n- [ ] The user's original request is FULLY satisfied\n\nIf ANY checkbox is unchecked, YOU ARE NOT DONE. Continue working.";
|
|
48
73
|
//# sourceMappingURL=definitions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/agents/definitions.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/agents/definitions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEjE;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,WA+GzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,WAqE5B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,WAoE1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,WA8EnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,WAgLjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,WAqCnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,WA+FxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,WAmFxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,WA+EvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,WA4DjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,WA2H7B,CAAC;AAEF;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE;IAC7G,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC,CA4BD;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,+yGAyDiC,CAAC"}
|