Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add w1ne/labwired-core --skill debug-firmware-in-simgit clone --depth 1 https://github.com/w1ne/labwired-coreWrote 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/w1ne/labwired-core/debug-firmware-in-sim)<a href="https://agentmods.dev/skills/w1ne/labwired-core/debug-firmware-in-sim"><img src="https://agentmods.dev/badge/skills/w1ne/labwired-core/debug-firmware-in-sim/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/w1ne/labwired-core/debug-firmware-in-sim"><img src="https://agentmods.dev/badge/skills/w1ne/labwired-core/debug-firmware-in-sim.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.00041 | $0.00757 |
| Opus 5.5 | $0.00016 | $0.00303 |
| Sonnet 5.5 | $0.00008 | $0.00151 |
| Haiku 4.5 | $0.00004 | $0.00076 |
Grade A, and why
debug-firmware-in-sim 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 4d 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug Firmware in Simulation
Use this skill when embedded firmware compiles but misbehaves (hangs, prints wrong values, misses interrupts, fails I2C/SPI handshakes, toggles the wrong pin, or crashes under edge-case inputs). LabWired lets you reproduce the failure deterministically without physical hardware and prove the fix.
Workflow
1. Capture Circuit Ground Truth
- Call
labwired_describe(orlabwired_context/labwired_project_get) to verify exact MCU pin assignments, bus wiring (I2C/SPI/UART/CAN), pull-ups, and peripheral addresses. - Run
labwired_validatefirst — many "firmware bugs" are actually swapped TX/RX, wrong I2C address, missing pull-up, or floating reset pins.
2. Reproduce with Observability (labwired_run)
- Compile the current firmware with
labwired_compile(or attach an existing ELF withlabwired_put_firmware). - Call
labwired_runwith:watch_gpiolisting the pins involved (LEDs, CS, IRQ, PWM, reset)stimulito replay external triggers (button press/release, sensor voltage/value changes) at exact timestampsuart_injectionsto feed host commands over serialacceptanceassertions capturing the expected behavior so the run stops cleanly when met or reports exact failure state
- Examine the returned evidence:
- Full UART TX transcript
- GPIO edge counts and transition timelines
- Decoded I2C/SPI/UART/CAN bus traffic and interface advisories (NACKs, bus stuck low, clock mismatch, unaddressed slave)
- Analog/SPICE probe readings when analog circuits or sensors are attached
3. Deep Inspection & Interactive Stepping
When a single run does not reveal the root cause:
- Call
labwired_inspectto read peripheral states, memory, and pin states from the simulation snapshot. - For crashes, hardfaults, or race conditions, start an interactive debug session:
labwired_debug_startlabwired_debugto set breakpoints, single-step, inspect CPU registers, stack pointer, and peripheral registerslabwired_debug_stopwhen finished
- If a real hardware bench is attached and you need to cross-check silicon parity, use
labwired_device_list,labwired_device_flash,labwired_device_console,labwired_device_inspect, andlabwired_device_set_source_breakpoints.
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.
- 4d ago First seen · 46 lines · 41 tokens per session scan A ba2937e8306a
debug-firmware-in-sim is a skill published in the GitHub repository w1ne/labwired-core (210 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 757 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-11-26.
debug-firmware-in-sim compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debug-firmware-in-simw1ne/labwired-core | Skill | 210 | today | MIT | A | 41 | Claude Code |
| unifi-access-supportsirkirby/unifi-mcp | Skill | 1.1k | today | MIT | A | 31 | Claude Code |
| error-message-explainerwedsamuel1230/arduino-skills | Skill | 24 | 3mo ago | MIT | A | 80 | Claude Code |
| circuit-debuggerwedsamuel1230/arduino-skills | Skill | 24 | 3mo ago | MIT | A | 74 | Claude Code |
| nt-mcp-workflowMzzj114/nt-mcp-server | Skill | 1 | today | MIT | A | 25 | Claude Code, Codex |
| unifi-protect-supportsirkirby/unifi-mcp | Skill | 1.1k | today | MIT | A | 32 | Claude Code |
| unifi-network-supportsirkirby/unifi-mcp | Skill | 1.1k | today | MIT | A | 31 | Claude Code |