Borrowing it
Nothing to install: this file belongs to jl-codes/platformio-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/jl-codes/platformio-mcp/main/.skills/hardware-in-the-loop-test/SKILL.mdgit clone --depth 1 https://github.com/jl-codes/platformio-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/skills/jl-codes/platformio-mcp/hardware-in-the-loop-test)<a href="https://agentmods.dev/skills/jl-codes/platformio-mcp/hardware-in-the-loop-test"><img src="https://agentmods.dev/badge/skills/jl-codes/platformio-mcp/hardware-in-the-loop-test/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/skills/jl-codes/platformio-mcp/hardware-in-the-loop-test"><img src="https://agentmods.dev/badge/skills/jl-codes/platformio-mcp/hardware-in-the-loop-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00041 | $0.00503 |
| Opus 5.5 | $0.00016 | $0.00201 |
| Sonnet 5.5 | $0.00008 | $0.00101 |
| Haiku 4.5 | $0.00004 | $0.00050 |
Grade A, and why
hardware-in-the-loop-test 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 25d 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
Hardware-in-the-Loop Test
Reading results: a non-zero exit means look at BOTH streams. An operation that ran but failed (a build with errors) puts
success: falseon stdout; one that could not run (bad arguments, policy, a busy port) putserrorTypeon stderr with stdout empty. Capture both (--json 2>&1). See thepio-managerskill for the full contract.
Purpose
Use this skill to validate firmware behavior on a real device, not just through compilation.
Safety Rules
- Ask before flashing.
- Do not assume physical wiring is safe.
- Do not activate motors, heaters, lasers, relays, pumps, or high-power outputs without explicit user approval.
- Keep tests bounded by timeout.
- Save logs and artifacts.
Workflow
- Define finite expected markers, rejected patterns, timeout, stability window, and safe physical behavior.
- Resolve one project, environment, board, and stable device binding with
pio-agent target-resolve; stop on ambiguity or replacement. - Validate and build with
pio-agent agent-build-diagnose. - Ask for an approval scoped to the exact flash workflow and target binding.
- Run
pio-agent agent-flash-monitor-verifyafter approval. - Check bounded serial markers, timing, or telemetry and retain task/log/artifact references.
- Mark build, flash, monitor, and assertions independently as pass, fail, or inconclusive.
- Cancel runaway tracked tasks with
pio-agent task-cancel <id>; confirm cleanup withpio-agent task-history --project-dir <dir>,pio-agent monitor-status, andpio-agent lock status. - Save redacted evidence and summarize the result.
Scheduled HIL writes require a pre-existing, exact, expiring lab_runner policy. A saved prompt cannot create, approve, or broaden that policy, and default scheduled monitoring must remain read/build/monitor-only.
Example Test Definition
name: esp32_boot_marker
board: esp32dev
expected:
serial_contains: BOOT_OK
timeout_seconds: 15
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.
- 25d ago Changed · +6 lines ee8aa377c16e
- 1mo ago Changed · +2 lines 579d9576746c
- 1mo ago First seen · 41 lines · 41 tokens per session scan A 44cd219605a5
hardware-in-the-loop-test is a skill published in the GitHub repository jl-codes/platformio-mcp (54 stars, last pushed 16d ago), licensed MIT. It adds 41 tokens to every session and 503 once invoked, about $0.0002 per session on Opus 5.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-30.
Other skills, from other repositories
jetson-video-pipeline
Use when planning, executing, and independently validating Jetson Video Codec SDK or PyNvVideoCodec encode/decode, transcode, segmentation, container decode, AV1, or concise acceptance workflows.
jetson-validate-image
Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.
holohub-app-lifecycle
Use for non-failing HoloHub app work with ./holohub: scaffold, build, run, test, visual evidence, lint, and flow benchmarking.
SmartHome Video Anomaly Benchmark
VLM evaluation suite for video anomaly detection in smart home camera footage.
passport-build
Validate and package FoloToy AI Passport firmware, including a verified merged image and matching debugging artifacts. Use for build, test, and firmware-package requests; does not flash, commit, or publish.
passport-device-test
Guide authorized flashing and on-device acceptance of FoloToy AI Passport firmware, including device discovery and bounded serial observation. Use for explicit device-test or flash requests, not merely because a build succeeded.