Patches
Every cx patch is a pure AST transform against the Claude Code bundle. Patches are opt-in and toggleable via cx-setup. The table below lists all available patches, their default state, and which versions of @anthropic-ai/claude-code they work against.
Compatibility
A GitHub Actions workflow runs every morning. It fetches the newest @anthropic-ai/claude-code from npm and applies every patch against it in isolation — one failure never masks another. If any patch breaks, the run opens or updates a tracking issue in magidandrew/cx listing the broken patches. When everything is green again, the issue auto-closes.
Last verified
@anthropic-ai/[email protected]— 29/29 patches applied cleanly@anthropic-ai/[email protected]— 28/28 patches applied cleanly
How to read the Compatible column
*— the patch uses a single AST strategy that works on every Claude Code version it has been tried against. Nothing is version-gated.>=X.Y.Z,<X.Y.Z, etc. — the patch declares per-version variants and the transform picks the right one at patch-time. Multiple ranges mean multiple variants are bundled.
If you're running a CC version older than what's listed and a patch throws no variant matches, that's your cue to either upgrade CC or open an issue — the daily workflow only tests forward.
All patches
| Patch | Name | Description | Default | Compatible |
|---|---|---|---|---|
queue | Ctrl+Q Message Queue | Queue messages with Ctrl+Q to run sequentially after the current turn | on | * |
cut-to-clipboard | Cut prompt to clipboard (Alt+X) | Option/Alt+X copies the current prompt text to the system clipboard and clears the input | on | * |
reload | Ctrl+X Ctrl+R Reload | Reload the cx session — re-applies patches and keeps the conversation | on | * |
always-show-thinking | Always Show Thinking | Show thinking block content inline instead of collapsed | on | * |
session-usage | Session Usage | Always show "25% session used · 15% context used" | on | * |
show-file-in-collapsed-read | Show File in Collapsed Read | Show file paths and search patterns in collapsed tool display | on | * |
disable-paste-collapse | Disable Paste Collapse | Show pasted text inline instead of collapsing into [Pasted text #N] | on | * |
disable-text-truncation | Disable Long-Text Truncation | Show long input inline instead of collapsing into [...Truncated text #N] | on | * |
persist-max-effort | Persist Max Effort | Save "max" effort to settings so it survives restarts | on | * |
granular-effort | Granular Effort Slider | Replace the /model effort picker with a 1-9 numeric slider | on | * |
per-session-effort | Per-Session Effort | Stop settings-file effort changes from clobbering other running sessions | on | >=2.1.97 · <2.1.97 |
no-tips | No Tips | Hide spinner tips | on | * |
no-feedback | No Feedback Prompts | Remove feedback survey prompts | on | * |
no-npm-warning | No NPM Warning | Suppress the "switched from npm to native installer" nag | on | * |
no-multi-install-warning | No Multi-Install Warning | Suppress "Multiple installations found" nag in update/doctor | on | * |
no-attribution | No Attribution | Strip Claude Code attribution from commits and PRs | on | * |
disable-telemetry | Disable Telemetry | Strip Datadog and 1P analytics calls | on | * |
random-clawd | Random Clawd Color | Randomize the Clawd mascot color on each startup | on | * |
cx-badge | CX Badge | Show a persistent "cx" indicator in the prompt footer | on | * |
anthropic-status-banner | Anthropic Status Banner | Warn in the footer when status.claude.com reports issues affecting Claude Code | on | * |
cx-resume-commands | cx Resume Commands | Show cx instead of claude in resume/continue command hints | on | * |
auto-rename-first-message | Auto /rename on First Message | Persist an auto-generated session title on the first user message so /resume and the terminal tab reflect it without typing /rename | on | * |
cd-command | /cd Command | /cd <path> — change where bash commands run (same as shell cd, keeps project settings) | on | * |
banner | Attribution Banner | Show "@wormcoffee" on the Claude Code title line | on | * |
auto-detect-theme | Auto-Detect Terminal Theme | Default theme to auto so it matches your terminal background on first run | on | * |
delete-sessions | Delete Sessions from /resume | Opt+D in the resume picker deletes the focused session (confirm by pressing Opt+D again) | on | * |
remote-control-default-on | Remote Control on by Default | Join Remote Control automatically on each new session (explicit config still wins) | off | * |
swap-enter-submit | Swap Enter / Meta+Enter | Enter inserts a newline, Option/Alt+Enter submits | off | * |
simple-spinner | Simple Spinner | Replace spinner verb cycling with static "working" / "worked" | off | * |
nsfw-spinner | NSFW Spinner | Replace spinner verbs with NSFW ones (tagged [nsfw], conflicts with simple-spinner) | off | * |
rename-random-color | Random Color on /rename | Randomize the prompt-bar color each time you run /rename | off | * |
Version compatibility matrix
Per-version test results from the most recent runs. A ✓ means the patch applied cleanly against that version; a blank means untested.
| Patch | 2.1.96 | 2.1.101 |
|---|---|---|
always-show-thinking | ✓ | ✓ |
anthropic-status-banner | ✓ | ✓ |
auto-detect-theme | ✓ | |
auto-rename-first-message | ✓ | ✓ |
banner | ✓ | ✓ |
cd-command | ✓ | ✓ |
cut-to-clipboard | ✓ | ✓ |
cx-badge | ✓ | ✓ |
cx-resume-commands | ✓ | ✓ |
delete-sessions | ✓ | |
disable-paste-collapse | ✓ | ✓ |
disable-telemetry | ✓ | ✓ |
disable-text-truncation | ✓ | ✓ |
granular-effort | ✓ | ✓ |
no-attribution | ✓ | ✓ |
no-feedback | ✓ | ✓ |
no-multi-install-warning | ||
no-npm-warning | ✓ | ✓ |
no-tips | ✓ | ✓ |
nsfw-spinner | ✓ | ✓ |
per-session-effort | ✓ (ternary variant) | ✓ (&& variant) |
persist-max-effort | ✓ | ✓ |
queue | ✓ | ✓ |
random-clawd | ✓ | ✓ |
reload | ✓ | ✓ |
remote-control-default-on | ✓ | |
rename-random-color | ✓ | ✓ |
session-usage | ✓ | ✓ |
show-file-in-collapsed-read | ✓ | ✓ |
simple-spinner | ✓ | ✓ |
swap-enter-submit | ✓ | ✓ |
For the current, authoritative state across all versions, check the Actions tab — the workflow posts fresh results every morning.
Toggling patches
Run the interactive TUI to toggle any patch on or off:
cx-setupYour selection is persisted and applied on the next cx launch. To re-apply without restarting, press Ctrl+X Ctrl+R inside a running session (the reload patch).