wrap
Installation
SKILL.md
Wrap
Session wrap-up: reflect, clean worktrees, prepare for /clear.
1. Reflect
Invoke /reflect via the Skill tool. Wait for it to complete before proceeding.
Do NOT inline reflect logic — invoke the skill. It handles MEMORY.md, Basic Memory vault, GitHub issues, plan finalization, and .last-reflect-ts.
2. Session Cleanup
After reflect completes, clean up session worktrees:
REPO_ROOT="$(git rev-parse --show-toplevel)"
git -C "$REPO_ROOT" worktree list