cc-tweaks
v1.0.0
Published
Unlock hidden features in Claude Code
Maintainers
Readme
Unlock hidden features in Claude Code.
Quick Start · Available Hacks · Commands · How It Works
What Is This?
Claude Code has features gated behind feature flags and gradual rollouts. CC-Hacks unlocks them.
┌─────────────────────────────────────────────────────────────┐
│ │
│ 🔒 Teammate Tool → 🔓 UNLOCKED │
│ 🔒 Session Memory → 🔜 COMING SOON │
│ 🔒 Custom Keybindings → 🔜 COMING SOON │
│ │
└─────────────────────────────────────────────────────────────┘⚠️ Disclaimer: Unofficial patches. Use at your own risk. Requires valid Claude Code subscription.
🚀 Quick Start
# Enable swarm mode (Teammate tool)
npx cc-hacks enable swarm
# Run Claude with hacks enabled
ccThat's it. The cc command runs Claude Code with all your enabled hacks.
🐝 Available Hacks
| Hack | Status | Description | Requires | |------|--------|-------------|----------| | swarm | ✅ Available | Teammate tool for parallel agents | Max/Team/Enterprise | | memory | 🔜 Coming | Persistent memory across sessions | Any | | keybinds | 🔜 Coming | Custom keyboard shortcuts | Any |
Swarm Mode
Enables the Teammate tool - spawn parallel Claude instances that work together.
npx cc-hacks enable swarmThen in Claude:
"Spawn a team of 3 agents to analyze this codebase"🛠 Commands
npx cc-hacks enable <hack> # Enable a hack
npx cc-hacks disable <hack> # Disable a hack
npx cc-hacks list # List available hacks
npx cc-hacks status # Show what's enabled
npx cc-hacks update # Re-patch after Claude updates
npx cc-hacks uninstall # Remove everythingAfter Enabling
cc # Run Claude with all enabled hacks📁 How It Works
The Architecture
~/.cc-hacks/
├── config.json # Your enabled hacks
├── cli.js # Patched Claude Code
└── bin/
└── cc # Command to run itThe Patches
Claude Code uses Statsig for feature flags. We patch the local CLI to bypass:
// Before (checks remote flag)
function D8() {
return V4("tengu_brass_pebble", false);
}
// After (always enabled)
function D8() {
return true;
}What's Safe
- ✅ Patches your local copy only
- ✅ Doesn't touch the original
claudecommand - ✅ Subscription validation still works
- ✅ Easy to uninstall
🔄 After Claude Updates
If Claude Code updates and things break:
npx cc-hacks updateThis re-copies the CLI and re-applies your enabled hacks.
🗑 Uninstall
npx cc-hacks uninstallOr manually:
rm -rf ~/.cc-hacks
# Remove the cc-hacks line from ~/.zshrc❓ FAQ
Why cc instead of claude?
We don't modify your original claude command. The cc command runs the patched version, so you can always use vanilla claude if needed.
Does this work with native install?
Yes! CC-Hacks finds your Claude Code installation (npm or native) and patches a copy.
Is this against ToS?
We only modify local files. You still need a valid subscription. We're not bypassing payment - just enabling features that exist in the code.
🤝 Contributing
Found another hidden feature? PRs welcome!
hacks/
├── swarm.js # Teammate tool
├── memory.js # Session memory (TODO)
└── your-hack.js # Add yours!📜 License
MIT
Built with Claude Code by @numman-ali
Not affiliated with Anthropic.
