SDK To API — Git skill for Claude Code
Local server that turns your Claude Code, GitHub Copilot or ChatGPT (Codex) subscription into an OpenAI- and Anthropic-compatible API.
How to install SDK To API
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open akaiserg/sdk-to-api and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What SDK To API does
Local server that turns your Claude Code, GitHub Copilot or ChatGPT (Codex) subscription into an OpenAI- and Anthropic-compatible API. Streaming, tool calling, structured output and prompt caching. Works with Strands Agents, the official SDKs and curl.
Alternatives in Git
- Openclaude — Open Claude Is Open-source coding-agent CLI for OpenAI, Gemini, DeepSeek, Ollama, Codex, GitHub Models, and 20 22.5k ★
- Awesome ChatGPT — Search awesome-ChatGPT-repositories for open-source GitHub repositories related to ChatGPT and LLMs 3.2k ★
- Copilot API — Turns GitHub Copilot into an OpenAI/Anthropic API compatible server, usable with Claude Code 3.1k ★
README
sdk-to-api
[](https://github.com/akaiserg/sdk-to-api/actions/workflows/ci.yml) [](https://github.com/akaiserg/sdk-to-api/releases) [](LICENSE)
Use your **Claude Code**, **GitHub Copilot** or **ChatGPT (Codex)** subscription as an **OpenAI** or **Anthropic** API.
sdk-to-api is a local server. It speaks the OpenAI Chat Completions API and the Anthropic Messages API, and runs every request on the agent SDK of a subscription you already have. Point any OpenAI or Anthropic client at it, such as [Strands Agents](https://strandsagents.com/), the official SDKs or curl. The client sees a normal API: streaming, tool calls, structured output, usage numbers and errors all look like the real thing.
your agent ──OpenAI / Anthropic API──▶ sdk-to-api ──▶ Claude Code │ Copilot │ Codex
Quick start
**1. Install**
sdk-to-api runs the agent CLIs you already have, so install the ones you want to use first: [Claude Code](https://docs.anthropic.com/en/docs/claude-code) (`claude`) and/or the [Codex CLI](https://github.com/openai/codex) (`codex`). Copilot needs nothing extra with the full build.
Then pick one:
# a release binary (macOS / Linux): https://github.com/akaiserg/sdk-to-api/releases
# with Go 1.26+
go install github.com/akaiserg/sdk-to-api/cmd/sdk-to-api@latest
# from source
make build # Claude Code + Codex → bin/sdk-to-api (~16MB)
make build-full # + the Copilot runtime embedded → bin/sdk-to-api (~100MB)
Release binaries and `go install` include Claude Code and Codex. For Copilot, use `make build-full` (or set `COPILOT_CLI_PATH`).
**2. Log in** to the subscriptions you want to use (once):
| Backend | Subscription | Log in with |
|---|---|---|
claude-code |
Claude Pro / Max | claude, then /login |
Related Skills
AIProxy
Use your GitHub Copilot, ChatGPT/Codex, and Anthropic subscription accounts with any coding agent like Claude
Copilot Proxy API
Self-hosted GitHub Copilot bridge for Claude Code and Codex CLI with OpenAI Responses, Anthropic Messages, str
Yavar Extension
A Chrome extension that turns free web chatbots (ChatGPT, Claude, Gemini) into a full workspace sidebar. Featu
Claude Dev Cert Labs
Mini-projets Python pour préparer la certification Claude Certified Developer (CCDV-F) d'Anthropic : agents et
Claude Agent Sdk.Github.Io
Claude Agent SDK questions answered honestly: where claude.com sends developers, why subscription and API bill
Copilot Claude Proxy
A small Go proxy that exposes GitHub Copilot as an Anthropic-compatible API.
Related Agents
LLM Integrator
LLM integration specialist who connects to OpenAI/Anthropic/Ollama APIs, designs prompt templates, implements
Codex Agent
Runs OpenAI Codex on the user's ChatGPT subscription. Three modes - consult (OS-sandboxed read-only analysis,
GPT Image Prompter
Prompt engineer for the Codex image generator (gptimage skill, ChatGPT subscription). Turns image ideas — ofte