context-save
Skill3 starsChanged 25 days agoMITView on GitHub
Write a short session brief before compaction, then point OptMem at it so work resumes without retracing dead ends. Trigger at milestones or before manual compaction.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- timurgaleev/vibestacktheir own version, first seen Nov 8, 2026
- trungtm78/ClaudeSkillstheir own version, first seen Oct 25, 2026
- thedigitalorganizer/soloshiptheir own version, first seen Oct 15, 2026
- ignavm1/claude-skillstheir own version, first seen Oct 13, 2026
- manastalukdar/ai-devstudiotheir own version, first seen Oct 13, 2026
- leishifu666/skillstheir own version, first seen Oct 9, 2026
Used with
Projects with it also use ios-clean, ios-fix and 6 more.
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.
Saqlain-811Skillios-clean
Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)
Also in 5 projects that use this
Saqlain-811Skillios-fix
Autonomous iOS bug fixer. (gstack)
Also in 5 projects that use this
timurgaleevSkilldocument-generate
Generate missing docs for a feature, module or project as tutorials, how-tos, reference and explanation.
Also in 7 projects that use this
bastosSkillios-design-review
Review iOS app UI/UX design quality using Apple's design principles and the Liquid Glass-era design language from WWDC25/26. Use when asked for a design review, UX critique, visual design assessment, or evaluation of an app's interface quality, design intent, alignment with the new Apple design system, or usability. Triggers: "design review", "UX review", "visual design critique", "review the UI", "does this design work", "evaluate this interface", "design feedback", "Liquid Glass review".
Also in 5 projects that use this
johnlindquistSkilldiagram
Maintain and synchronize Unified Impact Diagrams following Diagram Driven Development (DDD) methodology. Create, update, and manage diagrams that connect user value to technical implementation.
Also in 4 projects that use this
SentrySkillspec
Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.
Also in 8 projects that use this
- +2 more from Saqlain-811
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- garrytan/gstack★ 141ksame name
- timurgaleev/vibestack★ 8same name
- Quarktex/qcobrain★ 4same name
- GTMify/claude-skills-starter★ 2same name
- HanksChen0110/skills★ 2same name
- chloropine/cgstack★ 1same name
- IyedBecheikh/bstack★ 1same name
- jpoindexter/theft-kit★ 1same name
- leishifu666/skills★ 1same name
- mahiunfiltered/claude-code-skills★ 1same name
13 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 repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- assistant-bridge/AGENTS.mdAGENTS.md
- claude/AGENTS.mdAGENTS.md
- codex/AGENTS.mdAGENTS.md
- deepseek/AGENTS.mdAGENTS.md
- kimi/AGENTS.mdAGENTS.md
- big-researchSkill
- cold-emailSkill
- deploySkill
- discourse-atlasSkill
- endSkill
- obscured-siteSkill
- outreach-atlasSkill
- research-vizSkill
- topic-atlasSkill
- triageSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Goal: leave enough on disk that the next window resumes this work without retrying dead ends.
- Distinctive: line 32
Keep it under about 80 lines.
“Common” is measured: kept by at least 6 in 10 of the 17 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
Context Save
Goal: leave enough on disk that the next window resumes this work without retrying dead ends.
Success means: the save file exists with the six sections below, and one OptMem pointer names it.
Stop when: the file is written and the pointer is appended (or the session has no entity to scope it to).
Write the save
Take the session id from the SESSION SCOPE: @s/<id> line of the SessionStart wake output. Write $SESSION_STATE_DIR/auto-context-save-<id>.md with these sections and nothing else:
- Goal — what this session is for.
- State — done / in flight / blocked.
- Decisions — each with its reason.
- Next moves.
- Read on resume — paths, one phrase of cue each.
- Gotchas learned this session.
Keep it under about 80 lines. Point at durable documents by path instead of copying them; OptMem, specs, and git survive compaction untouched. Keep secrets out. Merge over an existing save for this session rather than starting fresh.
Point OptMem at it
Append one pointer per entity the session worked (usually one), skipping it when the session has no entity:
P @e/<entity> @s/<id> @k/context-save <absolute path> | <why this save matters>Pass it as one shell-quoted argument to $MEMO_CMD note '<line>'. The whole line must fit 280 UTF-8 bytes; shorten the why, never the path. Configure these interfaces in config.example.
Report the save path in one line.
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.

