cccfg← Back to home

cccfg

A complete, keyboard-driven explorer for every config surface in Claude Code 2.1.x. Every environment variable, every settings.json key, every CLI flag, every slash command, every hook event, in one place.

499
total entries
434
env vars
30
settings.json keys
14
CLI flags
23
categories

Download A4 handout (PDF) cccfg.py (TUI source) catalog.py (data)

How to install

Two files, no install step. Just save them somewhere on your PATH:

curl -O https://claude-code-book-site-production.up.railway.app/tool/cccfg.py curl -O https://claude-code-book-site-production.up.railway.app/tool/catalog.py mkdir -p data curl -o data/all-env-vars.txt https://claude-code-book-site-production.up.railway.app/tool/data/all-env-vars.txt pip install textual rich chmod +x cccfg.py

How to use

Launch the TUI:

./cccfg.py

Or use the headless CLI modes:

./cccfg.py --list # full catalog grouped by category ./cccfg.py --search hooks # search across all entries ./cccfg.py --category Models # filter by category ./cccfg.py --kind settings # only settings.json keys ./cccfg.py --json | jq # pipe-friendly JSON ./cccfg.py --cookbook # print the cookbook

TUI keys

j / knavigate entries down / up
/ or sfocus search
cfocus category list
Entershow entry detail (right pane)
Escapeback to entries list
?open cookbook screen
qquit

What's in it

Categories you can browse:

Why it exists

Claude Code's built-in /config shows a small subset of the most common settings. There are 434+ environment variables compiled into the binary that affect behaviour, plus 30+ settings.json keys, plus CLI flags, plus slash commands, plus hook events. Most of them are not documented anywhere visible. cccfg is a complete reference plus a fast browser plus a cookbook of the patterns that earn their keep.

Companion to the book

This tool ships with "Claude Code, Definitive Guide for 2026: From Starter to 10x Pro". The book teaches the patterns; cccfg lets you find the exact config knob you need when you need it.