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 mohitmishra786/low-level-dev-skills --skill openocd-jtaggit clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skillsWrote 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/mohitmishra786/low-level-dev-skills/openocd-jtag)<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/openocd-jtag"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/openocd-jtag/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/mohitmishra786/low-level-dev-skills/openocd-jtag"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/openocd-jtag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- 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.00092 | $0.01981 |
| Opus 5.5 | $0.00037 | $0.00792 |
| Sonnet 5.5 | $0.00018 | $0.00396 |
| Haiku 4.5 | $0.00009 | $0.00198 |
Grade A, and why
openocd-jtag 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 14d 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 — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenOCD / JTAG Debugging
Purpose
Guide agents through configuring OpenOCD for JTAG and SWD targets, flashing firmware to microcontrollers, attaching GDB for bare-metal debugging, setting hardware watchpoints, and configuring J-Link and CMSIS-DAP adapters.
Triggers
- "How do I connect GDB to my MCU with OpenOCD?"
- "How do I flash firmware using OpenOCD?"
- "How do I set up J-Link with OpenOCD?"
- "What's the difference between JTAG and SWD?"
- "How do I set a hardware watchpoint in GDB?"
- "OpenOCD says 'Error: unable to find JTAG device' — how do I fix it?"
Workflow
1. JTAG vs SWD
| Feature | JTAG | SWD (Serial Wire Debug) |
|---|---|---|
| Pins | 4+ (TCK, TMS, TDI, TDO, TRST) | 2 (SWCLK, SWDIO) |
| Multi-target | Yes (daisy chain) | No (one target) |
| Speed | Up to 30 MHz | Up to 10 MHz |
| Availability | Full JTAG: Cortex-A/R, RISC-V | SWD: Cortex-M only |
| Cable cost | More complex | Simpler 2-wire |
Most Cortex-M microcontrollers support both. Use SWD when pin count is limited.
2. OpenOCD configuration
Use one adapter per config file. Select the transport after the interface and before the target script.
In Tcl, # starts a comment only at the start of a command, so use ;# for a trailing comment.
# openocd.cfg — CMSIS-DAP probes (DAPLink, Picoprobe/debugprobe, MCU-Link)
source [find interface/cmsis-dap.cfg]
transport select swd
source [find target/stm32f4x.cfg]
adapter speed 4000 ;# kHz
# openocd.cfg — ST-Link v2 / v2-1 / V3 (ST's own protocol, not CMSIS-DAP)
source [find interface/stlink.cfg]
transport select hla_swd
source [find target/stm32f4x.cfg]
adapter speed 4000 ;# kHz
# Alternative: interface/stlink-dap.cfg with "transport select dapdirect_swd"
# exposes the ARM DAP directly instead of the hla API.
# Needs ST-LINK/V2 firmware V2J24 or later, or an STLINK-V3.
# openocd.cfg — SEGGER J-Link
source [find interface/jlink.cfg]
# adapter serial 123456789 ;# optional: uncomment with your probe's serial to pick one probe
transport select swd
source [find target/nrf52.cfg]
adapter speed 8000
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.
- 14d ago Changed · +16 lines 645da7d76cc1
- 3mo ago First seen · 193 lines · 92 tokens per session scan A 5aeb68f2e86b
openocd-jtag is a skill published in the GitHub repository mohitmishra786/low-level-dev-skills (310 stars, last pushed 14d ago), licensed MIT. It adds 92 tokens to every session and 1,981 once invoked, about $0.0004 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-03.
openocd-jtag compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openocd-jtagmohitmishra786/low-level-dev-skills | Skill | 310 | 14d ago | MIT | A | 92 | Claude Code, Codex |
| gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 107 | Claude Code, Codex |
| gke-ai-troubleshooting-tpu-vbar-oomgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 125 | Claude Code, Codex |
| doca-flowNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 224 | Claude Code |
| diagnose-driver-installNVIDIA/deepops | Skill | 1.5k | 3d ago | BSD-3-Clause | A | 47 | Claude Code, Codex |
| eidezhinkgit/embeddedskills | Skill | 831 | yesterday | MIT | A | 151 | Claude Code |
| gtrace-path-analysisautomateyournetwork/netclaw | Skill | 739 | 3d ago | Apache-2.0 | A | 156 | Claude Code |