oh-my-codex README

项目的 README,来自 github.com/Yeachan-Heo/oh-my-codex。合并为一个 markdown 文件:README.md。

oh-my-codex (OMX)

oh-my-codex character
Start Codex stronger, then let OMX add better prompts, workflows, and runtime help when the work grows.

Liked OmX but find it a bit overkill? Try gajae-code.
Keep Codex OAuth with a faster, cheaper, simpler, and more powerful SDK-based path for OpenClaw, Hermes, Grokbot, and other integrations.

npm version License: MIT Node.js Discord

Website: https://yeachan-heo.github.io/oh-my-codex-website/

Docs: Getting Started · Agents · Skills · Integrations · Demo · OpenClaw guide

Community: Discord — shared Gajae community server for oh-my-codex, gajae-code, and related tooling.

Official project and package

The official/original OMX project is this repository, Yeachan-Heo/oh-my-codex, and the official npm package for this project is oh-my-codex. Install this project with npm install -g oh-my-codex (or alongside Codex CLI as shown below).

Third-party projects or forks that use names such as “OMX v2” are not official continuations, replacements, or release lines for this repository unless this README or the docs explicitly say so. When in doubt, trust this repository and the oh-my-codex package as the official install target.

OMX is a workflow layer for OpenAI Codex CLI.

🚨 CAUTION — RECOMMENDED DEFAULT ONLY: macOS or Linux with Codex CLI.

OMX is primarily designed and actively tuned for that path.
Native Windows and Codex App are not the default experience, may break or behave inconsistently, and currently receive less support.

It keeps Codex as the execution engine and makes it easier to:

Core Maintainers

Role Name GitHub
Creator & Lead Yeachan Heo @Yeachan-Heo
Maintainer Doyun Ha @HaD0Yun
Maintainer Valeriy Pavlovich @iqdoctor

Ambassadors

Name GitHub
Sigrid Jin @sigridjineth

Top Collaborators

Name GitHub
Doyun Ha @HaD0Yun
Junho Yeo @junhoyeo
JiHongKim98 @JiHongKim98
Lor @gobylor
HyunjunJeon @HyunjunJeon

If you want the default OMX experience, start here:

Choose one install path. If Codex CLI is already installed (Homebrew, npm, or another supported method):

codex --version
npm install -g oh-my-codex

If you do not have Codex CLI yet and want npm to manage it:

npm install -g @openai/codex
npm install -g oh-my-codex

Do not run a combined npm install -g @openai/codex oh-my-codex over an existing Homebrew-owned codex binary such as /opt/homebrew/bin/codex; npm may fail with EEXIST when @openai/codex tries to create the same binary. OMX only needs a working, authenticated codex command on PATH; it does not require Codex to be installed through npm.

On a real oh-my-codex version bump, the global npm install now prints an explicit reminder instead of launching setup automatically. When you're ready, run the scoped setup command below or use omx update to check npm and then run the same setup refresh path.

OMX also checks for npm updates at launch on a throttled cadence and prompts before scheduling the update after the current session exits. Set OMX_AUTO_UPDATE=0 to disable the launch-time check, or set OMX_AUTO_UPDATE=defer to schedule the same deferred update without prompting. Launchers that manage their own CODEX_HOME can set OMX_DEFERRED_UPDATE_SETUP=external to apply the deferred package update without running OMX setup over launcher-managed files.

Choose the setup scope deliberately:

Persisting an explicit AGENTS merge policy

omx setup --merge-agents, omx setup --no-merge-agents, and omx setup --clear-merge-agents-policy are the only policy selectors; use their bare forms (not =value spellings). Repeating an identical selector is harmless, but mixing set and clear choices fails before setup changes anything. An explicit set overrides a saved policy. A successful explicit set records mergeAgents: true or false in the current working root's ./.omx/setup-scope.json, even when setup scope is user; it never becomes a global user preference or leaks to another root. Later omx update replays a valid matching policy for both immediate and deferred refreshes.

