Borrowing it
Nothing to install: this file belongs to furkanisikay/ardupilot-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/furkanisikay/ardupilot-mcp/main/.claude/commands/add-check.mdgit clone --depth 1 https://github.com/furkanisikay/ardupilot-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/commands/furkanisikay/ardupilot-mcp/add-check)<a href="https://agentmods.dev/commands/furkanisikay/ardupilot-mcp/add-check"><img src="https://agentmods.dev/badge/commands/furkanisikay/ardupilot-mcp/add-check/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.
<a href="https://agentmods.dev/commands/furkanisikay/ardupilot-mcp/add-check"><img src="https://agentmods.dev/badge/commands/furkanisikay/ardupilot-mcp/add-check.svg" alt="Reviewed on agentmods" width="80" 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.00015 | $0.00528 |
| Opus 5 | $0.00008 | $0.00264 |
| Sonnet 5 | $0.00003 | $0.00106 |
| Haiku 4.5 | $0.00002 | $0.00053 |
Grade A, and why
add-check 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 10d 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.
What it actually says
Add a new diagnostic check to this repo following the rules in AGENTS.md. The user's
request: $ARGUMENTS
Do all of the following:
-
Ground it first. Identify the DataFlash message(s)/parameter(s) involved and the exact threshold/behaviour, and find an AUTHORITATIVE source for every number/enum (ArduPilot wiki/firmware
LogStructure.h/AP_Logger.h, the parameter docs, or MAVLink). Do not invent thresholds. If you have real logs in_reallogs/, inspect a few to ground the values and find positive/negative cases. -
Create
ardupilot_mcp/checks/<name>.pywith an@register_checkclass:id,title,category,requires(message types; orset()+ guard internally), optionalvehicles(e.g.{"copter","heli"}),description, and a pure deterministicrun(self, log) -> list[Finding]. Put thresholds in named constants WITH a source comment. Cite the concrete numbers in each finding'sexplanation; numeric evidence insamples=. Be conservative to avoid false positives. -
Register it: add
"<name>"to_CHECK_MODULESinardupilot_mcp/checks/__init__.py, and (optionally) map it inCHECK_TOPICSinardupilot_mcp/ardupilot_docs.py. -
Write
tests/checks/test_<name>.pyusingmake_flight_log/build_series(synthetic — no real.bin): the skipped/empty case, a clean no-finding case, and one case per severity it can emit. -
Update docs: add the check to the catalogue in
README.md, add aCHANGELOG.mdentry, and record any new threshold + its source indocs/SOURCES.md. -
Verify green: run
ruff check ardupilot_mcp tests,ruff format ardupilot_mcp tests,mypy ardupilot_mcp, andpytest(includingtests/test_docs_sync.py). If you have_reallogs/, confirm the new check flags the intended log and leaves clean flights clean.
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.
- 10d ago First seen · 36 lines · 15 tokens per session scan A 454d19a5ba57
add-check is a command published in the GitHub repository furkanisikay/ardupilot-mcp (4 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 528 once invoked, about $0.0001 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 commands, from other repositories
gpu
Diagnose GPU health, discover bounded recipes, and collect typed numeric evidence without guessing from screenshots.
debug
A command-line debugging toolkit for embedded programs using J-Link or OpenOCD, tools that connect a computer to a microcontroller for inspection.
la
A command for capturing and decoding signals with a Saleae logic analyzer, a device that records electrical digital signals over time. It supports buses such as UART, SPI, and I2C, which are common ways chips communicate with peripherals.
map
A parser for Keil compiler map files, which are build reports describing where program code and data are placed in memory. It reports object sizes, memory regions, symbols, and stack or heap details.
verify
An embedded-device verification workflow that checks a development step through building, flashing firmware, debugging with J-Link, and reading serial logs. Firmware is software that runs directly on a microcontroller or other device.
log
Analyze captured serial logs for key events.