release

release is a command for Claude Code from capazme/mcp-legal-it. It costs 56 tokens per session (1,619 once invoked), scanned A, original, Apache-2.0.

A release command for the mcp-legal-it plugin, including version updates, changelog changes, testing, branching, merging, and tagging.

In plain words
What is it for?
Use it to prepare a specified release, update all required manifests and descriptions, verify the tool count, run tests, and create the release tag.
Why use it?
It organizes the steps needed to publish a plugin version and stops before release if the unit tests fail.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; positional $N argument.

Part of the legal-it plugin — 23 skills, 8 commands, 6 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to prepare a specified release, update all required manifests and descriptions, verify the tool count, run tests, and create the release tag.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/capazme/mcp-legal-it/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/capazme/mcp-legal-it

Made for: Claude Code.

Or install legal-it, the plugin that ships this one along with the rest of its 23 skills, 8 commands, 6 agents, 1 hook, 1 MCP server.

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/capazme/mcp-legal-it/release/github.svg)](https://agentmods.dev/commands/capazme/mcp-legal-it/release)
Your own site
<a href="https://agentmods.dev/commands/capazme/mcp-legal-it/release"><img src="https://agentmods.dev/badge/commands/capazme/mcp-legal-it/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/capazme/mcp-legal-it/release"><img src="https://agentmods.dev/badge/commands/capazme/mcp-legal-it/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 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,619 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.00056 $0.01619
Opus 5 $0.00028 $0.00809
Sonnet 5 $0.00011 $0.00324
Haiku 4.5 $0.00006 $0.00162

Measured 10d ago against content hash aebd9144cdb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d 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.

plugin/commands/release.md · 161 lines

How it starts

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

Comando /release

Alternativa automatizzata: python3 release.py --from-develop esegue tutti questi step con bump automatico di tutti i 6 manifest, conteggio tool, verifica pre-tag e rollback in caso di errore. Usalo se possibile.

Segui questi step ESATTAMENTE nell'ordine indicato. Non saltare nessun passaggio.

Step 1 — Determina la versione

L'utente fornisce la versione target (es. 2.4.0). Se non la fornisce, leggi la versione attuale da pyproject.toml e proponi il bump appropriato:

  • PATCH (Z+1): bug fix, aggiornamento dati
  • MINOR (Y+1): nuovi tool, nuove feature
  • MAJOR (X+1): breaking change nelle API dei tool

Step 2 — Conta i tool attuali

grep -c "@mcp.tool" plugin/server/src/tools/*.py | awk -F: '{sum+=$2} END {print sum}'

Salva il numero — serve per aggiornare le description.

Step 3 — Verifica test

.venv/bin/pytest tests/unit/ -q --tb=short

Se ci sono fallimenti, STOP. Non procedere con la release.

Step 4 — Crea release branch

git checkout develop
git pull origin develop
git checkout -b release/X.Y.Z

Step 5 — Bumpa la versione in TUTTI i 6 file

Sostituisci la versione precedente con la nuova in OGNUNO di questi file:

  1. pyproject.tomlversion = "X.Y.Z"
  2. plugin/server/pyproject.tomlversion = "X.Y.Z"
  3. dxt/manifest.json"version": "X.Y.Z"
  4. plugin/server/manifest.json"version": "X.Y.Z"
  5. plugin/.claude-plugin/plugin.json"version": "X.Y.Z"
  6. .claude-plugin/marketplace.json"version": "X.Y.Z" (dentro plugins[0])

Step 6 — Aggiorna le description con il conteggio tool corretto

Aggiorna il numero di tool nelle description di questi 4 file (usa il conteggio dello Step 2):

  1. dxt/manifest.json → campo "description"
  2. plugin/server/manifest.json → campo "description"
  3. plugin/.claude-plugin/plugin.json → campo "description"
  4. .claude-plugin/marketplace.json → campo "description" dentro plugins[0]

Step 7 — Aggiorna i changelog

Read the full file on GitHub · 161 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. 10d ago First seen · 161 lines · 56 tokens per session scan A aebd9144cdb3

Subscribe to this mod's changes

release is a command published in the GitHub repository capazme/mcp-legal-it (15 stars, last pushed 10d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,619 once invoked, about $0.0003 per session on Opus 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.