← ClaudeAtlas

awb-session-closelisted

WHAT: verify a working tree is safe to close at the end of a session — surface anything still dangling (uncommitted, unpushed, unmerged, stale branches) and clean it on your approval, so you close with certainty instead of fear of leftover work. USE WHEN: wrapping up and you want to be sure nothing is lost or left messy ("is it safe to close?", "did I leave anything uncommitted / unpushed?", "clean up the junk branches", "close out the session", "end-of-day repo check"). DO NOT TRIGGER: packaging UNFINISHED work for the next session to execute (that is awb-handover); mining the session for durable lessons (that is awb-lessons-capture); shipping a specific change through review→commit→merge (that is the plan-then-code + review flow).
doivamong/agent-workbench · ★ 2 · Code & Development · score 78
Install: claude install-skill doivamong/agent-workbench
# Session close-out — close with certainty, not fear > **Announce on activation:** "Using awb-session-close — read-only audit first, then cleanup on your approval." The fear this removes: after a long session you can't remember whether work is committed, pushed, merged, or whether stale branches are piling up — so you close anxiously or comb git by hand. This skill answers one question against ground truth: **"is it safe to close this window, and what's left to clean?"** — then does the cleanup only after you say yes. ## The risk model (why some findings stop you and others only nudge) Everything turns on one question: **would closing the window LOSE this, or leave it mid-operation?** - **BLOCK** — uncommitted changes; commits not on any remote (or an *unmeasurable* unpushed count — unknown is not "safe"); an in-progress **rebase / merge / cherry-pick**; **detached-HEAD** commits (reflog-only). These are local-only or mid-flight; close and they are at risk. Verdict: *not safe to close yet*. - **WARN** — a **stash**, open PRs, and stale local branches. These persist on disk / are already on the server, so closing loses nothing immediately — they are hygiene (a stash is the classic *forgotten* one), surfaced with the exact command. This is the whole point of the skill: scream only at real loss, stay quiet about the rest, so the warning never becomes noise you learn to ignore. ## Process 1. **Audit.** Run the tool. It is read-only **to your work** — it never co