まとめ
- oh-my-opencodeはClaude Codeの
.claude/ディレクトリ(commands/skills/agents/hooks)を読み込む互換レイヤーを提供する - 一方でSisyphus/Atlas/Prometheus/Hephaestus等のオーケストレーションや
keyword-detector等のhookも有効になり、自動的に介入してくることがある oh-my-opencode.jsonで無効化すれば、互換レイヤーだけを利用できる- 設定ミスしやすいポイント:
agents.X配下はdisabledではなくdisable、disabled_commandsに指定できる値はスキーマで限定されている
設定
~/.config/opencode/oh-my-opencode.json:
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
"claude_code": {
"hooks": true,
"commands": true,
"skills": true,
"agents": true,
"mcps": true,
"plugins": true
},
"git_master": {
"commit_footer": false,
"include_co_authored_by": false
},
"sisyphus_agent": {
"disabled": true
},
"disabled_agents": ["sisyphus", "atlas", "prometheus"],
"disabled_commands": ["init-deep", "start-work"],
"disabled_hooks": [
"start-work",
"atlas",
"ralph-loop",
"keyword-detector",
"auto-slash-command",
"agent-usage-reminder"
],
"agents": {
"sisyphus": {
"disable": true
},
"atlas": {
"disable": true
},
"prometheus": {
"disable": true
},
"hephaestus": {
"disable": true
}
}
}
設定のポイント
claude_code.*: 互換レイヤーの各機能(hooks/commands/skills/agents/mcps/plugins)を個別にon/offsisyphus_agent.disabled: Sisyphusオーケストレーション全体を無効化disabled_agents/disabled_commands/disabled_hooks: エージェント定義・スラッシュコマンド・ライフサイクルフックを無効化agents.X.disable: スキーマのdisabled_agentsに未登録のエージェント(Hephaestus等)もこちらで無効化できるgit_master.*: コミットメッセージへの「Ultraworked with Sisyphus」フッターとCo-authored-by: Sisyphusトレーラーを無効化