Community编程与开发github.com

xixu-me/通过LiteLLM Copilot代理运行Claude Code

用于通过本地LiteLLM代理将Claude Code路由到GitHub Copilot,减少直接使用Anthropic的费用,配置ANTHROPIC_BASE_URL或ANTHROPIC_MODEL覆盖,或排查Copilot代理设置失败问题,如模型未找到、无本地主机流量或GitHub 401/403认证错误。

通过LiteLLM Copilot代理运行Claude Code 是什么?

此技能旨在帮助用户通过本地LiteLLM代理将Claude Code路由到GitHub Copilot,从而降低直接使用Anthropic API的高昂成本。它支持配置如ANTHROPIC_BASE_URL和ANTHROPIC_MODEL等环境变量,以覆盖默认设置,并简化与Copilot的集成。该技能还提供针对常见代理设置失败问题的故障排除指南,例如模型未找到、无本地主机流量或GitHub 401/403认证错误。通过遵循此技能,开发者可以高效地利用Copilot作为后端,同时保持对Claude Code工作流的现有工具支持,无需进行大量重构。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/xixu-me/skills/tree/main/skills/running-claude-code-via-litellm-copilot

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

通过LiteLLM Copilot代理运行Claude Code 是做什么的?

用于通过本地LiteLLM代理将Claude Code路由到GitHub Copilot,减少直接使用Anthropic的费用,配置ANTHROPIC_BASE_URL或ANTHROPIC_MODEL覆盖,或排查Copilot代理设置失败问题,如模型未找到、无本地主机流量或GitHub 401/403认证错误。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

xixu-me/develop-userscripts

Use when building, debugging, packaging, or publishing browser userscripts for Tampermonkey or ScriptCat, including GM APIs, metadata blocks, permission issues, @match/@grant/@connect setup, ScriptCat background or scheduled scripts, UserConfig blocks, or subscription workflows.

xixu-me/github-actions-docs

Use when users ask how to write, explain, customize, migrate, secure, or troubleshoot GitHub Actions workflows, workflow syntax, triggers, matrices, runners, reusable workflows, artifacts, caching, secrets, OIDC, deployments, custom actions, or Actions Runner Controller, especially when they need official GitHub documentation, exact links, or docs-grounded YAML guidance.

xixu-me/openclaw-secure-linux-cloud

Use when self-hosting OpenClaw on a cloud server, hardening a remote OpenClaw gateway, choosing between SSH tunneling, Tailscale, or reverse-proxy exposure, or reviewing Podman, pairing, sandboxing, token auth, and tool-permission defaults for a secure personal deployment.

xixu-me/opensource-guide-coach

Use when a user wants guidance on starting, contributing to, growing, governing, funding, securing, or sustaining an open source project, or asks about contributor onboarding, community health, maintainer burnout, code of conduct, metrics, legal basics, or open source project adoption.

xixu-me/readme-i18n

Use when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized README variants in a GitHub-style repository.

xixu-me/secure-linux-web-hosting

Use when setting up, hardening, or reviewing a cloud server for self-hosting, including DNS, SSH, firewalls, Nginx, static-site hosting, reverse-proxying an app, HTTPS with Let's Encrypt or ACME clients, safe HTTP-to-HTTPS redirects, or optional post-launch network tuning such as BBR.

xixu-me/skills-cli

Use when users ask to discover, install, list, check, update, remove, back up, restore, sync, or initialize Agent Skills, mention `bunx skills`, `npx skills`, `skills.sh`, or `skills-lock.json`, ask "find a skill for X", or want help extending agent capabilities with installable skills.

xixu-me/tzst

Use when the user needs to create, extract, flatten, list, test, install, script, or troubleshoot `tzst` CLI workflows for `.tzst` or `.tar.zst` archives, including compression levels, streaming mode, extraction filters, conflict resolution, JSON output, or standalone binary setup, even if they describe the archive task without naming `tzst`.

xixu-me/use-my-browser

Use when work depends on the user's live browser session or visible rendered state rather than static fetches, especially for browser debugging contexts or DevTools-selected elements or requests, logged-in dashboards or CMS flows, localhost apps, forms, uploads, downloads, media inspection, DOM or iframe inspection, Shadow DOM, or browser failures that look like soft 404s, auth walls, anti-bot checks, or rate limits.

xixu-me/xdrop

Use this skill when the user wants to send or fetch files through an Xdrop server from the terminal, asks to automate encrypted Xdrop share-link workflows, provides an Xdrop `/t/:transferId#k=...` link to download and decrypt locally, or needs Xdrop CLI flags such as `--quiet`, `--json`, `--expires-in`, `--output`, or `--api-url`, even if they do not explicitly mention the skill name.

xixu-me/xget

Use when tasks involve Xget URL rewriting, registry/package/container/API acceleration, integrating Xget into Git, download tools, package managers, container builds, AI SDKs, CI/CD, deployment, self-hosting, or adapting commands and config from the live README `Use Cases` section into files, environments, shells, or base URLs.

相关技能