anfreire

Patch Cc — AI skill for Claude Code

AI community

Interactive patcher for the Claude Code native binary.

How to install Patch Cc

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

What Patch Cc does

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.

Alternatives in AI

  • Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
  • Pal Configuration Docs — for model and thinking mode options 11.3k ★
  • Bot On Anything — A large model-based chatbot builder that can quickly integrate AI models (including ChatGPT, Claude, Gemini) i 4.2k ★

README

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. No Node, no Bun.

uvx patch-cc                   # fullscreen menu, no install needed

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

Requirements

  • Linux or macOS
  • Python 3.11+
  • uv — how patch-cc is run and installed below. Install it with curl -LsSf https://astral.sh/uv/install.sh | sh. Not using uv? pipx install patch-cc (or pip install patch-cc) works too; it is an ordinary PyPI package.
  • macOS only: the Xcode command line tools, for codesign — a patched binary has to be re-signed or macOS refuses to run it.

The menu is a single centered panel: move with `↑ ↓`, toggle with `space`, press `s` to save. Patches that carry a setting — subagent models, Codex models, the startup name, the `--version` marker, the org/email label — open a centered modal on `enter`, and the row then shows what you chose. Everything choosable is a picker: the agent names and model aliases are **discovered from your binary itself** (and the Codex ones from your plan), so the menu can never offer something your build would reject. Typing exists only for the genuinely free-text values.

A patched binary records what was applied inside itself, so the menu always comes up showing the real current