CommandMate: Skill for Claude Code

.claude/skills/release/SKILL.md

release is a skill for Claude Code from Kewton/CommandMate. It costs 36 tokens per session (12,207 once invoked), scanned A, original, MIT.

A release procedure for increasing a project’s version, merging changes from the develop branch into main, creating a tag and GitHub Release, and merging the result back. GitHub then publishes the package to npm automatically after the release.

In plain words
What is it for?
Preparing patch, minor, major, or explicitly numbered releases for an npm package using GitHub pull requests, tags, releases, and automated publishing.
Why use it?
It gives the project a fixed release path and prevents running package publishing commands locally without the required authentication.

Skill for Claude Code

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

This is Kewton/CommandMate's own configuration. It tells Claude Code how to work on CommandMate 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 CommandMate configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/changelog-fragments.mjs bump-floor --current "$CURRENT_VERSION" --next "$NEXT_VERSION".

Reuse

Borrowing it

Nothing to install: this file belongs to Kewton/CommandMate. 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/Kewton/CommandMate/main/.claude/skills/release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Kewton/CommandMate

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/skills/kewton/commandmate/release/github.svg)](https://agentmods.dev/skills/kewton/commandmate/release)
Your own site
<a href="https://agentmods.dev/skills/kewton/commandmate/release"><img src="https://agentmods.dev/badge/skills/kewton/commandmate/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/skills/kewton/commandmate/release"><img src="https://agentmods.dev/badge/skills/kewton/commandmate/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,207 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 308
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00036 $0.12207
Opus 5.5 $0.00014 $0.04883
Sonnet 5.5 $0.00007 $0.02441
Haiku 4.5 $0.00004 $0.01221

Measured 18d ago against content hash 0aa16b51d8e3, 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 18d 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/skills/release/SKILL.md · 737 lines

How it starts

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

リリーススキル

develop でバージョンを上げ、develop → main の PR 経由で main へ反映し、タグ・GitHub Release・develop へのマージバックまでを実行するスキルです。

npm publish は行いません。 .github/workflows/publish.yml が GitHub Release の published を契機に OIDC(npm Trusted Publishers)で自動 publish します。ローカルには publish 用の認証が無いため、npm publish を手元で実行してはいけません。

使用方法

/release patch      # パッチバージョンアップ (0.10.0 → 0.10.1)
/release minor      # マイナーバージョンアップ (0.10.0 → 0.11.0)
/release major      # メジャーバージョンアップ (0.10.0 → 1.0.0)
/release 1.0.0      # 直接バージョン指定

前提条件

  • develop ブランチが最新で、origin/develop と同期していること(リリースは develop 基点。main 基点ではない)
  • 作業ツリーがクリーンであること
  • 検証ゲートが通ること(Phase 2-3 参照)。npm run build は primary checkout で回さない — 稼働サーバの .next を壊すため。build の検証はリリース PR の CI が行う

全体の流れ

develop ──PR (squash)──> main ──annotated tag──> GitHub Release 作成
                                                        │
                                                        └─> publish.yml (OIDC) ──> npm
develop <──merge -s ours── main      (祖先復元。squash で切れるため必須)

release/* ブランチは経由しない。 origin/release/v* は v0.5.x までしか存在せず、 release ブランチを切る手順(#1202)は v0.10.0 で廃止されている。publish.yml のトリガーは on: release: types: [published] = GitHub Release オブジェクトの公開であって、 ブランチへの push ではない。

このスキルは develop からしか実行できない(Phase 1-1 で確認し、それ以外は中断する)。

この手順が「なぜこの形か」

事実 理由
main へ直接 push しない .git/hooks/pre-push が protected_branch='main' で拒否する。PR 経由が唯一の経路
PR は develop → main v0.10.0 以降の実績(#1314 / #1325)。release/vX.Y.Z ブランチを切る旧手順(#1202)は使わない
squash マージ 上記 PR は squash される。その結果 develop の祖先が切れるため、マージバックが必須になる
マージバックは -s ours squash 後は main の tree が develop と同一なので、内容ではなく祖先関係だけを復元する
CHANGELOG の節は apply で生成 エントリは PR ごとの断片(changelog.d/<N>.md)で develop に入る。並列の PR が ## [Unreleased] で衝突しないようにするため(#2641)
Release ノートは CHANGELOG 転記 v0.10.0 以降の実績。--generate-notes は v0.9.1 までの形式
アプリ内の「新機能と改善」は release-notes/X.Y.Z.json 画面の言語(ja / en)に合わせて出すため。CHANGELOG は日本語だけなので、そのままは出せない(2-2b)
npm publish しない publish.yml が Release 契機で自動実行する(OIDC / provenance 付き)
リリース後も稼働サーバは旧 bundle のまま primary checkout で build しないので .next は据え置き。これは正常(Phase 4-7 参照)

Read the full file on GitHub · 737 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 18d ago Changed · +12 lines 0aa16b51d8e3
  2. 24d ago Changed · +3 lines 883b94192280
  3. 1mo ago Changed · +103 lines eee8a9fb0b68
  4. 1mo ago Changed · +48 lines f13cec50f5c5
  5. 1mo ago Changed · +22 lines 27516e538df8
  6. 1mo ago First seen · 549 lines · 36 tokens per session scan A 911b9e7e958f

Subscribe to this mod's changes

release is a skill published in the GitHub repository Kewton/CommandMate (44 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 12,207 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.