session-closer
Skill0 starsChanged 8 months agoMITView on GitHub
End every work session with an honest status report — what shipped, what didn't, what's blocked. Use at the end of any non-trivial work session to prevent silent loss of context, false claims of completion, and undocumented blockers.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- anti-hallucinationSkill
- hostile-self-reviewSkill
- memory-hygieneSkill
- simplicity-firstSkill
- surgical-editsSkill
- think-before-codingSkill
- verifiable-criteriaSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Before context is cleared / compacted.
- Distinctive: line 17
When the user says "stop," "let's wrap up," "сессия завершена," or similar.
- Distinctive: line 18
When you hit a blocker and cannot proceed without input.
- Distinctive: line 22
Use this structure exactly.
- Distinctive: line 53
Do not omit the Blocked section because it's empty for you: If you hit a blocker, name it.
- Distinctive: line 55
Do not list aspirational tasks under Shipped: Only what is verified done.
- Very specific: line 60
If the project uses a sessions log (sessions.md, daily/YYYY-MM-DD.md, etc.), append the report to it.
- Very specific: line 62
If no sessions log exists, ask the user once: "Should I start a sessions.md to track these?" If yes, create it and append.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Session Closer
Sessions end. Context is lost. The user comes back tomorrow and asks "where were we?" — and if the agent did not leave an honest status, the answer is reconstructed from chat scrollback and is usually wrong.
This skill enforces a structured end-of-session report that tells the truth.
When to apply
- End of any session where ≥1 file was edited or ≥1 non-trivial decision was made.
- Before context is cleared / compacted.
- When the user says "stop," "let's wrap up," "сессия завершена," or similar.
- When you hit a blocker and cannot proceed without input.
The report format
Use this structure exactly. The headers matter — they make the report scannable on return.
## Session Close — YYYY-MM-DD HH:MM
### Shipped
- <thing 1>: <verification — test passed, deployed to X, screenshot at Y>
- <thing 2>: ...
### Not Shipped (started but not done)
- <thing>: <where it stands, what's left, file paths>
### Blocked
- <thing>: <what's needed to unblock — credential, decision, external response>
### Unclear / Open Questions
- <question that came up that you did not resolve>
### Files Changed
- path/to/file.py — <one-line summary of change>
- path/to/other.md — <...>
### Next Session — Recommended First Action
<one specific thing to start with, with enough context that future-you doesn't need to re-derive it>Anti-sugarcoating rules
These are non-negotiable. Violating them is the most common failure of session-end reports.
- Do not claim completion for partial work. "Mostly done, just needs testing" goes in Not Shipped, not Shipped.
- Do not omit the Blocked section because it's empty for you. If you hit a blocker, name it. The user needs to know so they can unblock.
- Do not phrase failures as victories. "Discovered that the API doesn't support X" is a finding, not a deliverable. List it under Unclear / Open Questions or Blocked.
- Do not list aspirational tasks under Shipped. Only what is verified done.
- No "I'll do X next session" promises. Recommend a first action; do not commit to a future state.
Persist the report
If the project uses a sessions log (sessions.md, daily/YYYY-MM-DD.md, etc.), append the report to it. Do not just emit it as chat output that scrolls away.
If no sessions log exists, ask the user once: "Should I start a sessions.md to track these?" If yes, create it and append. If no, emit to chat and let the user decide what to keep.
Example — wrong vs. right
Wrong:
"Session complete. Implemented the user dashboard, fixed the auth bug, and started on the notification system. All good!"
Right:
## Session Close — 2026-04-15 22:30
### Shipped
- User dashboard route: deployed to staging, smoke test passed (curl /dashboard returns 200, renders 4 widgets).
- Auth bug #142: test `test_session_expiry_grace` was failing, now passes. Deployed to staging.
### Not Shipped (started but not done)
- Notification system: created skeleton in `app/notifications/`, model defined, no handlers yet, no tests. Approx 30% complete.
### Blocked
- Production deploy of dashboard: waiting on DNS change for `dashboard.example.com` (asked DevOps 2h ago, no response).
### Unclear / Open Questions
- Notification preferences: should they be per-channel or global? Current skeleton assumes global; user mentioned per-channel earlier — needs decision.
### Files Changed
- app/routes/dashboard.py — new route
- app/auth/session.py — fixed grace period off-by-one
- app/notifications/__init__.py, models.py — new skeleton
- tests/test_session.py — added regression test
### Next Session — Recommended First Action
Decide notification preference scope (per-channel vs global), then continue notification handlers. Skeleton is in `app/notifications/`, model has placeholders for both options.Why this matters
Without honest session reports, context erodes. The user trusts that "shipped" things shipped. They build on top of partial work that the agent claimed was done. The bug is found in production. Trust collapses. Fix the report, fix the trust.
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.

