unity-mcp-server: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from akiojin/unity-mcp-server. It costs 46 tokens per session (2,154 once invoked), scanned A, original, MIT.

An interactive release command for projects that develop on a branch named develop and publish changes through a version tag and a pull request to main.

In plain words
What is it for?
Use it to review changes since the last tag, update the version, create a tag, and prepare the develop-to-main release pull request.
Why use it?
It checks the branch, uncommitted files, and remote synchronization before analyzing changes and choosing a software version.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool; mentions Claude Code.

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/release/update-versions.mjs <new-version>.

Reuse

Borrowing it

Nothing to install: this file belongs to akiojin/unity-mcp-server. 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/akiojin/unity-mcp-server/main/.claude/commands/release.md
Clone the repo
git clone --depth 1 https://github.com/akiojin/unity-mcp-server

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/akiojin/unity-mcp-server/release/github.svg)](https://agentmods.dev/commands/akiojin/unity-mcp-server/release)
Your own site
<a href="https://agentmods.dev/commands/akiojin/unity-mcp-server/release"><img src="https://agentmods.dev/badge/commands/akiojin/unity-mcp-server/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/akiojin/unity-mcp-server/release"><img src="https://agentmods.dev/badge/commands/akiojin/unity-mcp-server/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 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,154 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.00046 $0.02154
Opus 5.5 $0.00018 $0.00862
Sonnet 5.5 $0.00009 $0.00431
Haiku 4.5 $0.00005 $0.00215

Measured 2mo ago against content hash 7d410aaefe37, 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 · 258 lines

How it starts

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

/release コマンド

LLMベースのインタラクティブリリースフローです。developブランチでのみ実行可能です。

前提条件チェック

以下を確認してください:

  1. developブランチであること: develop以外のブランチでは実行不可
  2. クリーンな状態: ワーキングディレクトリに未コミットの変更がないこと
  3. リモート同期: developブランチがリモートと同期していること
# 現在のブランチを確認
CURRENT_BRANCH=$(git branch --show-current)

# developブランチかチェック
if [ "$CURRENT_BRANCH" != "develop" ]; then
  echo "❌ エラー: /release コマンドは develop ブランチでのみ実行可能です"
  echo "現在のブランチ: $CURRENT_BRANCH"
  echo ""
  echo "以下の手順でdevelopブランチに移動してください:"
  echo "  git checkout develop"
  exit 1
fi

# ワーキングディレクトリの状態を確認
git status --porcelain

# タグを取得
git fetch --tags origin

developブランチでない場合、または未コミットの変更がある場合はエラーメッセージを表示して中止してください。

Phase 1: 変更分析

最新のタグから現在のHEADまでの変更を分析します。

# 最新タグを取得
git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0"

# タグからの変更履歴を取得
git log $(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0")..HEAD --oneline

# 変更ファイルの統計
git diff $(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0")..HEAD --stat

変更サマリーの生成

コミットログを分析し、以下の形式で日本語のサマリーを生成:

## 変更サマリー

### 新機能
- [feat: xxx] の説明

### バグ修正
- [fix: xxx] の説明

### 改善
- [perf: xxx] の説明

### その他
- [chore: xxx] の説明

Phase 2: バージョン判定

コミットメッセージを分析してsemverを決定:

検出内容 バージョン変更 用途
BREAKING CHANGE: または feat!: major (X.0.0) ユーザー向け破壊的変更
feat: minor (x.Y.0) ユーザー向け新機能のみ
fix:, perf: patch (x.y.Z) バグ修正、性能改善
chore:, refactor:, ci:, build:, docs:, test: なし 内部的な変更

コミットタイプの使い分け(重要)

feat: はユーザー向け新機能のみに使用。内部的な変更には適切なタイプを使う:

変更内容 正しいタイプ 誤ったタイプ
/releaseコマンド改善 chore(release): feat(release):
プラグイン構造変更 refactor(plugin): feat(plugin):
CI/Docker設定 ci: / chore(docker): feat(ci):
依存関係更新 chore(deps): feat(deps):
テスト追加 test: feat(test):
スキル設定変更 chore(skill): feat(skill):

ユーザー向け新機能の例(feat: を使用)

Read the full file on GitHub · 258 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 · 258 lines · 46 tokens per session scan A 7d410aaefe37

Subscribe to this mod's changes

release is a command published in the GitHub repository akiojin/unity-mcp-server (35 stars, last pushed 3d ago), licensed MIT. It adds 46 tokens to every session and 2,154 once invoked, about $0.0002 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.