/end-session
End-of-session wrap-up. Use this when you're about to stop working — it ensures memory reflects what actually happened in the session so the next session doesn't drift.
What it does
Invokes the end-session skill, which:
- Inventories PRs you opened or touched (gh + git).
- Scans memory for entries that reference checkable artifacts (PR #, branch, file, task) — personal memory under
~/.claude, not a repo path. - Suggests memory writes for substantive work that happened this session.
- Refreshes the roadmap heartbeat (
Last updated,Master HEAD,Open PRs, etc.). - Offers to propose a team rule if any generic insight surfaced.
- Hands off in one short message.
Skip it if
- The session was research-only (no PR opened, no decision recorded, no scope shift).
- You're in the middle of work and just pausing — the skill is for end-of-session, not for context-compaction breaks.
- A parallel session is mid-flow and writing its own memory entries — let that session run its own wrap.
Arguments
$ARGUMENTS — optional one-line summary of what the session was about. Helps Claude pick the right memory entries to update. Example: /end-session worked on Confluence migration proposal.
Cross-references
- Underlying skill:
end-session docs/methodology/session-safety.md— read-side freshness rule this skill exercisespropose-team-rule— auto-offered when generic insights surface during wrap