true takes the existing merge branch. false only suppresses that branch: it does not promise preservation, replacement, or any new safety mode, so the existing prompt, skip, managed-refresh, plugin-default, and force behavior still applies. A matching-scope review retains the policy while unrelated settings change. Reset or a scope change removes the inherited policy unless the same setup run explicitly sets true or false; clear always removes the policy and cannot be combined with a set selector. Malformed, unknown, nonboolean, or wrong-scope saved data is ignored safely.

--force is independent and transient: it is neither recorded nor replayed, and does not override an explicit merge policy. Setup atomically commits explicit set or clear intent only after all setup work succeeds, including when active-session or plugin-symlink safeguards skip the current AGENTS.md write, so the next refresh can honor the requested policy. This does not make merge the default or revive the rejected #2892 merge-by-default approach. Older OMX versions safely ignore the field, but may erase it when rewriting their known setup preferences.

Codex plugin install note: this repo also ships an official Codex plugin layout at plugins/oh-my-codex with marketplace metadata in .agents/plugins/marketplace.json. That plugin bundles the mirrored skill surface plus plugin-scoped companion metadata for official Codex lifecycle hooks, optional MCP compatibility servers, and apps. It is still not a replacement for the global oh-my-codex CLI plus scoped setup: plugin-scoped hooks launch the installed omx CLI, and both setup modes normally install setup-owned native agent TOMLs for agent_type routing. In either mode, omx setup --disable-hooks disables OMX-owned hook registrations and related enablement, then returns before normal asset installation, configuration, AGENTS.md, HUD, and state setup. Legacy mode also installs prompt and skill copies. Plugin mode uses plugin discovery for bundled skills, archives/removes legacy OMX-managed prompt copies, and removes stale generated/non-installable native-agent files. Plugin setup without --force preserves user-authored or ambiguous role files, except that disabling Team (--disable-team or persisted teamMode: "disabled") backs up and removes team-executor.toml regardless of ownership. See Plugin bundle SSOT for these ownership rules. Plugin mode still needs a persistent scope AGENTS.md (~/.codex/AGENTS.md for user setup or ./AGENTS.md for project setup) as the durable orchestration guidance layer; session-scoped AGENTS files only compose that durable guidance with runtime overlays and are not a replacement.

After setup, follow A good first session to verify the installation and launch OMX. Then work normally inside Codex:

# Durable objective/checkpoints for a long task:
/goal Create a safe authentication refactor plan, implement it, and verify login, logout, and refresh-token behavior.

$deep-interview "clarify the authentication change"
$ralplan "approve the auth plan and review tradeoffs"
$ultragoal "turn the approved plan into durable Codex goals"

Start OMX strongly, clarify first when needed, approve the plan, then use $ultragoal as the default durable completion wrapper. Use $team inside that execution path only when a specific Ultragoal story needs coordinated parallel work.

What OMX is for

Use OMX if you already like Codex and want a better day-to-day runtime around it:

If you want plain Codex with no extra workflow layer, you probably do not need OMX.

Quick start

Requirements

A good first session

After installation and scoped setup, run these checks from the shell and project directory where you will launch OMX.

For project-scope setup, clear any explicit CODEX_HOME in the launch shell before these checks. Doctor inspects the project's .codex, while omx exec and omx honor a nonempty override. If you use a custom home intentionally, check the assets in that launch profile.

omx doctor
codex login status
omx exec --skip-git-repo-check -C . "Reply with exactly OMX-EXEC-OK"

omx doctor catches missing OMX files, hooks, and runtime prerequisites. The real smoke test catches auth, profile, and provider/base-URL problems that only appear when Codex performs an actual request.

Launch OMX from the directory you just verified:

omx

For project-scope setup in a separate worktree, create or enter the target worktree first. Run project setup and the checks above there, then run omx from that worktree. A newly created launch worktree starts from committed Git files, so local setup files such as an uncommitted AGENTS.md or generated .codex/hooks.json may be absent. See Madmax and worktree launch safety for optional launch flags.

