joungminsung

Gptcc — AI skill for Claude Code

AI community

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).

How to install Gptcc

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

What Gptcc does

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.

Alternatives in AI

  • Claudekit — by Carl Rannaberg - Impressive CLI toolkit providing auto-save checkpointing, code quality hooks, specificatio 633 ★
  • Qiaomu Markdown Proxy — Fetch any URL as clean Markdown via proxy services (r.jina.ai / defuddle.md) or built-in scripts 426 ★
  • Yt Transcriber — CLI app- Give it a YouTube URL and you get a transcription with possible speaker identification and optional s 337 ★

README

GPT for Claude Code

![License](https://img.shields.io/badge/license-MIT-blue) ![npm](https://img.shields.io/npm/v/gptcc?label=npm&color=CB3837) ![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-lightgrey) ![Uninstall](https://img.shields.io/badge/uninstall-one_command-brightgreen)

**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.

GPT for Claude Code

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.