release-plugin

release-plugin is a command for Claude Code from stellarshenson/claude-code-plugins. It costs 0 tokens per session (2,745 once invoked), scanned A, original, MIT.

A release workflow for a library and its coding-agent plugins. It runs checks, publishes the library, synchronizes plugin versions, records the release, and commits and pushes the changes.

In plain words
What is it for?
Use it to lint and format a completed change, publish it, update related plugins, and send the release commit to the repository.
Why use it?
It groups the repeated release steps and enforces ordering around Git and version files, reducing mistakes when shipping finished work.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions .claude-plugin; mentions Claude Code.

Good fit Use it to lint and format a completed change, publish it, update related plugins, and send the release commit to the repository.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/stellarshenson/claude-code-plugins/release-plugin
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/stellarshenson/claude-code-plugins

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-plugin

README.md
[![agentmods](https://agentmods.dev/badge/commands/stellarshenson/claude-code-plugins/release-plugin/github.svg)](https://agentmods.dev/commands/stellarshenson/claude-code-plugins/release-plugin)
Your own site
<a href="https://agentmods.dev/commands/stellarshenson/claude-code-plugins/release-plugin"><img src="https://agentmods.dev/badge/commands/stellarshenson/claude-code-plugins/release-plugin/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-plugin

Your own site · 80×15
<a href="https://agentmods.dev/commands/stellarshenson/claude-code-plugins/release-plugin"><img src="https://agentmods.dev/badge/commands/stellarshenson/claude-code-plugins/release-plugin.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 2,745 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.02745
Opus 5.5 $0.00000 $0.01098
Sonnet 5.5 $0.00000 $0.00549
Haiku 4.5 $0.00000 $0.00275

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

Security

Grade A, and why

release-plugin 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.

.claude/commands/release-plugin.md · 149 lines

How it starts

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

Release Plugin

Full release pipeline: lint + format, publish the library, sync plugins to its version, journal, commit, push. Use when shipping a finished session's work as a marketplace release.

Execution discipline (READ FIRST - prevents the known failure modes)

These rules are not optional. Two real incidents motivated them: a parallel-tool batch that raced on the git index, and corrupted terminal output that led to a wrong "no Makefile" conclusion.

  • One step at a time. NEVER batch dependent operations in parallel. Every git mutation (add, rm, reset, commit, push) and every version-bump write MUST run as its own tool call, and you MUST read its result before the next. Parallel tool calls are allowed ONLY for independent read-only inspection (e.g. several grep/cat with no ordering between them) - never for anything that writes, and never across a step boundary.
  • .git/index.lock means a git process is mid-flight or crashed. If you see it: STOP, confirm no git command is still running, then rm -f .git/index.lock and re-verify with a single git status before continuing. Do not blindly retry the locked command.
  • Distrust corrupted/garbled tool output. If a result looks truncated, shows the wrong file, or contains content that cannot belong to the command (interleaving, control-sequence noise), do NOT draw conclusions from it. Re-run that ONE command alone with a sentinel (echo MARKER; <cmd>) and confirm the marker before trusting the output. A misread here once caused a wrong "make publish does not exist" conclusion - the target existed and had already run.
  • One synced version, the library leads. make publish bumps pyproject.toml (PATCH) and uploads to PyPI - that resulting number is vN, the single source of truth for the release. Step 4 then writes vN into the 22 plugin strings (7 plugin.json + 7 kimi.plugin.json + marketplace.json metadata + 7 entries) so library and plugins always match. NEVER publish the library by hand (uv build / twine) - always make publish. NEVER set the plugin version independently of vN (do not run /increment-plugin-version during release).
  • EVERY release ships BOTH the CLI and the plugins. There is no plugin-only release. The plugins are documentation for a CLI they cannot function without: skills and commands are written against the current flags, so shipping plugin text without the matching library strands every user on a CLI that rejects the flags the new docs tell them to use. This is not hypothetical - it is the unrecognized arguments: --svg incident, where plugins at 1.6.31 drove a library at 1.5.5. A "docs-only" change is still a CLI release: run make publish anyway so vN advances on both sides together. The only case where the library does not upload is make publish failing, and that ABORTS the release - it never downgrades to a plugin-only push.
  • Verify after every mutating step before proceeding. Publish → confirm the new pyproject.toml version + the PyPI upload. Sync → confirm all 22 plugin strings equal vN and zero stale ones remain. Stage → confirm the staged set matches intent and nothing leaked in. Commit → confirm file count + clean worktree. Push → confirm LOCAL == REMOTE.

Read the full file on GitHub · 149 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 · 149 lines · 0 tokens per session scan A de0abad1bd20

Subscribe to this mod's changes

release-plugin is a command published in the GitHub repository stellarshenson/claude-code-plugins (4 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,745 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-10-19.