Concurrent standard conversations

A standard launch owns one writable session pointer under its selected OMX_ROOT. A second ordinary omx launch from the same checkout therefore fails closed instead of sharing or silently changing that root. Give each additional conversation an explicit, distinct root:

omx resume follows the same ownership rule. Malformed, uncertain, or live-owner pointers are preserved for diagnosis and resume is refused; a verified-dead pointer is recovered through the bounded session-pointer recovery path (forensic bytes preserved in quarantine) before resume continues.

omx
OMX_ROOT="$HOME/.omx/instances/second-conversation" omx
OMX_ROOT="$HOME/.omx/instances/third-conversation" omx

PowerShell:

$env:OMX_ROOT = "$HOME/.omx/instances/second-conversation"
omx

Command Prompt:

set "OMX_ROOT=%USERPROFILE%\.omx\instances\second-conversation"
omx

User-specified roots are literal: launching twice with the same explicit OMX_ROOT remains a fatal owner conflict. Separate checkouts have separate default roots, while --worktree and --madmax keep their existing isolation behavior.

Madmax and worktree launch safety

--madmax is OMX shorthand for Codex --dangerously-bypass-approvals-and-sandbox. It removes the normal approval and sandbox guardrails, so only use it in trusted repositories and environments. --high and --xhigh are shorthand for -c model_reasoning_effort="high|xhigh"; a normal strong session is omx --madmax --xhigh (or omx --worktree=feat/task --madmax --xhigh from a git project).

When you use --madmax from a git repository, prefer a worktree launch instead of running directly in the current checkout. For project-scope setup, prepare and verify the target worktree as described in A good first session. For repeatable or concurrent work with user-scope setup, use a named worktree:

omx --worktree=feature/auth --madmax --xhigh

If you are outside a git repository, omit --worktree; worktree launches require Git.

For concurrent --madmax sessions, do not run them all in the same directory. Give each session its own named worktree:

omx --worktree=feature/auth --madmax --xhigh
omx --worktree=fix/flaky-tests --madmax --xhigh

--worktree / -w with no name creates or reuses a detached launch worktree at ../<repo>.omx-worktrees/launch-detached. --worktree=<name>, --worktree <name>, or -w <name> creates or reuses a named launch worktree under ../<repo>.omx-worktrees/ and checks out that branch name. OMX consumes the worktree flag before starting Codex; it is not forwarded to Codex itself. Treat the unnamed detached form as a one-off convenience: if the source checkout advances after that worktree is created, a later unnamed launch can fail with worktree_target_mismatch because launch-detached still points at the old HEAD. Use a named worktree for repeated work, or remove the old detached worktree before retrying. If the target launch worktree is already dirty, OMX warns and launches as-is, so clean, commit, or stash that worktree before relying on it for isolation.

For omx team, workers already use dedicated worktrees automatically by default; --worktree on omx team is only a legacy-compatible override.

Repo-aware tools receive the same canonical context in launch, team-worker, and autoresearch runtimes: OMX_REPO_ROOT, OMX_WORKTREE_ROOT, OMX_GIT_COMMON_DIR, OMX_WORKTREE_SCOPE, OMX_CODEGRAPH_MODE, and OMX_CODEGRAPH_PROJECT_PATH. OMX_CODEGRAPH_MODE=auto prefers a worktree-local .codegraph/codegraph.db, then a leader/repo .codegraph/codegraph.db, otherwise resolves to off. Explicit shared, local, and off are honored. OMX does not install CodeGraph, auto-index worktrees, or copy/symlink .codegraph; shared leader indexes are useful for baseline navigation but are not branch-accurate for worktree-only changes.

If you want a one-off launch with no OMX tmux/HUD management, use --direct:

omx --direct --yolo

For a persistent shell/profile preference, set an environment policy:

OMX_LAUNCH_POLICY=direct omx --yolo

Return to the auto/default behavior with:

