swd-debug

swd-debug is a skill for Claude Code from fossuav/aap. It costs 68 tokens per session (2,080 once invoked), scanned A, original, GPL-3.0.

A workflow for flashing and debugging a microcontroller using SWD, OpenOCD, GDB, and a CMSIS-DAP probe. It also covers using a Windows-connected probe from WSL.

In plain words
What is it for?
Use it to program firmware, trace boot failures, inspect live memory and registers, and debug USB or serial problems on embedded boards.
Why use it?
It helps investigate boards that do not connect normally, crash during startup, or need direct inspection of their memory and registers.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to program firmware, trace boot failures, inspect live memory and registers, and debug USB or serial problems on embedded boards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fossuav/aap/swd-debug
View source ↗ fossuav/aap
Install

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.

Any agent
npx skills add fossuav/aap --skill swd-debug
Clone the repo
git clone --depth 1 https://github.com/fossuav/aap

Made for: Claude Code.

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.

agentmods badge for swd-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/fossuav/aap/swd-debug/github.svg)](https://agentmods.dev/skills/fossuav/aap/swd-debug)
Your own site
<a href="https://agentmods.dev/skills/fossuav/aap/swd-debug"><img src="https://agentmods.dev/badge/skills/fossuav/aap/swd-debug/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.

agentmods 80×15 button for swd-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/fossuav/aap/swd-debug"><img src="https://agentmods.dev/badge/skills/fossuav/aap/swd-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,080 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.02080
Opus 5.5 $0.00027 $0.00832
Sonnet 5.5 $0.00014 $0.00416
Haiku 4.5 $0.00007 $0.00208

Measured 1mo ago against content hash f285b9b32dd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swd-debug 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 1mo 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.

claude/skills/swd-debug/SKILL.md · 194 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

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.

  1. 1mo ago Changed · +66 lines f285b9b32dd7
  2. 1mo ago First seen · 128 lines · 68 tokens per session scan A f054f86b3c0d

Subscribe to this mod's changes

swd-debug is a skill published in the GitHub repository fossuav/aap (19 stars, last pushed 2d ago), licensed GPL-3.0. It adds 68 tokens to every session and 2,080 once invoked, about $0.0003 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-09-12.

Related

Other skills, from other repositories

kicad-review

Design review and validation workflow for KiCAD projects via MCP tools. Triggers on: "review my design", "check for errors", "audit", "DRC", "ERC", "find problems", "design review", "is this ready", "validate", "check my schematic", "check my PCB", "what's wrong", "run checks", "pre-fab review".

mixelpixx/Konnect · 83 tokens

cpp-sanitizers

Use in C/C++ projects for crashes, hangs, UB, data races, memory errors. ASan/UBSan/TSan runtime checks. Build sanitizer config separately.

Redtropig/harness-anchor · 40 tokens

zephyr-json

JSON serialization and deserialization in Zephyr RTOS using the descriptor-based JSON library. Use when encoding C structs to JSON strings, parsing JSON into C structs, working with nested objects or arrays, handling cloud/IoT protocols (MQTT, HTTP, CoAP payloads), or implementing REST APIs on embedded devices.

ksachdeva/zephyr-rtos-ai · 68 tokens

cmd_cpp_build

Fix C++ build errors, CMake issues, and linker problems incrementally. Invokes the cpp-build-resolver agent for minimal, surgical fixes.

majiang213/OpenClaw-MAS · 34 tokens

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

running-openmed-ondevice

Run OpenMed models fully on-device with the MLX (Apple Silicon), CoreML (iOS/macOS), or ONNX/WebGPU (cross-platform/browser) backends, including convert-quantize-run workflows. Use when the user wants to deploy OpenMed at the edge, run NER/de-id on Apple Silicon, target iPhone/iPad/Mac, export to ONNX or WebGPU…

maziyarpanahi/openmed · 175 tokens