release

release is a command for Claude Code from hamza-ali-shahjahan/hamzaish. It costs 40 tokens per session (1,725 once invoked), scanned A, original, MIT.

A release command that chooses the next semantic version tag, builds release notes from a changelog, and creates an annotated GitHub Release. Semantic versioning is a convention where version numbers communicate the scale of changes.

In plain words
What is it for?
Use it at a major-cycle boundary to tag the next release, publish it on GitHub, and mark it as the latest release.
Why use it?
It standardizes public releases and keeps their version, notes, and GitHub status aligned.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it at a major-cycle boundary to tag the next release, publish it on GitHub, and mark it as the latest release.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hamza-ali-shahjahan/hamzaish/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.

Clone the repo
git clone --depth 1 https://github.com/hamza-ali-shahjahan/hamzaish

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/release/github.svg)](https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/release)
Your own site
<a href="https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/release"><img src="https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/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 release

Your own site · 80×15
<a href="https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/release"><img src="https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,725 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.00040 $0.01725
Opus 5.5 $0.00016 $0.00690
Sonnet 5.5 $0.00008 $0.00345
Haiku 4.5 $0.00004 $0.00172

Measured 3mo ago against content hash 81be45145a1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 3mo 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.

factory/commands/release.md · 48 lines

How it starts

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

The user invoked: /release $ARGUMENTS

This is the public-release step of the factory cycle. It turns the internal meta/changelog.md history into a polished GitHub Release that strangers see — and a matching Announcement (Discussions → Announcements) that reaches the people already watching. The Release is discovery; the Announcement is reach — a cut isn't done until both exist. It runs at the same major-cycle boundary the learning loop does — /learn-loop promotes what the cycle taught; /release publishes what the cycle shipped. Run /learn-loop first if the boundary also produced promotable learnings, so the changelog is current before you cut.

When to run

Only at a major-cycle boundary — the same triggers as the learning loop (meta/learning-loop-rubric.md §1):

  • A product crosses a stage gate, ships, or is killed.
  • A session/sprint closed with a notable win or notable friction worth marking.
  • The factory itself changed in a way worth surfacing to the public (new skill/agent/command/hook/playbook, a hardening pass, a docs rearchitecture).
  • The heartbeat: unreleased changelog entries have accumulated AND it's been 7+ days since the last tag. A visibly-alive release feed is itself a distribution channel (factory/playbooks/launch-stage/release-cadence-as-content.md) — entries sitting unreleased for weeks make the repo look dead while it's actually shipping.

If none of those fired since the last release, say so and stop — every-session releases are noise. Most cycles append a changelog line and move on; only boundaries that meaningfully change what a stranger gets warrant a tag.

Steps

  1. Confirm the boundary. State which trigger fired (use $ARGUMENTS as the cycle label if it reads like one). If it isn't a boundary, stop and tell the user.
  2. Find the public tip. This repo's published HEAD is origin/main. Releases tag that commit, never a feature branch. Fetch first: git fetch origin main. If the current checkout is on a feature branch, do all git work from a main worktree (git worktree add --detach /tmp/hamzaish-rel origin/main) so the checkout is undisturbed; tag origin/main's SHA.
  3. Pick the next version — with two safety gates. Read the last tag (git describe --tags --abbrev=0 / gh release list) and the current factory version line in meta/changelog.md. Default the bump from the cycle: factory-behavior change → minor, fixes/docs only → patch, breaking/contract change → major. $ARGUMENTS overrides (a bump word or an explicit vX.Y.Z). State the chosen version and why. Then gate:
    • Never cut ≤ the latest published release. If the chosen version is lower than or equal to the newest published tag on gh release list, stop and re-derive — publishing backwards breaks anyone tracking "latest."
    • Recover before re-cutting. If the chosen tag already exists but has no published Release (a prior run died mid-cut), don't mint a new version — resume that tag: verify it points at the right SHA, assemble notes, publish it. If the tag exists with a published Release, stop — never overwrite a published release; pick the next number instead.
  4. Assemble the notes from meta/changelog.md. First run bun run check-changelog — it fails if any shipped version (vX.Y in a commit subject) is missing its changelog header (a header dropped in a rebase would silently omit a shipped feature from the public notes). Fix any miss before assembling. Then collect every changelog entry added since the last released tag (newest first). Fold their What changed / Why bullets into a polished, structured markdown release body — a one-line what-it-is, a Highlights section (the few changes that matter to a reader), a What's inside / changed section, and Get started + License footers. Base it ONLY on what's on origin/main; no unreleased feature-branch work, no invented features. Honest copy (operating principle #13) applies to release notes too. Write it to a temp notes file.
  5. Cut the tag + Release (background any network op so a hung remote can't wedge the turn):
    • Annotated tag at the public SHA: git tag -a <version> <sha> -m "<version> — <headline>"
    • Push it: git push origin <version> (background).
    • Create the Release: gh release create <version> --title "<version> — <headline>" --latest --notes-file <notes> (background).
  6. Verify. gh release view <version> / gh release list — confirm it published, isn't a draft, and is marked Latest. Report the URL.
  7. Announce it — recommend, then publish (don't skip this). A GitHub Release is a page strangers have to go find; an Announcement reaches everyone watching. A release that changes what a user gets is not fully shipped until it's announced — release notes and the announcement are two surfaces of the same cut. Every user-facing cut:
    • Recommend first. State that an announcement is due and draft it. It's a public post — publish only on the operator's explicit go (the same gate as the Release itself).
    • Draft in the announcement voice, not the changelog voice. Lead with Builder Mode (standing rule — never "a factory that doesn't stop at code"), fold the release Highlights into reader-facing prose with concrete bun run … commands, keep the "factory improving the factory" story, and close warm — matching the existing posts in the repo's Announcements.
    • Publish to Discussions → Announcements (gh api graphql createDiscussion, the Announcements category), and link back to the Release.
    • Keep the pinned Welcome current in the same pass. Re-check the pinned Welcome against bun run check-counts — a pinned post with stale counts (practices · agents · playbooks) or off-brand positioning is the first thing a visitor reads; fix drift with updateDiscussion.
  8. Record it. Append a one-line changelog entry under the dated heading: /release <version>: cut from <N> changelog entries since <prev>. Bump the factory version line if it lagged.

Read the full file on GitHub · 48 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. 3mo ago First seen · 48 lines · 40 tokens per session scan A 81be45145a1b

Subscribe to this mod's changes

release is a command published in the GitHub repository hamza-ali-shahjahan/hamzaish (11 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 1,725 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-09-03.

Related

release compared with commands from other repositories

release next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
releasehamza-ali-shahjahan/hamzaishCommand111mo agoMITA40Claude Code
landgmickel/flow-nextCommand736yesterdayMITA13Claude Code
qualityDesko77/claude-code-skills-1cCommand10310d agoMITA18Claude Code
release-notesOpenHands/extensionsCommand191yesterdayMITA44Claude Code
doc-changelogchristopherlouet/claude-baseCommand63d agoMITA0Claude Code
releaseelct9620/claudekitCommand103d agoMITA11Claude Code
releaseparuff/uFawkesAICommand22d agoMITA39Claude Code