Installation
sh
npm install -g claude-code-extensionsRequires Claude Code installed globally:
sh
npm i -g @anthropic-ai/claude-codeQuick start
sh
cx # launch patched Claude Code
cx-setup # interactive TUI to toggle patches on/offOn first run, cx opens the setup TUI automatically. After that, just run cx — it caches the patched bundle and only re-transforms when patches change or Claude Code updates.
All claude arguments pass through untouched:
sh
cx --model sonnet -p "hello"works exactly like:
sh
claude --model sonnet -p "hello"Hot reload
While Claude is running, type:
! cx reloador press Ctrl+X Ctrl+R. The session restarts with fresh patches applied and your conversation resumes via --continue.