unity-mcp-server: Command for Claude Code

.claude/commands/speckit.clarify.md

speckit.clarify is a command for Claude Code from akiojin/unity-mcp-server. It costs 33 tokens per session (603 once invoked), scanned A, original, MIT.

A command for finding and resolving unclear parts of a software specification. A specification describes what should be built; this command asks focused questions and records the answers in spec.md.

In plain words
What is it for?
Use it before planning implementation to answer high-impact questions and update the relevant requirements, user stories, success criteria, and edge cases.
Why use it?
It reduces rework caused by unresolved decisions about scope, permissions, errors, success measures, security, or data lifecycle.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

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 →

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/speckit.clarify.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 speckit.clarify

README.md
[![agentmods](https://agentmods.dev/badge/commands/akiojin/unity-mcp-server/speckit.clarify/github.svg)](https://agentmods.dev/commands/akiojin/unity-mcp-server/speckit.clarify)
Your own site
<a href="https://agentmods.dev/commands/akiojin/unity-mcp-server/speckit.clarify"><img src="https://agentmods.dev/badge/commands/akiojin/unity-mcp-server/speckit.clarify/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 speckit.clarify

Your own site · 80×15
<a href="https://agentmods.dev/commands/akiojin/unity-mcp-server/speckit.clarify"><img src="https://agentmods.dev/badge/commands/akiojin/unity-mcp-server/speckit.clarify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 603 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.00033 $0.00603
Opus 5.5 $0.00013 $0.00241
Sonnet 5.5 $0.00007 $0.00121
Haiku 4.5 $0.00003 $0.00060

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

Security

Grade A, and why

speckit.clarify 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/speckit.clarify.md · 46 lines

What it actually says

ユーザー入力

$ARGUMENTS

空でない場合、続行する前にユーザー入力を考慮する必要があります。

目的

/speckit.plan の前に、仕様の曖昧さ/未決定事項を減らし、後工程の手戻りリスクを下げます。

実行手順

  1. リポジトリルートから .specify/scripts/bash/check-prerequisites.sh --json --paths-only を1回だけ実行し、FEATURE_SPEC(spec.mdの絶対パス)と FEATURE_DIR を取得します。

  2. spec.md を読み込み、曖昧点をスキャンします(例):

    • スコープ/境界(含む/含まない)
    • 役割/権限(誰が何できるか)
    • 例外/エラー時の挙動
    • 成功基準の測定可能性
    • セキュリティ/プライバシー(重要な前提)
    • データの一意性/ライフサイクル(データがある場合)
  3. 質問を最大5問に絞って、1問ずつ提示します:

    • それぞれが「実装/テスト/UX/運用」に実質的影響を持つものだけ
    • 可能なら2〜5択、または「5語以内」で答えられる形式にする
    • 先に次の質問を並べて提示しない
  4. 回答を受け取ったら、spec.md に反映します(ファイル書き込みあり):

    • ## Clarifications セクションがなければ追加
    • ### Session YYYY-MM-DD に、- Q: ... → A: ... を追記
    • 影響するセクション(要件/ストーリー/成功基準/エッジケースなど)へ具体的に反映
    • 矛盾する古い記述が残らないよう置換する
  5. 最後にユーザーへ以下を報告します:

    • 質問数(≤5)
    • 更新した spec.md のパス
    • 触ったセクション
    • まだ残る重要な不明点(あれば)
    • 次ステップ(/speckit.plan)の推奨
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 · 46 lines · 33 tokens per session scan A e3b05db60ded

Subscribe to this mod's changes

speckit.clarify is a command published in the GitHub repository akiojin/unity-mcp-server (35 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 603 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.