sessions
Skill2 starsChanged 3 months agoMITView on GitHub
Use at a checkpoint the agent itself creates — a /harden cycle shipped an artefact, a multi-commit task is finished, or the user winds the session down — to write a handoff snapshot a fresh session can resume from. Also sets the handoff log up in a project that lacks one, auditing for an existing practice first.
32 other projects use a version of this.
Adopted by
Most recently taken up by
- asholk/silk-claude-skillstheir own version, first seen Nov 29, 2026
- yezzzp/agent-relay-protocoltheir own version, first seen Nov 29, 2026
- erwint/remaimbertheir own version, first seen Nov 29, 2026
- nathwn12/gladiustheir own version, first seen Nov 29, 2026
- droiddevgeeks/cc-sessionstheir own version, first seen Nov 29, 2026
- phnx-labs/agi-clitheir own version, first seen Nov 27, 2026
Used with
Projects with it also use tool-rename-deprecation, add-policy and 10 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.
gitpod-ioSkilltool-rename-deprecation
Ensure renamed built-in tool references preserve backward compatibility. Use when renaming a toolReferenceName, tool set referenceName, or any tool identifier. Run on ANY change to tool registration code. Covers legacyToolReferenceFullNames for tools and legacyFullNames for tool sets.
Also in 5 projects that use this
OpenCortexIDESkilladd-policy
Use when adding, modifying, or reviewing VS Code configuration policies. Covers the full policy lifecycle from registration to export to platform-specific artifacts. Run on ANY change that adds a `policy:` field to a configuration property.
Also in 4 projects that use this
gitpod-ioSkillagent-sessions-layout
Agent Sessions workbench layout — covers the fixed layout structure, grid configuration, part visibility, editor modal, titlebar, sidebar footer, and implementation requirements. Use when implementing features or fixing issues in the Agent Sessions workbench layout.
Also in 3 projects that use this
slopusSkillcontrol-flow
Analyze and design control flows and data structures. Produces compact ASCII tree diagrams showing triggers, call chains, payload shapes, state mutations, and re-render effects. Use when user asks to diagram, trace, visualize, or design a flow or data structure.
Also in 3 projects that use this
slopusSkillmetrics-graphana
Query and manage Grafana dashboards and Prometheus metrics for Happy infrastructure. Covers grafanactl CLI usage, direct Prometheus queries through Grafana proxy, and dashboard-as-code workflows. Use when user asks about metrics, dashboards, monitoring, Grafana, Prometheus, or wants to add/modify panels.
Also in 3 projects that use this
TheKREATORSSkillrefactor-clean
No description
Also in 3 projects that use this
- +2 more from gitpod-io
Other versions32 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 32
- microsoft/vscode★ 196ksame name
- slopus/happy★ 25ksame name
- gitpod-io/openvscode-server★ 6.2ksame name
- posit-dev/positron★ 4.4ksame name
- NeuralInverse/neuralinverse★ 221same name
- localixai/tokendoctor★ 183same name
- OpenCortexIDE/cortexide★ 175same name
- Altman-conquer/agentrejoin★ 75same name
- griffinhilly/claude-code-synthesis★ 67same name
- elijahmuraoka/skills★ 58same name
22 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 repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- site/llms.txtllms.txt
- adrSkill
- autopilot-async-monitoringSkill
- changelog-automationSkill
- ci-temporary-bypassSkill
- codebase-designSkill
- create-architectural-decision-recordSkill
- create-specificationSkill
- documentation-writerSkill
- gha-watch-ci-prSkill
- grill-with-docsSkill
- hardenSkill
- i-have-an-issueSkill
- improve-codebase-architectureSkill
- issue-implementSkill
- issue-selectSkill
- issue-to-planSkill
- next-milestoneSkill
- process-error-postmortemSkill
- pycc-feedbackSkill
- pyccSkill
- python-design-patternsSkill
- python-performance-optimizationSkill
- python-testing-patternsSkill
- review-findingsSkill
- rust-async-patternsSkill
- sessionsSkill
- tddSkill
- testing-strategySkill
- todoSkill
- ultra-reviewSkill
- adrSkill
- autopilot-async-monitoringSkill
- changelog-automationSkill
- ci-temporary-bypassSkill
- codebase-designSkill
- create-architectural-decision-recordSkill
- create-specificationSkill
- documentation-writerSkill
- gha-watch-ci-prSkill
- grill-with-docsSkill
- hardenSkill
- i-have-an-issueSkill
- improve-codebase-architectureSkill
- issue-implementSkill
- issue-selectSkill
- issue-to-planSkill
- next-milestoneSkill
- process-error-postmortemSkill
- pycc-feedbackSkill
- pyccSkill
- python-design-patternsSkill
- python-performance-optimizationSkill
- python-testing-patternsSkill
- review-findingsSkill
- rust-async-patternsSkill
- tddSkill
- testing-strategySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 29 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Search the governance file for the practice's vocabulary (session, handoff, snapshot, journal, retrospective).
- Very specific: line 23
Look for existing directories: docs/sessions/, docs/handoff/, a session log kept elsewhere under another name.
- Distinctive: line 25
Read what exists for policies your defaults would contradict.
- Distinctive: line 51
A new checkpoint is always a new file: Never append to a previous snapshot: it is a record of a moment.
“Common” is measured: kept by at least 6 in 10 of the 29 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
Sessions: the handoff log
One snapshot per checkpoint under docs/sessions/: what state the work is in
and what a fresh session should pick up. In this repository the trigger is
narrower than the generic one below:
D-242 rule 5
(narrowing D-066/D-130/D-192) writes a file only for an incident — a wrong merge decision, a defect that reached main, a gate that lied, or a run that lost meaningful time to a process mistake; an ordinary merged pull
request writes none, and everything else a checkpoint would have captured goes to
docs/AGENT_RETROSPECTIVE.md under its unchanged bar. Distinct from .harden/incidents/,
which records what went wrong — this records where things stand.
If the project has no handoff log yet
Audit before touching anything — an existing mechanism must survive you:
- Search the governance file for the practice's vocabulary (session, handoff, snapshot, journal, retrospective).
- Look for existing directories:
docs/sessions/,docs/handoff/, a session log kept elsewhere under another name. - Read what exists for policies your defaults would contradict.
Any hit → stop and report; their edition wins unless the user explicitly says
otherwise. Nothing found → install (the bundle lives in the harden skill
beside this one; use whichever skills root the project has):
uv run .agents/skills/harden/scripts/install-feature.py sessionsThen perform the printed after-steps and finish with --check.
Writing a snapshot
The drafter fills the mechanical half — branch, recent commits, dirty files — and leaves headings for what a script cannot know:
uv run .claude/skills/sessions/scripts/session-snapshot.py --slug <what-this-checkpoint-is>Fill the three narrative sections yourself: the state of the work, what is in
flight, what the next session should do first. Filename is
YYYY-MM-DD-NN-<slug>.md — NN is picked by the script so two agents writing
at once never touch the same file.
- A new checkpoint is always a new file. Never append to a previous snapshot: it is a record of a moment.
- Lessons from failures go to
.harden/incidents/, not here — this log records state, the journal records what went wrong and the guard built.
Why the trigger is a list of acts
The checkpoints above are moments the agent creates with its own hands, never events that merely happen to it. "Context is about to compact" is a more precise trigger and invisible to the agent — catching it needs a harness hook, and hooks exist in a minority of harnesses. An act-trigger works in every one, because the agent is standing in the moment when it fires (D-009). The cost is honest: a session that never reaches any of those moments leaves no snapshot.
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.

