Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

cc-black

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cc-black

Unlock hidden features in Claude Code

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source
CC-Black

Unlock hidden features in Claude Code.

npm version License 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
cc

That's it. The cc command runs Claude Code with all your enabled hacks.

🐝 Available Hacks

HackStatusDescription
swarm✅ AvailableTeammate tool for parallel agents
memory🔜 ComingPersistent memory across sessions
keybinds🔜 ComingCustom keyboard shortcuts

Swarm Mode

Enables the Teammate tool - spawn parallel Claude instances that work together.

npx cc-black enable swarm

Then 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 everything

After 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 it

The 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 claude command
  • ✅ Easy to uninstall

🔄 After Claude Updates

If Claude Code updates and things break:

npx cc-black update

This re-copies the CLI and re-applies your enabled hacks.

🗑 Uninstall

npx cc-black uninstall

Or 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.

Keywords

claude

FAQs

Package last updated on 29 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts