to-release

to-release is a skill for Claude Code from helderberto/agent-skills. It costs 33 tokens per session (1,183 once invoked), scanned A, original, MIT.

A release workflow for libraries and other versioned packages. It prepares a pull request with a version, changelog, and draft GitHub release, then publishes after the pull request has been merged.

In plain words
What is it for?
Use it to prepare or publish a package release using semantic versioning, such as major, minor, and patch versions.
Why use it?
It separates preparation and publication so a human can review and merge the changes in between. It also checks pull-request status, package versions, tags, and release ordering instead of merging on its own.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions .claude-plugin.

Part of the hb plugin — 41 skills, 4 agents shipped together

Good fit Use it to prepare or publish a package release using semantic versioning, such as major, minor, and patch versions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/helderberto/agent-skills/to-release
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 helderberto/agent-skills --skill to-release
Clone the repo
git clone --depth 1 https://github.com/helderberto/agent-skills

Made for: Claude Code.

Or install hb, the plugin that ships this one along with the rest of its 41 skills, 4 agents.

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 to-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/helderberto/agent-skills/to-release/github.svg)](https://agentmods.dev/skills/helderberto/agent-skills/to-release)
Your own site
<a href="https://agentmods.dev/skills/helderberto/agent-skills/to-release"><img src="https://agentmods.dev/badge/skills/helderberto/agent-skills/to-release/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 to-release

Your own site · 80×15
<a href="https://agentmods.dev/skills/helderberto/agent-skills/to-release"><img src="https://agentmods.dev/badge/skills/helderberto/agent-skills/to-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,183 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.00033 $0.01183
Opus 5.5 $0.00013 $0.00473
Sonnet 5.5 $0.00007 $0.00237
Haiku 4.5 $0.00003 $0.00118

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

Security

Grade A, and why

to-release 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 2d 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.

skills/to-release/SKILL.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

To Release

For libraries and other versioned packages. One command, two runs; the PR's state picks the phase: open → prepare, merged → publish. You review and merge in between. This skill never merges.

1. Resolve

gh auth status fails → stop: "Run ! gh auth login, then /hb:to-release again." PR from $ARGUMENTS, else the current branch's: gh pr view <PR> --json number,state,headRefName,baseRefName,mergeCommit,title,body. Closed unmerged → stop.

Versions follow semver: MAJOR.MINOR.PATCH, pre-releases X.Y.Z-<id>.N with alpha < beta < rc < the release. git fetch origin --tags, then sort with git -c versionsort.suffix=- tag --sort=-v:refname: plain v:refname ranks 1.0.0 below its own -rc. The first line is the previous tag; the first without a - suffix is the previous stable. New tags match their format (v1.2.3 or 1.2.3). No tag yet → first release at the manifest version.

Prepare (PR open)

  1. Checks: gh pr checks <PR> red or pending → stop and report.

  2. Version: a manifest in the PR (package.json, .claude-plugin/plugin.json, Cargo.toml, pyproject.toml, …) is ahead of the previous tag → use it. Otherwise:

    • Base bump from the commits since the previous stable: ! or BREAKING CHANGE → major, feat → minor, else patch. Below 1.0.0, major becomes minor.
    • --pre <id>: previous tag is a pre-release of the same base → same <id> increments N, a later <id> restarts at .0, an earlier one stops and reports. Otherwise apply the base bump, then -<id>.0.
    • No --pre and the previous tag is a pre-release → promote its base (1.0.0-rc.2 → 1.0.0).

    Bump every file that carries the version, including copies the repo's docs require, in each file's own syntax (PEP 440 writes 1.0.0a0; the tag stays semver), and commit chore(release): <tag>. Done when every version-bearing file reads the new version.

  3. Changelog: CHANGELOG.md exists without an entry for this version → prepend one in its format and commit. No file → the release notes are the changelog; don't create one.

  4. Notes: shaped like the previous release (gh release view <previous> --json name,body): its title, sections, voice, and closing PR ref. Write them from the PR body and the commits since the previous tag; a stable release spans everything since the previous stable, pre-releases included. No previous release → ## Added / ## Changed / ## Fixed, empty ones omitted.

  5. Draft: gh release create <tag> --draft --title <title> --notes-file <file>, plus --prerelease for a pre-release so it never becomes Latest; a draft for this tag exists → gh release edit <tag> --notes-file <file>. A draft creates no tag. Push the branch.

Read the full file on GitHub · 46 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. 2d ago Changed 18cd9de6004f
  2. 3d ago First seen · 46 lines · 33 tokens per session scan A f4c704fcff64

Subscribe to this mod's changes

to-release is a skill published in the GitHub repository helderberto/agent-skills (17 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 1,183 once invoked, about $0.0001 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-10-20.

Related

Other skills, from other repositories

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple…

addyosmani/agent-skills · 89 tokens

production-deployment

Zero-downtime deployments with pre-flight checks, staged rollouts, and rollback plans. Never ship to production without a verified rollback strategy.

DevelopersGlobal/ai-agent-skills · 32 tokens

shipping-and-launch

A production-release checklist and planning guide for putting software in front of real users. It covers testing, security, monitoring, staged rollout, and rollback, which means returning to the previous working version.

vinvcn/addyosmani-agent-skills-zh · 49 tokens

shipping-and-launch

Prepares production launches. Use when preparing to deploy to production. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.

borhen68/SkillEngine · 45 tokens

finishing-a-development-branch

A process for finishing a completed development branch. A branch is a separate line of code changes that can later be merged or submitted as a pull request.

jnMetaCode/superpowers-zh · 25 tokens

git-workflow

Trunk-based development with atomic commits, clean history, and meaningful commit messages. Every commit should be deployable.

DevelopersGlobal/ai-agent-skills · 27 tokens