DEV Community

Alex Devson
Alex Devson

Posted on

I Built a Checkpoint System for Claude Code CLI — Never Lose Your Work Again

If you use Claude Code CLI, you know the pain — long coding sessions, multiple changes across files, and no easy way to see what happened or roll back if something goes wrong.

ccheckpoints brings Cursor IDE-style checkpoints to Claude Code CLI. It automatically tracks your coding sessions and lets you navigate through your conversation history with a beautiful dashboard.

What it does

  • 🔄 Automatic session tracking — zero config needed
  • 👀 Visual diff viewer — see exactly what changed in each step
  • 🕐 Navigate through conversation history — scroll through everything Claude did
  • Restore any checkpoint — go back to any point instantly
  • 🎨 Clean, modern dashboard UI — not just a CLI dump

Install

npm install -g ccheckpoints
Enter fullscreen mode Exit fullscreen mode

That's it. Next time you use Claude Code CLI, it starts tracking automatically.

Why this exists

I was using Claude Code CLI for hours-long sessions — refactoring entire codebases, adding features, fixing bugs. But sometimes Claude would make a change that broke something three steps later, and I had no way to go back to "that version where everything worked."

Cursor IDE has checkpoints built in. Claude Code CLI didn't. So I built it.

The dashboard

Run ccheckpoints and you get a web dashboard showing:

  • Every session with timestamps
  • Full diff view of each change
  • One-click restore to any checkpoint

It's like git history but for your AI coding sessions.

Try it

npm install -g ccheckpoints
Enter fullscreen mode Exit fullscreen mode

GitHub repo — Stars appreciated, issues welcome!


If you use Claude Code CLI and don't have this yet, you're flying blind. Give it a try.

Top comments (0)