Claude Code session
Cpr Compress Preserve Resume
Persistent memory for Claude Code, packaged as a plugin. Save, search, and restore conversation context across sessions.
Install
/plugin marketplace add EliaAlberti/cpr-compress-preserve-resumeFound in the project README. Check it for setup steps after installing.
git clone https://github.com/EliaAlberti/cpr-compress-preserve-resume.gitFrom the README
🩺 CPR for Claude Code
Compress, Preserve & Resume
Persistent memory across sessions. Never lose context again.
Estimated ~66% reduction in session-restart token cost (analytical model, range 51-74%).
/cpr:preserve
Save key learnings to CLAUDE.md
/cpr:compress
Capture the full session to a searchable log
/cpr:resume
Restore context from past sessions
Three skills and two hooks that save, search, and restore your conversation context, so you can pick up exactly where you left off.
Is it for me? •
Problem •
Solution •
Why It Saves Tokens •
Installation •
Usage •
Workflow •
Upgrading •
FAQ
What Is CPR?
CPR is a Claude Code plugin. It adds three slash commands and two hooks:
No build step, no dependencies beyond Python 3.10, and every file is plain markdown or a small script you can read.
Is CPR For Me?
Yes if you work on the same project across several Claude Code sessions and find yourself re-explaining what happened last time, or if you want the full conversation kept on disk and searchable by topic rather than flattened into a compaction summary.
No if your sessions are one-off fixes or throwaway scripts. There is no next session to pay the save back.
CPR sits next to CLAUDE.md and Claude Code's auto memory rather than replacing them. CLAUDE.md holds instructions, auto memory holds preferences, CPR holds the state of the work. Install takes one line, and removing it is /plugin uninstall cpr@cpr.
The Problem
Claude Code has no memory of the work between sessions. When you close a conversation, the decisions, the fixes, the paths and the reasons go with it.
It gets worse:
The Solution
The skills are where the curated summaries come from. The hooks are the…Details
- Repository
- EliaAlberti/cpr-compress-preserve-resume
- Language
- Python
- License
- MIT
- Last updated
- 9 September 2026
FAQ
What is Cpr Compress Preserve Resume?
Persistent memory for Claude Code, packaged as a plugin. Save, search, and restore conversation context across sessions. It is a session for Claude Code, from EliaAlberti/cpr-compress-preserve-resume on GitHub.
How do I install Cpr Compress Preserve Resume?
Run /plugin marketplace add EliaAlberti/cpr-compress-preserve-resume inside Claude Code, then follow the setup in the README.
Is Cpr Compress Preserve Resume popular?
EliaAlberti/cpr-compress-preserve-resume has 524 GitHub stars and 36 forks. It was last updated on 9 September 2026.
More sessions & history
Memory Forge Rs
502voidcraft-dev/memory-forge-rs
Stop resetting satisfying AI chats — edit the memory instead. Local session manager for Claude Code, Codex & OpenCode & Gemini CLI & Kiro CLI & pi &Cursor . Tauri + Rust, 100% offline - 记忆操控,可视化随意改写AI记忆
cctrace
200jimmc414/cctrace
Exports Claude Code chat sessions to Markdown and XML.
Engineering Notebook
349prime-radiant-inc/engineering-notebook
Ingests Claude Code transcripts and writes LLM-generated daily summaries.
codbash
268vakovalskii/codbash
Termius-style browser dashboard to view, search, resume and tag Claude Code sessions.
CLI WeChat Bridge
560UNLINEARITY/CLI-WeChat-Bridge
Bridge WeChat, WeCom & Telegram to local Codex, Claude Code, OpenCode & Pi. Keep the native terminal experience & CLI options with bidirectional interaction, multi-session bridging, CLI switching, file transfer, approvals & status sync. 微信、企业微信与 Telegram 接入本地 Codex、Claude Code、OpenCode 和 Pi,保留原生终端体验与高级启动参数,支持原生双向交互、多会话桥接、多 CLI 切换、文件传输、审批交互与运行状态同步。
Agent Manager Lite
547sv3nbeast/agent-manager-lite
macOS 上的 Codex、Claude Code CLI 与 Claude Desktop 多实例管理器,统一管理账号、供应商密钥、独立配置、会话与代理。 / A macOS manager for Codex, Claude Code CLI and Claude Desktop instances, accounts, provider keys, isolated configs, sessions and proxies.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.