release-cleanup

release-cleanup is a skill for Claude Code, Codex from FilipNowakowicz/nixos-config. It costs 51 tokens per session (982 once invoked), scanned A, original, MIT.

A workflow for finishing a software release after pull requests are merged. It can merge remaining ready changes, create or update a release tag, write release notes, remove fully merged branches, and verify the final state.

In plain words
What is it for?
It is for preparing release tags, publishing accurate notes, cleaning up merged branches, and confirming the repository is ready to ship.
Why use it?
It closes the gap between merged code and a clean, documented release while checking for uncommitted work and unresolved pull requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for preparing release tags, publishing accurate notes, cleaning up merged branches, and confirming the repository is ready to ship.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/filipnowakowicz/nixos-config/release-cleanup
Install

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.

Any agent
npx skills add FilipNowakowicz/nixos-config --skill release-cleanup
Clone the repo
git clone --depth 1 https://github.com/FilipNowakowicz/nixos-config

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for release-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/filipnowakowicz/nixos-config/release-cleanup/github.svg)](https://agentmods.dev/skills/filipnowakowicz/nixos-config/release-cleanup)
Your own site
<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.

agentmods 80×15 button for release-cleanup

Your own site · 80×15
<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>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 982 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 12d ago against content hash 4b57bb6fe379, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

home/files/agents/skills/release-cleanup/SKILL.md · 79 lines

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

  1. 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 mergeStateStatus and wait out a BLOCKED state that's just CI still running, rather than force-merging past it.
  2. 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.
  3. 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.
  4. 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 origin before assuming a git push origin --delete is 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.
  5. 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 -1 on the default branch.
    • The release/tag URL.

Read the full file on GitHub · 79 lines

Changes

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.

  1. 12d ago First seen · 79 lines · 51 tokens per session scan A 4b57bb6fe379

Subscribe to this mod's changes

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.

Related

release-cleanup compared with skills from other repositories

release-cleanup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
release-cleanupFilipNowakowicz/nixos-configSkill6todayMITA51Claude Code, Codex
releasethedotmack/claude-memSkill121ktodayApache-2.0A13Claude Code
release-notesphuryn/pm-skillsSkill28k23d agoMITA57Claude Code
multi-agent-release-managerchromium/chromiumSkill25ktodayBSD-3-ClauseA27Claude Code, Codex
pack-submitaeonfun/aeonSkill801todayMITA27Claude Code, Codex
updater_guidesiddsachar/row-botSkill1.7k2d agoApache-2.0A22Claude Code, Codex
prepareapache/magpieSkill162todayApache-2.0A86Claude Code