anfreire/patch-cc

6 stars · Last commit 2026-07-26

Interactive patcher for the Claude Code native binary. Live inline thinking, detailed tool calls, subagent model overrides, custom branding — and your ChatGPT/Codex-plan GPT models as native models. Pure Python.

README preview

# patch-cc

[![CI](https://github.com/anfreire/patch-cc/actions/workflows/ci.yml/badge.svg)](https://github.com/anfreire/patch-cc/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/patch-cc)](https://pypi.org/project/patch-cc/)

An interactive patcher for the **Claude Code native binary**. Pick the tweaks
you want — inline and live thinking, detailed tool calls, subagent model
overrides, your own startup name, your **ChatGPT/Codex-plan GPT models as
native models** — and apply them to your installed `claude` in one keystroke.
Fully reversible: a pristine backup is kept, `patch-cc restore` puts it back.
Pure Python; no Node, no Bun.

```bash
uvx patch-cc                   # fullscreen menu, no install needed
```

![patch-cc: pick tweaks, register a Codex model, pin the Plan agent to it, bake — the patched binary is 161 MB smaller](https://raw.githubusercontent.com/anfreire/patch-cc/main/docs/demo.gif)

## Requirements

View full repository on GitHub →