agent-tail: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from gillkyle/agent-tail. It costs 0 tokens per session (618 once invoked), scanned A, original, MIT.

A release command for publishing a new version of every package in a code project to npm, the package registry commonly used by JavaScript and TypeScript projects.

In plain words
What is it for?
Use it when releasing bug fixes, new features, or breaking changes across multiple npm packages.
Why use it?
It organizes checks, version selection, changelog updates, commits, tags, builds, and publishing so release steps are not missed.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is gillkyle/agent-tail's own configuration. It tells Claude Code how to work on agent-tail itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-tail configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gillkyle/agent-tail. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gillkyle/agent-tail/main/.claude/commands/release.md
Clone the repo
git clone --depth 1 https://github.com/gillkyle/agent-tail

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/gillkyle/agent-tail/release/github.svg)](https://agentmods.dev/commands/gillkyle/agent-tail/release)
Your own site
<a href="https://agentmods.dev/commands/gillkyle/agent-tail/release"><img src="https://agentmods.dev/badge/commands/gillkyle/agent-tail/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/gillkyle/agent-tail/release"><img src="https://agentmods.dev/badge/commands/gillkyle/agent-tail/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 618 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.00000 $0.00618
Opus 5.5 $0.00000 $0.00247
Sonnet 5.5 $0.00000 $0.00124
Haiku 4.5 $0.00000 $0.00062

Measured 2mo ago against content hash 8cf1a5ec6ee6, 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 2mo 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.

.claude/commands/release.md · 59 lines

How it starts

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

Release

Publish a new version of all packages to npm.

Steps

  1. Pre-flight checks — Run these in parallel:

    • pnpm run test — all tests must pass
    • pnpm run typecheck — no type errors
    • pnpm run build — all packages build cleanly
    • git status — check for uncommitted changes
  2. Determine version bump — Ask the user which bump type to apply:

    • pnpm version:patch (0.x.Y → 0.x.Y+1) — bug fixes
    • pnpm version:minor (0.X.y → 0.X+1.0) — new features
    • pnpm version:major (X.y.z → X+1.0.0) — breaking changes

    If the user already specified a version bump type, use that directly without asking.

  3. Update the changelog — Add a new entry to docs/src/app/changelog/page.tsx in the releases array. Follow the existing format:

    {
      version: "<new version>",
      date: "<Month Year>",
      changes: [
        { type: "added" | "fixed" | "improved" | "removed", text: <>Description</> },
      ],
    },
    

    Ask the user what changes to include if not obvious from recent commits.

  4. Commit and tag — Stage all changes and create a version commit and tag:

    git add -A
    git commit -m "v<new version>"
    git tag v<new version>
    
  5. Build — Run pnpm -r run build to generate fresh dist files.

  6. Prompt user to publish — Display this command for the user to run manually (requires their OTP from authenticator):

    pnpm -r publish --access public --no-git-checks --otp=<OTP>
    

    Do NOT run the publish command yourself. The user must run it with their OTP code.

  7. After publish — Remind the user to push the commit and tag:

    git push && git push --tags
    

Important Notes

  • All four packages (agent-tail-core, vite-plugin-agent-tail, next-plugin-agent-tail, agent-tail) share the same version number.
  • Always use pnpm publish, never npm publish — pnpm resolves workspace:^ dependencies at publish time.
  • npm 2FA is enabled, so every publish requires an --otp code.
  • The --no-git-checks flag is needed because the build step generates dist files that make the working tree dirty.
  • Core must be published first since other packages depend on it. The pnpm -r publish command handles this via the workspace dependency graph.

Read the full file on GitHub · 59 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. 2mo ago First seen · 59 lines · 0 tokens per session scan A 8cf1a5ec6ee6

Subscribe to this mod's changes

release is a command published in the GitHub repository gillkyle/agent-tail (93 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 618 tokens. 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.

Related

release compared with commands from other repositories

release next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
releasegillkyle/agent-tailCommand938mo agoMITA0Claude Code
operations-agentfabriqaai/specs.mdCommand2253d agoMITA13Claude Code
landgmickel/flow-nextCommand717yesterdayMITA13Claude Code
qualityDesko77/claude-code-skills-1cCommand90yesterdayMITA18Claude Code
release-notesOpenHands/extensionsCommand176yesterdayMITA44Claude Code
release-managerruvnet/agentic-flowCommand838yesterdaynoneA0Claude Code
create-prdsswift/ionCommand5yesterdayMITA28Claude Code