unset OMX_LAUNCH_POLICY

CLI policy flags win over the environment, and the last CLI policy flag before -- wins:

OMX_LAUNCH_POLICY=direct omx --tmux --yolo

Use OMX_LAUNCH_POLICY=direct|tmux|detached-tmux|auto. This iteration only adds CLI and environment controls; it intentionally does not add a config-file setting. If you run --direct from inside an existing tmux pane, OMX will not create HUD splits, enable mouse mode, or wrap extended-key handling, but the process still runs inside that already-open terminal pane.

Then try the canonical workflow:

# Copy/pasteable durable-goal example:
/goal Ship the checkout bug fix with a durable objective, checkpoints for reproduction, implementation, regression tests, and final verification.

$plan "approve the checkout bug-fix plan and review tradeoffs"
$ultragoal "execute the approved checkout fix with checkpoint evidence"

Use $team when an active Ultragoal story needs coordinated parallel work.

/goal and skill selection

Start a normal strong session with omx --madmax --xhigh (or add --worktree=<task> in a git repo). Inside that session, execute directly or use $ultragoal for durable multi-goal runs, $team for coordinated parallel work, or $plan when the task needs explicit planning first. Use /goal when the task itself needs a durable objective/checkpoint structure that Codex should keep reconciling across turns. When native get_goal responses are unavailable or wrapped by the tool transport, Ultragoal preserves artifact-backed status without claiming completion; see Ultragoal goal-mode diagnostics and recovery.

Add only 2-5 relevant skills by default. More skills are allowed when the task scope justifies them, but loading a large catalog is usually a context-budget and attention-quality problem, not a hard parser/runtime blocker. Treat it as a concrete runtime blocker only when a command actually errors.

Anti-pattern:

omx --madmax --xhigh
# Then immediately load 20 skills "just in case" before stating the task.
# This bloats session context and makes the model spend attention on irrelevant workflows.

A simple mental model

OMX does not replace Codex.

It adds a better working layer around it:

Standing directives live in .omx/project-memory.json: omx project-memory add-directive --input '{"directive":"...","priority":"high","ttl":"1d"}' --json (or expires_at as an ISO time), list-directives, and remove-directive --input '{"id":"dir-xxxxxxxx"}' --json. Expired directives are ignored and pruned on the next write. Active high directives (newest first, capped by count and characters, ids cited) are injected by the AGENTS overlay (own section) and native SessionStart (which skips ones the overlay already carries), and re-read for every team task assignment. remove-directive <id> also accepts the id positionally. Limits: 2000 characters each, 50 active.

Most users should think of OMX as better task routing + better workflow + better runtime, not as a command surface to operate manually all day.

Start here if you are new

  1. If Codex CLI already exists, verify it with codex --version and install or update OMX with npm install -g oh-my-codex; otherwise install @openai/codex separately first if you want npm to manage Codex
  2. After install or real OMX version bumps, run omx setup --scope project --merge-agents from the target git project or omx setup --scope user for user-level Codex setup, or use omx update when you also want npm to check for and install the latest build before refreshing setup
  3. Run omx doctor after the project-scope CODEX_HOME check, when applicable
  4. Run a real execution smoke test: codex login status and omx exec --skip-git-repo-check -C . "Reply with exactly OMX-EXEC-OK"
  5. Run omx in the verified directory. If using project-scope setup in a separate worktree, prepare and verify that worktree first.
  6. Use $deep-interview "..." when the request or boundaries are still unclear
  7. Use $ralplan "..." to approve the plan and review tradeoffs
  8. Use $ultragoal or $team when the task needs durable or parallel execution; add /goal when durable objective/checkpoint structure should be explicit

