instrument-mcp: Command for Claude Code

.claude/commands/run-mock.md

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

A command for starting the instrument-mcp server with virtual laboratory equipment instead of physical devices. Mock drivers are software replacements that imitate instruments such as oscilloscopes, logic analyzers, multimeters, and power supplies.

In plain words
What is it for?
Starting the server in mock mode by setting `INSTRUMENT_MCP_MOCK=1`. It supports testing all instrument tools against virtual devices on macOS, Linux, or Windows.
Why use it?
It allows the server and its tools to be tested without connecting real equipment. This is useful when hardware is unavailable or when testing device workflows safely.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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/run-mock.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 run-mock

README.md
[![agentmods](https://agentmods.dev/badge/commands/mingyo186/instrument-mcp/run-mock.svg)](https://agentmods.dev/commands/mingyo186/instrument-mcp/run-mock)
Your own site
<a href="https://agentmods.dev/commands/mingyo186/instrument-mcp/run-mock"><img src="https://agentmods.dev/badge/commands/mingyo186/instrument-mcp/run-mock.svg" alt="Measured on agentmods" 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 114 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.00114
Opus 5 $0.00000 $0.00057
Sonnet 5 $0.00000 $0.00023
Haiku 4.5 $0.00000 $0.00011

Measured 6d ago against content hash 6f6abb104132, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

run-mock 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 6d 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/run-mock.md · 17 lines

What it actually says

Mock 모드로 MCP 서버를 실행합니다.

실행

환경변수 INSTRUMENT_MCP_MOCK=1을 설정하고 서버를 시작합니다:

INSTRUMENT_MCP_MOCK=1 python -m src.server

Windows에서는:

set INSTRUMENT_MCP_MOCK=1 && python -m src.server

서버가 정상 시작되면 모든 장비가 가상 Mock 드라이버로 동작합니다. 실제 장비 없이도 모든 Tool을 테스트할 수 있습니다.

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. 6d ago First seen · 17 lines · 0 tokens per session scan A 6f6abb104132

Subscribe to this mod's changes

run-mock 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 114 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.