Agent skill · software engineering · aiskillstore
running-claude-code-via-litellm-copilot
Use 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.
Why this skill is useful
Provides specific configuration and troubleshooting steps for integrating Claude Code with GitHub Copilot via LiteLLM, which are not widely documented.
What it needs
Requires litellm installed locally. Requires github account access. About 5k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Running Claude Code via LiteLLM and GitHub Copilot Overview Use this skill for the specific workaround where Claude Code keeps its Anthropic-shaped client behavior, but the actual backend traffic is sent to a local LiteLLM proxy and then forwarded to GitHub Copilot. Treat this as an advanced workaround, not an officially guaranteed GitHub workflow. Help the user succeed technically, but do not promise GitHub support, policy approval, or long-term compatibility. This skill is guidance-first but execution-aware: If the user wants explanation only, provide the smallest correct set of files, commands, and checks. If the user wants real setup work on the current machine, inspect first and adapt commands to the active shell and OS. Pause before persistent edits such as ~/.claude/settings.json or shell profile files. Read references/doc-verified-notes.md before answering if you need to justify which parts come from the article and which parts were tightened against current LiteLLM docs. When To Use Use this skill when the user wants any of the following: Claude Code to run against GitHub Copilot through LiteLLM lower direct Anthropic API spending while keeping the Claude Code workflow a local config.yaml for LiteLLM's GitHub Copilot provider ANTHROPICBASEURL, ANTHROPICMODEL, or CLAUDECODEDISABLENONESSENTIALTRAFFIC setup help understanding GitHub device authorization during LiteLLM startup help with model mismatch, 404-like errors, no requests reaching LiteLLM, or GitHub 401/403 failures Do not use this skill for: deciding whether the workaround is allowed by GitHub terms general LiteLLM architecture unrelated to Claude Code plus Copilot direct Anthropic API setup with no Copilot or LiteLLM component Core Rules 1. Lead with a short compliance caveat. Explain that this is a workaround based on a local proxy path, not a GitHub-promoted workflow, and the user must evaluate the latest Copilot terms and limits for themselves. 2. Prefer the minimum viable path first. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/running-claude-code-via-litellm-copilot