$autopilot is the first-class canonical orchestrator for the staged workflow $deep-interview -> $ralplan -> $ultragoal. The chain is its defining default, while each stage remains independently invocable when earlier input contracts are already satisfied.

  1. $deep-interview — iterative Socratic ambiguity clearance, resumable state, and execution-ready requirements artifacts.
  2. $ralplan — architecture, feasibility, and consensus planning over the deep-interview artifact.
  3. $ultragoal — durable multi-goal execution with .omx/ultragoal ledger checkpoints.
  4. $team — coordinated parallel execution when a story benefits from multiple lanes.

$deep-interview is an independent requirements stage, not an alias for $plan --interview, and never implements directly. Planning skills stop at planning artifacts; code changes require an explicit execution lane ($ultragoal or $team).

Inside an Ultragoal story, use $team only when that story benefits from coordinated parallel execution.

Common in-session surfaces

Surface Use it for
$plan "..." optional planning and clarification (--interview mode)
$ultragoal "..." durable multi-goal completion after the approved plan
$team "..." coordinated parallel execution when the work is big enough
/skills browsing installed skills and supporting helpers
/goal ... durable objective/checkpoint structure for tasks that must reconcile progress across turns
omx mission <file> sequential prompt/checklist batch runs through omx exec, with .omx/missions/<slug>/summary.json and ledger.jsonl operator artifacts

Advanced / operator surfaces

These are useful, but they are not the main onboarding path.

Mission queue runner

Use omx mission when you have a short checklist of OmX/Codex prompts that should run one after another instead of opening a separate shell command for each prompt. Start with omx mission plan ./mission.md or omx mission ./mission.md --dry-run to validate parsing and inspect the durable summary, then run omx mission run ./mission.md -- --model gpt-5 when the prompts are ready. Interrupted runs can be inspected with omx mission status ./mission.md, continued with omx mission resume ./mission.md, operator-blocked with omx mission mark ./mission.md --task task-002 --status blocked, and repaired task-by-task with omx mission rerun ./mission.md --task task-002. See docs/mission.md for input format, status output, and artifact details.

Export a previous conversation

Use omx session search "a phrase you remember" to find a session ID, then omx session export <session-id> --output conversation.md to save its conversation. Export accepts an exact ID or a unique prefix and includes active and archived transcripts from the same Codex homes discovered by session search. Use --format json for structured output, --include-tools for tool arguments and outputs, or --codex-home <path> to select one home. Omitting --output writes to stdout; an existing output file is never overwritten.

Only user and assistant messages are included by default. System/developer instructions and reasoning records are excluded; message text is not redacted. See session export for supported records and examples.

Inspect session token usage

Run omx session usage --since 7d --sort tokens to inspect recorded cumulative token usage across local active and archived sessions. Add --project current or --session <id-fragment> to narrow the selection, --json for structured output, and --codex-home <path> to inspect one home. --limit limits displayed sessions; totals still cover all matches. Mirrors of the same session are counted once, and missing measurements are reported as unknown.

--since selects sessions by their last recorded activity. Their counters can include earlier work, so this is not a period consumption or billing report. Cached input and reasoning output are subsets of input and output. See session usage for snapshot and coverage semantics.

Diagnose a session's execution timeline

Run omx session timeline <session-id> to inspect tool calls, turn boundaries, and context compactions without exporting conversation text. Calls are paired with their results by call ID, including parallel calls, and the report shows explicit failures, unmatched calls, observed durations, and namespace-aware per-tool totals. Use --kind tools --sort duration --limit 10 to find slow calls, --status failed to inspect failures, or --tool <name> to focus on one tool. Filters and pagination affect the event list; summary counts always cover the whole session.

The command supports exact IDs or unique prefixes, active and archived sessions, --codex-home <path>, and JSON reports with --json --output timeline.json. Unknown durations remain unknown, and a recorded result without an explicit error does not prove success. See session timeline for supported records, status meanings, and examples.

Compare two sessions

Use omx session compare <baseline-id> <candidate-id> to compare execution counts, explicit failures, and namespace-aware tool timing after a workflow change. The report distinguishes added and removed tools, preserves unknown measurements, and reports absolute and percentage changes. Use --sort duration to find the largest mean-latency increases, or --json --output comparison.json to save a report.

