Claude Copilot Local — Git skill for Claude Code
Cross-platform GitHub Copilot Gateway Hub for Claude Code.
How to install Claude Copilot Local
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Bit1Zhou/claude-copilot-local and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Copilot Local does
Cross-platform GitHub Copilot Gateway Hub for Claude Code.
Alternatives in Git
- Epic Sync — Sync epic issue bodies, labels, and local coordination snapshots from GitHub 243.5k ★
- Cc Usage — by ryoppippi - Handy CLI tool for managing and analyzing Claude Code usage, based on analyzing local Claude Co 11.7k ★
- Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
README
Copilot Gateway Hub 1.0.0
在本机运行一个 Anthropic-compatible Gateway,让 Claude Code 通过 GitHub Copilot 的 Claude 模型工作。支持 macOS、Linux、WSL2 和 Windows 原生环境,也可以通过反向 SSH 安全地服务一台远程 Linux 服务器。
架构
Claude Code
-> Anthropic-compatible Gateway 127.0.0.1:8787
-> GitHub Copilot SDK
-> Copilot headless runtime 127.0.0.1:4321
-> GitHub Copilot model service
远程模式:
Remote Linux 127.0.0.1:18787
-> reverse SSH
-> Hub 127.0.0.1:8787
两个服务默认只监听 loopback,不对公网开放。
支持平台
| Hub 平台 | 支持状态 | 启动入口 |
|---|---|---|
| macOS | 支持 | Bash |
| Linux x64/ARM64 | 支持 | Bash |
| WSL2 | 支持 | Bash |
| Windows 10+/Server 2019+ x64/ARM64 | 支持 | PowerShell/CMD |
前置条件
- Node.js
^20.19.0或>=22.12.0,推荐使用满足条件的 LTS 版本; - npm;
- 有权使用 GitHub Copilot CLI 和 Claude 模型的 GitHub 账号;
- 本地使用时安装 Claude Code;
4321、8787端口可用;- 使用代理检查或 relay 时需要
curl; - 使用 relay 时需要 OpenSSH Client。
Linux/WSL2 的基础工具通常由系统自带。最小化系统还需安装 `bash`、`curl`、`ca-certificates` 和 `openssh-client`;`jq` 仅用于远程 helper 美化输出。
安装
macOS / Linux / WSL2
克隆或下载仓库后:
git clone https://github.com/Bit1Zhou/claude-copilot-local.git
cd claude-copilot-local
./install.sh
export PATH="$HOME/.local/bin:$PATH"
将 PATH 配置写入 `~/.zshrc` 或 `~/.bashrc` 可永久生效。
Windows PowerShell
克隆或下载仓库后:
git clone https://github.com/Bit1Zhou/claude-copilot-local.git
cd claude-copilot-local
Set-ExecutionPolicy -Scope Process Bypass
.\install.ps1
$env:Path += ";$HOME\.local\bin"
也可以不安装 launcher,直接运行:
.\bin\copilot-claude.cmd doctor
安装脚本会保留 optional dependencies,以获取当前系统对应的 Copilot 原生运行时,并在 `.env` 中生成本地随机凭据。
Copilot 登录
首次使用前,通过项目内的 Copilot CLI 登录:
macOS / Linux / WSL2:
./node_modules/.bin/copilot
Windows:
.\node_modules\.bin\copilot.cmd
进入后执行 `/login`。也可以使用 Copilot CLI 支持的 GitHub token 环境变量。组织或企业策略必须允许使用 Copilot CLI。
使用
copilot-claude doctor
copilot-claude start
copilot-
Related Skills
Droidconkotlin
by touchlab - Delivers comprehensive Gradle commands for cross-platform Kotlin Multiplatform development with
Claude Code Sync
Secure cross-platform CLI to sync Claude Code configs (~/.claude/) across machines via GitHub with age encrypt
Memorix
Open-source cross-agent memory layer for coding agents via MCP. Compatible with Cursor, Claude Code, Codex, Wi
Tooling Agent Skill Multi Repository Name Conventions
Cross-agent repository naming convention skill for Claude, Cursor, Copilot, Gemini, and any AGENTS.md-reading
AgentScreen
Local-first operations dashboard and ESP32 companion screen for Claude Code, OpenAI Codex, and GitHub Copilot
Architec Release
Architec GitHub release hub and product guide for Codex and Claude
Related Agents
Engineering API Platform Engineer
Expert API platform engineer for public and partner APIs — contract-first design (OpenAPI/gRPC), versioning an
Audit Geo
Evaluates AI crawler access, llms.txt compliance, content citability, brand authority signals, and multi-platf
Columnist
Authors L2-2 full hub expansion + L2-2 timeline narrative + all L2-3·L2-4 content (cluster overview·theme cont