Agent Switch — AI skill for Claude Code
A free, lightweight AI gateway manager that lets Codex and Claude clients share a switchable, observable local gateway with multi-provider management, local protocol conversion, model injection, and u.
How to install Agent Switch
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open znnz-api/Agent-Switch and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Switch does
A free, lightweight AI gateway manager that lets Codex and Claude clients share a switchable, observable local gateway with multi-provider management, local protocol conversion, model injection, and usage statistics.
Alternatives in AI
- Firecrawl MCP Server — 🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM c 6.1k ★
- Skills Manager — A lightweight desktop app to manage, sync, and organize AI agent skills across 15+ coding tools — Cursor, Clau 813 ★
- Skilldock — SkillDock is an AI skill manager and skill management desktop app for Claude Code, Cursor, Codex, Windsurf, Ge 490 ★
README
Agent-Switch
English | [中文](README_ZH.md)
A free, lightweight AI gateway manager that lets Codex and Claude clients share a switchable, observable local gateway with multi-provider management, local protocol conversion, model injection, and usage statistics.

Features
- 🚀 One-click client installation • Install Codex CLI, Codex Desktop, Claude Code, and Claude Desktop from Agent-Switch.
- 🔀 Multi-provider management • Save multiple provider endpoints and API Keys, rename entries, reorder them by dragging, and switch quickly.
- 🔄 Provider switching • Changing a provider endpoint or API Key automatically restarts the related Agent client and reloads its configuration.
- 🔐 Account mode switching • Switch between local gateway mode and the client’s official account mode without signing out, while restoring the original configuration automatically.
- 🔌 Independent client connections • Manage installation, runtime, connection state, and gateway routing for all four Agent clients separately.
- 🧩 Local protocol conversion • Convert between OpenAI, Anthropic, Gemini, and other protocols locally. Same-family models are preferred for direct pass-through, and conversion can be toggled live. See the FAQ below.
- 📥 Gateway model management • Fetch model lists from providers and hide legacy or unused models for each provider.
- 🗂️ Model mapping injection • Inject provider models into the Agent client model picker so they can be selected directly.
- 📊 Provider usage statistics • Track request counts and Token usage separately for each provider.
- 💡 Real-time status detection • Detect whether each Agent client is installed, running, and connected to the gateway.
- 🛡️ Protected configuration • API Keys are encrypted locally, and the gateway listens only on the local loopback address.
- 📝 Runtime logs • Record client startup, connection, restart, model injection,
Related Skills
Claude Code Model Router
A lightweight API gateway that lets you switch to third-party AI models when using Claude Code.
Ccrelay
Local API proxy (VS Code extension + desktop app) for Claude Code, Cowork & Codex. Automatic protocol conversi
Stone
Personal, local-first desktop AI gateway for Windows, macOS, and Linux. Connect Claude Code, Codex, and Gemini
AginxBrain
Local-first AI gateway with bidirectional protocol conversion (Anthropic ↔ OpenAI ↔ Responses). Route Claude C
Dsh Output Styles
Claude Code outputStyles for DeepSeek Harness - session-scoped, durable, runtime-switchable model output style
Cmc Proxy
Reverse-proxy a GOAT/commandcode AI subscription to localhost for Claude Code & Codex — OpenAI/Anthropic/Respo
Related Agents
Quota Router
Thin wrapper over ~/.claude/router/state.sh. Reports the router's provider-state verdict (GPT/Claude/Gemini el
Gads Search
Search campaign analyst. Looks at impression share, CTR, CPC, conversion volume, search-term mining, negative-
Gateway Worker
Worker for gateway/ (Rust, axum, tokio). Owns provider adapters, bar cache, REST/WS API, SQLite persistence, a