cc-black
v1.0.1
Published
Unlock hidden features in Claude Code
Downloads
140
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-Black unlocks them.
┌─────────────────────────────────────────────────────────────┐
│ │
│ 🔒 Teammate Tool → 🔓 UNLOCKED │
│ 🔒 Session Memory → 🔜 COMING SOON │
│ 🔒 Custom Keybindings → 🔜 COMING SOON │
│ │
└─────────────────────────────────────────────────────────────┘⚠️ Warning: Swarm mode spawns parallel agents that will consume tokens faster. Use wisely.
🚀 Quick Start
# Enable swarm mode (Teammate tool)
npx cc-black 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 | |------|--------|-------------| | swarm | ✅ Available | Teammate tool for parallel agents | | memory | 🔜 Coming | Persistent memory across sessions | | keybinds | 🔜 Coming | Custom keyboard shortcuts |
Swarm Mode
Enables the Teammate tool - spawn parallel Claude instances that work together.
npx cc-black enable swarmThen in Claude:
"Spawn a team of 3 agents to analyze this codebase"⚡ Heads up: Multiple agents = multiple token streams. Great for speed, watch your usage.
🛠 Commands
npx cc-black enable <hack> # Enable a hack
npx cc-black disable <hack> # Disable a hack
npx cc-black list # List available hacks
npx cc-black status # Show what's enabled
npx cc-black update # Re-patch after Claude updates
npx cc-black uninstall # Remove everythingAfter Enabling
cc # Run Claude with all enabled hacks📁 How It Works
The Architecture
~/.cc-black/
├── 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 + subscription)
isEnabled() {
return D8() && OP1(); // Feature flag && subscription check
}
// After (always enabled)
function D8() { return true; }
function OP1() { return true; }What's Safe
- ✅ Patches your local copy only
- ✅ Doesn't touch the original
claudecommand - ✅ Easy to uninstall
🔄 After Claude Updates
If Claude Code updates and things break:
npx cc-black updateThis re-copies the CLI and re-applies your enabled hacks.
🗑 Uninstall
npx cc-black uninstallOr manually:
rm -rf ~/.cc-black
# Remove the cc-black 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-Black finds your Claude Code installation (npm or native) and patches a copy.
🤝 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.
