Installation
codexclaw installs through standard Codex plugin surfaces. There are three install tracks; pick the one that matches how you obtained the plugin.
Prerequisites
Section titled “Prerequisites”- OpenAI Codex (CLI, TUI, or App) with plugin support.
- Node.js 22+ (the components and hooks run under
node). - Optional: opencodex (
ocx) if you want the provider bridge to detect routed models.
Track 1 — Marketplace / codexclaw plugin install
Section titled “Track 1 — Marketplace / codexclaw plugin install”Add the codexclaw marketplace, then install the plugin from that marketplace:
codex plugin marketplace add https://github.com/lidge-jun/codexclawcodex plugin add codexclaw@codexclawThe marketplace install registers the plugin manifest with Codex, including its skills, hooks, and MCP server.
Track 2 — Local dogfood with a dev symlink
Section titled “Track 2 — Local dogfood with a dev symlink”For active development, symlink the working checkout into the Codex plugin cache so approved hooks execute your local files:
scripts/dev-symlink.shThis links the plugin-cache children to your checkout. Edits to skills, hooks, and component
dist/ take effect without reinstalling.
Track 3 — Activation from a source checkout
Section titled “Track 3 — Activation from a source checkout”If you cloned the repo directly and have not linked a global cxc, activate through the bundled
entry point:
node bin/codexclaw.mjs enableOnce a global cxc / codexclaw bin is on your PATH (npm link or codexclaw marketplace install), use
cxc enable instead.
Hook trust
Section titled “Hook trust”codexclaw ships twelve hooks. Codex requires you to review and trust hooks before they run:
- The first start after install or upgrade prompts a Codex hook review.
- Under the symlink dogfood track, approved hooks execute mutable local checkout files, so review what you trust.
- codexclaw must not forge hook trust or hand-edit Codex trust state. If a hook does not run, re-check trust in Codex rather than editing trust files.
Verify
Section titled “Verify”cxc doctordoctor reports component health and, when present, opencodex (ocx) detection status. See
First Run for what to expect on the first session.
