Claude Code Router — DevOps skill for Claude Code
Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.
How to install Claude Code Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open farion1231/claude-code-router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Router does
Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.
Alternatives in DevOps
- Claude Code Router — Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the m 30.1k ★
- Claude Code GitHub Actions — by Anthropic - Official GitHub Actions integration for Claude Code with examples and documentation for automat 6.4k ★
- Cccc — Coordinate your coding agents like a group chat — read receipts, delivery tracking, and remote ops from your p 1.1k ★
README
Claude Code Router
I am seeking funding support for this project to better sustain its development. If you have any ideas, feel free to reach out to me: [m@musiiot.top](mailto:m@musiiot.top)
[中文版](README_zh.md)
A powerful tool to route Claude Code requests to different models and customize any request.
Now you can use models such as `GLM-4.5`, `Kimi-K2`, `Qwen3-Coder-480B-A35B`, and `DeepSeek v3.1` for free through the [iFlow Platform](https://platform.iflow.cn/docs/api-mode). You can use the `ccr ui` command to directly import the `iflow` template in the UI. It’s worth noting that iFlow limits each user to a concurrency of 1, which means you’ll need to route background requests to other models. If you’d like a better experience, you can try [iFlow CLI](https://cli.iflow.cn).

✨ Features
- Model Routing: Route requests to different models based on your needs (e.g., background tasks, thinking, long context).
- Multi-Provider Support: Supports various model providers like OpenRouter, DeepSeek, Ollama, Gemini, Volcengine, and SiliconFlow.
- Request/Response Transformation: Customize requests and responses for different providers using transformers.
- Dynamic Model Switching: Switch models on-the-fly within Claude Code using the
/modelcommand. - GitHub Actions Integration: Trigger Claude Code tasks in your GitHub workflows.
- Plugin System: Extend functionality with custom transformers.
🚀 Getting Started
1. Installation
First, ensure you have [Claude Code](https://docs.anthropic.com/en/docs/claude-code/quickstart) installed:
npm install -g @anthropic-ai/claude-code
Then, install Claude Code Router:
npm install -g @musistudio/claude-code-router
2. Configuration
Create and configure your `~/.claude-code-router/config.json` file. For more details, you can refer to `config.example.json`.
The `config.json` file has several key sections:
Related Skills
Swobu
Provider router and compatibility proxy for Claude Code, Codex and AI coding agents. Switch and fail over acro
Arkandia Skills
Arkandia's toolkit of AI coding-agent skills. Currently ships agent-context — generate AGENTS.md, architecture
LibreChat
Enhanced ChatGPT Clone: Features OpenAI, Assistants API, Azure, Groq, GPT-4 Vision, Mistral, Bing, Anthropic,
Initialize
Set up a project's technical foundation, auto-detecting greenfield vs brownfield. Infrastructure only - produc
Cloudformation Template
AWS CloudFormation template repository with CLAUDE.md documentation and integrated Claude skills for infrastru
Cheetahclaws
CheetahClaws: A Fast and Easy-to-Use Agent Harness Infrastructure for Long-Horizon, Multi-Model, and Tool-Usin
Related Agents
Glm Agent
Runs Z.AI GLM on the user's GLM Coding Plan. Three modes - consult (direct API call, 1M context, for inputs to
Upstream Watcher
Cross-references new Anthropic upstream changes against the current project's scaffolded infrastructure and pr
Claude Code Research Agent
Senior Anthropic researcher specializing in Claude Code CLI - researches latest context window and model avail