Gptcc
Description
GPT for Claude Code — use OpenAI GPT models inside the Claude Code CLI via documented extension points (ANTHROPIC_BASE_URL, ANTHROPIC_CUSTOM_MODEL_OPTION, plugin hooks). Cross-platform, no binary modification. MIT.
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
GPT for Claude Code
   
**Run OpenAI GPT models inside [Claude Code](https://claude.com/claude-code).** Same CLI, same conversation history, same plugins and skills. Works with your existing **ChatGPT Plus/Pro subscription** via the public OAuth flow — no OpenAI API key required, no separate terminal tab, no context switching.
npm install -g gptcc
gptcc setup
gptcc hello # end-to-end test in 5 seconds
ℹ️ About this project
gptcc is an **extension** for Claude Code, not a replacement or a fork. It uses only documented extension points — `ANTHROPIC_BASE_URL`, `ANTHROPIC_CUSTOM_MODEL_OPTION`, plugin hooks — the same mechanisms Claude Code's own docs show for LiteLLM, LM Studio, Ollama, and vLLM. **No binary modification. No reverse engineering.**
The ChatGPT OAuth flow is the exact public flow used by OpenAI's open-source [Codex CLI](https://github.com/openai/codex), which OpenAI explicitly supports for personal, non-commercial use.
MIT licensed. Zero telemetry, zero tracking, zero monetization. Not affiliated with Anthropic or OpenAI. If either party would like this project to wind down, see [SECURITY.md](./SECURITY.md) — we'll comply within 24 hours, no escalation.
Two ways to use it
Once installed, two workflows are available. You can switch between them any time — they're not mutually exclusive.
Mode 1 — GPT only
Drive the whole Claude Code session with a GPT model instead of Claude. Useful when you want GPT's behavior but still in the CLI and workflow you already have configured.
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI