ccm

Manages Claude Code accounts, sessions, environments, and usage data via Bash CLI.

27|4|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/dr5hn/ccm --skill ccm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ccm
Source: https://github.com/dr5hn/ccm/tree/main/ccm
Command: npx skills add https://github.com/dr5hn/ccm --skill ccm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CCM removes the friction of managing Claude Code at scale by centralizing account switching, session cleanup, environment snapshots, usage tracking, and health checks in one terminal tool.

Core Features & Use Cases

  • Account Operations: Add, remove, switch, reorder, alias, bind, and unbind Claude accounts and project-specific account mappings.
  • Session and Disk Maintenance: Find orphaned sessions, archive and restore session history, clean tmp files, remove cache clutter, and diagnose space usage.
  • Environment and Workflow Safety: Save and restore configuration snapshots, audit permissions, monitor rate limits, use isolated profiles for concurrent terminals, and install a statusline for live context.
  • Use Case: If a project keeps switching between work and personal Claude accounts, CCM can auto-bind the right account, monitor limits, and clean up stale session data before disk usage becomes unmanageable.

Quick Start

Ask me to install CCM if needed and then run the appropriate account, cleanup, snapshot, or health command for your Claude Code setup.

Frequently Asked Questions about ccm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I switch between multiple Claude Code accounts in the terminal?

Switch multiple Claude Code accounts in the terminal by using a Bash CLI to add, remove, and reorder accounts, bind specific accounts to individual projects, and automate safe account rotation via shell hooks.

How do I clean up orphaned Claude Code sessions and manage disk space?

Clean up orphaned Claude Code sessions and manage disk space by finding stale session history, archiving data, removing cache clutter and tmp files, and diagnosing space usage directly from the command line.

How do I monitor Claude Code rate limits and check account health?

Monitor Claude Code rate limits and check account health by running dedicated health check commands that audit permissions, track usage data, and install a statusline for live workflow context.

Do I need jq and Bash CLI to manage Claude Code environments and snapshots?

Yes, you need jq and a Bash CLI to manage Claude Code environments and snapshots, as the tool relies on these shell utilities to automate configuration saves, restores, and isolated profiles.

What is the best way to isolate Claude Code profiles for concurrent terminal sessions?

The best way to isolate Claude Code profiles for concurrent terminal sessions is to use isolated environment profiles that save and restore configuration snapshots, preventing conflicts across different project workflows.

Why does my Claude Code project keep using the wrong account?

Your Claude Code project uses the wrong account because it lacks project-specific account bindings, which can be resolved by binding the correct Claude account to your project directory to automate safe account rotation.