Skip to main content

cccfg

The complete Claude Code config explorer. A keyboard-driven TUI plus CLI reference for every config surface in Claude Code 2.1.x.

Most Claude Code users know the dozen settings exposed in /config. Under the hood there are 434 environment variables compiled into the binary, 30+ settings.json keys, 14 CLI flags, slash commands, and hook events. cccfg puts all of them in one keyboard-navigable place, with descriptions, use cases, examples, current-value lookup, and a cookbook of the patterns worth memorising.

Install

pip install cccfg

Run

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

TUI keys

Key Action
j / k navigate entries down / up
/ focus search
c focus category list
Enter or m open the manual page for this entry
? open the cookbook
Esc close modal / back to entry list
q quit

What's in it

Surface Entries
Environment variables (CLAUDE_CODE_*, CLAUDE_*, ANTHROPIC_*, DISABLE_*, BASH_*, MCP_*) 434
settings.json keys (documented + discovered) 30
CLI flags (the high-leverage ones) 14
Slash commands 11
Hook events 10
Total 499

Organised across 23 categories: Auth & API, Models, Thinking & Effort, Permissions & Sandbox, Hooks, Hook Events, Skills & Plugins, MCP, Background Agents, Cache & Compaction, Bash Tool, UI & TUI, Telemetry & Privacy, Updates & Install, Cloud Providers, Debug & Logging, Experimental & Beta, Network & Proxy, Compliance & Enterprise, Disable Flags, Limits & Timeouts, CLI Flags, Slash Commands.

How the catalog was built

The environment variable list was extracted from the Claude Code binary directly (Mach-O native arm64) via strings, then filtered to canonical name patterns. The settings.json keys, CLI flags, slash commands and hook events come from the binary plus Anthropic's published docs plus Marco Kotrotsos's deployment notes from running Claude Code in client engagements through 2025-2026.

The high-leverage entries have hand-written descriptions, use cases, examples, and defaults. The remaining auto-discovered entries get a category and a short name-derived summary, with the "Discovered" tag so you know it isn't officially documented.

Manual page per entry

Press Enter on any entry in the TUI. A full-screen manual page opens with:

  • Type and category
  • Summary, description, use case
  • Example value
  • Documented default
  • Current value on this machine (live lookup from env vars or ~/.claude/settings.json)
  • Exact shell or settings.json snippet to set it

Press Esc to return to the entry list.

Cookbook

Open with ? in the TUI or cccfg --cookbook on the command line. Recipes include:

  • Lock down a team's install (managed settings)
  • Use a secret vault for the API key
  • Maximum privacy mode (no telemetry, no surveys, no growthbook)
  • CI-clean run with no harness baggage (--bare)
  • Bigger Bash output and longer timeouts
  • Pin model versions for reproducibility
  • Register a custom internal model in the picker
  • Debug a hook
  • Disable auto-compaction (manage manually with /compact)
  • Force Claude not to read the keychain (sandbox / VM)

Related

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

License

MIT.

Metadata

Release files for cccfg 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cccfg 0.2.0
File Size Uploaded
cccfg-0.2.0.tar.gz 28.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cccfg 0.2.0
File Interpreter ABI Platform
cccfg-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 55.6 kB

Release files / cccfg-0.2.0.tar.gz

Download URL cccfg-0.2.0.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
26d857c778cf76e83481c3413d65b9b66fae20f162c2b5c23f4ed8954cd5881f
BLAKE2b-256 checksum
How to use checksums
7658e816ee316627e8124cd9f9b706e1e8b1c8760979bdb79edc3d87f2f17ee3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / cccfg-0.2.0-py3-none-any.whl

Download URL cccfg-0.2.0-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f773d5e0d673bcf382df72dfd177be41e134abc1e6c614a990d2d7581f869acc
BLAKE2b-256 checksum
How to use checksums
0c8b952158f972046d01c4ad155186bae133f320d76e41b97aa0c4510b6ed09e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page