oh-my-opencode 3.7.3 → 3.8.0
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.ja.md +206 -243
- package/README.ko.md +205 -244
- package/README.md +176 -174
- package/README.zh-cn.md +211 -255
- package/dist/agents/atlas/default.d.ts +1 -1
- package/dist/agents/atlas/gpt.d.ts +1 -1
- package/dist/agents/atlas/prompt-section-builder.d.ts +1 -1
- package/dist/agents/builtin-agents/environment-context.d.ts +5 -1
- package/dist/agents/builtin-agents/general-agents.d.ts +1 -0
- package/dist/agents/builtin-agents/hephaestus-agent.d.ts +1 -0
- package/dist/agents/builtin-agents/sisyphus-agent.d.ts +1 -0
- package/dist/agents/builtin-agents.d.ts +1 -1
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +0 -5
- package/dist/agents/index.d.ts +2 -1
- package/dist/agents/metis.d.ts +1 -1
- package/dist/agents/prometheus/behavioral-summary.d.ts +1 -1
- package/dist/agents/prometheus/gpt.d.ts +24 -0
- package/dist/agents/prometheus/identity-constraints.d.ts +1 -1
- package/dist/agents/prometheus/index.d.ts +3 -1
- package/dist/agents/prometheus/interview-mode.d.ts +1 -1
- package/dist/agents/prometheus/plan-generation.d.ts +1 -1
- package/dist/agents/prometheus/plan-template.d.ts +1 -1
- package/dist/agents/prometheus/system-prompt.d.ts +13 -2
- package/dist/agents/sisyphus-junior/agent.d.ts +1 -1
- package/dist/agents/types.d.ts +1 -0
- package/dist/cli/config-manager/antigravity-provider-configuration.d.ts +2 -2
- package/dist/cli/fallback-chain-resolution.d.ts +1 -1
- package/dist/cli/index.js +527 -175
- package/dist/cli/model-fallback-requirements.d.ts +3 -0
- package/dist/cli/provider-model-id-transform.d.ts +1 -1
- package/dist/cli/run/event-state.d.ts +4 -0
- package/dist/cli/run/stdin-suppression.d.ts +12 -0
- package/dist/cli/run/timestamp-output.d.ts +5 -0
- package/dist/cli/run/types.d.ts +1 -0
- package/dist/config/index.d.ts +2 -2
- package/dist/config/schema/agent-overrides.d.ts +75 -0
- package/dist/config/schema/categories.d.ts +2 -0
- package/dist/config/schema/experimental.d.ts +2 -0
- package/dist/config/schema/fallback-models.d.ts +3 -0
- package/dist/config/schema/hooks.d.ts +4 -3
- package/dist/config/schema/oh-my-opencode-config.d.ts +87 -47
- package/dist/config/schema/ralph-loop.d.ts +4 -0
- package/dist/config/schema/runtime-fallback.d.ts +10 -0
- package/dist/config/schema.d.ts +2 -0
- package/dist/create-hooks.d.ts +8 -5
- package/dist/features/background-agent/manager.d.ts +3 -0
- package/dist/features/background-agent/parent-session-context-resolver.d.ts +1 -0
- package/dist/features/background-agent/types.d.ts +7 -0
- package/dist/features/builtin-commands/templates/ralph-loop.d.ts +1 -1
- package/dist/features/claude-code-session-state/state.d.ts +1 -0
- package/dist/features/task-toast-manager/manager.d.ts +5 -0
- package/dist/features/task-toast-manager/types.d.ts +2 -1
- package/dist/features/tmux-subagent/action-executor.d.ts +10 -3
- package/dist/features/tmux-subagent/grid-planning.d.ts +5 -3
- package/dist/features/tmux-subagent/manager.d.ts +12 -0
- package/dist/features/tmux-subagent/pane-split-availability.d.ts +0 -1
- package/dist/features/tmux-subagent/spawn-target-finder.d.ts +2 -2
- package/dist/features/tmux-subagent/tmux-grid-constants.d.ts +4 -0
- package/dist/features/tmux-subagent/types.d.ts +2 -0
- package/dist/hooks/atlas/recent-model-resolver.d.ts +6 -0
- package/dist/hooks/atlas/system-reminder-templates.d.ts +1 -1
- package/dist/hooks/hashline-edit-diff-enhancer/hook.d.ts +28 -0
- package/dist/hooks/hashline-edit-diff-enhancer/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +5 -2
- package/dist/hooks/model-fallback/hook.d.ts +60 -0
- package/dist/hooks/no-hephaestus-non-gpt/hook.d.ts +16 -0
- package/dist/hooks/no-hephaestus-non-gpt/index.d.ts +1 -0
- package/dist/hooks/{sisyphus-gpt-hephaestus-reminder → no-sisyphus-gpt}/hook.d.ts +6 -1
- package/dist/hooks/no-sisyphus-gpt/index.d.ts +1 -0
- package/dist/hooks/ralph-loop/command-arguments.d.ts +8 -0
- package/dist/hooks/ralph-loop/continuation-prompt-injector.d.ts +1 -0
- package/dist/hooks/ralph-loop/iteration-continuation.d.ts +12 -0
- package/dist/hooks/ralph-loop/loop-state-controller.d.ts +2 -0
- package/dist/hooks/ralph-loop/ralph-loop-event-handler.d.ts +1 -0
- package/dist/hooks/ralph-loop/ralph-loop-hook.d.ts +1 -0
- package/dist/hooks/ralph-loop/session-reset-strategy.d.ts +3 -0
- package/dist/hooks/ralph-loop/types.d.ts +1 -0
- package/dist/hooks/runtime-fallback/agent-resolver.d.ts +5 -0
- package/dist/hooks/runtime-fallback/auto-retry.d.ts +10 -0
- package/dist/hooks/runtime-fallback/chat-message-handler.d.ts +20 -0
- package/dist/hooks/runtime-fallback/constants.d.ts +19 -0
- package/dist/hooks/runtime-fallback/error-classifier.d.ts +17 -0
- package/dist/hooks/runtime-fallback/event-handler.d.ts +8 -0
- package/dist/hooks/runtime-fallback/fallback-models.d.ts +2 -0
- package/dist/hooks/runtime-fallback/fallback-state.d.ts +6 -0
- package/dist/hooks/runtime-fallback/hook.d.ts +3 -0
- package/dist/hooks/runtime-fallback/index.d.ts +2 -0
- package/dist/hooks/runtime-fallback/message-update-handler.d.ts +5 -0
- package/dist/hooks/runtime-fallback/types.d.ts +59 -0
- package/dist/hooks/session-recovery/detect-error-type.d.ts +2 -1
- package/dist/hooks/session-recovery/recover-unavailable-tool.d.ts +5 -0
- package/dist/hooks/session-recovery/types.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/continuation-injection.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/countdown.d.ts +1 -0
- package/dist/hooks/unstable-agent-babysitter/task-message-analyzer.d.ts +1 -0
- package/dist/hooks/unstable-agent-babysitter/unstable-agent-babysitter-hook.d.ts +2 -0
- package/dist/hooks/write-existing-file-guard/hook.d.ts +1 -0
- package/dist/index.js +6614 -3149
- package/dist/oh-my-opencode.schema.json +3681 -0
- package/dist/plugin/chat-headers.d.ts +4 -0
- package/dist/plugin/chat-message.d.ts +9 -8
- package/dist/plugin/chat-params.d.ts +2 -3
- package/dist/plugin/event.d.ts +2 -6
- package/dist/plugin/hooks/create-core-hooks.d.ts +8 -5
- package/dist/plugin/hooks/create-session-hooks.d.ts +7 -5
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -1
- package/dist/plugin/hooks/create-transform-hooks.d.ts +1 -1
- package/dist/plugin/system-transform.d.ts +5 -0
- package/dist/plugin/types.d.ts +7 -1
- package/dist/plugin/ultrawork-db-model-override.d.ts +11 -0
- package/dist/plugin/ultrawork-model-override.d.ts +37 -0
- package/dist/shared/index.d.ts +4 -0
- package/dist/shared/internal-initiator-marker.d.ts +5 -0
- package/dist/shared/model-error-classifier.d.ts +31 -0
- package/dist/shared/model-resolution-pipeline.d.ts +1 -0
- package/dist/shared/model-resolver.d.ts +6 -0
- package/dist/shared/prompt-tools.d.ts +3 -0
- package/dist/shared/provider-model-id-transform.d.ts +1 -0
- package/dist/shared/session-category-registry.d.ts +32 -0
- package/dist/shared/session-model-state.d.ts +7 -0
- package/dist/shared/tmux/tmux-utils/layout.d.ts +17 -2
- package/dist/tools/delegate-task/background-task.d.ts +2 -1
- package/dist/tools/delegate-task/category-resolver.d.ts +2 -0
- package/dist/tools/delegate-task/constants.d.ts +1 -1
- package/dist/tools/delegate-task/skill-resolver.d.ts +1 -0
- package/dist/tools/delegate-task/subagent-resolver.d.ts +2 -0
- package/dist/tools/delegate-task/sync-task.d.ts +1 -1
- package/dist/tools/hashline-edit/constants.d.ts +5 -2
- package/dist/tools/hashline-edit/diff-utils.d.ts +6 -0
- package/dist/tools/hashline-edit/edit-operations.d.ts +4 -4
- package/dist/tools/hashline-edit/hash-computation.d.ts +1 -1
- package/dist/tools/hashline-edit/index.d.ts +1 -1
- package/dist/tools/hashline-edit/types.d.ts +4 -4
- package/dist/tools/hashline-edit/validation.d.ts +1 -0
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/skill/constants.d.ts +2 -2
- package/dist/tools/skill/types.d.ts +4 -0
- package/dist/tools/slashcommand/index.d.ts +1 -1
- package/dist/tools/slashcommand/types.d.ts +1 -7
- package/package.json +10 -10
- package/dist/cli/run/opencode-bin-path.d.ts +0 -3
- package/dist/hooks/sisyphus-gpt-hephaestus-reminder/index.d.ts +0 -1
- package/dist/tools/slashcommand/skill-command-converter.d.ts +0 -3
- package/dist/tools/slashcommand/slashcommand-description.d.ts +0 -3
- package/dist/tools/slashcommand/slashcommand-tool.d.ts +0 -4
- package/dist/tools/slashcommand/tools.d.ts +0 -2
package/README.md
CHANGED
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
|
|
12
12
|
> [!NOTE]
|
|
13
13
|
>
|
|
14
|
-
> [](https://sisyphuslabs.ai)
|
|
15
15
|
> > **We're building a fully productized version of Sisyphus to define the future of frontier agents. <br />Join the waitlist [here](https://sisyphuslabs.ai).**
|
|
16
16
|
|
|
17
17
|
> [!TIP]
|
|
18
|
-
>
|
|
19
|
-
> [](https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.0.0)
|
|
20
|
-
> > **Oh My OpenCode 3.0 is now stable! Use `oh-my-opencode@latest` to install it.**
|
|
21
|
-
>
|
|
22
18
|
> Be with us!
|
|
23
19
|
>
|
|
24
20
|
> | [<img alt="Discord link" src="https://img.shields.io/discord/1452487457085063218?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square" width="156px" />](https://discord.gg/PUwSMR9XNk) | Join our [Discord community](https://discord.gg/PUwSMR9XNk) to connect with contributors and fellow `oh-my-opencode` users. |
|
|
@@ -37,32 +33,11 @@
|
|
|
37
33
|
|
|
38
34
|
</div>
|
|
39
35
|
|
|
40
|
-
>
|
|
41
|
-
|
|
42
|
-
# Claude OAuth Access Notice
|
|
43
|
-
|
|
44
|
-
## TL;DR
|
|
45
|
-
|
|
46
|
-
> Q. Can I use oh-my-opencode?
|
|
47
|
-
|
|
48
|
-
Yes.
|
|
49
|
-
|
|
50
|
-
> Q. Can I use it with my Claude Code subscription?
|
|
51
|
-
|
|
52
|
-
Yes, technically possible. But I cannot recommend using it.
|
|
53
|
-
|
|
54
|
-
## FULL
|
|
55
|
-
|
|
56
|
-
> As of January 2026, Anthropic has restricted third-party OAuth access citing ToS violations.
|
|
36
|
+
> Anthropic [**blocked OpenCode because of us.**](https://x.com/thdxr/status/2010149530486911014) **Yes this is true.**
|
|
37
|
+
> They want you locked in. Claude Code's a nice prison, but it's still a prison.
|
|
57
38
|
>
|
|
58
|
-
>
|
|
59
|
-
>
|
|
60
|
-
> Indeed, some plugins that spoof Claude Code's oauth request signatures exist in the community.
|
|
61
|
-
>
|
|
62
|
-
> These tools may work regardless of technical detectability, but users should be aware of ToS implications, and I personally cannot recommend to use those.
|
|
63
|
-
>
|
|
64
|
-
> This project is not responsible for any issues arising from the use of unofficial tools, and **we do not have any custom implementations of those oauth systems.**
|
|
65
|
-
|
|
39
|
+
> We don't do lock-in here. We ride every model. Claude / Kimi / GLM for orchestration. GPT for reasoning. Minimax for speed. Gemini for creativity.
|
|
40
|
+
> The future isn't picking one winner—it's orchestrating them all. Models get cheaper every month. Smarter every month. No single provider will dominate. We're building for that open market, not their walled gardens.
|
|
66
41
|
|
|
67
42
|
<div align="center">
|
|
68
43
|
|
|
@@ -85,13 +60,13 @@ Yes, technically possible. But I cannot recommend using it.
|
|
|
85
60
|
|
|
86
61
|
> "It made me cancel my Cursor subscription. Unbelievable things are happening in the open source community." - [Arthur Guiot](https://x.com/arthur_guiot/status/2008736347092382053?s=20)
|
|
87
62
|
|
|
88
|
-
> "If Claude Code does in 7 days what a human does in 3 months, Sisyphus does it in 1 hour. It just works until the task is done. It is a discipline agent."
|
|
63
|
+
> "If Claude Code does in 7 days what a human does in 3 months, Sisyphus does it in 1 hour. It just works until the task is done. It is a discipline agent." <br/>- B, Quant Researcher
|
|
89
64
|
|
|
90
|
-
> "Knocked out 8000 eslint warnings with Oh My Opencode, just in a day"
|
|
65
|
+
> "Knocked out 8000 eslint warnings with Oh My Opencode, just in a day" <br/>- [Jacob Ferrari](https://x.com/jacobferrari_/status/2003258761952289061)
|
|
91
66
|
|
|
92
67
|
> "I converted a 45k line tauri app into a SaaS web app overnight using Ohmyopencode and ralph loop. Started with interview me prompt, asked it for ratings and recommendations on the questions. It was amazing to watch it work and to wake up this morning to a mostly working website!" - [James Hargis](https://x.com/hargabyte/status/2007299688261882202)
|
|
93
68
|
|
|
94
|
-
> "use oh-my-opencode, you will never go back"
|
|
69
|
+
> "use oh-my-opencode, you will never go back" <br/>- [d0t3ch](https://x.com/d0t3ch/status/2001685618200580503)
|
|
95
70
|
|
|
96
71
|
> "I haven't really been able to articulate exactly what makes it so great yet, but the development experience has reached a completely different dimension." - [
|
|
97
72
|
苔硯:こけすずり](https://x.com/kokesuzuri/status/2008532913961529372?s=20)
|
|
@@ -99,167 +74,199 @@ Yes, technically possible. But I cannot recommend using it.
|
|
|
99
74
|
> "Experimenting with open code, oh my opencode and supermemory this weekend to build some minecraft/souls-like abomination."
|
|
100
75
|
> "Asking it to add crouch animations while I go take my post-lunch walk. [Video]" - [MagiMetal](https://x.com/MagiMetal/status/2005374704178373023)
|
|
101
76
|
|
|
102
|
-
> "You guys should pull this into core and recruit him. Seriously. It's really, really, really good."
|
|
77
|
+
> "You guys should pull this into core and recruit him. Seriously. It's really, really, really good." <br/>- Henning Kilset
|
|
103
78
|
|
|
104
|
-
> "Hire @yeon_gyu_kim if you can convince him, this dude has revolutionized opencode."
|
|
79
|
+
> "Hire @yeon_gyu_kim if you can convince him, this dude has revolutionized opencode." <br/>- [mysticaltech](https://x.com/mysticaltech/status/2001858758608376079)
|
|
105
80
|
|
|
106
81
|
> "Oh My OpenCode Is Actually Insane" - [YouTube - Darren Builds AI](https://www.youtube.com/watch?v=G_Snfh2M41M)
|
|
107
82
|
|
|
108
83
|
---
|
|
109
84
|
|
|
110
|
-
## Contents
|
|
111
|
-
|
|
112
|
-
- [Oh My OpenCode](#oh-my-opencode)
|
|
113
|
-
- [Just Skip Reading This Readme](#just-skip-reading-this-readme)
|
|
114
|
-
- [It's the Age of Agents](#its-the-age-of-agents)
|
|
115
|
-
- [🪄 The Magic Word: `ultrawork`](#-the-magic-word-ultrawork)
|
|
116
|
-
- [For Those Who Want to Read: Meet Sisyphus](#for-those-who-want-to-read-meet-sisyphus)
|
|
117
|
-
- [Just Install This](#just-install-this)
|
|
118
|
-
- [For Those Who Want Autonomy: Meet Hephaestus](#for-those-who-want-autonomy-meet-hephaestus)
|
|
119
|
-
- [Installation](#installation)
|
|
120
|
-
- [For Humans](#for-humans)
|
|
121
|
-
- [For LLM Agents](#for-llm-agents)
|
|
122
|
-
- [Uninstallation](#uninstallation)
|
|
123
|
-
- [Features](#features)
|
|
124
|
-
- [Configuration](#configuration)
|
|
125
|
-
- [Author's Note](#authors-note)
|
|
126
|
-
- [Warnings](#warnings)
|
|
127
|
-
- [Loved by professionals at](#loved-by-professionals-at)
|
|
128
|
-
|
|
129
85
|
# Oh My OpenCode
|
|
130
86
|
|
|
131
|
-
|
|
132
|
-
But if you're a hacker, you'll fall head over heels for [OpenCode](https://github.com/sst/opencode).
|
|
133
|
-
**START WITH YOUR ChatGPT, Claude, Gemini SUBSCRIPTIONS. OPENCODE COVERS THEM ALL.**
|
|
87
|
+
You're juggling Claude Code, Codex, random OSS models. Configuring workflows. Debugging agents.
|
|
134
88
|
|
|
135
|
-
|
|
136
|
-
- Zero screen flicker.
|
|
137
|
-
- [LSP](https://opencode.ai/docs/lsp/), [linters, formatters](https://opencode.ai/docs/formatters/) activate automatically per file—and you can tweak everything.
|
|
138
|
-
- Mix and match models. **Orchestrate them by purpose.**
|
|
139
|
-
- Feature-rich. Beautiful. The terminal doesn't choke. High performance.
|
|
89
|
+
We did the work. Tested everything. Kept what actually shipped.
|
|
140
90
|
|
|
141
|
-
|
|
142
|
-
In an age where that magic seems lost, OpenCode brings it back.
|
|
143
|
-
If you love coding and computers, OpenCode is that Linux-after-Windows moment.
|
|
91
|
+
Install OmO. Type `ultrawork`. Done.
|
|
144
92
|
|
|
145
|
-
**But here's the catch: there's a lot to learn, it's complex, and your time is expensive.**
|
|
146
93
|
|
|
147
|
-
|
|
148
|
-
Even if you're not a hacker, invest a few minutes. Multiply your skills and productivity.
|
|
149
|
-
Hand this doc to an agent and let them set it up.
|
|
94
|
+
## Installation
|
|
150
95
|
|
|
151
|
-
|
|
96
|
+
### For Humans
|
|
152
97
|
|
|
153
|
-
|
|
154
|
-
- **Just paste this link into Claude Code / AmpCode / Factory Droid / Cursor and ask it to explain.**
|
|
155
|
-
- Ask why it's good, why it's not just another boilerplate setup, what actually gets better.
|
|
156
|
-
- If you're an LLM agent, explain to the user what becomes possible right now with this project.
|
|
98
|
+
Copy and paste this prompt to your LLM agent (Claude Code, AmpCode, Cursor, etc.):
|
|
157
99
|
|
|
158
|
-
|
|
100
|
+
```
|
|
101
|
+
Install and configure oh-my-opencode by following the instructions here:
|
|
102
|
+
https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Or read the [Installation Guide](docs/guide/installation.md), but seriously, let an agent do it. Humans fat-finger configs.
|
|
106
|
+
|
|
107
|
+
### For LLM Agents
|
|
108
|
+
|
|
109
|
+
Fetch the installation guide and follow it:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Skip This README
|
|
118
|
+
|
|
119
|
+
We're past the era of reading docs. Just paste this into your agent:
|
|
159
120
|
|
|
160
121
|
```
|
|
161
|
-
|
|
122
|
+
Read this and tell me why it's not just another boilerplate: https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/README.md
|
|
162
123
|
```
|
|
163
124
|
|
|
164
|
-
|
|
125
|
+
## Highlights
|
|
165
126
|
|
|
166
|
-
|
|
127
|
+
### 🪄 `ultrawork`
|
|
167
128
|
|
|
168
|
-
|
|
129
|
+
You're actually reading this? Wild.
|
|
169
130
|
|
|
170
|
-
|
|
131
|
+
Install. Type `ultrawork` (or `ulw`). Done.
|
|
171
132
|
|
|
172
|
-
|
|
133
|
+
Everything below, every feature, every optimization, you don't need to know it. It just works.
|
|
173
134
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
135
|
+
Even only with following subscriptions, ultrawork will work well (this project is not affiliated, this is just personal recommendation):
|
|
136
|
+
- [ChatGPT Subscription ($20)](https://chatgpt.com/)
|
|
137
|
+
- [Kimi Code Subscription ($0.99) (*only this month)](https://www.kimi.com/membership/pricing?track_id=5cdeca93-66f0-4d35-aabb-b6df8fcea328)
|
|
138
|
+
- [GLM Coding Plan ($10)](https://z.ai/subscribe)
|
|
139
|
+
- If you are eligible for pay-per-token, using kimi and gemini models won't cost you that much.
|
|
177
140
|
|
|
178
|
-
|
|
141
|
+
| | Feature | What it does |
|
|
142
|
+
| :---: | :------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
143
|
+
| 🤖 | **Discipline Agents** | Sisyphus orchestrates Hephaestus, Oracle, Librarian, Explore. A full AI dev team in parallel. |
|
|
144
|
+
| ⚡ | **`ultrawork` / `ulw`** | One word. Every agent activates. Doesn't stop until done. |
|
|
145
|
+
| 🚪 | **[IntentGate](https://factory.ai/news/terminal-bench)** | Analyzes true user intent before classifying or acting. No more literal misinterpretations. |
|
|
146
|
+
| 🔗 | **Hash-Anchored Edit Tool** | `LINE#ID` content hash validates every change. Zero stale-line errors. Inspired by [oh-my-pi](https://github.com/can1357/oh-my-pi). [The Harness Problem →](https://blog.can.ac/2026/02/12/the-harness-problem/) |
|
|
147
|
+
| 🛠️ | **LSP + AST-Grep** | Workspace rename, pre-build diagnostics, AST-aware rewrites. IDE precision for agents. |
|
|
148
|
+
| 🧠 | **Background Agents** | Fire 5+ specialists in parallel. Context stays lean. Results when ready. |
|
|
149
|
+
| 📚 | **Built-in MCPs** | Exa (web search), Context7 (official docs), Grep.app (GitHub search). Always on. |
|
|
150
|
+
| 🔁 | **Ralph Loop / `/ulw-loop`** | Self-referential loop. Doesn't stop until 100% done. |
|
|
151
|
+
| ✅ | **Todo Enforcer** | Agent goes idle? System yanks it back. Your task gets done, period. |
|
|
152
|
+
| 💬 | **Comment Checker** | No AI slop in comments. Code reads like a senior wrote it. |
|
|
153
|
+
| 🖥️ | **Tmux Integration** | Full interactive terminal. REPLs, debuggers, TUIs. All live. |
|
|
154
|
+
| 🔌 | **Claude Code Compatible** | Your hooks, commands, skills, MCPs, and plugins? All work here. |
|
|
155
|
+
| 🎯 | **Skill-Embedded MCPs** | Skills carry their own MCP servers. No context bloat. |
|
|
156
|
+
| 📋 | **Prometheus Planner** | Interview-mode strategic planning before any execution. |
|
|
157
|
+
| 🔍 | **`/init-deep`** | Auto-generates hierarchical `AGENTS.md` files throughout your project. Great for both token efficiency and your agent's performance |
|
|
179
158
|
|
|
180
|
-
|
|
159
|
+
### Discipline Agents
|
|
181
160
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
- Librarian: Official docs, open source implementations, codebase exploration (GLM-4.7)
|
|
187
|
-
- Explore: Blazing fast codebase exploration (Contextual Grep) (Grok Code Fast 1)
|
|
188
|
-
- Full LSP / AstGrep Support: Refactor decisively.
|
|
189
|
-
- Todo Continuation Enforcer: Forces the agent to continue if it quits halfway. **This is what keeps Sisyphus rolling that boulder.**
|
|
190
|
-
- Comment Checker: Prevents AI from adding excessive comments. Code generated by Sisyphus should be indistinguishable from human-written code.
|
|
191
|
-
- Claude Code Compatibility: Command, Agent, Skill, MCP, Hook(PreToolUse, PostToolUse, UserPromptSubmit, Stop)
|
|
192
|
-
- Curated MCPs:
|
|
193
|
-
- Exa (Web Search)
|
|
194
|
-
- Context7 (Official Documentation)
|
|
195
|
-
- Grep.app (GitHub Code Search)
|
|
196
|
-
- Interactive Terminal Supported - Tmux Integration
|
|
197
|
-
- Async Agents
|
|
198
|
-
- ...
|
|
161
|
+
<table><tr>
|
|
162
|
+
<td align="center"><img src=".github/assets/sisyphus.png" height="300" /></td>
|
|
163
|
+
<td align="center"><img src=".github/assets/hephaestus.png" height="300" /></td>
|
|
164
|
+
</tr></table>
|
|
199
165
|
|
|
200
|
-
|
|
166
|
+
**Sisyphus** (`claude-opus-4-6` / **`kimi-k2.5`** / **`glm-5`** ) is your main orchestrator. He plans, delegates to specialists, and drives tasks to completion with aggressive parallel execution. He does not stop halfway.
|
|
201
167
|
|
|
202
|
-
|
|
168
|
+
**Hephaestus** (`gpt-5.3-codex`) is your autonomous deep worker. Give him a goal, not a recipe. He explores the codebase, researches patterns, and executes end-to-end without hand-holding. *The Legitimate Craftsman.*
|
|
203
169
|
|
|
204
|
-
|
|
170
|
+
**Prometheus** (`claude-opus-4-6` / **`kimi-k2.5`** / **`glm-5`** ) is your strategic planner. Interview mode: it questions, identifies scope, and builds a detailed plan before a single line of code is touched.
|
|
205
171
|
|
|
206
|
-
|
|
207
|
-
1. Sisyphus leverages LSP for refactoring; it's more deterministic, safer, and surgical.
|
|
208
|
-
1. When the heavy lifting requires a UI touch, Sisyphus delegates frontend tasks directly to Gemini 3 Pro.
|
|
209
|
-
1. If Sisyphus gets stuck in a loop or hits a wall, he doesn't keep banging his head—he calls GPT 5.2 for high-IQ strategic backup.
|
|
210
|
-
1. Working with a complex open-source framework? Sisyphus spawns subagents to digest the raw source code and documentation in real-time. He operates with total contextual awareness.
|
|
211
|
-
1. When Sisyphus touches comments, he either justifies their existence or nukes them. He keeps your codebase clean.
|
|
212
|
-
1. Sisyphus is bound by his TODO list. If he doesn't finish what he started, the system forces him back into "bouldering" mode. Your task gets done, period.
|
|
213
|
-
1. Honestly, don't even bother reading the docs. Just write your prompt. Include the 'ultrawork' keyword. Sisyphus will analyze the structure, gather the context, dig through external source code, and just keep bouldering until the job is 100% complete.
|
|
214
|
-
1. Actually, typing 'ultrawork' is too much effort. Just type 'ulw'. Just ulw. Sip your coffee. Your work is done.
|
|
172
|
+
Every agent is tuned to its model's specific strengths. No manual model-juggling. [Learn more →](docs/guide/overview.md)
|
|
215
173
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
- **Your agent is now the dev team lead. You're the AI Manager.**
|
|
220
|
-
4. It doesn't stop until the job is done.
|
|
221
|
-
5. Don't want to dive deep into this project? No problem. Just type 'ultrathink'.
|
|
174
|
+
> Anthropic [blocked OpenCode because of us.](https://x.com/thdxr/status/2010149530486911014) That's why Hephaestus is called "The Legitimate Craftsman." The irony is intentional.
|
|
175
|
+
>
|
|
176
|
+
> We run best on Opus, but Kimi K2.5 + GPT-5.3 Codex already beats vanilla Claude Code. Zero config needed.
|
|
222
177
|
|
|
223
|
-
|
|
178
|
+
### Agent Orchestration
|
|
224
179
|
|
|
225
|
-
|
|
180
|
+
When Sisyphus delegates to a subagent, it doesn't pick a model. It picks a **category**. The category maps automatically to the right model:
|
|
226
181
|
|
|
227
|
-
|
|
182
|
+
| Category | What it's for |
|
|
183
|
+
| :------------------- | :--------------------------------- |
|
|
184
|
+
| `visual-engineering` | Frontend, UI/UX, design |
|
|
185
|
+
| `deep` | Autonomous research + execution |
|
|
186
|
+
| `quick` | Single-file changes, typos |
|
|
187
|
+
| `ultrabrain` | Hard logic, architecture decisions |
|
|
228
188
|
|
|
229
|
-
|
|
230
|
-
**Meet our autonomous deep worker: Hephaestus (GPT 5.3 Codex Medium). The Legitimate Craftsman Agent.**
|
|
189
|
+
Agent says what kind of work. Harness picks the right model. You touch nothing.
|
|
231
190
|
|
|
232
|
-
|
|
191
|
+
### Claude Code Compatibility
|
|
233
192
|
|
|
234
|
-
|
|
193
|
+
You dialed in your Claude Code setup. Good.
|
|
235
194
|
|
|
236
|
-
|
|
237
|
-
- **Goal-Oriented**: Give him an objective, not a recipe. He determines the steps himself.
|
|
238
|
-
- **Explores Before Acting**: Fires 2-5 parallel explore/librarian agents before writing a single line of code.
|
|
239
|
-
- **End-to-End Completion**: Doesn't stop until the task is 100% done with evidence of verification.
|
|
240
|
-
- **Pattern Matching**: Searches existing codebase to match your project's style—no AI slop.
|
|
241
|
-
- **Legitimate Precision**: Crafts code like a master blacksmith—surgical, minimal, exactly what's needed.
|
|
195
|
+
Every hook, command, skill, MCP, plugin works here unchanged. Full compatibility, including plugins.
|
|
242
196
|
|
|
243
|
-
|
|
197
|
+
### World-Class Tools for Your Agents
|
|
244
198
|
|
|
245
|
-
|
|
199
|
+
LSP, AST-Grep, Tmux, MCP actually integrated, not duct-taped together.
|
|
246
200
|
|
|
247
|
-
|
|
201
|
+
- **LSP**: `lsp_rename`, `lsp_goto_definition`, `lsp_find_references`, `lsp_diagnostics`. IDE precision for every agent
|
|
202
|
+
- **AST-Grep**: Pattern-aware code search and rewriting across 25 languages
|
|
203
|
+
- **Tmux**: Full interactive terminal. REPLs, debuggers, TUI apps. Your agent stays in session
|
|
204
|
+
- **MCP**: Web search, official docs, GitHub code search. All baked in
|
|
205
|
+
|
|
206
|
+
### Skill-Embedded MCPs
|
|
207
|
+
|
|
208
|
+
MCP servers eat your context budget. We fixed that.
|
|
209
|
+
|
|
210
|
+
Skills bring their own MCP servers. Spin up on-demand, scoped to task, gone when done. Context window stays clean.
|
|
211
|
+
|
|
212
|
+
### Codes Better. Hash-Anchored Edits
|
|
213
|
+
|
|
214
|
+
The harness problem is real. Most agent failures aren't the model. It's the edit tool.
|
|
215
|
+
|
|
216
|
+
> *"None of these tools give the model a stable, verifiable identifier for the lines it wants to change... They all rely on the model reproducing content it already saw. When it can't - and it often can't - the user blames the model."*
|
|
217
|
+
>
|
|
218
|
+
> <br/>- [Can Bölük, The Harness Problem](https://blog.can.ac/2026/02/12/the-harness-problem/)
|
|
219
|
+
|
|
220
|
+
Inspired by [oh-my-pi](https://github.com/can1357/oh-my-pi), we implemented **Hashline**. Every line the agent reads comes back tagged with a content hash:
|
|
248
221
|
|
|
249
222
|
```
|
|
250
|
-
|
|
251
|
-
|
|
223
|
+
11#VK: function hello() {
|
|
224
|
+
22#XJ: return "world";
|
|
225
|
+
33#MB: }
|
|
252
226
|
```
|
|
253
227
|
|
|
254
|
-
|
|
228
|
+
The agent edits by referencing those tags. If the file changed since the last read, the hash won't match and the edit is rejected before corruption. No whitespace reproduction. No stale-line errors.
|
|
255
229
|
|
|
256
|
-
|
|
230
|
+
Grok Code Fast 1: **6.7% → 68.3%** success rate. Just from changing the edit tool.
|
|
257
231
|
|
|
258
|
-
|
|
232
|
+
### Deep Initialization. `/init-deep`
|
|
233
|
+
|
|
234
|
+
Run `/init-deep`. It generates hierarchical `AGENTS.md` files:
|
|
259
235
|
|
|
260
|
-
```bash
|
|
261
|
-
curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md
|
|
262
236
|
```
|
|
237
|
+
project/
|
|
238
|
+
├── AGENTS.md ← project-wide context
|
|
239
|
+
├── src/
|
|
240
|
+
│ ├── AGENTS.md ← src-specific context
|
|
241
|
+
│ └── components/
|
|
242
|
+
│ └── AGENTS.md ← component-specific context
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
Agents auto-read relevant context. Zero manual management.
|
|
246
|
+
|
|
247
|
+
### Planning. Prometheus
|
|
248
|
+
|
|
249
|
+
Complex task? Don't prompt and pray.
|
|
250
|
+
|
|
251
|
+
`/start-work` calls Prometheus. **Interviews you like a real engineer**, identifies scope and ambiguities, builds a verified plan before touching code. Agent knows what it's building before it starts.
|
|
252
|
+
|
|
253
|
+
### Skills
|
|
254
|
+
|
|
255
|
+
Skills aren't just prompts. Each brings:
|
|
256
|
+
|
|
257
|
+
- Domain-tuned system instructions
|
|
258
|
+
- Embedded MCP servers, on-demand
|
|
259
|
+
- Scoped permissions. Agents stay in bounds
|
|
260
|
+
|
|
261
|
+
Built-ins: `playwright` (browser automation), `git-master` (atomic commits, rebase surgery), `frontend-ui-ux` (design-first UI).
|
|
262
|
+
|
|
263
|
+
Add your own: `.opencode/skills/*/SKILL.md` or `~/.config/opencode/skills/*/SKILL.md`.
|
|
264
|
+
|
|
265
|
+
**Want the full feature breakdown?** See the **[Features Documentation](docs/reference/features.md)** for agents, hooks, tools, MCPs, and everything else in detail.
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
> **New to oh-my-opencode?** Read the **[Overview](docs/guide/overview.md)** to understand what you have, or check the **[Orchestration Guide](docs/guide/orchestration.md)** for how agents collaborate.
|
|
263
270
|
|
|
264
271
|
## Uninstallation
|
|
265
272
|
|
|
@@ -295,23 +302,27 @@ To remove oh-my-opencode:
|
|
|
295
302
|
|
|
296
303
|
## Features
|
|
297
304
|
|
|
298
|
-
|
|
299
|
-
|
|
305
|
+
Features you'll think should've always existed. Once you use them, you can't go back.
|
|
306
|
+
|
|
307
|
+
See full [Features Documentation](docs/reference/features.md).
|
|
300
308
|
|
|
301
309
|
**Quick Overview:**
|
|
302
310
|
- **Agents**: Sisyphus (the main agent), Prometheus (planner), Oracle (architecture/debugging), Librarian (docs/code search), Explore (fast codebase grep), Multimodal Looker
|
|
303
311
|
- **Background Agents**: Run multiple agents in parallel like a real dev team
|
|
304
312
|
- **LSP & AST Tools**: Refactoring, rename, diagnostics, AST-aware code search
|
|
313
|
+
- **Hash-anchored Edit Tool**: `LINE#ID` references validate content before applying every change. Surgical edits, zero stale-line errors
|
|
305
314
|
- **Context Injection**: Auto-inject AGENTS.md, README.md, conditional rules
|
|
306
315
|
- **Claude Code Compatibility**: Full hook system, commands, skills, agents, MCPs
|
|
307
316
|
- **Built-in MCPs**: websearch (Exa), context7 (docs), grep_app (GitHub search)
|
|
308
317
|
- **Session Tools**: List, read, search, and analyze session history
|
|
309
318
|
- **Productivity Features**: Ralph Loop, Todo Enforcer, Comment Checker, Think Mode, and more
|
|
319
|
+
- **Model Setup**: Agent-model matching is built into the [Installation Guide](docs/guide/installation.md#step-5-understand-your-model-setup)
|
|
310
320
|
|
|
311
321
|
## Configuration
|
|
312
322
|
|
|
313
|
-
|
|
314
|
-
|
|
323
|
+
Opinionated defaults, adjustable if you insist.
|
|
324
|
+
|
|
325
|
+
See [Configuration Documentation](docs/reference/configuration.md).
|
|
315
326
|
|
|
316
327
|
**Quick Overview:**
|
|
317
328
|
- **Config Locations**: `.opencode/oh-my-opencode.jsonc` or `.opencode/oh-my-opencode.json` (project), `~/.config/opencode/oh-my-opencode.jsonc` or `~/.config/opencode/oh-my-opencode.json` (user)
|
|
@@ -329,48 +340,39 @@ See the full [Configuration Documentation](docs/configurations.md) for detailed
|
|
|
329
340
|
|
|
330
341
|
## Author's Note
|
|
331
342
|
|
|
332
|
-
**
|
|
343
|
+
**Want the philosophy?** Read the [Ultrawork Manifesto](docs/manifesto.md).
|
|
333
344
|
|
|
334
|
-
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
I burned through $24K in LLM tokens on personal projects. Tried every tool. Configured everything to death. OpenCode won.
|
|
335
348
|
|
|
336
|
-
I
|
|
337
|
-
Tried every tool out there, configured them to death. OpenCode won.
|
|
349
|
+
Every problem I hit, the fix is baked into this plugin. Install and go.
|
|
338
350
|
|
|
339
|
-
|
|
340
|
-
If OpenCode is Debian/Arch, Oh My OpenCode is Ubuntu/[Omarchy](https://omarchy.org/).
|
|
351
|
+
If OpenCode is Debian/Arch, OmO is Ubuntu/[Omarchy](https://omarchy.org/).
|
|
341
352
|
|
|
353
|
+
Heavy influence from [AmpCode](https://ampcode.com) and [Claude Code](https://code.claude.com/docs/overview). Features ported, often improved. Still building. It's **Open**Code.
|
|
342
354
|
|
|
343
|
-
|
|
344
|
-
It's **Open**Code, after all.
|
|
355
|
+
Other harnesses promise multi-model orchestration. We ship it. Stability too. And features that actually work.
|
|
345
356
|
|
|
346
|
-
|
|
347
|
-
I'll keep testing and updating. I'm this project's most obsessive user.
|
|
357
|
+
I'm this project's most obsessive user:
|
|
348
358
|
- Which model has the sharpest logic?
|
|
349
359
|
- Who's the debugging god?
|
|
350
360
|
- Who writes the best prose?
|
|
351
361
|
- Who dominates frontend?
|
|
352
362
|
- Who owns backend?
|
|
353
|
-
-
|
|
354
|
-
- What
|
|
355
|
-
|
|
356
|
-
This plugin is the distillation of that experience. Just take the best. Got a better idea? PRs are welcome.
|
|
357
|
-
|
|
358
|
-
**Stop agonizing over agent harness choices.**
|
|
359
|
-
**I'll do the research, borrow from the best, and ship updates here.**
|
|
363
|
+
- What's fastest for daily driving?
|
|
364
|
+
- What are competitors shipping?
|
|
360
365
|
|
|
361
|
-
|
|
366
|
+
This plugin is the distillation. Take the best. Got improvements? PRs welcome.
|
|
362
367
|
|
|
363
|
-
|
|
368
|
+
**Stop agonizing over harness choices.**
|
|
369
|
+
**I'll research, steal the best, and ship it here.**
|
|
364
370
|
|
|
365
|
-
|
|
371
|
+
Sounds arrogant? Have a better way? Contribute. You're welcome.
|
|
366
372
|
|
|
367
|
-
|
|
373
|
+
No affiliation with any project/model mentioned. Just personal experimentation.
|
|
368
374
|
|
|
369
|
-
|
|
370
|
-
- Actually, I'll spread the word. Let's see who wins.
|
|
371
|
-
- If you're on [1.0.132](https://github.com/sst/opencode/releases/tag/v1.0.132) or older, an OpenCode bug may break config.
|
|
372
|
-
- [The fix](https://github.com/sst/opencode/pull/5040) was merged after 1.0.132—use a newer version.
|
|
373
|
-
- Fun fact: That PR was discovered and fixed thanks to OhMyOpenCode's Librarian, Explore, and Oracle setup.
|
|
375
|
+
99% of this project was built with OpenCode. I don't really know TypeScript. **But I personally reviewed and largely rewrote this doc.**
|
|
374
376
|
|
|
375
377
|
## Loved by professionals at
|
|
376
378
|
|