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.
git clone --depth 1 https://github.com/HermeticOrmus/LibreEmbed-Claude-CodeWrote 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/commands/hermeticormus/libreembed-claude-code/debug-embedded)<a href="https://agentmods.dev/commands/hermeticormus/libreembed-claude-code/debug-embedded"><img src="https://agentmods.dev/badge/commands/hermeticormus/libreembed-claude-code/debug-embedded/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/commands/hermeticormus/libreembed-claude-code/debug-embedded"><img src="https://agentmods.dev/badge/commands/hermeticormus/libreembed-claude-code/debug-embedded.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.00027 | $0.00892 |
| Opus 5.5 | $0.00011 | $0.00357 |
| Sonnet 5.5 | $0.00005 | $0.00178 |
| Haiku 4.5 | $0.00003 | $0.00089 |
Grade A, and why
debug-embedded 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 2mo 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 — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/debug-embedded
Embedded debug command: fault analysis, GDB sessions, trace setup, stack inspection.
Trigger
/debug-embedded <action> [options]
Actions
attach
Generate OpenOCD or J-Link connection commands.
/debug-embedded attach --probe stlink --target stm32f4x
/debug-embedded attach --probe jlink --device STM32F407VG --speed 4000
/debug-embedded attach --probe pyocd --target stm32f407
halt
Stop the target and inspect state.
/debug-embedded halt --dump-registers
/debug-embedded halt --dump-stack --depth 32
fault-analyze
Decode fault registers from a running or halted target.
/debug-embedded fault-analyze --cfsr 0x00020000
/debug-embedded fault-analyze --cfsr 0x00008200 --bfar 0x00000004
/debug-embedded fault-analyze --hfsr 0x40000000
Outputs: fault type in plain English, common causes, suggested fix, addr2line command.
trace
Configure ITM/SWO or ETM trace.
/debug-embedded trace --itm-printf --cpu-freq 168000000 --swo-freq 2000000
/debug-embedded trace --dwt-cycles --instrument my_function
/debug-embedded trace --watchpoint --addr 0x20001234 --type write
Process
- Identify probe type and connection.
- For faults: read CFSR, HFSR, MMFAR, BFAR from 0xE000ED28–0xE000ED38.
- Extract stacked PC from exception frame (MSP or PSP depending on EXC_RETURN bit 2).
- Run addr2line with stacked PC to get source location.
- Check LR for caller context.
Output Examples
CFSR decode: 0x00020000
CFSR = 0x00020000
UFSR[17] = INVSTATE = 1
Meaning: CPU tried to execute an instruction in ARM state (Thumb bit = 0 in xPSR).
Common cause: function pointer missing Thumb bit (should be addr | 1).
Fix: ensure function pointers are loaded from elf/symbol table, not cast from integer.
GDB session startup
arm-none-eabi-gdb -ex "target remote :3333" \
-ex "monitor reset halt" \
-ex "load" \
-ex "break HardFault_HandlerC" \
-ex "continue" \
firmware.elf
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.
- 2mo ago First seen · 109 lines · 27 tokens per session scan A cea63f27e2a8
debug-embedded is a command published in the GitHub repository HermeticOrmus/LibreEmbed-Claude-Code (50 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 892 once invoked, about $0.0001 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-10-01.
debug-embedded compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debug-embeddedHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 27 | Claude Code |
| debugjzl-maker/EA-SKILL | Command | 15 | 1mo ago | MIT | A | 0 | Claude Code |
| lajzl-maker/EA-SKILL | Command | 15 | 1mo ago | MIT | A | 0 | Claude Code |
| mapjzl-maker/EA-SKILL | Command | 15 | 1mo ago | MIT | A | 0 | Claude Code |
| verifyjzl-maker/EA-SKILL | Command | 15 | 1mo ago | MIT | A | 0 | Claude Code |
| debugcaptainluzik/oh-my-embedded | Command | 42 | 9mo ago | MIT | A | 13 | Claude Code |
| t32ormastes/simple | Command | 2 | today | none | A | 29 | Claude Code |