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

cc-tweaks

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cc-tweaks

Unlock hidden features in Claude Code

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source
CC-Hacks

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-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
cc

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

🐝 Available Hacks

HackStatusDescriptionRequires
swarm✅ AvailableTeammate tool for parallel agentsMax/Team/Enterprise
memory🔜 ComingPersistent memory across sessionsAny
keybinds🔜 ComingCustom keyboard shortcutsAny

Swarm Mode

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

npx cc-hacks enable swarm

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

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

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

🔄 After Claude Updates

If Claude Code updates and things break:

npx cc-hacks update

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

🗑 Uninstall

npx cc-hacks uninstall

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

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