claudexor

Local-first control plane for Claude Code, Codex, Cursor, and OpenCode with quota-aware rotation across Claude Code and Codex subscriptions. Pi integration by Ouroboros.

Packages

Package details

extensionskill

Install claudexor from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:claudexor
Package
claudexor
Version
6.3.0
Published
Nov 19, 2026
Downloads
4,581/mo · 1,774/wk
Author
razzant
License
MIT
Types
extension, skill
Size
31.8 KB
Dependencies
1 dependency · 0 peers
Pi manifest JSON
{
  "skills": [
    "./pi/skills"
  ],
  "extensions": [
    "./pi/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

claudexor

Local-first control plane for Claude Code, Codex, Cursor, and OpenCode. It keeps one Claudexor coding thread moving across harnesses and can track quota and rotate across multiple user-owned Claude Code and Codex subscriptions.

  • Route planning, implementation, and review through different coding agents.
  • Run Best-of-N candidates and cross-model reviews in isolated workspaces.
  • Continue across harness or account lanes with bounded context packets.
  • Inspect evidence, checks, review state, and typed apply gates before delivery.
  • Expose the same control plane to existing agents through a local MCP server.

Quota telemetry and automatic subscription rotation apply to Claude Code and Codex. Cursor and OpenCode participate in the multi-harness pool. Claudexor does not migrate native vendor sessions between credential profiles.

npm install -g claudexor
claudexor doctor

claudexor ask "map this repository"
claudexor agent "implement the approved plan" --harness codex
claudexor best-of "review this patch" --harness codex,claude --n 2
claudexor mcp serve

The example Ask uses Auto. To use a named account, add --harness <harness-id> --profile <profile-id> with the IDs from its row in claudexor accounts --json.

This package is the bin wrapper over @claudexor/cli.

Install in Pi

Pi can delegate a question to Claudexor and show the answer in your session. Use a configured CLI and account and a Pi version with built-in MCP and registerMcpServer, such as 1.5.2. Pi integration by Ouroboros.

If npm view claudexor@latest pi.extensions --json lists ./pi/index.js, install the published package in Pi.

pi install npm:claudexor

If the entry is missing, as it is in claudexor@6.2.0 on npm, get a Git checkout containing the extension and keep it in place. Pi loads the local package from that directory.

pi install "$HOME/claudexor-hosts/packages/claudexor"

Start Pi with node and claudexor on its PATH, or use /reload in an existing session with that PATH. Enable built-in MCP and the extension in pi config if needed. In /mcp, check that claudexor is connected and your tool filters permit the first request's tools under mcp__claudexor__. The extension is the source by default. A manual entry named claudexor in ~/.pi/agent/mcp.json or the project's .pi/mcp.json overrides it even when disabled. Keep an intentional entry for a custom Claudexor store. To use the packaged server instead, remove or rename the conflicting entry and /reload. Check status and get your first answer.

Product overview · documentation and source · releases