with one click
session-end
Session wrap-up - update handoff + commit + auto-record experience
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Session wrap-up - update handoff + commit + auto-record experience
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Project knowledge accumulation system - learn from practice, avoid repeating mistakes
File-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use for multi-step tasks requiring >5 tool calls.
Systematic debugging - four-phase process, find root cause before fixing
Verification before completion - must run verification commands before claiming done. Evidence before claims.
| name | session-end |
| description | Session wrap-up - update handoff + commit + auto-record experience |
| version | 1.0.0 |
| allowed-tools | ["Read","Write","Edit","Bash"] |
Trigger:
/session-endor exit signals ("that's all for now" / "heading out")
Review the session for valuable learnings:
Recording threshold (must meet at least one):
Don't record:
Append to memory/today.md:
### SN (HH:MM~) [project/topic]
- [1-2 sentences of what was done]
- [Important decisions/discoveries]
- [Next steps]
- [Recorded: yes/no - brief description]
Identify projects touched in this session (from today.md, changed files, conversation content).
goals.md update:
projects.md update (only rows for touched projects):
Read memory/active-tasks.json, update based on session work:
Rules:
context/next_action/updatedstatus from blocked to activeUpdate <!-- handoff:start/end --> block.
Auto-trim (every execution):
git add [specific files] # Never git add .
git commit -m "[type]: [description]"
Condition: today.md has ≥3 session records for the day.
Quick scan today.md for 1-2 findings with sharing potential (counter-intuitive / data-driven / pitfall-to-solution).
Output (when found):
Content material: Found N shareable discoveries today
1. [Title] — [one-line angle]
2. [Title] — [one-line angle]
Nothing found: Skip silently.
Experience: [Recorded N items / None needed]
today.md updated
Task registry: [+N new / ~N updated / -N completed | Total N in-flight]
Handoff updated
Committed [N] files
Content material: [N items / none (<3 sessions)]