Yeachan-Heo/oh-my-codex
Codex CLI orchestration for resumable workflows and coordinated agent teams
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Oh My Codex (OMX) is an orchestration layer for Codex CLI, not a replacement agent or inference engine. The npm package exposes omx as its entrypoint. OMX supplies role keywords, skills, hooks, and scoped AGENTS.md guidance; Codex performs the agent work. Plans, logs, memory, and runtime state live under .omx/. The official plugin layout is plugins/oh-my-codex, with marketplace metadata at .agents/plugins/marketplace.json.
The TypeScript CLI targets Node.js 20+ and declares @iarna/toml, zod, @modelcontextprotocol/sdk, and the archive dependencies @napi-rs/lzma, tar-stream, and yauzl. The Rust workspace includes omx-runtime-core, omx-runtime, omx-mux, omx-explore, omx-api, and omx-sparkshell, alongside npm build targets for the runtime and exploration tooling. The MCP SDK is a concrete integration dependency, but its presence does not establish a remotely hosted MCP service or an independent model backend.
Key Capabilities & Differentiators
The suggested long-task flow moves from clarification with $deep-interview to plan review with $ralplan, then to durable Codex goals with $ultragoal; its artifacts live under .omx/ultragoal. These skills are not a mandatory pipeline: $team can be invoked independently when a task warrants parallel work. For a predetermined sequence, omx mission can dry-run a Markdown prompt queue, report progress, resume an interrupted run, and rerun one task without replaying the entire queue.
Project memory stores up to 50 active directives of at most 2,000 characters each. Expired entries are ignored and pruned on the next write. High-priority entries are injected with count and character limits, deduplicated between the AGENTS overlay and SessionStart, and re-read for team task assignment. Launches inherit the active Codex profile; mission runs can forward flags such as --model gpt-5 to Codex rather than selecting a separate OMX inference backend.
Trade-offs & Limitations
Compared with plain Codex CLI, OMX adds reusable handoffs, checkpoints, and recoverable workflows at the cost of more configuration, injected context, and local state to manage. The benefit is clearest when work routinely outlives one prompt or needs explicit coordination. Extra roles are not free: each worker can add model usage and local build or test load. OMX provides no separate inference engine to offset those costs.
Concurrency rules are deliberate: a second ordinary launch sharing an OMX_ROOT fails rather than reusing another session’s writable pointer. Resume preserves malformed or uncertain pointers and proceeds through recovery only for a verified-dead owner. Distinct roots separate session state, not working-file edits; use separate Git worktrees when agents need to edit independently. Keep normal sandbox and approval controls enabled: a worktree is not a security boundary. The project is MIT-licensed, but that license does not govern access to Codex or its provider.
Hardware & Deployment Guide
Install Node.js 20+ and ensure that an authenticated codex is on PATH in the shell you will actually use. Install OMX with npm install -g oh-my-codex; keep the existing Codex installation if Homebrew already owns it. Choose omx setup --scope project --merge-agents from the intended Git project when you want it to own the durable guidance and have opted into merging, or omx setup --scope user for user-level setup. Run omx doctor, check codex login status, and make a real omx exec smoke test. Project-scoped checks and launches can diverge when an explicit CODEX_HOME is set, so verify the profile that will actually run.
Use macOS or Linux for the recommended CLI path; add tmux for durable teams. Native Windows with psmux and the Codex App are less supported. OMX runs locally, but model access still depends on the Codex profile and provider. v0.22.33 added project-memory directive management; v0.22.34 shortened home paths to ~ in public supervision issue drafts; v0.22.35 bounded rollout-header reads and added credential redaction in those drafts. Review drafts before publishing rather than treating redaction as a guarantee.
omx CLI coordinates workflows; Codex CLI remains the agent execution engine.OMX_ROOT; concurrent sessions in the same checkout need distinct roots, and resume quarantines a pointer only after verifying its owner is dead.omx mission validates a Markdown prompt queue before execution and supports status, resume, blocking, and per-task reruns..omx/project-memory.json supports expiry, up to 50 active directives, and 2,000 characters per directive; high-priority guidance is deduplicated across AGENTS and SessionStart..omx/setup-scope.json and replayed by matching refreshes.tmux on macOS/Linux; native Windows has a less-supported psmux path.macOS/Linux Codex CLI users who repeatedly run multi-stage changes, need recoverable prompt queues, or coordinate specialist workers across worktrees.
your work fits a single Codex session, you need a self-hosted inference backend, or your environment requires first-class native Windows or Codex App support.
Quick Start & Installation
codex --version npm install -g oh-my-codex
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Yeachan-Heo/oh-my-codex.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about oh-my-codex
Does OMX replace Codex or run alongside it?
plugins/oh-my-codex, with marketplace metadata in .agents/plugins/marketplace.json. The npm package provides the omx executable.Do I need a GPU, and what drives local resource use?
Can a company use OMX commercially and run it locally?
When is OMX worth adding instead of using plain Codex CLI?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy