Cprov — AI skill for Claude Code
Switch Claude Code between Anthropic, Z.ai (GLM), MiniMax and any Anthropic-compatible provider.
How to install Cprov
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open falconsw/cprov and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cprov does
Switch Claude Code between Anthropic, Z.ai (GLM), MiniMax and any Anthropic-compatible provider. Keys stay in your OS keychain.
Alternatives in AI
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★
- Devo — Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode 316 ★
README
cprov
Switch [Claude Code](https://claude.com/claude-code) between Anthropic, Z.ai (GLM), MiniMax and any Anthropic-compatible provider, without hand-editing `settings.json` or keeping API keys in plain text.
$ cprov add
? Provider Z.ai (GLM)
Get a key here: https://z.ai/manage-apikey/apikey-list
? Z.ai (GLM) API key › ****************************
Checking the key…
✓ Key works (glm-5.3-flash[1m], 412 ms)
? Profile name (glm) ›
✓ Profile "glm" created. Key stored in macOS Keychain.
$ cprov glm # this terminal talks to GLM
$ cprov opus # another terminal talks to Claude, at the same time
Install
npm install -g @falconsw/cprov
Node 18+ and Claude Code are required. No other dependencies.
How it works
- Profiles, not file copies. A profile only stores what differs: provider, model, auth type.
Plugins and everything else in your
~/.claude/settings.jsonstay untouched. - Keys in the OS keychain. macOS Keychain, Secret Service (
secret-tool) on Linux, or a0600file as a last resort. Profile files never contain a key. - Per session or default.
cprovstartsclaude --settingswith the key in the child's environment. Only that session is affected, so different terminals can use different providers.cprov usewrites the overlay into~/.claude/settings.json(backup insettings.json.cprov-backup) with anapiKeyHelperthat reads the key from the keychain, so plainclaudeuses it.cprov use --env-keyalso keeps the key insettings.jsonenv, for apps that only read that file or the session's environment (Leftover, Cost Info, limit dashboards). The choice sticks until--no-env-key;cprov doctorflags the plain-text copy while it lasts.
- Provider catalog. Base URLs, model names, context sizes and model-picker entries come from `providers.json`. For gateways, all model tiers (Opus/Sonne
Related Skills
Openclaw Teamorouter Provider
TeamoRouter model provider for OpenClaw: one OpenAI-compatible key for Qwen, Kimi, GLM, DeepSeek, MiniMax, Cla
Airoute
Local AI router. One OpenAI-compatible endpoint for every provider you already have, and one key for opencode,
Wowrouter
Local AI router. One OpenAI-compatible endpoint for every provider you already have, and one key for opencode,
Aquaman
Credential proxy for AI agents. API keys stay in the vault you already use (Keychain, 1Password, Bitwarden, Ha
Multimodal Vision Skill
One image-recognition engine for any AI agent — 3 protocols (OpenAI Chat/Responses, Anthropic Messages), multi
Aethryn
Aethryn — premium multi-provider AI router, gateway and agentic workspace. OpenAI + Anthropic compatible APIs,
Related Agents
Provider Debugger
Diagnose live-provider compatibility failures for Kimi, GLM, and other OpenAI-compatible endpoints
Ff l10n
Flapforge localization engineer: adds and audits every player-facing string in en and pt_BR, keeps the two fil
Glm Agent
Runs Z.AI GLM on the user's GLM Coding Plan. Three modes - consult (direct API call, 1M context, for inputs to