AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

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/codex entry into container/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 .env or 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

  1. One-shot install + auth: pnpm exec tsx setup/index.ts --step provider-auth codex.
  2. Flip a single group: ncl groups config update --id <group-id> --provider codex then ncl groups restart --id <group-id>.
  3. Debug a silent container with grep 'Container exited non-zero' logs/nanoclaw.error.log — Unknown provider: codex means 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Clone the repo: git clone https://github.com/nanocoai/nanoclaw.git
  2. Copy the skill into your personal skills folder: mkdir -p ~/.claude/skills && cp -r nanoclaw/.claude/skills/add-codex ~/.claude/skills/
  3. Work inside the project itself: cd nanoclaw and install dependencies with pnpm install.
  4. Check pre-flight requirements — src/project-doc-compose.ts and container/agent-runner/src/provider-contracts/exchange-archive.ts must exist on trunk; if not, run /update-nanoclaw first.
  5. Ask Claude Code to "install the Codex provider", or run the shortcut: pnpm exec tsx setup/index.ts --step provider-auth codex.
  6. After the build (pnpm run build, ./container/build.sh) and verifier pass, switch a group with ncl groups config update --id <group-id> --provider codex.