Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

English | 한국어 | 中文 | 日本語 | Español | Tiếng Việt | Português

oh-my-claudecode

npm version npm downloads GitHub stars License: MIT Sponsor Discord

For Codex users: Check out oh-my-codex — the same orchestration experience for OpenAI Codex CLI.

Multi-agent orchestration for Claude Code. Zero learning curve.

Don't learn Claude Code. Just use OMC.

Get StartedDocumentationCLI ReferenceWorkflowsMigration GuideDiscord


Quick Start

Step 1: Install

Marketplace/plugin install (recommended for most Claude Code users):

/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode /plugin install oh-my-claudecode

If you prefer the npm CLI/runtime path instead of the marketplace flow:

npm i -g oh-my-claude-sisyphus@latest

Step 2: Setup

/setup /omc-setup

Step 3: Build something

autopilot: build a REST API for managing tasks

That's it. Everything else is automatic.

Not Sure Where to Start?

If you're uncertain about requirements, have a vague idea, or want to micromanage the design:

/deep-interview "I want to build a task management app"

The deep interview uses Socratic questioning to clarify your thinking before any code is written. It exposes hidden assumptions and measures clarity across weighted dimensions, ensuring you know exactly what to build before execution begins.

Team Mode (Recommended)

Starting in v4.1.7, Team is the canonical orchestration surface in OMC. The legacy swarm keyword/skill has been removed; use team directly.

/team 3:executor "fix all TypeScript errors"

Team runs as a staged pipeline:

team-plan → team-prd → team-exec → team-verify → team-fix (loop)

Enable Claude Code native teams in ~/.claude/settings.json:

{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }

If teams are disabled, OMC will warn you and fall back to non-team execution where possible.

tmux CLI Workers — Codex & Gemini (v4.4.0+)

v4.4.0 removes the Codex/Gemini MCP servers (x, g providers). Use the CLI-first Team runtime (omc team ...) to spawn real tmux worker panes:

omc team 2:codex "review auth module for security issues" omc team 2:gemini "redesign UI components for accessibility" omc team 1:claude "implement the payment flow" omc team status auth-review omc team shutdown auth-review

/omc-teams remains as a legacy compatibility skill and now routes to omc team ....

For mixed Codex + Gemini work in one command, use the /ccg skill (routes via /ask codex + /ask gemini, then Claude synthesizes):

/ccg Review this PR — architecture (Codex) and UI components (Gemini)
SurfaceWorkersBest For
omc team N:codex "..."N Codex CLI panesCode review, security analysis, architecture
omc team N:gemini "..."N Gemini CLI panesUI/UX design, docs, large-context tasks
omc team N:claude "..."N Claude CLI panesGeneral tasks via Claude CLI in tmux
/ccg/ask codex + /ask geminiTri-model advisor synthesis

Workers spawn on-demand and die when their task completes — no idle resource usage. Requires codex / gemini CLIs installed and an active tmux session.

Note: Package naming — The project is branded as oh-my-claudecode (repo, plugin, commands), but the npm package is published as oh-my-claude-sisyphus. If you install or upgrade the CLI tools via npm/bun, use npm i -g oh-my-claude-sisyphus@latest.

Updating

If you installed OMC via npm, upgrade with the published package name:

npm i -g oh-my-claude-sisyphus@latest

Package naming note: the repo, plugin, and commands are branded oh-my-claudecode, but the published npm package name remains oh-my-claude-sisyphus.

If you installed OMC via the Claude Code marketplace/plugin flow, update with:

# 1. Update the marketplace clone /plugin marketplace update omc # 2. Re-run setup to refresh configuration /setup

If you are developing from a local checkout or git worktree, update the checkout first, then re-run setup from that worktree so the active runtime matches the code you are testing.

Note: If marketplace auto-update is not enabled, you must manually run /plugin marketplace update omc to sync the latest version before running setup.

If you experience issues after updating, clear the old plugin cache:

/omc-doctor

Your Claude Just Have been Steroided.

oh-my-claudecode


Why oh-my-claudecode?

  • Zero configuration required - Works out of the box with intelligent defaults
  • Team-first orchestration - Team is the canonical multi-agent surface
  • Natural language interface - No commands to memorize, just describe what you want
  • Automatic parallelization - Complex tasks distributed across specialized agents
  • Persistent execution - Won't give up until the job is verified complete
  • Cost optimization - Smart model routing saves 30-50% on tokens
  • Learn from experience - Automatically extracts and reuses problem-solving patterns
  • Real-time visibility - HUD statusline shows what's happening under the hood

Features

Orchestration Modes

Multiple strategies for different use cases — from Team-backed orchestration to token-efficient refactoring. Learn more →

