/simplicity:cleanupfrom simplicity
Runs an end-of-session closing checklist, invoked as `/simplicity:cleanup`. Stops background tasks/servers and the containers this session started, flags the volumes and databases it created instead of deleting them, checks the working tree(s) for uncommitted, unpushed, or stashed changes and flags them without auto-committing or discarding anything, removes disposable scratch files, notifies other active sessions only when there's a concrete handoff reason, and reports the session as ready before offering to archive it. Use whenever the user says "wrap this session up", "run the cleanup checklist", "prepare this session for archival", or otherwise wants to close out a session responsibly before it goes idle or gets archived. Not for cleaning up or refactoring code.
Ships in simplicity. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A repeatable closing checklist for the end of a session: reduce the odds of an orphaned background process, forgotten uncommitted work, or a collaborator left hanging, before the session goes idle or gets archived. Work through the steps in order — later steps assume the earlier ones already ran.
Steps 2 and 4–6 use the desktop app's session tools (background tasks, other sessions, the session title, suggestion chips, archiving). When one of those tools doesn't exist, as in the CLI, skip that item and say so in the report; in the CLI, end with "ready to close" instead of offering to archive.
For every git repository this session touched:
git status — uncommitted changes, untracked filesgit stash list — forgotten stashesgit log @{u}.. --oneline, or note there's no upstream if that's the case)A harness Stop hook may report "N unpushed commits" by comparing HEAD with origin/<current-branch> only, so it also counts commits that already sit on another remote ref. That happens after the branch's PR merged, or after the branch was fast-forwarded to inspect main. Check with git rev-list HEAD --not --remotes --count, which counts only the commits no remote ref holds. If it prints 0, nothing is at risk: say so in the report, and don't push just to quiet the hook. Never fast-forward, reset or force-push the working branch to make the count go away. To read the default branch's history, use the origin/<default> refs directly instead of moving the working branch. The hook belongs to the harness, not the repo, so report it and don't try to edit it.
Report findings plainly. This step is reconnaissance, not remediation — do not commit, stash, discard, or push anything on your own initiative. If something looks unfinished or risky (uncommitted work, unpushed commits someone might be waiting on), surface it and ask what to do rather than deciding for the user.
Before calling any of this clean, look at what's actually staged or modified — don't just report the file list. If anything staged or changed looks like it could hold a credential (.env, keys, tokens, connection strings with passwords, anything named like a secret), open it and check, the same instinct as before any commit. Flag what you find; don't unstage or edit it yourself. Name the file and the kind of secret ("a database password in DATABASE_URL"), but never repeat the value itself in your report: that copies it into the transcript.
Anything this session spawned that would otherwise keep running or waiting after the conversation goes idle:
Don't stop something you're unsure about — ask first if a background task's purpose isn't obvious from the conversation so far.
Some things this session started keep running, or keep their data, after the command that made them has returned, so they never show up as background tasks: detached containers (docker run -d, docker compose up -d, the same under podman), compose stacks, named volumes and networks, and databases or schemas created inside a server (createdb, CREATE DATABASE). A database that lives in a file, such as SQLite, is a scratch file and belongs to step 3.
Find them in the conversation, from the commands this session actually ran, then confirm their state with read-only commands: docker ps -a, docker compose -p <project> ps, docker volume ls, psql -l. Shell commands work in the CLI too, so this step runs there. If Docker or the database can't be reached, say so and move on.
docker ps lists as this session's, and never run a prune (docker system prune, docker volume prune, docker container prune): a prune reaches past this session.docker stop <name>, docker compose -p <project> stop). Leave one running if the work continues somewhere that needs it, such as a handoff in step 4, and say why.docker rm, docker compose down), a volume (docker volume rm, down -v) or a network, or dropping a database (dropdb, DROP DATABASE), can't be undone. Even when this session created it, its data may be what the user wants to keep: seeded rows, migration results, a fixture someone else is about to read. List each one by name, with what it holds if the conversation says, and ask which to delete as a direct question. Delete only the ones the user names in this step. Until they answer, the question is open, so step 6 doesn't offer to archive: in a cloud session, archiving releases the container, and its containers and volumes go with it.A connection string or password in one of these commands is a credential: name it, don't repeat it, the same as step 1.
If this session created temporary or scratch files (a scratch workspace, /tmp, a scratchpad directory) that aren't meant to outlive the session, remove them. Never touch files inside a real project's working tree, or anything the user might plausibly want to keep. When genuinely unsure whether a file is disposable, leave it and mention it rather than guessing.
Check for other active Claude sessions. Send a message only when there's a specific, concrete reason another session needs to know something this one did — a handoff already discussed in this conversation, a branch another session is known to be building on, a resource another session is known to be using. Don't message reflexively just because other sessions exist; staying silent is the right outcome most of the time. If genuinely unsure whether a heads-up is warranted, ask the user rather than deciding unilaterally.
Messages to people (teammates in chat, email, PR comments) are different: never send one from this checklist without the user confirming that exact message first.
Summarize what you found and did in steps 1-5 — plainly, no padding: working-tree state per repo, what you stopped, the containers, volumes and databases left for the user to decide on, what you cleaned, who (if anyone) you notified and why, any title change or dismissed chips.
Side sessions first. In the desktop app, archiving a session also archives its side sessions that are idle or share its worktree, and by default it removes the archived session's worktree. Before you offer to archive, list this session's linked sessions (the session list tool with {"linked": true}); its side sessions are the rows whose startedBy is this session's id and that aren't archived. If one's cwd is this session's folder, it shares the worktree and can't be detached: don't offer to archive, and say why in one line, naming it. Otherwise, once the user agrees, detach each side session with the detach tool so it lives on at top level, then archive. If a detach is refused, or there's no detach tool, don't archive: say why in one line. Detach nothing before the user agrees.
If nothing above stops it, ask whether the user wants to archive this session now.
Only archive after the user explicitly confirms in this step — never speculatively, even though invoking /simplicity:cleanup signals intent to wrap up; a session with live background work or an unresolved question from steps 1-5 shouldn't be offered for archival in the first place.
When /simplicity:just-finish-it runs this checklist, it owns every decision that would come back to the user: wherever a step above says to ask, hand the item back to just-finish-it as pending instead of asking, send no messages to people, and stop after the summary without asking about archiving. just-finish-it continues from its own next step.
When /simplicity:shift-session runs this checklist, the same holds: it owns every decision that would come back to the user. Wherever a step above says to ask, hand the item back to shift-session as pending instead of asking, send no messages to people beyond the tracker updates shift-session already made, and stop after the summary without asking about archiving. shift-session has already committed and pushed in its own first step, which it does on the user's say-so, and it decides about archiving from its own pending list.
Encoded-preference, timelessness 8/10, last verified against claude-opus-5-5 (2026-09), with step 6's side-session check measured in desktop app 2.9939.4 (2026-10-28). The checklist is a fixed closing routine, and better models don't make "check the working tree before archiving" obsolete. It scores 8 rather than higher because steps 4–6 lean on the desktop app's current session-management tools. Re-verify them when those tools change.
evals/evals.json (opens in a new tab)evals/files/session-clean-handoff.md (opens in a new tab)evals/files/session-compose-volume.md (opens in a new tab)evals/files/session-dirty-tree.md (opens in a new tab)evals/files/session-hook-false-unpushed.md (opens in a new tab)evals/files/session-preexisting-container.md (opens in a new tab)evals/files/session-shared-db.md (opens in a new tab)evals/files/session-shared-side.md (opens in a new tab)evals/files/session-staged-env.md (opens in a new tab)evals/trigger_eval_set.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
simplicity@eonraider is listed by eonraider/claude-plugins — review the source before installing
npx claudepluginhub eonraider/claude-plugins --plugin simplicity12 skills in this plugin
/call-it-a-dayPuts the current session on hold when the user stops work for the day, so the same work can be picked up at a later date with nothing lost. When the session supervises agents or sessions, it first writes a shutdown task list, stops the dispatchers, lets every in-flight task finish, has each supervised session persist its work, and stops last. Commits any uncommitted work as a WIP commit and pushes it (never to the default branch, never forced, holding back any branch with a secret), updates whichever trackers the project has, saves a handoff note to the project's memory directory, records this session's title and renames it "<topic> -> On hold", and prints a self-contained handoff prompt. It leaves the session open, starts no new session, merges nothing and never marks the work finished. When the work resumes, in this session or in a new one started from the prompt, the session gets its pre-hold title back. Opens a draft PR only with --pr. Invoked by the user as /simplicity:call-it-a-day [--pr]. The everyday phrase "let's call it a day", written without hyphens, is not a request for this skill. Use when the user names /simplicity:call-it-a-day or asks for call-it-a-day by name, including mid-sentence, where the command isn't expanded and reaches the model as text; never on a paraphrase of what it does./disk-cleanupFrees disk space safely. It sweeps read-only, lists every reclaimable item with its exact measured size, owner and safety-check results, asks the user through AskUserQuestion, and deletes only what the user picks. Candidates are git worktrees (the session's own, its helper or agent worktrees, and leftovers of finished sessions), the build output inside them (target/, node_modules/, .venv/, dist/, build caches), the session's scratch files, stopped containers, dangling images, unused volumes, the databases it created, and tool caches. By default the scope is the invoking session's own area. With --orchestrator it first orders the sessions it coordinates to run this skill on their own areas, waits for their reports without polling, then sweeps what no live session owns. A worktree or build folder is offered only when it has no uncommitted or untracked changes, its head commit is on a remote or in a live branch, no running process works inside it, and it isn't another live session's worktree; anything with an unknown owner is held. Deletes by absolute path, never with a glob, never prunes, never archives a session, and never deletes on another session's say-so. In plan mode it sweeps and asks, and deletes nothing. Invoked by the user as /simplicity:disk-cleanup [--orchestrator]. The everyday phrases "free up some disk" and "clean up disk space" are not requests for this skill. Use when the user names /simplicity:disk-cleanup or asks for disk-cleanup by name, including mid-sentence, where the command isn't expanded and reaches the model as text, or when another session's message orders this session to run it, which allows the sweep and the question but never a deletion on that message's word; never on a paraphrase of what it does.