Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Persistent memory for Claude Code. Save, search, and restore conversation context across sessions.
| Date | Stars |
|---|---|
| 2026-07-31 | 484 |
| 2026-08-02 | 484 |
| 2026-08-06 | 484 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<p align="center">
<img src="https://img.shields.io/badge/Claude%20Code-Skills-5A67D8?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0wIDE4Yy00LjQxIDAtOC0zLjU5LTgtOHMzLjU5LTggOC04IDggMy41OSA4IDgtMy41OSA4LTggOHoiLz48L3N2Zz4=&logoColor=white" alt="Claude Code Skills" />
<img src="https://img.shields.io/badge/Model-Opus%204.7-E74C3C?style=for-the-badge" alt="Opus 4.7" />
<img src="https://img.shields.io/badge/Skills-3%20Included-blue?style=for-the-badge" alt="3 Skills" />
<img src="https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge" alt="MIT License" />
<img src="https://img.shields.io/badge/Token%20Savings-~55%25%20median-brightgreen?style=for-the-badge" alt="Token Savings ~55% median" />
</p>
<h1 align="center">🩺 CPR for Claude Code</h1>
<h3 align="center"><em>Compress, Preserve & Resume</em></h3>
<p align="center">
<strong>Persistent memory across sessions. Never lose context again.</strong><br>
<em>Estimated ~55% reduction in session-restart token cost (analytical model, range 24-68%).</em>
</p>
<table>
<tr>
<td align="center" width="33%">
<strong>/preserve</strong><br>
<sub>Save key learnings to CLAUDE.md</sub><br><br>
<video src="https://github.com/user-attachments/assets/3c7e0f30-dea0-4c67-a990-021db84b6d81" width="100%" controls></video>
</td>
<td align="center" width="33%">
<strong>/compress</strong><br>
<sub>Capture the full session to a searchable log</sub><br><br>
<video src="https://github.com/user-attachments/assets/a31fe4b7-483e-47c1-8d78-01850482244f" width="100%" controls></video>
</td>
<td align="center" width="33%">
<strong>/resume</strong><br>
<sub>Restore context from past sessions</sub><br><br>
<video src="https://github.com/user-attachments/assets/1a3aff44-904d-463a-8f4e-6af6925e8a7a" width="100%" controls></video>
</td>
</tr>
</table>
<p align="center">
Three custom skills that save, search, and restore your conversation context, so you can pick up exactly where you left off.
</p>
<p align="center">
<a href="#the-problem">Problem</a> •
<a href="#the-solution">Solution</a> •
<a href="#why-it-saves-tokens">Why It Saves Tokens</a> •
<a href="#installation">Installation</a> •
<a href="#usage">Usage</a> •
<a href="#recommended-workflow">Workflow</a> •
<a href="#how-it-scales">Scaling</a> •
<a href="#faq">FAQ</a>
</p>
---
## What Are Skills?
Skills are **custom slash commands** for Claude Code. You type `/preserve`, `/compress`, or `/resume` in your conversation and Claude follows the instructions defined in a markdown file. No code, no plugins, just a `.md` file in the right folder.
Claude Code loads skills from two locations:
| Location | Scope |
|----------|-------|
| `~/.claude/commands/*.md` | Global, available in every project |
| `{project}/.claude/commands/*.md` | Per-project, available only in that project |
Each `.md` file becomes a `/command` you can run. That's it. CPR is three of these files.
---
## The Problem
Claude Code has **no memory between sessions**. When you close a conversation, everything is gone: decisions, solutions, context, all of it.
It gets worse:
| Problem | Impact |
|---------|--------|
| **Auto-compacting loses details** | Context window fills up and Claude silently compresses history, flattening specific values, file paths, and nuanced decisions |
| **Long sessions lose early context** | That critical decision from the first 10 minutes? Gone by hour two |
| **New session = blank slate** | Re-explaining your project, re-discovering paths, re-making decisions every time |
| **Past work is unsearchable** | No way to look up what you discussed three sessions ago |
| **CLAUDE.md isn't enough** | Static filExcerpt of 16,678 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:f6de1f3e153f9431, llm:description: 'Persistent memory for Claude Code. Save, search, and restore conversation context across sessions.'
matched fp:f6de1f3e153f9431, llm:description: 'Persistent memory for Claude Code. Save, search, and restore conversation context across sessions.'
matched fp:f6de1f3e153f9431, llm:description: 'Persistent memory for Claude Code. Save, search, and restore conversation context across sessions.'