ModeWhat it isUse For
Team (recommended)Canonical staged pipeline (team-plan → team-prd → team-exec → team-verify → team-fix)Coordinated Claude agents on a shared task list
omc team (CLI)tmux CLI workers — real claude/codex/gemini processes in split-panesCodex/Gemini CLI tasks; on-demand spawn, die when done
ccgTri-model advisors via /ask codex + /ask gemini, Claude synthesizesMixed backend+UI work needing both Codex and Gemini
AutopilotAutonomous execution (single lead agent)End-to-end feature work with minimal ceremony
UltraworkMaximum parallelism (non-team)Burst parallel fixes/refactors where Team isn't needed
RalphPersistent mode with verify/fix loopsTasks that must complete fully (no silent partials)
PipelineSequential, staged processingMulti-step transformations with strict ordering
Ultrapilot (legacy)Deprecated compatibility mode (autopilot pipeline alias)Existing workflows and older docs

Intelligent Orchestration

  • 32 specialized agents for architecture, research, design, testing, data science
  • Smart model routing - Haiku for simple tasks, Opus for complex reasoning
  • Automatic delegation - Right agent for the job, every time

Developer Experience

  • Magic keywords - ralph, ulw, ralplan; Team stays explicit via /team
  • HUD statusline - Real-time orchestration metrics in your status bar
  • Skill learning - Extract reusable patterns from your sessions
  • Analytics & cost tracking - Understand token usage across all sessions

Custom Skills

Learn once, reuse forever. OMC extracts hard-won debugging knowledge into portable skill files that auto-inject when relevant.

Project ScopeUser Scope
Path.omc/skills/~/.omc/skills/
Shared withTeam (version-controlled)All your projects
PriorityHigher (overrides user)Lower (fallback)
# .omc/skills/fix-proxy-crash.md --- name: Fix Proxy Crash description: aiohttp proxy crashes on ClientDisconnectedError triggers: ["proxy", "aiohttp", "disconnected"] source: extracted --- Wrap handler at server.py:42 in try/except ClientDisconnectedError...

Manage skills: /skill list | add | remove | edit | search Auto-learn: /learner extracts reusable patterns with strict quality gates Auto-inject: Matching skills load into context automatically — no manual recall needed

Full feature list →


Magic Keywords

Optional shortcuts for power users. Natural language works fine without them. Team mode is explicit: use /team ... or omc team ... rather than a keyword trigger.

KeywordEffectExample
teamCanonical Team orchestration/team 3:executor "fix all TypeScript errors"
omc teamtmux CLI workers (codex/gemini/claude)omc team 2:codex "security review"
ccg/ask codex + /ask gemini synthesis/ccg review this PR
autopilotFull autonomous executionautopilot: build a todo app
ralphPersistence moderalph: refactor auth
ulwMaximum parallelismulw fix all errors
ralplanIterative planning consensusralplan this feature
deep-interviewSocratic requirements clarificationdeep-interview "vague idea"
deepsearchCodebase-focused search routingdeepsearch for auth middleware
ultrathinkDeep reasoning modeultrathink about this architecture
cancelomc, stopomcStop active OMC modesstopomc

Notes:

  • ralph includes ultrawork: when you activate ralph mode, it automatically includes ultrawork's parallel execution.
  • swarm compatibility alias has been removed; migrate existing prompts to /team syntax.
  • plan this / plan the keyword triggers were removed; use ralplan or explicit /oh-my-claudecode:omc-plan.

Utilities

Provider Advisor (omc ask)

Run local provider CLIs and save a markdown artifact under .omc/artifacts/ask/:

omc ask claude "review this migration plan" omc ask codex --prompt "identify architecture risks" omc ask gemini --prompt "propose UI polish ideas" omc ask claude --agent-prompt executor --prompt "draft implementation steps"

Canonical env vars:

  • OMC_ASK_ADVISOR_SCRIPT
  • OMC_ASK_ORIGINAL_TASK

Phase-1 aliases OMX_ASK_ADVISOR_SCRIPT and OMX_ASK_ORIGINAL_TASK are accepted with deprecation warnings.

Rate Limit Wait

Auto-resume Claude Code sessions when rate limits reset.

omc wait # Check status, get guidance omc wait --start # Enable auto-resume daemon omc wait --stop # Disable daemon

Requires: tmux (for session detection)

Monitoring & Observability

