Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/cirwel/unitaresWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/cirwel/unitares/closeout)<a href="https://agentmods.dev/commands/cirwel/unitares/closeout"><img src="https://agentmods.dev/badge/commands/cirwel/unitares/closeout/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/cirwel/unitares/closeout"><img src="https://agentmods.dev/badge/commands/cirwel/unitares/closeout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.01262 |
| Opus 5.5 | $0.00004 | $0.00505 |
| Sonnet 5.5 | $0.00002 | $0.00252 |
| Haiku 4.5 | $0.00001 | $0.00126 |
Grade A, and why
closeout scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Use this before saying work is done, especially after edits, test runs, local servers, BEAM residents, or any cleanup request from the operator.
Before the final response, if you created actionable KG findings this session,
revisit at most three of your own still-open bugs, questions or improvements.
Use the UUID returned by this process's start_session (not a display name,
predecessor or harness account), and the existing read:
knowledge(action="search", agent_id_filter="<this process UUID>",
status="open", limit=10, include_details=false, response_mode="lean")
Open details for candidates you can assess. If addressed, use the existing
update_finding with a closure class and evidence; fix_verified needs both
deployment and a positive observation, so a merged PR alone is insufficient.
Otherwise keep it open with a brief unresolved condition or artifact pointer
when that adds information. Permanent insights, decisions and ordinary notes
may legitimately stay open. This is a bounded reminder, not a quota or an
extra check-in. If you wrote no actionable findings, the graph is unavailable,
or the remaining claims cannot be verified now, continue closeout; do not
mint an identity just for this reminder or automatically archive anything.
First run a non-mutating check:
python3 scripts/dev/workspace_closeout.pypython3 scripts/dev/workspace_closeout.py --branch-hygienewhen branch or worktree cleanup is part of the question
This uses .unitares/workspace-closeout-baseline.json when present. The
baseline is written by /governance-start through workspace_closeout.py --start-check; it lets the closeout check ignore resident/control-plane
processes that already existed before the agent began work and focus on newly
started repo-rooted processes.
Report:
- whether git is clean
- the
delivery:line, including whether work is local-only, unpushed, pushed-but-not-proven-merged, or synced with default upstream - any staged, unstaged, or untracked files
- any repo-rooted processes still running
- whether a remaining process is managed by a LaunchAgent label (macOS only; other platforms report no labels)
- the
branch hygiene:line when requested, including cleanup candidates, safe deletions performed, held branches, and sweep errors
If work should be delivered instead of left local, stage the intentional files and use the ship helper:
- When the operator asks to ship, finish, deliver, open a PR, or otherwise complete a delivery workflow, treat the default draft-PR route as authorized; do not ask for a second confirmation just to push or open the draft PR.
./scripts/dev/ship.sh --plan "commit message"previews the delivery route./scripts/dev/ship.sh "commit message"is the default route: a draft PR for every change, perdocs/operations/github-workflow-conventions.md. Once CI is green and the review passes, mark it ready and applyapproved-to-merge(the merge queue lands it; agovernance-sensitivePR waits for the operator). Runtime/detached work mints a fresh agent-prefixed branch; non-runtime work on a named branch opens the draft PR on that branch./scripts/dev/ship.sh --direct "commit message"opts out for docs/tests-only pushes where you knowingly skip the PR./scripts/dev/ship.sh --auto-merge "commit message"opts into auto-merge-on-green; use only when the operator explicitly asks, not by default
If the operator asked to clean the workspace, or if you are finishing a task whose intended work is already committed/stashed, run:
python3 scripts/dev/workspace_closeout.py --stash-dirty --stop-repo-processes --bootout-launch-agents --branch-hygiene-live
--bootout-launch-agents applies only on macOS LaunchAgent installs.
--branch-hygiene-live reuses the branch-hygiene safety contract in
docs/operations/branch-hygiene-runbook.md: patch-equivalent or empty stale
branches may be pruned, clean stale worktrees may be removed, and branches with
unique commits, dirty worktrees, or a protected checkout are held for review
instead of deleted.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 18d ago Changed · +2 lines a29589075885
- 23d ago Changed · +20 lines abd5ddd6c2f1
- 1mo ago Changed · +1 lines 78e07119c05e
- 2mo ago First seen · 85 lines · 9 tokens per session scan A 4b25fe7752c4
closeout is a command published in the GitHub repository cirwel/unitares (6 stars, last pushed today), licensed Apache-2.0. It adds 9 tokens to every session and 1,262 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
closeout compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| closeoutcirwel/unitares | Command | 6 | today | Apache-2.0 | A | 9 | Claude Code |
| statusbar-styleleeguooooo/claude-code-usage-bar | Command | 389 | 6d ago | MIT | A | 16 | Claude Code |
| icpg-bootstrapalinaqi/maggy | Command | 711 | 24d ago | MIT | A | 0 | Claude Code |
| coder-eval-implement-planUiPath/coder_eval | Command | 156 | yesterday | Apache-2.0 | A | 22 | Claude Code |
| lians-recallLians-ai/Lians | Command | 17 | 4d ago | Apache-2.0 | A | 19 | Claude Code |
| memory-statusRichmondAlake/memorizz | Command | 781 | 4d ago | none | A | 9 | Claude Code |
| sugar-taskroboticforce/sugar | Command | 100 | yesterday | none | A | 14 | Claude Code |