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.
npx skills add FilipNowakowicz/nixos-config --skill release-cleanupgit clone --depth 1 https://github.com/FilipNowakowicz/nixos-configWrote 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/skills/filipnowakowicz/nixos-config/release-cleanup)<a href="https://agentmods.dev/skills/filipnowakowicz/nixos-config/release-cleanup"><img src="https://agentmods.dev/badge/skills/filipnowakowicz/nixos-config/release-cleanup/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/skills/filipnowakowicz/nixos-config/release-cleanup"><img src="https://agentmods.dev/badge/skills/filipnowakowicz/nixos-config/release-cleanup.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.00051 | $0.00982 |
| Opus 5.5 | $0.00020 | $0.00393 |
| Sonnet 5.5 | $0.00010 | $0.00196 |
| Haiku 4.5 | $0.00005 | $0.00098 |
Grade A, and why
release-cleanup 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 12d 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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Release Cleanup
Use this when the user asks to "wrap up", "clean everything up", "ship it", or "finish the release" after a round of fixes has landed via PR. It closes the loop from merged code to a tagged, documented release with no stray branches left behind — especially relevant after an iterative bug-chasing session that produced several small follow-up PRs against the same release.
Workflow
- Confirm state before changing anything:
git status --short— clean, or stash/ask about uncommitted work.gh pr list --state open— merge any that are ready and the user expects merged; do not merge one that's still under discussion or failing CI without asking.- Poll
gh pr view <n> --json mergeStateStatusand wait out aBLOCKEDstate that's just CI still running, rather than force-merging past it.
- Decide the release action — don't assume:
- If the project tags releases and CI builds/publishes on tag push, ask (if it's not obvious from how the user phrased the request) whether this batch should recut the existing in-flight tag or bump to a new version.
- To recut an existing tag: delete the GitHub release
(
gh release delete <tag> --yes), delete the remote tag (git push origin :refs/tags/<tag>), delete the local tag, then re-create it on the new commit (git tag -a <tag> <sha> -m <tag>) and push it. - To bump instead: follow the project's own version-bump convention (e.g. a dedicated commit bumping a version string) before tagging.
- Write real release notes, not a raw commit log:
- Group changes by theme (fixes vs. new tooling vs. speculative/unverified changes) rather than listing commits flatly.
- Call out anything unverified or speculative explicitly, matching whatever convention the target repo already uses for that (e.g. an "UNVERIFIED as of <date>" marker), instead of presenting it as confirmed.
gh release edit <tag> --notes-file <file>(or--notes) once the release exists.
- Clean up branches only after confirming they're merged:
- For each branch touched this session, verify
git merge-base --is-ancestor <branch> <default-branch>before deleting anything — never delete on assumption. - GitHub often auto-deletes a PR's remote head branch on merge already;
check with
git ls-remote --heads originbefore assuming agit push origin --deleteis still needed. - Prune stale local tracking refs (
git remote prune origin) and delete local branch copies (git branch -D <branch>) only for branches confirmed merged. - Leave alone any branch that predates the current session or isn't merged — investigate rather than delete work you don't recognize.
- For each branch touched this session, verify
- Verify the final state and report it back concisely:
gh pr list --state open(expect none left from this batch).git status --short(clean).git log --oneline -1on the default branch.- The release/tag URL.
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.
- 12d ago First seen · 79 lines · 51 tokens per session scan A 4b57bb6fe379
release-cleanup is a skill published in the GitHub repository FilipNowakowicz/nixos-config (6 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 982 once invoked, about $0.0002 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-11-19.
release-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| release-cleanupFilipNowakowicz/nixos-config | Skill | 6 | today | MIT | A | 51 | Claude Code, Codex |
| releasethedotmack/claude-mem | Skill | 121k | today | Apache-2.0 | A | 13 | Claude Code |
| release-notesphuryn/pm-skills | Skill | 28k | 23d ago | MIT | A | 57 | Claude Code |
| multi-agent-release-managerchromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 27 | Claude Code, Codex |
| pack-submitaeonfun/aeon | Skill | 801 | today | MIT | A | 27 | Claude Code, Codex |
| updater_guidesiddsachar/row-bot | Skill | 1.7k | 2d ago | Apache-2.0 | A | 22 | Claude Code, Codex |
| prepareapache/magpie | Skill | 162 | today | Apache-2.0 | A | 86 | Claude Code |