Claude Model Router — DevOps skill for Claude Code
Safety-first local Claude Code router for DeepSeek and Kimi, with reversible installation and hardened Docker deployment.
How to install Claude Model Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dragonxia-ctrl/claude-model-router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Model Router does
Safety-first local Claude Code router for DeepSeek and Kimi, with reversible installation and hardened Docker deployment.
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 ★
- Zhikuncode — Codex/Claude Code/Cursor的开源增强版,专注一句话实现复杂长程任务(教育、编程、办公、生活、娱乐、游戏) 473 ★
- Claude Code Sandbox — Run Claude Code safely in local Docker containers without having to approve every permission 301 ★
README
Claude Model Router
**English** | [简体中文](README.zh-CN.md)
[](https://github.com/dragonxia-ctrl/claude-model-router/actions/workflows/ci.yml) [](https://nodejs.org/) [](LICENSE)
A local, safety-first routing proxy for **Claude Code**. It keeps DeepSeek as the default model and escalates to Kimi only when public benchmark evidence or live task signals show a clear Kimi advantage.
**Status:** early public release. Currently supports **DeepSeek and Kimi only**.
This is an independent community project. It is not affiliated with or endorsed by Anthropic, DeepSeek, or Moonshot AI. Claude Code is a product of Anthropic.
**Version information:** [VERSIONS.md](VERSIONS.md) — what each version changed, why, and the measurements behind it. Current release: **v2 (1.2.0)**.
Why this exists
Claude Code supports one model setting per session. That is simple, but it is a poor fit for mixed workloads:
- Most coding, refactoring, Kaggle, data-science, finance, and legal work does not need the most expensive model.
- Long-horizon terminal work, difficult source-verification research, frontier mathematics, complex visual reasoning, and video tasks can benefit from a stronger model.
- Switching models by hand breaks flow and is easy to forget.
This project puts a small HTTP proxy on `127.0.0.1` between Claude Code and the providers. Claude Code sees one local endpoint. The proxy chooses DeepSeek or Kimi for each request, streams the response back, and preserves provider-compatible conversation state.
**Guiding rule:** use Kimi only for demonstrated advantage categories. Everything else stays on DeepSeek.
What it does
- Routes Claude Code's Anthropic-compatible Messages API traffic to DeepSeek or Kimi.
- Defaults to **DeepSee
Related Skills
P2P
Meta-prompt system that writes prompts: raw idea in — a polished, model-specific prompt out. Cross-model (Clau
Agent Basis
EternaAgent (恒灵) — enterprise agent platform on DeepSeek Harness: governance/HITL/memory/eval-gated self-evolu
Claude Code Router
Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the m
Shaka
Local, provider-neutral infrastructure that gives AI coding assistants shared context, memory, workflows, MCP
Agentswarm
Local agent swarm: a conductor model splits missions into parallel sub-agents with real tools and a localhost
Review Router AI
Free Powerfull AI code review that runs inside your CI/CD (privacy) using your subscription accounts (pool). F
Related Agents
Opencode Worker
Forwards one scoped task to a model running in OpenCode (Grok, Kimi, GLM, Qwen, DeepSeek, …) through opencode
Release Safety Reviewer
Focused worker for AWS CDK, Lambda deployment safety, blue-green rollout automation, Jenkins, GitHub Actions,
Second Opinion
Gets an independent review from a NON-Claude model (via a local CLI such as kimi, or a local Ollama model) and