# Repository Briefing: Yeachan-Heo/oh-my-codex
> Source: https://repoforai.com/repo/Yeachan-Heo/oh-my-codex (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Yeachan-Heo/oh-my-codex
- **Official Docs / Website**: https://oh-my-codex.dev
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 20/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.22.35 (2026-12-01) — https://github.com/Yeachan-Heo/oh-my-codex/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: CLI
- **Momentum**: 33,891 ★ total (+6 24h / +75 7d) · 2,547 forks
- **When to Use**: Best for: macOS/Linux Codex CLI users who repeatedly run multi-stage changes, need recoverable prompt queues, or coordinate specialist workers across worktrees. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Execution boundary: the `omx` CLI coordinates workflows; Codex CLI remains the agent execution engine.
- State ownership: one writable session pointer per `OMX_ROOT`; concurrent sessions in the same checkout need distinct roots, and resume quarantines a pointer only after verifying its owner is dead.
- Mission recovery: `omx mission` validates a Markdown prompt queue before execution and supports status, resume, blocking, and per-task reruns.
- Project directives: `.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.
- Setup and refresh: project and user scopes are explicit; an explicit AGENTS merge preference is recorded in the current root’s `.omx/setup-scope.json` and replayed by matching refreshes.
- Team runtime: durable teams favor `tmux` on macOS/Linux; native Windows has a less-supported `psmux` path.
```

## Quick Start / Clone
```bash
codex --version
npm install -g oh-my-codex
```
