CosmoNaught

Claude Code Contextual Memory Virtualisation (CMV)

59
7
100% credibility
Found Feb 20, 2026 at 42 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A tool for saving, branching, and slimming down Claude Code chat sessions to reuse AI's understanding of codebases like version control for conversations.

How It Works

1
💭 Chat deeply with your AI helper

You spend time explaining your codebase to Claude, building up its understanding of your project’s structure and decisions.

2
😩 Lose that hard-earned knowledge

When the session ends, all the context vanishes, forcing you to start over next time.

3
🔍 Discover CMV

You find this handy tool that lets you save, reuse, and branch your AI conversations like bookmarks for smart chats.

4
🚀 Set it up in minutes

Follow easy steps to get it running alongside your AI helper.

5
📊 Launch the dashboard

A colorful screen shows all your past chats, projects, and saved points at a glance.

6
💾 Save snapshots

Capture key moments of understanding as named save points you can return to anytime.

7
Branch for new work
✂️
Slim it down first

Clean up extras to make it lighter while keeping all the important insights.

👥
Share with team

Package and send a save point so everyone starts with the same knowledge.

🎉 AI remembers across chats

Your helper recalls deep insights forever, speeding up work and letting you focus on creating.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 42 to 59 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is claude-code-cmv?

Claude-code-cmv brings git-like version control to Claude Code sessions, letting you snapshot accumulated context, branch into fresh sessions from any point, and trim bloat for 50-70% smaller payloads without losing conversations. Built in TypeScript as a CLI tool with a Ranger-style TUI dashboard, it reads from ~/.claude/projects/, so you run `cmv snapshot "analysis" --latest` after a deep dive, then `cmv branch "analysis" --name "auth"` for task-specific forks. No more starting from scratch or relying on destructive /compact—your Claude code agents reuse full history.

Why is it gaining traction?

Unlike Claude's built-in /fork or /compact, cmv offers named snapshots, lineage trees (`cmv tree`), lossless trimming of tool results and signatures, and portable .cmv exports for team sharing. The TUI shows token breakdowns and trim potential, while CLI completions speed workflows; it's the missing claude code cli layer for chaining context across days. Developers hook on the "analyze once, branch everywhere" pattern, dodging context limits in long Claude code docs sessions.

Who should use this?

Claude Code power users knee-deep in codebase analysis, like backend engineers mapping monoliths or teams onboarding juniors via shared snapshots. Ideal for claude github pr review workflows where you fork context for fixes without re-uploading repos, or solo devs trimming bloated claude code skills sessions before branching to features.

Verdict

Grab it via git clone and npm link if Claude Code is your daily driver—detailed docs and install guides make claude code download/install straightforward, even on Windows. At 36 stars and 1.0% credibility, it's early (no tests visible), so test on non-critical work, but the core cmv delivers immediate value over claude github copilot alternatives.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.