For automation, --fail-on-regression exits 2 on observed regressions and 3 on inconclusive evidence. --max-duration-increase 10 changes the default 20% mean tool latency threshold; latency checks require complete timing coverage on both sides. Display filters never change the whole-session assessment. Compare similar workloads and see session comparison for cross-home selection, evidence gaps, and exit-code semantics.

Team runtime

Use the team runtime when you specifically need durable tmux/worktree coordination, not as the default way to begin using OMX. In Codex App or plain outside-tmux sessions, treat omx team as a tmux-runtime shell surface rather than a directly available in-app workflow; launch OMX CLI from shell first if you actually want team execution.

Interactive Team arranges the leader's tmux window and refuses to use a window with other sessions' panes. A clean Git worktree does not isolate that layout. If the window is shared, open a new tmux window (Ctrl-b c with the default prefix), launch OMX there, and retry omx team. Leave the existing panes open.

When Team runs inside an Ultragoal story, Ultragoal remains leader-owned state: workers report checkpoint-ready evidence upward instead of mutating .omx/ultragoal directly. Team startup tolerates stale or malformed Ultragoal artifacts for unrelated work, but explicitly Ultragoal-linked Team launches stay fail-closed. Team startup also writes .omx/state/team/<team-name>/preflight-context.json so large Team runs can be resumed after compaction with the original task, worker split, Ultragoal context, and verification checklist.

For very small atomic work, Team may cap implicit fanout to one worker and print an over-orchestration warning; pass an explicit worker count only when the extra coordination cost is intentional.

omx team 3:executor "fix the failing tests with verification"
omx team status <team-name>
omx team resume <team-name>
omx team shutdown <team-name>

omx team status [<team-name>] [--json] only observes existing state, so it can run against a read-only OMX root. It does not reclaim expired claims, deliver mailbox messages, integrate worker commits, or update runtime state. Without a team name, status resolves only a unique team belonging to the current leader session; provide an explicit name when no matching context is available.

omx tmux-hook status is also observational. If hook configuration is missing, it reports that condition without creating files; use omx tmux-hook init to initialize configuration explicitly.

Setup, doctor, and HUD

These are operator/support surfaces:

Tmux roster height is bounded by live window and leader/HUD geometry, reserving at least half of their shared rows for the leader. Workers that do not fit are represented by a +N workers overflow row. The watch loop remeasures after resizing; unknown geometry keeps the HUD compact rather than expanding it unchecked.

For non-team sessions, native Codex hooks are now the canonical lifecycle surface:

See Codex native hook mapping for the current native / fallback matrix.

Troubleshooting false-green readiness

A green omx doctor means the install and local runtime wiring look sane. If real execution still fails, check the environment Codex actually uses:

omx team shutdown <team-name> --force --confirm-issues
omx cancel
omx doctor --team

Only use the forced team shutdown for a team you have confirmed is dead or intentionally abandoned.

If Shift+Enter still submits instead of inserting a newline inside an OMX-managed tmux session, see Troubleshooting execution readiness. Current OMX already enables tmux extended-key forwarding around its own Codex launch paths, so a persistent failure is usually a tmux terminal-capability/discoverability problem rather than a net-new OMX feature gap.

Sparkshell

Examples:

omx sparkshell git status
omx sparkshell --tmux-pane %12 --tail-lines 400

Wiki

Examples:

omx wiki list --json
omx wiki query --input '{"query":"session-start lifecycle"}' --json
omx wiki lint --json
omx wiki refresh --json

Platform notes for team mode

omx team works best on macOS/Linux with tmux. Native Windows remains a secondary path, and WSL2 is generally the better choice if you want a Windows-hosted setup. On native Windows, OMX accepts psmux as the tmux-compatible binary for the existing tmux-backed paths it already uses.

Platform Install
macOS brew install tmux
Ubuntu/Debian sudo apt install tmux
Fedora sudo dnf install tmux
Arch sudo pacman -S tmux
Windows winget install psmux
Windows (WSL2) sudo apt install tmux

