claudecoderouterclaudecode
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "claudecoderouterclaudecode" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9b204d4468094fd0f669fe9fa64d57b89dc2532b9172c46c7c025e4da063c916. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/route-claude-code-requests-across-models-and-providers-with-claude-code-router before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Runs Claude Code via Claude Code Router to route coding agent requests by task, provider, or model, while preserving terminal workflows and adding provider-specific transformations.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Claude Code; Node.js/npm; one or more model provider API keys or local provider endpoints
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 Claude Code Router 在模型和提供商之间路由 Claude Code 请求"
slug: "route-claude-code-requests-across-models-and-providers-with-claude-code-router"
version: "1.0.0"
displayName: "使用 Claude Code Router 在模型和提供商之间路由 Claude Code 请求"
summary: "通过 Claude Code Router 运行 Claude Code,以根据任务、提供商或模型对编码代理请求进行路由,同时保留终端工作流程并添加提供商特定的转换。
```"
license: "MIT"
description: "通过 Claude Code Router 运行 Claude Code,以根据任务、提供商或模型对编码代理请求进行路由,同时保留终端工作流程并添加提供商特定的转换。
```"
github_stars: 33863
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Developer Tools"
framework: "Claude Code"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 33863
npm_package: "@musistudio/claude-code-router"
npm_weekly_downloads: 211046使用 Claude Code Router 在模型和提供商之间路由 Claude Code 请求
Run Claude Code through Claude Code Router to route coding-agent requests by task, provider, or model while preserving terminal workflows and adding provider-specific transformations.
Prerequisites
Claude Code; Node.js/npm; one or more model provider API keys or local provider endpoints
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g @anthropic-ai/claude-code
- npm install -g @musistudio/claude-code-router
Requirements and caveats from upstream:
- APIKEY (optional): You can set a secret key to authenticate requests. When set, clients must provide this key in the Authorization header (e.g., Bearer your-secret-key) or the x-api-key header. Example: "APIKEY":...
- NON_INTERACTIVE_MODE (optional): When set to true, enables compatibility with non-interactive environments like GitHub Actions, Docker containers, or other CI/CD systems. This sets appropriate environment variable...
- The Providers array is where you define the different model providers you want to use. Each provider object requires:
Basic usage or getting-started notes:
-
🚀 Getting Started
-
Create and configure your ~/.claude-code-router/config.json file. For more details, you can refer to config.example.json.
-
PROXY_URL (optional): You can set a proxy for API requests, for example: "PROXY_URL": "http://127.0.0.1:7890".
-
Extracted from upstream docs: https://raw.githubusercontent.com/musistudio/claude-code-router/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向开发者,解决多模型/提供商场景下的 Claude Code 请求路由需求
- 保留终端工作流并添加提供商特定转换,具有明确的实用价值
Areas to improve
-
description内容截断 Reported severity: Minor
frontmatter 中 description 字段末尾存在截断符号(```"),影响完整性
Recommendation: 修正 description 字段,确保内容完整无截断
Highlights
- description 清晰描述了 Skill 的核心功能和使用场景
Areas to improve
-
缺少When to Use/示例章节 Reported severity: Minor
文档缺少明确的 'When to Use' 场景说明和端到端的完整执行示例
Recommendation: 补充 'When to Use' 章节,说明典型使用场景;添加端到端执行示例,展示从配置到运行的具体流程
Highlights
- 文档结构基本完整,包含 Prerequisites、Installation、Documentation 等必要章节
Areas to improve
-
配置说明不完整 Reported severity: Minor
未明确说明核心配置文件 (~/.claude-code-router/config.json) 的具体结构和必填字段,也未提及主要异常处理
Recommendation: 补充配置文件的详细结构说明,包括必填字段和可选字段;增加常见异常(如 API key 无效、网络错误)的处理建议
Highlights
- 列出了 Prerequisites 和 Installation 步骤,工具来源(npm 包)明确
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 36, 37 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 40
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- 127.0.0.1
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Claude Code; Node.js/npm; one or more model provider API keys or local provider endpoints
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.