voidsteed

Copilot Proxy API — Git skill for Claude Code

Git community

Self-hosted GitHub Copilot bridge for Claude Code and Codex CLI with OpenAI Responses, Anthropic Messages, streaming resilience, and context management.

How to install Copilot Proxy API

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

What Copilot Proxy API does

Self-hosted GitHub Copilot bridge for Claude Code and Codex CLI with OpenAI Responses, Anthropic Messages, streaming resilience, and context management.

Alternatives in Git

  • Openclaude — Open Claude Is Open-source coding-agent CLI for OpenAI, Gemini, DeepSeek, Ollama, Codex, GitHub Models, and 20 22.5k ★
  • Anthropic 课程 — by anthropics - 官方课程材料 19.7k ★
  • Gen Commit Msg — Generate intelligent commit messages based on staged changes 5.7k ★

README

Copilot Proxy API for Claude Code and Codex CLI

Self-hosted GitHub Copilot bridge for Claude Code and Codex CLI with OpenAI Responses, Anthropic Messages, streaming resilience, and context management.

[![CI](https://github.com/voidsteed/copilot-proxy-api/actions/workflows/ci.yml/badge.svg)](https://github.com/voidsteed/copilot-proxy-api/actions/workflows/ci.yml) [![npm version](https://img.shields.io/npm/v/copilot-proxy-api.svg)](https://www.npmjs.com/package/copilot-proxy-api) [![npm downloads](https://img.shields.io/npm/dm/copilot-proxy-api.svg)](https://www.npmjs.com/package/copilot-proxy-api) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

Quick Start

With Node.js and an active GitHub Copilot subscription:

npx copilot-proxy-api@latest start --claude-code

Complete the GitHub sign-in, choose your models, then paste the generated Claude Code command into a new terminal.

**Client guides:** [Claude Code](#using-with-claude-code) · [Codex CLI](#using-with-codex-cli) · [Generic OpenAI and Anthropic clients](#api-endpoints)

See It in Action (30 Seconds)

[![30-second animated walkthrough showing Copilot Proxy API with Claude Code and Codex CLI](docs/assets/demo-30s.gif)](docs/assets/demo-30s.mp4)

[!CAUTION] This is an unofficial, reverse-engineered project. Keep the proxy local, never expose it publicly without authentication, and use it responsibly within [GitHub's Acceptable Use Policies](https://docs.github.com/site-policy/acceptable-use-policies/github-acceptable-use-policies#4-spam-and-inauthentic-activity-on-github) and [Copilot Terms](https://docs.github.com/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot).

Why This Fork?

This fork keeps the original bridge practical for current coding agents:

  • Active maintenance for current Copilot models and client compatibility changes.
  • First-class Claude Code support through the Anthropic Messages API and an inte