{"id":"c42a17e5-8ff3-4061-ab0a-cc57d7d5ed08","shortId":"yJthJ5","kind":"skill","title":"Route Claude Code requests across models and providers with Claude Code Router","tagline":"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.","description":"# Route Claude Code requests across models and providers with Claude Code Router\n\nRun 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.\n\n## Prerequisites\n\nClaude Code; Node.js/npm; one or more model provider API keys or local provider endpoints\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- npm install -g @anthropic-ai/claude-code\n- npm install -g @musistudio/claude-code-router\n\nRequirements and caveats from upstream:\n- **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\":...\n- **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...\n- The Providers array is where you define the different model providers you want to use. Each provider object requires:\n\nBasic usage or getting-started notes:\n- ## 🚀 Getting Started\n- Create and configure your ~/.claude-code-router/config.json file. For more details, you can refer to config.example.json.\n- **PROXY_URL** (optional): You can set a proxy for API requests, for example: \"PROXY_URL\": \"http://127.0.0.1:7890\".\n\n- Source: https://github.com/musistudio/claude-code-router\n- Extracted from upstream docs: https://raw.githubusercontent.com/musistudio/claude-code-router/HEAD/README.md\n\n## Documentation\n\n- https://github.com/musistudio/claude-code-router\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router/)","tags":["route","claude","code","requests","across","models","and","providers","with","router","skills","agentskillexchange"],"capabilities":["skill","source-agentskillexchange","skill-route-claude-code-requests-across-models-and-providers-with-claude-code-router","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,860 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:12:08.563Z","embedding":null,"createdAt":"2026-05-18T13:18:54.910Z","updatedAt":"2026-05-18T19:12:08.563Z","lastSeenAt":"2026-05-18T19:12:08.563Z","tsv":"'/.claude-code-router/config.json':224 '/claude-code':116 '/musistudio/claude-code-router':254,265 '/musistudio/claude-code-router/head/readme.md':261 '/npm;':86 '/skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router/)':272 '127.0.0.1':249 '7890':250 'across':5,45 'action':180 'ad':36,76 'agent':24,64,267 'agentskillexchange.com':271 'agentskillexchange.com/skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router/)':270 'ai':115 'anthrop':114 'anthropic-ai':113 'api':92,158,243 'apikey':126,162 'appropri':189 'array':194 'authent':135 'author':146 'basic':211 'bearer':149 'caveat':123 'ci/cd':185 'claud':2,10,14,17,42,50,54,57,82 'client':139 'code':3,11,15,18,23,43,51,55,58,63,83 'coding-ag':22,62 'compat':172 'config.example.json':233 'configur':222 'contain':182 'creat':220 'defin':198 'detail':228 'differ':200 'doc':258 'docker':181 'document':262 'e.g':148 'enabl':171 'endpoint':97 'environ':109,177,190 'exampl':161,246 'exchang':269 'extract':255 'file':225 'g':112,119 'get':215,218 'getting-start':214 'github':179 'github.com':253,264 'github.com/musistudio/claude-code-router':252,263 'header':147,160 'instal':98,102,111,118 'interact':164,176 'key':93,133,143,153,159 'like':178 'local':95 'match':107 'mode':165 'model':6,30,46,70,90,201 'musistudio/claude-code-router':120 'must':140 'node.js':85 'node.js/npm;':84 'non':163,175 'non-interact':174 'note':217 'npm':110,117 'object':209 'one':87 'option':127,166,236 'path':105 'prerequisit':81 'preserv':32,72 'provid':8,28,38,48,68,78,91,96,141,193,202,208 'provider-specif':37,77 'proxi':234,241,247 'raw.githubusercontent.com':260 'raw.githubusercontent.com/musistudio/claude-code-router/head/readme.md':259 'refer':231 'request':4,25,44,65,136,244 'requir':121,210 'rout':1,21,41,61 'router':12,19,52,59 'run':13,53 'secret':132,152 'set':130,138,168,188,239 'setup':104 'skill':268 'skill-route-claude-code-requests-across-models-and-providers-with-claude-code-router' 'sourc':251,266 'source-agentskillexchange' 'specif':39,79 'start':216,219 'system':186 'task':27,67 'termin':33,73 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'transform':40,80 'true':170 'upstream':101,125,257 'url':235,248 'usag':212 'use':99,206 'variabl':191 'want':204 'workflow':34,74 'x':157 'x-api-key':156 'your-secret-key':150","prices":[{"id":"f02ebb6c-dc43-4665-81a4-b57ca850d735","listingId":"c42a17e5-8ff3-4061-ab0a-cc57d7d5ed08","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:18:54.910Z"}],"sources":[{"listingId":"c42a17e5-8ff3-4061-ab0a-cc57d7d5ed08","source":"github","sourceId":"agentskillexchange/skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router","isPrimary":false,"firstSeenAt":"2026-05-18T13:18:54.910Z","lastSeenAt":"2026-05-18T19:12:08.563Z"}],"details":{"listingId":"c42a17e5-8ff3-4061-ab0a-cc57d7d5ed08","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"route-claude-code-requests-across-models-and-providers-with-claude-code-router","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"a8f154d9b1a1b5ce6c97f31079a29e7db7516f63","skill_md_path":"skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Route Claude Code requests across models and providers with Claude Code Router","description":"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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/route-claude-code-requests-across-models-and-providers-with-claude-code-router"},"updatedAt":"2026-05-18T19:12:08.563Z"}}