Copilot Claude Proxy banner
fabriziosestito fabriziosestito

Copilot Claude Proxy

Git community

Description

A small Go proxy that exposes GitHub Copilot as an Anthropic-compatible API.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

copilot-claude-proxy

A small Go proxy that exposes GitHub Copilot as an **Anthropic-compatible API**.

If you already pay for GitHub Copilot, you can use it as the backend for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) instead of an Anthropic API key. Run the proxy, point Claude Code at it, and everything works as usual. Copilot understands the same API that Claude Code speaks, so the proxy doesn't need to translate anything: it just logs you into GitHub and passes your requests along.

Installation

Homebrew (macOS and Linux)

$ brew install fabriziosestito/tap/copilot-claude-proxy

Pre-built binaries

Download the archive for your OS/architecture (including Windows) from the [GitHub Releases page](https://github.com/fabriziosestito/copilot-claude-proxy/releases).

`go run`

No installation needed; requires Go 1.25 or newer. Used throughout this README.

Quick start

Run it with `go run` (Go 1.25 or newer), or use the `copilot-claude-proxy` pre-built binary.

Authenticate with GitHub (device flow; opens your browser automatically):

$ go run github.com/fabriziosestito/copilot-claude-proxy/cmd/copilot-claude-proxy@latest auth

Generate the Claude Code configuration (interactive model selection):

$ go run github.com/fabriziosestito/copilot-claude-proxy/cmd/copilot-claude-proxy@latest setup

Start the proxy and Claude Code together:

$ go run github.com/fabriziosestito/copilot-claude-proxy/cmd/copilot-claude-proxy@latest run

`run` shuts the proxy down when Claude Code exits. To keep the proxy up across sessions, use `start` instead:

$ go run github.com/fabriziosestito/copilot-claude-proxy/cmd/copilot-claude-proxy@latest start

Then, in another terminal:

$ claude

Commands

Command Description