Unlock hidden features in Claude Code
npm install cc-tweaksUnlock hidden features in Claude Code.



---
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.
---
`bashEnable swarm mode (Teammate tool)
npx cc-hacks enable swarm
That'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 |
$3
Enables the Teammate tool - spawn parallel Claude instances that work together.
`bash
npx cc-hacks enable swarm
`Then in Claude:
`
"Spawn a team of 3 agents to analyze this codebase"
`---
🛠 Commands
`bash
npx cc-hacks enable # Enable a hack
npx cc-hacks disable # 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 everything
`$3
`bash
cc # Run Claude with all enabled hacks
`---
📁 How It Works
$3
`
~/.cc-hacks/
├── config.json # Your enabled hacks
├── cli.js # Patched Claude Code
└── bin/
└── cc # Command to run it
`$3
Claude Code uses Statsig for feature flags. We patch the local CLI to bypass:
`javascript
// Before (checks remote flag)
function D8() {
return V4("tengu_brass_pebble", false);
}// After (always enabled)
function D8() {
return true;
}
`$3
- ✅ Patches your local copy only
- ✅ Doesn't touch the original
claude command
- ✅ Subscription validation still works
- ✅ Easy to uninstall---
🔄 After Claude Updates
If Claude Code updates and things break:
`bash
npx cc-hacks update
`This re-copies the CLI and re-applies your enabled hacks.
---
🗑 Uninstall
`bash
npx cc-hacks uninstall
`Or manually:
`bash
rm -rf ~/.cc-hacks
Remove the cc-hacks line from ~/.zshrc
`---
❓ FAQ
$3
We don't modify your original
claude command. The cc command runs the patched version, so you can always use vanilla claude if needed.$3
Yes! CC-Hacks finds your Claude Code installation (npm or native) and patches a copy.
$3
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!
``---
MIT
---
Built with Claude Code by @numman-ali
Not affiliated with Anthropic.