Running Claude Code Via Litellm Copilot
Skill Verified ActiveUse when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.
Reduce direct Anthropic API spend by routing Claude Code traffic through a local LiteLLM proxy to GitHub Copilot, while providing clear setup and troubleshooting guidance.
Features
- Route Claude Code traffic to GitHub Copilot via LiteLLM
- Reduce direct Anthropic API costs
- Configure LiteLLM `config.yaml` for GitHub Copilot
- Set `ANTHROPIC_BASE_URL` and `ANTHROPIC_MODEL` overrides
- Troubleshoot model-not-found and GitHub auth errors
Use Cases
- When aiming to lower direct Anthropic API spending while using Claude Code.
- When setting up a local proxy to route Claude Code requests to GitHub Copilot.
- When troubleshooting model-not-found, no localhost traffic, or GitHub 401/403 errors.
- When needing to configure LiteLLM provider routes and environment variables for this specific workflow.
Non-Goals
- Deciding whether this workaround is allowed by GitHub terms of service.
- General LiteLLM architecture unrelated to Claude Code and GitHub Copilot integration.
- Direct Anthropic API setup without a LiteLLM or GitHub Copilot component.
Installation
npx skills add xixu-me/skillsRuns the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.
Quality Score
VerifiedTrust Signals
Similar Extensions
Rule Effectiveness Analysis
100Analyze which rules are actively used vs inert. Detect coverage gaps. Recommend pruning to reduce token consumption.
Bootstrap Project
100Initializes the Claude Code configuration in a new or existing project using the dotforge template.
Validate Plugin
100Validate a Claude Code plugin structure, frontmatter, and MCP tool references
Guard
100Protect Claude Code sessions from context overflow by running a background daemon that monitors session size and auto-prunes before compaction hits. Use when the user says "guard", "protect session", "context getting long", "prevent compaction", "session management", or is running agent teams that need continuous context protection.
Create Command
100Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration
Plugin Authoring
100Use when creating, modifying, or debugging Claude Code plugins. Triggers on .claude-plugin/, plugin.json, marketplace.json, commands/, agents/, skills/, hooks/ directories. Provides schemas, templates, validation workflows, and troubleshooting.