Known issues

Intel Mac: high syspolicyd / trustd CPU during startup

On some Intel Macs, OMX startup — especially with --madmax --high — can spike syspolicyd / trustd CPU usage while macOS Gatekeeper validates many concurrent process launches.

If this happens, try:

Documentation

Languages

Contributors

Role Name GitHub
Creator & Lead Yeachan Heo @Yeachan-Heo
Maintainer Doyun Ha @HaD0Yun
Maintainer Valeriy Pavlovich @iqdoctor

Star History

Star History Chart

License

MIT

GEO visibility benchmark

OmX includes a geobench product spec for measuring LLM hit rate, MRR, share of voice, and citations.

oh-my-codex (Yeachan-Heo/oh-my-codex)

正在搜索数据库…

这是什么?OMX(oh-my-codex)是叠加在 OpenAI 的 Codex CLI 之上的工作流层,增加了钩子、智能体团队、HUD、提示词,以及标准工作流命令,如 $plan、$ultragoal、$team、$code-review 和 $ultraqa,同时保留 Codex 本身作为执行引擎。
它是 Codex CLI 的替代品吗,还是可以和它一起运行?它不是替代品。OMX 通过工作流命令、位于 .omx/ 下的项目状态以及一个可选的 Codex 插件对 Codex CLI 进行封装,但要真正运行任何功能,它仍然需要 PATH 中有一个可正常使用且已完成认证的 codex 命令。
我该如何安装并开始使用?全局安装:运行 'npm install -g oh-my-codex';然后在 git 项目中运行 'omx setup --scope project --merge-agents'(或 '--scope user'),以写入 AGENTS.md 指引;之后只需在该项目内启动 'omx',即可正常工作。
使用前是否需要先配置好 Codex CLI?需要。你需要 Node.js 20+,以及一个已安装、已认证、且位于 PATH 中的 'codex' 命令(通过 Homebrew 或 npm 安装)。OMX 不会自行安装 Codex,它只是驱动现有的 Codex 运行环境。
Windows 上的使用体验是否和 macOS/Linux 一样稳定?不一样。OMX 主要是为 macOS 或 Linux 上的 Codex CLI 设计和调优的;原生 Windows 和 Codex App 被明确列为非默认使用方式,可能会出错或表现不一致,而且目前获得的支持也较少。
谁真的值得安装它?喜欢 Codex CLI、并希望在日常使用中获得更强运行能力的人(更好的提示词、可持续的多目标计划、专业角色分工)。如果你只想要原版 Codex,不需要额外的工作流层,那就不需要 OMX。
$plan 和 $ultragoal 这类命令到底做什么?它们是 OMX 的标准工作流命令:$plan、$team、$code-review 和 $ultraqa 分别负责需求澄清、计划制定、团队协调和质量检查;$ultragoal 则是计划制定之后默认的持久化多目标完成封装。每个命令都可以单独调用,而不是固定的流水线。
--madmax 参数是做什么的?什么时候该用?--madmax 是 Codex 的 '--dangerously-bypass-approvals-and-sandbox' 的 OMX 简写,会去掉常规的审批和沙箱防护。它只应在可信的仓库中使用,最好是在专门的 git worktree(独立工作树)中,而不是在你的主工作目录里。
OMX 把计划、日志和记忆保存在哪里?保存在项目内的 '.omx/' 目录中,其中存放计划、日志、记忆和模式跟踪状态,与 AGENTS.md 中的项目指引放在一起。
我能否同时在同一个项目上运行两个 OMX 会话?默认不行。标准启动方式会在其 OMXROOT 下占用一个可写会话指针,因此同一代码检出上的第二个并发会话会直接报错拒绝启动,除非你为它指定另一个明确的 OMXROOT,或使用单独的 git worktree(独立工作树)。
大小
37.9 MB
星标
33.9K
时长
9个月
提交 · 90 天