Add Codex Agent Provider
Installs OpenAI's Codex app-server as a first-class agent backend for NanoClaw, switchable per group.
Dev & CodingAdvanced★ 30,471⑂ 12,865AI score 6/10Last updated: Aug 9, 2026
What it does
Automates the full install of the OpenAI Codex app-server as an agent provider inside the NanoClaw project — alongside or instead of Claude.
- Copies the Codex payload from the
providersbranch into the host, container and setup trees - Appends the self-registration import to all three provider barrels
- Merges a pinned
@openai/codexentry intocontainer/cli-tools.json - Walks through build → tests → OneCLI vault authentication
- Documents per-group switching and a troubleshooting checklist
Every nc: directive is idempotent, so re-running the skill is safe. Credentials are vault-only: no key in .env and nothing readable from inside the container.
Who it's for
- NanoClaw operators who want different LLM backends per group
- Developers with a ChatGPT subscription or OpenAI API key who want to benchmark Codex
- Intermediate-to-advanced users comfortable with container rebuilds and pnpm/vitest/bun
Examples
- One-shot install: run
pnpm exec tsx setup/index.ts --step provider-auth codexto copy files, wire barrels, rebuild the image and authenticate in one command. - Switch a single group:
ncl groups config update --id my-group --provider codex && ncl groups restart --id my-group— memory carries over because all providers share thememory/tree. - Debug a silent channel:
grep 'Container exited non-zero' logs/nanoclaw.error.log; anUnknown provider: codexline means the barrels aren't wired into the running build.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .claude/skills/add-codex folder from the GitHub repo nanocoai/nanoclaw into my ~/.claude/skills/add-codex/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/nanocoai/nanoclaw.git && mkdir -p ~/.claude/skills && cp -r nanoclaw/.claude/skills/add-codex ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo:
git clone https://github.com/nanocoai/nanoclaw.git - The skill already lives at
.claude/skills/add-codex. To use it globally runmkdir -p ~/.claude/skills && cp -r nanoclaw/.claude/skills/add-codex ~/.claude/skills/ - Enter the project and install dependencies:
cd nanoclaw && pnpm install - Launch Claude Code from the repo root and ask it to "install the Codex provider with the add-codex skill", or run
pnpm exec tsx setup/index.ts --step provider-auth codexyourself - Follow the prompts: sign in with your ChatGPT subscription or paste an OpenAI API key — it is stored in the OneCLI vault
- Verify the build:
pnpm run build && ./container/build.sh - Enable it for a group:
ncl groups config update --id <group-id> --provider codex, thenncl groups restart --id <group-id>
View source on GitHub ↗License: MIT