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.
curl -O https://raw.githubusercontent.com/mingyo186/instrument-mcp/master/CLAUDE.mdgit clone --depth 1 https://github.com/mingyo186/instrument-mcpWrote 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.
[](https://agentmods.dev/instructions/mingyo186/instrument-mcp/claude-md)<a href="https://agentmods.dev/instructions/mingyo186/instrument-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mingyo186/instrument-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02011 | $0.02011 |
| Opus 5 | $0.01006 | $0.01006 |
| Sonnet 5 | $0.00402 | $0.00402 |
| Haiku 4.5 | $0.00201 | $0.00201 |
Grade A, and why
instrument-mcp CLAUDE.md 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Instrument MCP Server - Project Rules
Project Overview
계측기(오실로스코프, 로직 분석기, 멀티미터, 파워서플라이)를 MCP(Model Context Protocol)를 통해 AI에 연결하는 오픈소스 Python 서버.
Tech Stack
- Language: Python 3.12+
- MCP Framework: FastMCP (
fastmcp) - Instrument Communication: PyVISA + pyvisa-py (SCPI/VISA), saleae (Saleae API), pyserial
- Testing: pytest + pytest-asyncio
- Packaging: pyproject.toml (PEP 621)
- Linting: ruff
Directory Structure
src/
├── server.py # MCP 서버 진입점, FastMCP 인스턴스 생성
├── config.py # 설정 관리 (safety limits, connection defaults)
├── safety.py # 안전 계층: 쓰기 동작 승인, 범위 제한
├── drivers/
│ ├── __init__.py
│ ├── base.py # InstrumentDriver 추상 베이스 클래스
│ ├── visa_driver.py # SCPI/VISA 공통 드라이버
│ ├── saleae_driver.py # Saleae 전용 드라이버
│ └── serial_driver.py # 시리얼 통신 드라이버
├── tools/
│ ├── __init__.py
│ ├── oscilloscope.py # scope_* Tool 정의
│ ├── logic_analyzer.py # logic_* Tool 정의
│ ├── multimeter.py # dmm_* Tool 정의
│ └── power_supply.py # psu_* Tool 정의
├── mock/
│ ├── __init__.py
│ ├── mock_scope.py # 가상 오실로스코프
│ ├── mock_logic.py # 가상 로직 분석기
│ ├── mock_dmm.py # 가상 멀티미터
│ ├── mock_psu.py # 가상 파워서플라이
│ └── sample_data/ # 샘플 파형/프로토콜 JSON
├── resources/ # MCP Resource 정의 (데이터시트 스펙 등)
└── utils/
├── __init__.py
├── waveform.py # 파형 분석 유틸리티
└── protocol.py # 프로토콜 디코드 유틸리티
tests/
├── unit/ # Mock 기반 단위 테스트
└── integration/ # 실장비 연동 테스트 (CI에서 skip)
Architecture Rules
3-Layer Architecture
- Tool Layer (
src/tools/) - MCP Tool 정의. AI에게 노출되는 인터페이스. 비즈니스 로직 없음. - Driver Layer (
src/drivers/) - 장비 통신 추상화. SCPI 명령 조합, 응답 파싱. - Safety Layer (
src/safety.py) - 모든 쓰기 동작을 가로채서 범위 검증. Driver를 직접 호출하지 않고 Safety를 거침.
Tool → Safety → Driver 호출 흐름
Tool 함수 → safety.validate_write() → Driver.send_command()
Tool 함수 → Driver.query() (읽기는 Safety 불필요)
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.
- 7d ago First seen · 166 lines · 2,011 tokens per session scan A 0c9c640ba949
instrument-mcp CLAUDE.md is an instructions file published in the GitHub repository mingyo186/instrument-mcp (0 stars, last pushed 6mo ago), licensed MIT. It adds 2,011 tokens to every session, about $0.0101 per session on Opus 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-31.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.