Claude Router — Development skill for Claude Code
Switch Claude Code between Anthropic and any 9Router provider, in the terminal or the VSCode panel, on Windows, macOS and Linux.
How to install Claude Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open vinhnguyenthanhdn/claude-router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Router does
Switch Claude Code between Anthropic and any 9Router provider, in the terminal or the VSCode panel, on Windows, macOS and Linux.
Alternatives in Development
- Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
- Claude Code Zh Cn — Claude Code CLI 简体中文本地化 / 汉化插件;支持 macOS、Linux、WSL、Windows 与新版 native,一行安装,更新后自动修复 721 ★
- SSH Skill — 面向 Codex 和 Claude Code 的跨平台 SSH 工作流 Skill,支持 Windows、macOS、Linux 488 ★
README
Claude Router Switcher — run Claude Code through any 9Router provider, on Windows, macOS and Linux
Use GPT, Gemini, DeepSeek, Grok, Anthropic, local models, or any other model exposed by 9Router inside Claude Code—without permanently changing your Claude configuration.
A small, config-driven toolkit for switching Claude Code between its default Anthropic connection and a local [9Router](https://github.com/decolua/9router)-compatible endpoint.
[](https://github.com/vinhnguyenthanhdn/claude-router/actions/workflows/test.yml)   
What it does
| Capability | Windows | macOS and Linux | Effect |
|---|---|---|---|
| Route the Claude Code CLI through 9Router | claude-9router |
./scripts/claude-9router |
Only that child process is routed; claude in the same window still uses the default Anthropic connection |
| Check which endpoint and model would be used, without starting Claude | claude-9router -DryRun |
./scripts/claude-9router --dry-run |
Prints the base URL and model, then exits |
| Route the native Claude Code panel/sidebar in VSCode | vscode-switch.ps1 on |
./scripts/vscode-switch on |
Writes claudeCode.environmentVariables in user settings (machine scope), keeps unrelated entries, and backs the file up first |
| Show the current VSCode mode | vscode-switch.ps1 status |
./scripts/vscode-switch status |
Prints the base URL and model; the token is reported as configured and never printed |
| Return VSCode to the default Anthropic connection | vscode-switch.ps1 off |
./scripts/vscode-switch off |
Removes only the variables this toolkit manages |
| Remove the toolkit | uninstall.ps1 |
— | Disables VSCode routing first, then rem |
Related Skills
Claude Code Provider Switching Kit
Switch Claude Code between Anthropic, GLM, and OpenRouter (including free models) with one command.
Claude Account
Switch between isolated Claude Code accounts on Linux and macOS without logging in again.
Uni Switch
Open-source Codex and Claude API configuration manager for Windows, Linux and macOS. AGPL-3.0-only.
Claude Code Via Antigravity
Use Claude Code CLI (Opus 4.6, Sonnet 4.5) for free via your Google Antigravity/Code Assist subscription. No A
Termherd
A native terminal workspace for Claude Code sessions — browse, launch, arrange in tabs and splits, monitor, an
Eigen
Opinionated, terminal-first local coding agent for Go/Linux: one daemon, many resumable sessions, multi-provid
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS
Impl Cross Platform
Reviews implementation plans from a cross-platform compatibility perspective. Use when evaluating Linux vs. ma