Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/commands/circuit-synth/mcp-kicad-sch-api/run-reference-tests)<a href="https://agentmods.dev/commands/circuit-synth/mcp-kicad-sch-api/run-reference-tests"><img src="https://agentmods.dev/badge/commands/circuit-synth/mcp-kicad-sch-api/run-reference-tests.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.00000 | $0.02194 |
| Opus 5 | $0.00000 | $0.01097 |
| Sonnet 5 | $0.00000 | $0.00439 |
| Haiku 4.5 | $0.00000 | $0.00219 |
Grade A, and why
run-reference-tests 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.
This is a copy
100% identical to run-reference-tests — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 303 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reference Schematic Tests Command - kicad-sch-api
Usage
/run-reference-tests [project-name]
Description
Runs comprehensive tests against reference KiCAD schematic projects to validate parsing, manipulation, and format preservation across all schematic element types.
Parameters
project-name(optional): Specific reference project to test (e.g., "02_multiple_passive_components")--create-missing: Create test files for reference projects that don't have tests yet--format-validation: Focus on format preservation testing--performance: Include performance benchmarking
Reference Project Structure
tests/reference_kicad_projects/
├── README.md # Project checklist and status
├── 01_simple_resistor/ # ✅ Basic component
│ ├── simple_resistor.kicad_sch
│ └── test_simple_resistor.py
├── 02_multiple_passive_components/ # 🔲 Component variety
│ ├── multiple_passives.kicad_sch
│ └── test_multiple_passives.py
├── 04_label_types/ # 🔲 All label types
│ ├── label_types.kicad_sch
│ └── test_label_types.py
└── [... 25 more reference projects]
Implementation
#!/bin/bash
# Parse arguments
PROJECT_NAME=""
CREATE_MISSING=false
FORMAT_VALIDATION=false
PERFORMANCE=false
while [[ $# -gt 0 ]]; do
case $1 in
--create-missing)
CREATE_MISSING=true
shift
;;
--format-validation)
FORMAT_VALIDATION=true
shift
;;
--performance)
PERFORMANCE=true
shift
;;
-*)
echo "Unknown option: $1"
exit 1
;;
*)
PROJECT_NAME="$1"
shift
;;
esac
done
# Ensure we're in correct directory
cd python/tests/reference_kicad_projects || {
echo "❌ Must run from kicad-sch-api root"
exit 1
}
if [[ -n "$PROJECT_NAME" ]]; then
# Test specific project
if [[ ! -d "$PROJECT_NAME" ]]; then
echo "❌ Reference project not found: $PROJECT_NAME"
echo "Available projects:"
ls -1 | grep -E '^[0-9]+_' | head -10
exit 1
fi
echo "🧪 Testing reference project: $PROJECT_NAME"
# Run project-specific tests
if [[ -f "$PROJECT_NAME/test_${PROJECT_NAME}.py" ]]; then
cd ../../.. # Back to python directory
uv run pytest "tests/reference_kicad_projects/$PROJECT_NAME/" -v
else
echo "⚠️ No test file found for $PROJECT_NAME"
if [[ "$CREATE_MISSING" == "true" ]]; then
echo "🔧 Creating test template..."
# Create test template (implementation below)
fi
fi
else
# Test all reference projects
echo "🧪 Testing all reference schematic projects..."
cd ../../.. # Back to python directory
# Run all reference tests
if [[ "$FORMAT_VALIDATION" == "true" ]]; then
uv run pytest tests/reference_kicad_projects/ -v -k "format_preservation"
elif [[ "$PERFORMANCE" == "true" ]]; then
uv run pytest tests/reference_kicad_projects/ -v -k "performance"
else
uv run pytest tests/reference_kicad_projects/ -v
fi
fi
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.
- 6d ago First seen · 303 lines · 0 tokens per session scan A 3d76154799af
run-reference-tests is a command published in the GitHub repository circuit-synth/mcp-kicad-sch-api (20 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,194 tokens. A static security scan graded it A with 0 findings. It is 100% identical to run-reference-tests, differing in 0 lines, and is treated as a copy.
Other commands, from other repositories
observe
部屋を能動的に観察する。3つの基本ブロックを自由に選びながらループし、受動的なスナップショットではなく発見のある観察を行う。.
model
Check if an AI model fits on your GPU before downloading.
tapeout
Produce a complete, fab-ready export bundle for a routed board — or refuse loudly. Superset of /kct:manufacturing-readiness: runs the three sign-off pre-gates, then adds a BOM part-number-resolution gate, a per-rule warning-review gate (assembly-affecting warnings block unless explicitly acknowledged), schematic +…
compliance-matrix
Gestiona matriz de conformidad con estándares regulatorios (CE, FCC, UL, RoHS, ISO). Permite definir estándares, trackear estado de requisitos, vincular evidencia, identificar gaps y generar reportes de cumplimiento.
eol-report
EOL/EOS risk report — devices, OS versions, and firmware approaching or past end-of-life/end-of-support, prioritized by criticality.
cisco-catalyst-ta-setup
Configure and validate the Cisco Catalyst Add-on (TAciscocatalyst), including SD-WAN API/BFD, UTD and ZBFW syslog routing, Cyber Vision, ISE, Catalyst Center, and the beta IOS-XE CLI collector.