oh-my-codex: a workflow layer that keeps its state in .omx and its instructions in AGENTS.md
GitHub describes it as OmX - Oh My codeX: Your codex is not alone. Add hooks, agent teams, HUDs, and so much more.. The repository metadata lists TypeScript as its primary language. This article stays within the project description and details documented in the GitHub repository README.
At a glance
- What is it?
- OMX is a TypeScript and Rust workflow layer that sits on top of the OpenAI Codex CLI rather than replacing it: Codex stays the execution engine, and OMX adds stronger defaults, five workflow commands, and project state under a dot-omx directory. It requires an authenticated codex command on the path, warns that native Windows and the Codex desktop app are not the tuned path, and spends a long section of its README on the exact semantics of an AGENTS.md merge policy with three selectors.
- Who is it for?
- Use oh-my-codex if you already run Codex CLI and want one repeatable workflow with project state that survives a session, and you are on macOS or Linux. Do not use it on native Windows or the Codex desktop app expecting the same behaviour, because the README says those paths may break or behave inconsistently and receive less support, and do not run project-scoped setup from your home directory, which the README warns against in specific terms.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- Yeachan-Heo/oh-my-codex33,840 ★ · +1,194
| Repository | 2026-08-13 | 2026-11-23 |
|---|---|---|
| Yeachan-Heo/oh-my-codex | 32.6k | 33.8k |
1,194 Stars in the last 102 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Codex stays the engine; OMX is the layer above it
The project's own framing is that it is a workflow layer for the OpenAI Codex CLI, and that distinction is the thing to understand first. It keeps Codex as the execution engine and makes it easier to do four things: start a stronger Codex session by default, run one consistent workflow from clarification to completion, invoke a canonical workflow with five named commands, and keep project guidance, plans, logs and state in a directory.
Those five commands are dollar-prefixed and can each be invoked on their own, with no fixed chain between them. That detail matters, because the usual failure mode of a workflow layer is that it imposes a sequence you must follow. This one describes itself as independent.
The state directory is the second structural fact. Project guidance, plans, logs and state live under a dot-omx directory in the repository, which means a session's artefacts are inspectable files rather than something held in a process. The repository root carries a capabilities lock file, a release protocol document, a coverage document, a changelog, and directories for crates, packages, plugins, prompts, skills, templates, missions, notes and a playground, which is the shape of a project that has accumulated a great deal of surface.
One package to install, and a combined install that will fail
There are two documented install paths, and the difference between them is the first thing to get right. If Codex CLI is already installed, through Homebrew, npm or another supported method, you check the version and then install only the layer:
codex --version
npm install -g oh-my-codex
# from the git project you want Codex to edit; choose a task-specific name
omx --worktree=feat/task --madmax --xhighIf you do not have Codex yet and want npm to manage it, there are two global installs in sequence:
npm install -g @openai/codex
npm install -g oh-my-codexThe README then names the mistake explicitly. Do not run a combined install of both packages over an existing Homebrew-owned codex binary, because npm may fail with an existence error when the Codex package tries to create the same binary. And the requirement is stated in terms of what OMX needs rather than how you installed it: a working, authenticated codex command on the path. It does not require Codex to have come from npm.
So the practical rule is to install the layer on its own, and let the two binary owners be different if that is what your machine already looks like. Two package managers fighting over one path is a self-inflicted wound, and the README is doing you a favour by naming it.
macOS and Linux are the tuned path; Windows and the app are not
The README carries a caution box that is worth more attention than a caution box usually gets, because it names a recommended default rather than a warning.
It says OMX is primarily designed and actively tuned for macOS or Linux with Codex CLI, and that this is the recommended default. Native Windows and the Codex desktop app are not the default experience, may break or behave inconsistently, and currently receive less support.
That is an unusual thing for a project to publish about its own cross-platform support, and it is more useful than a compatibility table would be. A table would tell you what is believed to work; this tells you where the work is concentrated, which is what determines how quickly a platform gets fixed when something breaks.
The practical consequence is that a team on Windows is not choosing an unsupported platform so much as accepting a slower path and a different bug experience. That is a defensible choice for some teams and not for others, and this sentence is what makes the decision explicit rather than something you discover from issue reports.
Setup scope decides who owns the durable AGENTS.md
The setup step is where most of the README's length goes, and the reason is that it writes into a file other tools also write.
There are two scopes. Project scope is for the git project you want the layer to operate on, with an option to merge agents, and it is the scope to use when that repository should own the durable guidance file. User scope is for user-level Codex setup when you are not preparing the current directory as a project.
The warning is specific and it is about a real mistake. Avoid running project-scoped setup from a broad home directory or an operating hub unless that directory is intentionally the project under review. A home-level guidance file often contains global safety and routing rules, and the project-specific runtime guidance belongs in the actual repository instead.
That is a good catch by the project, because a guidance file at the top of your home directory is exactly the kind of thing that ends up silently governing every repository you open.
The AGENTS merge policy has three selectors and a long list of rules
The next section is the most detailed documentation in the file, and it exists because merging a file you did not write is easy to get wrong.
There are three policy selectors, one to merge agents, one not to merge, and one to clear a saved policy, and they must be used in their bare form rather than with an equals sign. Repeating an identical selector is harmless. Mixing a set with a clear fails before setup changes anything. An explicit set overrides a saved policy.
Then the persistence rules. A successful explicit set records the choice in a scope file in the current working root, even when the scope is user, and it never becomes a global preference or leaks to another root. A later update replays a valid matching policy for both immediate and deferred refreshes. Setting the policy to true takes the existing merge branch; false only suppresses that branch and promises nothing about preservation, replacement or any new safety mode. A reset or a scope change removes an inherited policy unless the same run sets it explicitly.
The last paragraph is the careful one: the force flag is independent and transient, it is neither recorded nor replayed and does not override an explicit policy, and setup commits the intent atomically only after all the work succeeds, including when safeguards cause it to skip the write entirely.
Update checks run at launch unless you stop them
There is an update mechanism and it has an environment variable in front of it.
The README says that on a real version bump, the global install now prints an explicit reminder instead of launching setup automatically, and that when you are ready you run the scoped setup command or use the update command to check npm and then run the same setup refresh path.
Then the launch behaviour. The tool checks for npm updates at launch on a throttled cadence and prompts before scheduling the update to happen after the current session exits. Two settings change that: setting the auto update variable to zero disables the launch-time check, and setting it to defer schedules the same deferred update without prompting.
This is a design choice worth naming either way. Deferring an update until the current session ends means a long-running session is never interrupted, which is the right default for an agent doing work. It also means a machine that is never idle will not update, and a developer who assumes the tool is current because it checks at startup may be running a version several patch releases behind.
TypeScript for the tool, Rust for three of its parts
The manifest describes the package as a multi-agent orchestration layer, in TypeScript, with a single binary entry point that is a compiled script made executable as part of the build. The build script deletes the output directory, compiles with the TypeScript compiler, and then sets the execute bit on the binary file.
The workspace file adds the other half. There is a Rust workspace with six members, covering an API, an explore component, a multiplexer, a runtime core, a runtime and a component whose name is a portmanteau, all at the same version as the package and with a Rust version floor of 1.73. There is a separate distribution profile that inherits release settings and turns on thin link time optimisation.
The scripts show the split in practice. Two build targets compile individual Rust packages, one target builds an explore harness in release mode through a Node script, and the test target runs a Rust test for that harness and then three Node test files. A test script name includes a cross-rebase smoke check that first builds, which suggests branch rebasing between agents is a case the project tests explicitly rather than hoping for.
Editorial conclusion
Use oh-my-codex if you already run Codex CLI and want one repeatable workflow with project state that survives a session, and you are on macOS or Linux. Do not use it on native Windows or the Codex desktop app expecting the same behaviour, because the README says those paths may break or behave inconsistently and receive less support, and do not run project-scoped setup from your home directory, which the README warns against in specific terms. Before you install: check that a codex command is installed and authenticated, install the package globally on its own rather than in a combined install that can collide with a package-manager-owned binary, choose the setup scope deliberately because it decides who owns the durable AGENTS.md, and set OMX_AUTO_UPDATE if you do not want the launch-time update check.
Frequently asked questions
how to install oh my codex
Install the layer globally with `npm install -g oh-my-codex`; it needs a working, authenticated `codex` command on the path. If you have no Codex yet and want npm to manage it, install `@openai/codex` first and then the layer separately. The README warns against a combined global install over a Homebrew-owned codex binary, which can fail with an existence error.
what is oh my codex
OMX is a workflow layer for the OpenAI Codex CLI, described as a multi-agent orchestration layer. It keeps Codex as the execution engine and adds stronger session defaults, five independently invocable workflow commands, and project guidance, plans, logs and state kept in a `.omx/` directory.
how to use oh my codex
Run the tool from the git project you want it to operate on, then run setup with an explicit scope: project scope with the merge-agents selector when the repository should own the durable guidance file, or user scope when you are not preparing the current directory as a project. The README warns against running project-scoped setup from a broad home directory.
is oh my codex good
The README does not evaluate itself. What it does state is scope: OMX is primarily designed and tuned for macOS or Linux with Codex CLI, and native Windows and the Codex desktop app are not the default experience, may break or behave inconsistently, and receive less support. It also publishes three maintainers, an ambassador, a collaborators list and a Discord community.
how to uninstall oh my codex
OMX is installed as the global npm package oh-my-codex, so npm's global uninstall for that package removes it. Setup also writes guidance such as AGENTS.md and project state under .omx/, which npm does not remove.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/yeachan-heo-oh-my-codex)Star history chart for your README
[](https://hysenlabs.com/projects/yeachan-heo-oh-my-codex)Was this useful?