Use the HUD for live observability and the current session/replay artifacts for post-session inspection:

  • HUD preset: /oh-my-claudecode:hud setup then use a supported preset such as "omcHud": { "preset": "focused" }
  • Session summaries: .omc/sessions/*.json
  • Replay logs: .omc/state/agent-replay-*.jsonl
  • Live HUD rendering: omc hud

Notification Tags (Telegram/Discord/Slack)

You can configure who gets tagged when stop callbacks send session summaries.

# Set/replace tag list omc config-stop-callback telegram --enable --token <bot_token> --chat <chat_id> --tag-list "@alice,bob" omc config-stop-callback discord --enable --webhook <url> --tag-list "@here,123456789012345678,role:987654321098765432" omc config-stop-callback slack --enable --webhook <url> --tag-list "<!here>,<@U1234567890>" # Incremental updates omc config-stop-callback telegram --add-tag charlie omc config-stop-callback discord --remove-tag @here omc config-stop-callback discord --clear-tags

Tag behavior:

  • Telegram: alice becomes @alice
  • Discord: supports @here, @everyone, numeric user IDs, and role:<id>
  • Slack: supports <@MEMBER_ID>, <!channel>, <!here>, <!everyone>, <!subteam^GROUP_ID>
  • file callbacks ignore tag options

OpenClaw Integration

Forward Claude Code session events to an OpenClaw gateway to enable automated responses and workflows via your OpenClaw agent.

Quick setup (recommended):

/oh-my-claudecode:configure-notifications # → When prompted, type "openclaw" → choose "OpenClaw Gateway"

Manual setup: create ~/.claude/omc_config.openclaw.json:

{ "enabled": true, "gateways": { "my-gateway": { "url": "https://your-gateway.example.com/wake", "headers": { "Authorization": "Bearer YOUR_TOKEN" }, "method": "POST", "timeout": 10000 } }, "hooks": { "session-start": { "gateway": "my-gateway", "instruction": "Session started for {{projectName}}", "enabled": true }, "stop": { "gateway": "my-gateway", "instruction": "Session stopping for {{projectName}}", "enabled": true } } }

Environment variables:

VariableDescription
OMC_OPENCLAW=1Enable OpenClaw
OMC_OPENCLAW_DEBUG=1Enable debug logging
OMC_OPENCLAW_CONFIG=/path/to/config.jsonOverride config file path

Supported hook events (6 active in bridge.ts):

EventTriggerKey template variables
session-startSession begins{{sessionId}}, {{projectName}}, {{projectPath}}
stopClaude response completes{{sessionId}}, {{projectName}}
keyword-detectorEvery prompt submission{{prompt}}, {{sessionId}}
ask-user-questionClaude requests user input{{question}}, {{sessionId}}
pre-tool-useBefore tool invocation (high frequency){{toolName}}, {{sessionId}}
post-tool-useAfter tool invocation (high frequency){{toolName}}, {{sessionId}}

Reply channel environment variables:

VariableDescription
OPENCLAW_REPLY_CHANNELReply channel (e.g. discord)
OPENCLAW_REPLY_TARGETChannel ID
OPENCLAW_REPLY_THREADThread ID

See scripts/openclaw-gateway-demo.mjs for a reference gateway that relays OpenClaw payloads to Discord via ClawdBot.


Documentation


Requirements

  • Claude Code CLI
  • Claude Max/Pro subscription OR Anthropic API key

Platform & tmux

OMC features like omc team and rate-limit detection require tmux:

Platformtmux providerInstall
macOStmuxbrew install tmux
Ubuntu/Debiantmuxsudo apt install tmux
Fedoratmuxsudo dnf install tmux
Archtmuxsudo pacman -S tmux
Windowspsmux (native)winget install psmux
Windows (WSL2)tmux (inside WSL)sudo apt install tmux

Windows users: psmux provides a native tmux binary for Windows with 76 tmux-compatible commands. No WSL required.

Optional: Multi-AI Orchestration

OMC can optionally orchestrate external AI providers for cross-validation and design consistency. These are not required — OMC works fully without them.

ProviderInstallWhat it enables
Gemini CLInpm install -g @google/gemini-cliDesign review, UI consistency (1M token context)
Codex CLInpm install -g @openai/codexArchitecture validation, code review cross-check

Cost: 3 Pro plans (Claude + Gemini + ChatGPT) cover everything for ~$60/month.


License

MIT


Inspired by: oh-my-opencodeclaude-hudSuperpowerseverything-claude-codeOuroboros

Zero learning curve. Maximum power.

Featured by OmC Contributors

Top personal non-fork, non-archived repos from all-time OMC contributors (100+ GitHub stars).

Star History

Star History Chart

💖 Support This Project

If Oh-My-ClaudeCode helps your workflow, consider sponsoring:

Sponsor on GitHub

Why sponsor?

  • Keep development active
  • Priority support for sponsors
  • Influence roadmap & features
  • Help maintain free & open source

Other ways to help

  • ⭐ Star the repo
  • 🐛 Report bugs
  • 💡 Suggest features
  • 📝 Contribute code

关于 About

Teams-first Multi-agent orchestration for Claude Code
agentic-codingai-agentsautomationclaudeclaude-codemulti-agent-systemsoh-my-opencodeopencodeparallel-executionvibe-coding

语言 Languages

TypeScript55.7%
JavaScript42.5%
Shell0.9%
Python0.8%
Dockerfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
2193
Total Commits
峰值: 362次/周
Less
More

核心贡献者 Contributors