instrument-mcp: Command for Claude Code

.claude/commands/add-scenario.md

add-scenario is a command for Claude Code from mingyo186/instrument-mcp. It costs 0 tokens per session (193 once invoked), scanned A, original, MIT.

A project command for implementing a new instrument-use scenario in the instrument-mcp server. A scenario is a complete sequence of tool calls for a practical task, such as debugging a power rail or diagnosing SPI communication.

In plain words
What is it for?
Adding sample data to mock drivers, identifying or creating the needed tools, and testing workflows such as power-rail debugging, board validation, and SPI diagnosis.
Why use it?
It turns a requested workflow into the required tool sequence, sample data, and integration test. Integration tests check that several parts work together in the intended order.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

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

Reuse

Borrowing it

Nothing to install: this file belongs to mingyo186/instrument-mcp. 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/mingyo186/instrument-mcp/master/.claude/commands/add-scenario.md
Clone the repo
git clone --depth 1 https://github.com/mingyo186/instrument-mcp

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 add-scenario

README.md
[![agentmods](https://agentmods.dev/badge/commands/mingyo186/instrument-mcp/add-scenario/github.svg)](https://agentmods.dev/commands/mingyo186/instrument-mcp/add-scenario)
Your own site
<a href="https://agentmods.dev/commands/mingyo186/instrument-mcp/add-scenario"><img src="https://agentmods.dev/badge/commands/mingyo186/instrument-mcp/add-scenario/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 add-scenario

Your own site · 80×15
<a href="https://agentmods.dev/commands/mingyo186/instrument-mcp/add-scenario"><img src="https://agentmods.dev/badge/commands/mingyo186/instrument-mcp/add-scenario.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 193 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.00193
Opus 5 $0.00000 $0.00097
Sonnet 5 $0.00000 $0.00039
Haiku 4.5 $0.00000 $0.00019

Measured 8d ago against content hash 54eca92c3e3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

add-scenario 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 8d 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/add-scenario.md · 17 lines

What it actually says

새로운 사용 시나리오를 구현합니다.

입력

  • 시나리오 설명: $ARGUMENTS

작업 절차

  1. 시나리오에 필요한 Tool 목록 파악
  2. 부족한 Tool이 있으면 /add-tool 커맨드로 추가
  3. Mock 드라이버에 시나리오에 맞는 샘플 데이터 추가 (src/mock/sample_data/)
  4. 시나리오 테스트 작성 (Tool 호출 순서를 검증하는 통합 테스트)
  5. 테스트 실행 확인

예시 시나리오

  • 전원 레일 디버깅: scope_connect → scope_capture → scope_analyze_ripple
  • 보드 초기 검증: psu_set_output → psu_enable → dmm_measure (여러 레일) → logic_decode_uart
  • SPI 통신 진단: logic_capture → logic_decode_spi → logic_check_timing
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. 8d ago First seen · 17 lines · 0 tokens per session scan A 54eca92c3e3e

Subscribe to this mod's changes

add-scenario is a command published in the GitHub repository mingyo186/instrument-mcp (0 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 193 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-08-31.