Add Codex Agent Provider (add-codex)
Installs OpenAI Codex (app-server) as a first-class agent backend for NanoClaw, switchable per group.
Dev & CodingAdvanced★ 31,098⑂ 12,661AI score 7/10Last updated: Nov 8, 2026
What it does
- Copies the Codex provider payload into the host, container and setup trees and appends self-registration imports to every provider/contract barrel.
- Merges a pinned
@openai/codexentry intocontainer/cli-tools.json, rebuilds the image and runs the provider-contract verifier. - Walks you through vault-only authentication (ChatGPT subscription login or OpenAI API key) so no credential ever lands in
.envor inside the container. - All steps are expressed as idempotent
nc:directives, so re-running the skill is safe.
Who it's for
- NanoClaw operators who want Codex as the planner alongside or instead of Claude.
- Teams running multiple agent groups that need different backends per group.
- Security-conscious setups that keep secrets in a gateway vault rather than the container.
Examples
- One-shot install + auth:
pnpm exec tsx setup/index.ts --step provider-auth codex. - Flip a single group:
ncl groups config update --id <group-id> --provider codexthenncl groups restart --id <group-id>. - Debug a silent container with
grep 'Container exited non-zero' logs/nanoclaw.error.log—Unknown provider: codexmeans the barrels aren't wired into the running build.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/nanocoai/nanoclaw/HEAD/.claude/skills/add-codex/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
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 AI 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.
- Clone the repo:
git clone https://github.com/nanocoai/nanoclaw.git - Copy the skill into your personal skills folder:
mkdir -p ~/.claude/skills && cp -r nanoclaw/.claude/skills/add-codex ~/.claude/skills/ - Work inside the project itself:
cd nanoclawand install dependencies withpnpm install. - Check pre-flight requirements —
src/project-doc-compose.tsandcontainer/agent-runner/src/provider-contracts/exchange-archive.tsmust exist on trunk; if not, run/update-nanoclawfirst. - Ask Claude Code to "install the Codex provider", or run the shortcut:
pnpm exec tsx setup/index.ts --step provider-auth codex. - After the build (
pnpm run build,./container/build.sh) and verifier pass, switch a group withncl groups config update --id <group-id> --provider codex.
View source on GitHub ↗License: MIT