release

release is a command for Claude Code from hamr0/liteagents. It costs 17 tokens per session (3,686 once invoked), scanned A, original, Apache-2.0.

An end-to-end workflow for delivering a feature from verification through documentation, merging, and tagging. A feature branch is a separate line of development that can be reviewed before it is merged into the main branch.

In plain words
What is it for?
Use it to prepare and release a feature branch. It runs available verification gates, handles unfinished feature changes, and performs the release steps while keeping publishing manual.
Why use it?
It organizes release work around existing quality checks and a clear confirmation point before history-changing actions. It prevents the main branch from being released directly.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to prepare and release a feature branch. It runs available verification gates, handles unfinished feature changes, and performs the release steps while keeping publishing manual.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hamr0/liteagents/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/hamr0/liteagents

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/hamr0/liteagents/release/github.svg)](https://agentmods.dev/commands/hamr0/liteagents/release)
Your own site
<a href="https://agentmods.dev/commands/hamr0/liteagents/release"><img src="https://agentmods.dev/badge/commands/hamr0/liteagents/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/hamr0/liteagents/release"><img src="https://agentmods.dev/badge/commands/hamr0/liteagents/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,686 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.00017 $0.03686
Opus 5.5 $0.00007 $0.01474
Sonnet 5.5 $0.00003 $0.00737
Haiku 4.5 $0.00002 $0.00369

Measured 14d ago against content hash 4520d1dc7466, 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 14d 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.

packages/droid/commands/release.md · 241 lines

How it starts

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

Release preparation orchestrator for the current branch. It runs its own short mechanical checks, writes the CHANGELOG, bumps the version and commits — then stops and reports. It never pushes, opens a PR, merges, tags, or publishes: those are yours to authorize by name. The general docs sweep runs earlier, in /branch-review.

It does not review code. Review is a separate command that must have run first.

Guardrails

  • Spawn a worker, mid tier stated explicitly (omitted inherits the parent's, not the balanced one; not cheapest/fastest either — judgment degrades there; never a vendor model name). Fall back to running inline if your tool has no subagent mechanism.
  • Escalate, never assume. Anything you cannot decide, cannot verify, or that this spec does not cover → stop and report it to the orchestrator (the main session). Never improvise, never widen scope, never fix a finding you noticed along the way.
  • Nothing leaves the machine. No git push, no gh, no npm publish, under any circumstance — not even if every gate is green. You report the sequence; a human authorizes it.

Phase 0 — Preflight (current branch, always)

  • Release the branch you are on. No branch argument, no branch creation.
  • On main → stop and ask what should be released. main is only ever the merge target; never release it, never commit to it.
  • The tree must be clean — do not commit for the user. Run git status --porcelain. Any line at all — modified, staged, or untracked — is a stop: list the paths and say "commit this to the branch, re-run /branch-review, then re-run /release." Committing here would create a commit after the review and so fail Phase 0.5 by its own rule on the very next step; a phase that guarantees the next phase fails is not a phase.
  • git fetch origin; the release diff is origin/main...HEAD. Empty → stop, nothing to release.
  • Record both version numbers. Read the local version (package.json or this project's equivalent) and, if the project has a publish path, the published one (npm view <pkg> version, or the registry equivalent). Report them side by side. Local ahead of published means a version was cut on a branch and never published — Phase 3 cannot see that gap unless you record it here, and a worker that cannot see it will re-cut a number that already exists.
  • Print a one-line plan: branch · commit count · files changed · HEAD SHA · local version → published version.

Read the full file on GitHub · 241 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. 14d ago Changed · +1 lines 4520d1dc7466
  2. 15d ago Changed · +15 lines 4ca87882bb35
  3. 16d ago Changed · +11 lines a13a86d13e56
  4. 25d ago Changed · +8 lines 09ee87263e96
  5. 26d ago Changed · +11 lines cfe9db91f5ea
  6. 1mo ago Changed · -28 lines · +2 tokens per session 1ec9560a37b5
  7. 1mo ago Changed · +30 lines 5900b3208671
  8. 1mo ago Changed · -3 lines · -2 tokens per session 1714e28ecac2
  9. 1mo ago Changed · +105 lines · -4 tokens per session ed0ad61af753
  10. 1mo ago First seen · 91 lines · 21 tokens per session scan A 58070ae37e54

Subscribe to this mod's changes

release is a command published in the GitHub repository hamr0/liteagents (25 stars, last pushed 3d ago), licensed Apache-2.0. It adds 17 tokens to every session and 3,686 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-08-30.