jl-codes/platformio-mcp/hardware-in-the-loop-test
- community
Checking that the SKILL.md file is still in the repository.
Validate firmware behavior on real hardware rather than compilation-only checks. Use when running physical acceptance tests, confirming boot markers, validating sensor output, or checking runtime timing/telemetry.
Install
npx vskill@latest install jl-codes/platformio-mcp/hardware-in-the-loop-testSKILL.md
Hardware-in-the-Loop Test
Reading results: a non-zero exit means look at BOTH streams. An operationthat ran but failed (a build with errors) putssuccess: falseon stdout;one that could not run (bad arguments, policy, a busy port) putserrorTypeonstderr 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
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.skills/hardware-in-the-loop-test/SKILL.md
Popularity
- Repository stars
- 40
- Repository forks
- 16
- Repository npm downloads, 7 days
- 35
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 19 Jul 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jl-codes/platformio-mcp/hardware-in-the-loop-test)