Save Before Compact — Communication skill for Claude Code
Claude Code skill: save what the compaction is about to eat.
How to install Save Before Compact
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open LippInc/save-before-compact and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Save Before Compact does
Claude Code skill: save what the compaction is about to eat. Sweeps the chat for unsaved decisions, facts and open questions before you compact, writes RESUME.md first, reports last.
Alternatives in Communication
- Prompts.chat — f.k.a. Awesome ChatGPT Prompts 154.3k ★
- Internal Comms — Write internal communications like status reports, newsletters, and FAQs 94.1k ★
- Open SaaS — A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma) 14.1k ★
README
save-before-compact: save what the compaction is about to eat
A small Claude Code skill. Right before you compact or clear a long chat, it sweeps the conversation for decisions, facts, corrections and open questions that are not yet in any file, saves them, writes a short `RESUME.md` handoff for the next session, and only then tells you what it did. When there is nothing to save, it says so and writes nothing.
Install (two minutes)
Copy the folder containing `SKILL.md` to `~/.claude/skills/save-before-compact/`, so that `~/.claude/skills/save-before-compact/SKILL.md` exists (create the folders if they do not). Restart Claude Code once if `~/.claude/skills/` did not exist before. Then `/save-before-compact` runs it, and Claude will also pick it up on its own when you say you are about to compact or clear.
Add one line to the project's `CLAUDE.md` so the next session actually reads the handoff (Claude Code loads `CLAUDE.md` at every start and re-injects the project-root copy after compaction):
If RESUME.md (or .claude/RESUME.md) exists in the project root, and its first line starts with RESUME and does not say CLOSED, read it first.
Add `RESUME.md` and `.claude/checkpoints/` to your `.gitignore` unless you want the handoff committed.
Optional: [hooks/](hooks/) has three PowerShell scripts that surface `RESUME.md` automatically, archive the transcript before each compaction, and tell a session that was auto-compacted to run a recovery sweep. Windows-tested only; read the disclosure in that folder before installing the archive hook.
Why it exists
I audited my own Claude Code transcripts in August 2026 expecting to find leaks, things I had said in chat that never made it to disk. Mostly there were none: across three projects, 6 of 6 traced decisions in one corpus and 8 of 8 in another were already in a file, usually within minutes, and the third ran about 85 to 90 percent. What was consistently getting lost was narrower and a little embarrassing:
Related Skills
Viral Hook Writer For Textheavy Formats
Claude Code skill that writes a batch of viral hooks for text-heavy short-form: on-screen text over one clip,
Session Glue
Reset the chat, not the work — zero-dependency, repo-local session handoffs for coding agents. Freeze a bloate
Smart Compact
현재 세션의 의도/결정/진행상태를 능동 추출 → /compact " " 형태 한 줄 명령을 클립보드에 복사하는 스킬. 사용자가 chat 입력창에 paste + enter 1 action 으로 같은
Pickle
Free, local, open-source MCP server that audits your ClickUp, Slack & Teams for what fell through the cracks —
Meditate Sessions
Read your Claude Code sessions, find the threads inside, resume one. Streams transcripts without loading them;
TikTok Hooks
Save TikTok opening hooks and first frames to Markdown or Obsidian with Claude
Related Agents
Neo Shadow
Memory keeper. MUST BE USED to save session context into the second brain (.neo/brain/) — at task boundaries,
Context Engine
Context window management — tracks tool call count, auto-detects when context fills up, triggers state save +
Comfy Runner
Exécute des runs ComfyUI longs ou multiples (sweeps, seeds, vidéo) via bin/studio et rapporte un résumé compac