patch-claude-code
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in install-patched-claude.sh
- exec() — Shell command execution in patch-claude-display.ts
- fs module — File system access in patch-claude-display.ts
- fs.rmSync — Destructive file system operation in scripts/patch-native-with-tweakcc.ts
- fs module — File system access in scripts/patch-native-with-tweakcc.ts
- fs.rmSync — Destructive file system operation in scripts/vendored-elf-native.ts
- fs module — File system access in scripts/vendored-elf-native.ts
Permissions Pass
- Permissions — No dangerous permissions requested
This tool patches the native Claude Code CLI binary to display detailed tool calls, live-stream thinking, and modify version output without requiring verbose mode.
Security Assessment:
Risk: High.
The tool replaces your official Claude binary with a patched, unofficial version, requiring sudo privileges to do so. The installation script contains recursive force deletion commands (`rm -rf`) and the code executes shell commands via `exec()`. It directly alters local files via `fs.rmSync` and interacts deeply with your file system. While no hardcoded secrets were found and no dangerous permissions are requested, the core functionality involves downloading and running an unofficial binary that modifies your system's installed software.
Quality Assessment:
Maintenance is highly active, with the most recent push occurring today. However, community trust and visibility are very low given the project only has 5 stars. Furthermore, the repository lacks a formal license. The authors acknowledge the risks of blindly running scripts from the internet and offer a manual download alternative, but caution is still required given the invasive nature of the patch.
Verdict:
Use with caution.
Patches Claude Code to show files read and live streams thinking inline (optional) WITHOUT verbose mode.
Patch Claude Code
What this does
This repo publishes patched native Claude binaries that make output more transparent without verbose mode.
Here is an exhaustive list of things it changes:
- Shows detailed tool calls instead of collapsed summaries.
- Hard disables spinner tips.
- Streams thinking live in the UI. This is helpful for instances where Claude thinks for over 10 minutes and you want to know if it's actually still doing something.
- Shows subagent
Prompt:blocks in the non-verbose UI. - Renames the startup header to
Connoisseur's Code v...(this makes it easy to identify when Claude has auto updated and lost the patch). - Appends
(patched)to plainclaude --versionoutput.
Thinking note:
- If you want thinking to stream live in the UI without verbose mode, add this to your Claude settings:
"showThinkingSummaries": true
- Settings can come from
~/.claude/settings.json,.claude/settings.json, or.claude/settings.local.json.
Quick Start
Prerequisite
If you installed Claude Code via npm, remove it and install the native build first:
npm uninstall -g @anthropic-ai/claude-code
curl -fsSL https://claude.ai/install.sh | bash
claude --version
Automatic Install
This installer detects your OS and CPU architecture and downloads the matching patched release for that version and platform.
curl -fsSL https://raw.githubusercontent.com/a-connoisseur/patch-claude-code/main/install-patched-claude.sh | bash
If you'd rather avoid blindly running scripts from the internet, you can do it the manual way below.
That said, the binaries are built on Github Actions and the patcher is also free for you to see and modify, so there's no reason to trust this repo or the release builds other than convenience.
Manual Install (From Releases, native only)
Pick the release tag for your platform:
- macOS arm64:
macos-arm64 - Linux x64:
linux-x64 - Linux arm64:
linux-arm64
- macOS arm64:
In that release, download the regular patched binary for your platform.
Follow the install instructions for your platform below.
Install (Linux)
chmod +x ./claude.native.patched
sudo mv ./claude.native.patched "$(which claude)"
claude --version
Install (macOS)
chmod +x ./claude.native.macos.patched
sudo mv ./claude.native.macos.patched "$(which claude)"
xattr -dr com.apple.quarantine "$(which claude)"
claude --version
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found