Install
openclaw skills install session-closeoutRun a structured end-of-session closeout that checks repo hygiene, refreshes a master task list, appends a closeout block to daily memory, and verifies automation health. Use when the user asks to end a session, run closeout, wrap up, or requests /closeout. Also useful as a periodic hygiene check between work blocks.
openclaw skills install session-closeoutNon-destructive end-of-session checklist. Catches loose ends before context resets.
Run the closeout script from the workspace root:
bash "$(dirname "$0")/../scripts/session-closeout.sh"
Or with overrides (pipe-delimited):
CLOSEOUT_OUTCOMES="Shipped feature X|Fixed bug Y" \
CLOSEOUT_BLOCKERS="Waiting on API key" \
bash scripts/session-closeout.sh
MASTER_TODO.md from project backlogs if scripts/build-master-todo.py exists. Skipped gracefully if not.memory/YYYY-MM-DD.md with outcomes, blockers, and next-start items.The script auto-detects the workspace root (defaults to $OPENCLAW_WORKSPACE or the current working directory). Key paths:
| Item | Default | Override |
|---|---|---|
| Workspace root | $OPENCLAW_WORKSPACE or cwd | Set env var |
| Daily memory dir | $ROOT/memory/ | — |
| Master TODO | $ROOT/MASTER_TODO.md | — |
| TODO builder | $ROOT/scripts/build-master-todo.py | Skip if missing |
The script prints structured key=value pairs. Report a concise summary to the user:
ok, warning, or errorIf dirty repos are found, list them but do not auto-commit or discard. Let the user decide.
scripts/closeout-hooks.sh that the main script sources if present.CLOSEOUT_OUTCOMES, CLOSEOUT_BLOCKERS, CLOSEOUT_NEXT (pipe-delimited).