Claude Code Helper banner
light-merlin-dark light-merlin-dark

Claude Code Helper

Security community

Description

Security and cleanup toolkit for Claude Code. Auto secret detection, 99.4% config reduction. CLI & MCP Server.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

 ██████╗ ██████╗██╗  ██╗
██╔════╝██╔════╝██║  ██║
██║     ██║     ███████║
██║     ██║     ██╔══██║
╚██████╗╚██████╗██║  ██║
 ╚═════╝ ╚═════╝╚═╝  ╚═╝

Configuration management and security toolkit for Claude Code
CLI & MCP Server • Always-on secret detection • Dry-run by default

Why CCH?

  • CLI-First: Simple commands Claude can run directly - no MCP complexity required
  • Safe by Default: Every cleanup previews changes before execution
  • Intelligent Cleanup: 99.4% reduction capability (14MB → 84KB)
  • Security Focused: Automatic secret detection on every command
  • Global Analysis: Analyzes entire Claude workspace, not just individual projects

Install

# As global CLI (recommended)
npm install -g @light-merlin-dark/claude-code-helper

# Or as package
npm install @light-merlin-dark/claude-code-helper

Quick Start

**CLI:**

# Clean your config (dry-run by default)
cch clean                  # Preview what will be removed
cch clean --execute        # Actually perform cleanup

# Remove empty projects
cch clean projects -e      # Execute after preview

# Security audit
cch --audit                # Analyze config health
cch --mask-secrets-now     # Emergency secret removal

**With Claude:**

Tell Claude to run commands directly:

  • "Run cch clean to preview cleanup"
  • "Use cch --audit to analyze my config"
  • "Run cch --mask-secrets-now to secure my config"

Cache Optimization

Claude Code accumulates session transcripts, debug logs, and file history in `~/.claude/`. Over time, this can grow to 1.5GB+. CCH provides intelligent cache management:

  • Analyze cache usage - See exactly what's using space
  • Safe cleanup - Remove orphaned projects, stale sessions, large files
  • Blob removal - Extract large images/outputs from sessions (surgical, preserves conversations)
  • Dry-run first - All commands preview changes before execution

Typical savings: 100-200MB from orphaned projects, 10-50MB from blob