znnz-api

Agent Switch — AI skill for Claude Code

AI community

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.

![Agent-Switch](imgs/Agent-Switch-en/png/123456.png)

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,