Back to reviews
claude-cc

claude-cc

Automatically resume the right Claude Code session per git branch

claude-cc is a tiny npm-installable bash wrapper around Claude Code that automatically finds and resumes the most recent Claude session for your current git branch when you launch it. It reads .claude/projects/ history, matches by branch name, and passes the --resume flag — or starts fresh if no prior session exists. Supports all native Claude CLI flags. Written in mostly bash with some JavaScript; zero external dependencies beyond Claude CLI and Python 3. Surfaced on Hacker News today, scratching a specific context-loss itch many Claude Code power users have.

Panel Reviews

The Builder

The Builder

Developer Perspective

Ship

This is the definition of a tool that should exist. Switching branches to fix a bug, then returning to your feature work, you always lose the conversation thread. claude-cc makes context persistence the default. It's tiny, it has no dependencies, and it does exactly one thing right. Every Claude Code user should have this aliased.

The Skeptic

The Skeptic

Reality Check

Skip

This is a 50-line script masquerading as a tool. Anthropic will ship this natively in Claude Code within the next update cycle, at which point claude-cc becomes dead weight. Building a dependency on someone's weekend project for core workflow automation is poor risk management. Just alias the --resume flag yourself and move on.

The Futurist

The Futurist

Big Picture

Ship

The interesting signal here isn't the script — it's the demand. When a tiny utility for session resumption hits Hacker News and resonates, it means developers are spending significant time on persistent AI coding sessions across multiple branches simultaneously. That's a new workflow pattern that tooling hasn't caught up to yet.

The Creator

The Creator

Content & Design

Ship

I installed it in 30 seconds and it just worked. The fallback-to-new-session behavior is thoughtful — it never blocks you, it just tries to help. For non-developers who rely on Claude Code for writing or research workflows, this kind of friction reduction matters a lot. Simple tools that do one thing are often the most valuable.

Community Sentiment

Overall599 mentions
78% positive17% neutral5% negative
HackerNews112 mentions
80%15%5%

can't believe this isn't built into Claude Code

GitHub67 mentions
85%12%3%

5-line bash script that saves me every day

Twitter/X420 mentions
77%17%6%

immediately replaced my claude alias with this