save-session
Skill4 starsChanged 5 months agoMITView on GitHub
Save current session state to project memory (session_state_[topic].md), discoverable via /catch-up and /resume. Archives stale states; keeps MEMORY.md uncluttered.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- jemshit/save-sessiontheir own version, first seen Nov 8, 2026
- kriscard/Skillstheir own version, first seen Nov 1, 2026
- abhayla/claude-best-practicestheir own version, first seen Nov 1, 2026
- artificialbeingz/abz-karpathy-llm-wikitheir own version, first seen Oct 20, 2026
- Sagargupta16/agent-braintheir own version, first seen Oct 13, 2026
Used with
Projects with it also use status.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- faizkhairi/claude-code-blueprint★ 73same name
- jemshit/save-session★ 60same name
- jiten-singh-shahi/salesforce-claude-code★ 15same name
- kriscard/Skills★ 15same name
- abhayla/claude-best-practices★ 9same name
- ingpoc/SKILLS★ 9same name
- hydra-db/hydradb-claude-code★ 4same name
- Erionis/Jarvis-Lite★ 3same name
- Sagargupta16/agent-brain★ 2same name
- artificialbeingz/abz-karpathy-llm-wiki★ 1same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- biz-validateSkill
- braindumpSkill
- catch-upSkill
- clone-websiteSkill
- double-checkSkill
- explain-for-grandmaSkill
- heavy-buildSkill
- heavy-reviewSkill
- heavySkill
- make-promptSkill
- monitor-claudeSkill
- orientSkill
- overnightSkill
- reelSkill
- sanity-checkSkill
- shipSkill
- what-breaksSkill
- yt-tranSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
If memory files were already loaded this session, their paths in the system-reminders reveal the folder directly — use that instead of …
- Very specific: line 33
Read the created: field from its frontmatter.
- Very specific: line 35
If the adjusted age is greater than 7 days → move the file to memory/archive/ (create the folder if needed with mkdir -p), then remove its …
- Very specific: line 41
Check if a session_state_[topic].md already exists in the memory folder for the same project or topic as this session.
- Distinctive: line 44
If yes → overwrite it (do not create a new file alongside it).
- Very specific: line 45
If no → create session_state_[topic].md where [topic] is either the project name or a short slug that distinguishes this session's focus …
- Distinctive: line 51
Use this exact template:
- Very specific: line 91
Do not add a pointer line for this session state.
- Very specific: line 97
Remove any existing session_state_* lines from MEMORY.md (this supersedes any old "add a pointer" behavior).
- Distinctive: line 100
Leave durable memories (user / feedback / reference / active-checkpoint entries) untouched.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Save session
Save the current session state to the project's memory folder so a future
session — or /catch-up / /resume — can pick the work back up with zero
context loss. Follow these steps exactly.
Step 1 — Locate the memory folder
Claude Code stores per-project memory under:
~/.claude/projects/[encoded-path]/memory/
Derive [encoded-path] from the current working directory by replacing every
\, :, and _ character with -.
Example: C:\Users\you\projects\my_app → C--Users-you-projects-my-app
If memory files were already loaded this session, their paths in the system-reminders reveal the folder directly — use that instead of recomputing.
Step 2 — Run cleanup (archive stale session states)
Scan all session_state_*.md files currently in the memory folder (not in
archive/).
For each file found:
- Read the
created:field from its frontmatter. - Calculate calendar days since
created. - If the adjusted age is greater than 7 days → move the file to
memory/archive/(create the folder if needed withmkdir -p), then remove its line fromMEMORY.md.
Step 3 — Determine the session state filename
Check if a session_state_[topic].md already exists in the memory folder for the
same project or topic as this session.
- If yes → overwrite it (do not create a new file alongside it).
- If no → create
session_state_[topic].mdwhere[topic]is either the project name or a short slug that distinguishes this session's focus (e.g.,api_refactor,auth_bugfix,db_migration).
Step 4 — Write the session state file
Use this exact template:
---
name: Session State — [Topic] ([today's date])
description: [One sentence: what was worked on and current status]
type: project
created: [today's date as YYYY-MM-DD]
---
# Session State — [Topic] — [today's date]
## What We Were Working On
[2-4 sentences: the specific task, why it was being done, where things stood when the session ended]
## What's Done
[Bullet list of completed items. Include filenames and specifics. If nothing was coded, say "Design only" or "Planning only".]
## What Still Needs to Be Done
### Immediate (start here next session)
- [ ] [Max 5 items — specific enough to act on without rereading anything]
### Short-term
- [ ] [Items for this week]
### Longer-term / Backlog
- [ ] [Real but not urgent]
## Current Status
[2-3 sentences. Assume the reader has zero context. End with the single most important next action.]
## Key File Locations (if relevant)
| What | Path |
|---|---|
| [component] | [path] |Step 5 — Keep MEMORY.md clean (do NOT index session states)
Do not add a pointer line for this session state. MEMORY.md is auto-loaded
into every session in this folder; indexing parked task-state there bleeds
unrelated work into new sessions and invites hallucination. Session states are
pull-on-demand — /catch-up Globs the folders directly and /resume uses the
session-resume system; neither needs MEMORY.md.
- Remove any existing
session_state_*lines fromMEMORY.md(this supersedes any old "add a pointer" behavior). - Also remove lines for any files you archived in Step 2.
- Leave durable memories (user / feedback / reference / active-checkpoint entries) untouched.
Step 6 — Confirm
Say: "Session state saved: session_state_[topic].md — [one-line summary of what
was captured]. [N] file(s) archived."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

