save-session
Skill3 starsChanged 3 months agoMITView on GitHub
Use when a user asks to save the current session or create an end-of-session checkpoint.
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 and ship.
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
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
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
- david-vrba/claude-power-skills★ 4same name
- hydra-db/hydradb-claude-code★ 4same 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 repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- starter/AGENTS.mdAGENTS.md
- starter/CLAUDE.mdCLAUDE.md
- adopt-capabilitySkill
- briefingSkill
- first-runSkill
- handoffSkill
- jarvis-doctorSkill
- jarvis-memorySkill
- jarvis-updateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. 0 are common, 21 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
21
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Read the consumer capability map.
- Distinctive: line 28
Use the workspace's local date and timezone.
- Distinctive: line 37
Do not manufacture decisions, infer tasks the user did not leave open, or copy the conversation.
- Very specific: line 40
Before each phase that may write, record HEAD when available.
- Distinctive: line 45
Before content writes, inspect Git read-only so its initial state remains distinguishable from this checkpoint.
- Distinctive: line 64
update the same file;
- Very specific: line 68
keep future work in Future work, not the Diary.
- Distinctive: line 70
add a short relative link to an authoritative issue, file, or artifact when it materially improves recovery.
- Distinctive: line 73
Do not add per-session timestamps or subsections.
- Very specific: line 80
Use only evidenced current work.
- Distinctive: line 83
add only explicit unresolved follow-ups.
- Distinctive: line 84
update changed state or context in place.
- Distinctive: line 85
Do not add completed work retroactively.
- Distinctive: line 89
keep one short actionable item per line, roughly a one-week slice.
- Distinctive: line 92
Do not automatically remove or reorder entries.
- Distinctive: line 98
Consider only the current-session handoff: a record created, updated, resumed, or explicitly named in this session.
- Distinctive: line 110
When completing the current record, apply the handoff skill's Archive on closure procedure, including reference checks and verification.
- Distinctive: line 136
When every Git gate passes:
- Distinctive: line 138
Run git add -A for the dedicated workspace.
- Distinctive: line 141
Only if those checks pass may you report that no new local recovery point was needed.
- Very specific: line 145
Verify the commit hash and final git status --short, together with HEAD before and after.
- Very specific: line 160
After a non-empty staged diff, claim a new local recovery point only when the commit command succeeded, its commit result matches final …
- Distinctive: line 170
Do not initialize Git, install it, or change Git configuration.
- Distinctive: line 174
If staging, the guard, or the commit fails, never reset, discard, or blindly unstage.
- Distinctive: line 193
Do not show commit hashes, staging terminology, or internal state labels in a normal success.
- Distinctive: line 199
Only after the core result is visible:
- Very specific: line 209
leave every other Inbox item as to organize.
- Distinctive: line 211
Do not scan the workspace to invent cleanup.
“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
Preserve what matters before doing optional housekeeping. A complete content checkpoint and a local Git recovery point are separate outcomes: failure of the second never erases the first.
1. Resolve sources and evidence
Read the consumer capability map. Resolve Daily history, Future work,
Durable memory, Handoff, and Inbox through the consumer's declared
capability map, by semantic role rather than a familiar path. Resolve Identity
as well because jarvis-memory may classify a stable signal there. Do not
hard-code a starter path or create a fallback file. Do not invent a second
history source.
An intentionally unavailable optional role disables only its feature. A declared source that is missing or ambiguous makes the checkpoint partial; name the affected role and continue every other safe channel.
A declared Handoff source must be a readable and writable directory. If it
is not, mark that channel partial and do not create a fallback.
Use the workspace's local date and timezone. From current-session evidence, separate:
- completed outcomes;
- decisions actually made;
- explicit unresolved work;
- at most five genuinely stable memory candidates;
- optional cleanup candidates.
Do not manufacture decisions, infer tasks the user did not leave open, or copy the conversation.
Before each phase that may write, record HEAD when available. Immediately
before touching a target, record its exact path, operation type and pre-phase
state without copying secret values. Keep an exact list of files changed by the
workflow; for a rename record both old and new paths.
Before content writes, inspect Git read-only so its initial state remains
distinguishable from this checkpoint. Use git --version, repository checks,
git status --short, and git diff --cached --name-only. Also check for an
active Git operation and the effective large-file guard. This inspection never
blocks safe content writes.
2. Save Daily history first
Persist completed chronology only in the declared Daily history source. Use
one file per local calendar day at YYYY/MM/YYYY-MM-DD.md, unless that source
explicitly declares another local convention. Create only the required year
and month directories and today's file.
A new daily file contains ## Done, ## Decisions, and ## Closing state.
Headings and public paths stay English; entries use the user's preferred
language.
For repeated saves on the same day:
- update the same file;
- semantically deduplicate
DoneandDecisionsinstead of matching wording mechanically; - rewrite
Closing stateto the latest one or two lines; - keep future work in
Future work, not the Diary; - preserve frontmatter, custom sections, and unrelated content;
- add a short relative link to an authoritative issue, file, or artifact when it materially improves recovery.
Do not add per-session timestamps or subsections. Re-read the daily file immediately before and after editing. If an existing structure is ambiguous, leave it unchanged, mark only this channel partial, and continue the other safe channels. Never normalize the file by assumption.
3. Update Future work narrowly
Use only evidenced current work. In the declared Future work source:
- close an existing item only when completion is evidenced;
- add only explicit unresolved follow-ups;
- update changed state or context in place;
- Do not add completed work retroactively; its outcome belongs in Daily history;
- support the local representation, including plain bullets and checkboxes;
- preserve sections, ordering, formatting, and unrelated entries;
- keep one short actionable item per line, roughly a one-week slice;
- link the authoritative source when useful.
Do not automatically remove or reorder entries. Semantically deduplicate each change. Re-read the target immediately before and after editing. If ownership or placement remains unclear, defer that item as an optional proposal.
4. Update the current Handoff
Consider only the current-session handoff: a record created, updated, resumed, or explicitly named in this session. A similar topic, filename, or timestamp does not prove ownership. If the record is uncertain, use the runtime choice UI or numbered options, or skip this channel.
Re-read it before patching. If its existing status is missing or unknown,
report the discrepancy and skip this channel. If status, ownership, or evidence
changed semantically, do not write and report the conflict. When work remains,
refresh current state, evidence, next action, and updated:, keeping
status: active. With certain completion evidence, set status: completed,
completed:, and updated:. If completion remains ambiguous, ask whether to
keep it active or complete it. Always leave every other handoff unchanged.
When completing the current record, apply the handoff skill's
Archive on closure procedure, including
reference checks and verification. Record the actual final path and both sides
of the move in the operation ledger. Report deferred archival without undoing
the saved closure state. Never delete the record or sweep historical handoffs.
5. Verify the content checkpoint
Re-read every modified Daily history, Future work, and Handoff target. Any failed verification makes the content result partial and must name the exact role that was not verified. Hold stable candidates without changing Identity or Durable memory; their preview belongs after the core checkpoint.
6. Create the local recovery point
Jarvis Lite treats the consumer as a dedicated personal workspace. After Git
was set up and accepted during first run, invoking save-session authorizes a
whole-workspace local recovery point. It is not an off-device backup.
Skip only the Git recovery point when Git or the repository is unavailable, the first-run Git-pending marker remains, the initial staged index is non-empty, a merge, rebase, cherry-pick, revert, bisect, or another Git operation is in progress, repository state is ambiguous, or the shipped 5 MiB large-file guard is missing or inactive. Do not alter the existing index. Content status remains whatever its own verification proved.
When every Git gate passes:
- Run
git add -Afor the dedicated workspace. - Inspect the staged diff. If the staged diff is empty, do not create an empty commit; defer the recovery conclusion until the per-operation checks below. Only if those checks pass may you report that no new local recovery point was needed.
- Otherwise commit as
save-session: YYYY-MM-DD <focus>, using a short evidenced focus orcheckpointwhen none is distinguishable. - Verify the commit hash and final
git status --short, together withHEADbefore and after.
Normal status can hide ignored files, so verify every operation in the core phase using the exact list of files changed:
- for a creation or modification,
git ls-files --error-unmatch -- "$target"andgit diff --quiet HEAD -- "$target"must show that the current file is tracked and matchesHEAD; - For a deletion,
git cat-file -e "$head_before:$old_path"must confirm that the old path was recoverable before the phase, whilegit cat-file -e "HEAD:$old_path"must fail and confirm its final absence; - For a rename, verify the deletion rule for the old path and the creation rule for the new path.
After a non-empty staged diff, claim a new local recovery point only when the
commit command succeeded, its commit result matches final HEAD, HEAD
advanced, the final working tree is clean, and every operation passes its
matching check. After an empty staged diff, call the state already covered only
when the final tree is clean and the same checks pass. A protected secret file
verified as ignored is
intentionally unversioned; redact its value and never claim that Git covers
it. Any other ignored or untracked changed target makes recovery coverage
partial even when normal status looks clean.
Do not initialize Git, install it, or change Git configuration. Never push or create a remote, authenticate, force, amend unrelated history, or describe the local recovery point as a backup.
If staging, the guard, or the commit fails, never reset, discard, or blindly unstage. Report the exact index and worktree state. Concurrent changes left after the commit stay outside that recovery point; report them and do not stage them again.
7. Report the core checkpoint
Complete and report the core checkpoint before memory proposals. Report the core checkpoint before offering optional maintenance. Lead with the content result in plain language:
- complete:
Done, I saved the session. I updated the Diary and your open activities. - partial: state what succeeded first, then what could not be completed, and
add
Nothing was deleted. - Git created: add
I also created a local restore point. - Git unavailable: keep the content result intact and say the restore point can be fixed later.
Do not show commit hashes, staging terminology, or internal state labels in a normal success. Show technical detail only when the user asks or recovery requires it. Never claim full conversational memory.
8. Offer memory and bounded maintenance
Only after the core result is visible:
- Delegate at most five stable candidates to
jarvis-memory. Do not writeDurable memorydirectly or writeIdentitydirectly. Live status, ordinary history, and current tasks are not durable candidates. Approval-only memory proposals remain pending until after the core checkpoint and never block it; - offer at most five obvious
Future workcleanup candidates; - surface at most five non-hidden, non-README Inbox items;
- propose a destination only for an item tied to the current session or whose destination is evident from existing context;
- leave every other Inbox item as
to organize; - surface at most one structural opportunity already observed in this session; Do not scan the workspace to invent cleanup. Show the exact target and patch or moves; make broader reorganization a separate task;
- present the preview-first memory proposals returned by
jarvis-memory.
The same agent owns all writes and serializes them. A parallel read-only worker
when the runtime supports it may classify candidates or inspect existing homes,
but it must return evidence without changing files. Otherwise use an inline
fallback with the same jarvis-memory contract. A delegated worker must not
touch Git or unrelated files. The parent owns checkpoint status and the final
response. Pending or rejected memory proposals never block the saved core.
For a real choice, use the runtime choice UI when available and short numbered choices otherwise. Inbox actions are Move, Keep, or Delete. No move or deletion happens without explicit confirmation. Silence is not approval. No response leaves the completed checkpoint and its recovery point valid.
Apply only approved changes and re-read their targets. Create a second local
recovery point only when an approved proposal changed files, naming it
save-session: YYYY-MM-DD maintenance. Reapply the operation-aware verification
from the first point. A pending proposal, maintenance failure, or second-commit
failure does not invalidate the first checkpoint.
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.

