← ClaudeAtlas

cleanuplisted

End-of-session housekeeping. Inventories state, commits work, cleans artifacts, documents remaining work. Use when ending a session normally with plenty of context remaining. Lighter than /cold and /finalize.
turqoisehex/cc-sentinel · ★ 4 · AI & Automation · score 77
Install: claude install-skill turqoisehex/cc-sentinel
# /cleanup — End-of-Session Housekeeping Lighter than `/5` (sprint close) and `/cold` (context dying). Run when session ends normally with plenty of context remaining. If context is high (85%+), use `/cold`. **No new work** — /cleanup documents and tidies only. Exception: marking items done that verification proves are actually done. **Channel:** CT=`CURRENT_TASK_chN.md` (channeled) or `CURRENT_TASK.md`. Scripts: `SENTINEL_CHANNEL=N`. `[chN/]`=dispatch subdir, `[_chN]`=file suffix, `[chN_]`=squad prefix. Full rules: `.claude/reference/channel-routing.md`. **Step 0:** Before any other work, TaskCreate every step. Mark in_progress->completed. ## Step 1: Inventory Session State Read CT. Run `git status` and `git diff --stat`. Catalog briefly: 1. **Uncommitted changes** — every modified/untracked file, one-line description. 2. **Active plan items** — unchecked steps from CT's Plan section. 3. **Open items** — TODOs, action items, decisions, follow-ups, non-done markers. ## Step 2: Completeness Audit For each plan item: verify done by reading target file or grepping (don't trust CT markers alone). Mark done items in CT (Edit). Note remaining with specific files and changes needed. Context-aware: below 50% context used (plenty of budget remaining) -> verify ALL items; 50-75% used (conserve budget) -> verify only done-marked items. Report: "N of M plan items complete. Remaining: [list with one-line context each]." ## Step 3: Commit All Work If uncommitted changes exist, o