release

A command for releasing the domux project by checking a version, validating the repository, and starting its GitHub release workflow.

In plain words
What is it for?
Preparing a versioned domux release, running the required repository checks, tagging the current commit, pushing the tag, and monitoring the GitHub Action.
Why use it?
It adds checks before creating and pushing a release tag, helping catch invalid versions, unsynced code, failed builds, and failed tests.

Command for Claude Code

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.

agentmods
npx agentmods add commands/pranav7/domux/release
Clone the repo
git clone --depth 1 https://github.com/pranav7/domux

Made for: Claude Code.

Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00016 $0.00602
Opus 5 $0.00008 $0.00301
Sonnet 5 $0.00003 $0.00120
Haiku 4.5 $0.00002 $0.00060

Measured 2d ago against content hash a5292f1c5352, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

release scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Print the URL and the asset list so the user can verify the curl installer one-liner will resolve correctly.
.claude/commands/release.md · 56 lines

How it starts

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

Cut a new domux release at version $ARGUMENTS.

The release flow for this repo is:

  • Tag pushed to GitHub → .github/workflows/release.yml builds darwin arm64 + amd64 binaries → publishes a GitHub release with tarballs + SHA256SUMS.

Do the following in order. Stop and report if any step fails — do not retry destructively.

1. Validate the version

  • $ARGUMENTS must look like vMAJOR.MINOR.PATCH (e.g. v0.1.0). Reject anything else.
  • Run git tag --list "$ARGUMENTS" — if the tag already exists, stop and tell the user.

2. Verify clean release state

  • git rev-parse --abbrev-ref HEAD must equal main. If not, stop.
  • git fetch origin main then verify git rev-parse HEAD == git rev-parse origin/main. If local is ahead, ask the user to push first. If behind, ask before fast-forwarding.
  • git status --porcelain — warn the user if the working tree is dirty, but proceed if they confirm (in-progress unrelated work is common here).
  • Confirm go build ./... and go test ./... both pass on the current HEAD. If either fails, stop.

3. Confirm with the user

Show a one-line summary like:

Release v0.2.0 at <short-sha> "<commit subject>" — push tag and trigger CI?

Wait for explicit confirmation before continuing.

4. Tag and push

  • git tag -a $ARGUMENTS -m "Release $ARGUMENTS"
  • git push origin $ARGUMENTS

5. Watch the workflow

  • gh run list --workflow=release.yml --limit 1 --json databaseId,status,conclusion,headBranch to find the run.
  • gh run watch <run-id> --exit-status to follow it. If it fails, print the failed job's log tail and stop — do not retry without user input.

6. Report the release URL

When the workflow succeeds:

  • gh release view $ARGUMENTS --json url,assets --jq '{url, assets: [.assets[].name]}'
  • Print the URL and the asset list so the user can verify the curl installer one-liner will resolve correctly.

Notes

  • Never use --force on the tag push.
  • If the user passes no version, ask which version they want — don't auto-bump silently.
  • This command does NOT merge feature branches. Run that yourself before tagging.

Read the full file on GitHub · 56 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 First seen · 56 lines · 16 tokens per session scan A a5292f1c5352

Subscribe to this mod's changes

release is a command published in the GitHub repository pranav7/domux (5 stars, last pushed 4d ago), licensed MIT. It adds 16 tokens to every session and 602 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.