oh-my-codex
Original:🇺🇸 English
Not Translated
Multi-agent orchestration layer for OpenAI Codex CLI. Provides 30 specialized agents, 40+ workflow skills, team orchestration in tmux, persistent MCP servers, and staged pipeline execution.
2installs
Added on
NPX Install
npx skill4agent add akillness/skills-template oh-my-codexSKILL.md Content
oh-my-codex (OMX) - Multi-Agent Orchestration for Codex CLI
When to use this skill
- Orchestrating complex multi-agent workflows with OpenAI Codex CLI
- Running parallel team workers in tmux for coordinated task execution
- Using persistent MCP servers for state, memory, and code intelligence
- Executing staged pipelines (plan → prd → exec → verify → fix)
- Leveraging role-based agent prompts for specialized tasks
1. Core Concepts
Role Prompts (30 Agents)
| Agent Tier | Agents | Use Case |
|---|---|---|
| Core Development | architect, planner, executor, debugger, verifier, explore | Main development workflow |
| Quality Assurance | style-reviewer, quality-reviewer, api-reviewer, security-reviewer, performance-reviewer | Code review lane |
| Domain Experts | dependency-expert, test-engineer, build-fixer, designer, writer, qa-tester | Specialized tasks |
| Product Strategy | product-manager, ux-researcher, product-analyst, information-architect | Product planning |
Workflow Skills (40+)
| Skill | Trigger | Description |
|---|---|---|
| | Full autonomous execution from idea to working code |
| | Self-referential loop with verifier verification until completion |
| | Maximum parallelism with parallel agent orchestration |
| | N coordinated agents using Codex CLI native teams |
| | Strategic planning with consensus and review modes |
| | Parallel scientist agents for comprehensive research |
| | Test-first development with red-green-refactor cycle |
| | Fix build errors, type errors, and toolchain failures |
| | Comprehensive code review across all quality dimensions |
| | Security audit focusing on vulnerabilities and trust boundaries |
| | Stop execution modes and clear active state |
MCP Servers
| Server | Purpose |
|---|---|
| Persistent mode lifecycle state |
| Memory + notepad surfaces for long-running sessions |
| Code intelligence and context |
| Execution tracing and debugging |
2. Installation & Setup
Prerequisites
- macOS or Linux (Windows via WSL2)
- Node.js >= 20
- Codex CLI installed ()
npm install -g @openai/codex - Codex auth configured
Install oh-my-codex
bash
npm install -g oh-my-codex
omx setup
omx doctorRecommended Launch Profile
bash
# Trusted environment with high reasoning
omx --xhigh --madmax3. Usage Patterns
Role Prompts (Inside Codex)
text
/prompts:architect "analyze current auth boundaries"
/prompts:executor "implement input validation in login"
/prompts:security-reviewer "audit OAuth flow"Workflow Skills
text
$plan "ship OAuth callback safely"
$autopilot "implement user registration"
$team 3:executor "fix all TypeScript errors"Team Mode (Terminal)
bash
# Start parallel team workers
omx team 4:executor "parallelize a multi-module refactor"
# Monitor team status
omx team status <team-name>
# Resume team work
omx team resume <team-name>
# Shutdown team
omx team shutdown <team-name>4. Launch Flags
| Flag | Description |
|---|---|
| Fast execution, minimal verification |
| High reasoning effort |
| Extra-high reasoning effort |
| Maps to Codex |
| Force operation |
| Preview without execution |
| Verbose output |
5. Staged Pipeline
OMX implements a structured execution pipeline:
team-plan → team-prd → team-exec → team-verify → team-fix- Plan: Strategic decomposition of work
- PRD: Product requirements definition
- Exec: Parallel execution by team workers
- Verify: Validation of deliverables
- Fix: Automated error resolution
6. Hook Extensions (v0.4.0+)
Native Lifecycle Events
- /
session-start/session-endsession-idle turn-complete
Plugin Workflow
bash
# Enable hook plugins
OMX_HOOK_PLUGINS=1 omx hooks test
# Hook commands
omx hooks init # Initialize hooks
omx hooks status # Check hook status
omx hooks validate # Validate configuration
omx hooks test # Test hook executionPlugin files:
.omx/hooks/*.mjs7. Configuration
AGENTS.md Injection
By default, OMX injects project-level AGENTS.md:
bash
-c model_instructions_file="<cwd>/AGENTS.md"Environment Controls
bash
# Disable AGENTS.md injection
OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx
# Custom instructions file
OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omxQuick Reference
| Command | Action |
|---|---|
| Launch Codex with HUD |
| Install prompts, skills, config wiring |
| Installation/runtime diagnostics |
| Team/swarm diagnostics |
| Start team workers |
| Show team status |
| Shutdown team |
| Show active modes |
| Cancel execution modes |
| Set reasoning (low/medium/high/xhigh) |
| HUD display options |
| Show help |
Resources
- Website: https://yeachan-heo.github.io/oh-my-codex-website/
- GitHub: https://github.com/Yeachan-Heo/oh-my-codex
- npm: https://www.npmjs.com/package/oh-my-codex
License
MIT License