cmbacktrace-integration

cmbacktrace-integration is a skill for Claude Code, Codex from easyzoom/aix-skills. It costs 37 tokens per session (752 once invoked), scanned A, original, MIT.

A guide for adding CmBacktrace to Cortex-M devices, a family of microcontroller cores used in embedded products. CmBacktrace records fault details and stack traces when firmware crashes.

In plain words
What is it for?
Use it to integrate or debug fault handlers, register dumps, firmware version details, crash logs, and stack traces sent through UART, RTT, flash, or another output method.
Why use it?
It helps turn HardFaults and other processor faults into crash information that can be investigated. It focuses on keeping the fault context, outputting it safely, and matching the trace to the correct firmware build.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to integrate or debug fault handlers, register dumps, firmware version details, crash logs, and stack traces sent through UART, RTT, flash, or another output method.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easyzoom/aix-skills/cmbacktrace-integration
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 easyzoom/aix-skills --skill cmbacktrace-integration
Clone the repo
git clone --depth 1 https://github.com/easyzoom/aix-skills

Made for: Claude Code, Codex.

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 cmbacktrace-integration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/cmbacktrace-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/cmbacktrace-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 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 original 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.00037 $0.00752
Opus 5.5 $0.00015 $0.00301
Sonnet 5.5 $0.00007 $0.00150
Haiku 4.5 $0.00004 $0.00075

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

Security

Grade A, and why

cmbacktrace-integration 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.

skills/cmbacktrace-integration/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CmBacktrace Integration

Overview

Use this skill to integrate CmBacktrace as a Cortex-M crash diagnosis tool. The key is to preserve fault context, provide correct firmware metadata, route output safely, and verify that backtraces map to the running ELF.

When To Use

Use this skill when:

  • The target is Cortex-M and the user wants automatic fault diagnosis or stack backtraces.
  • The issue involves HardFault, fault handlers, register dumps, firmware name/version/hardware version, or crash logs.
  • The project uses or plans to use CmBacktrace.

Do not use this skill for non-Cortex-M faults. Use embedded-fault-debug or the architecture-specific debug skill instead.

First Questions

Ask for:

  • MCU/core, compiler, optimization level, and build flags.
  • Fault handler code and whether the system resets immediately.
  • Output backend for crash text: UART, RTT, flash, EasyLogger, shell, or custom.
  • Firmware metadata values and where they are defined.
  • Whether the ELF/MAP file matching the running image is available.
  • Current fault output or absence of output.

Integration Checklist

  1. Integrate in the fault path. Call CmBacktrace from the HardFault/fault handling path before reset and before clearing fault state.

  2. Provide metadata. Firmware name, hardware version, software version, and platform identifiers should be meaningful enough for field logs.

  3. Keep output safe. Crash output must not block forever, allocate heavily, or depend on services that may be corrupted.

  4. Match symbols. Ensure the saved crash output can be mapped to the exact ELF/MAP file used to build the flashed image.

  5. Account for compiler behavior. Optimization, frame pointer omission, link-time optimization, and stripped symbols can reduce backtrace quality.

  6. Verify with a controlled fault. Trigger a known null pointer or assert in a lab build, then confirm the report identifies the expected function.

Porting Checks

  • Fault handler does not reset before CmBacktrace runs.
  • Stack pointer and fault stack frame are still valid when called.
  • Output route is initialized early or has a crash-safe fallback.
  • RTOS task stack ranges are known if task-aware backtracing is expected.
  • Watchdog timeout is long enough to emit crash data or is handled intentionally.
  • Crash logs stored to flash do not erase unrelated data without approval.

Read the full file on GitHub · 93 lines

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 First seen · 93 lines · 37 tokens per session scan A b97d8dbb039e

Subscribe to this mod's changes

cmbacktrace-integration is a skill published in the GitHub repository easyzoom/aix-skills (38 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 752 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-08-30.

Related

Other skills, from other repositories

routeros-mac-telnet

MAC-Telnet protocol (MikroTik Layer-2 terminal/exec over UDP 20561) wire format, session handshake, and MD5 + MTWEI (EC-SRP) authentication. Use when: implementing or debugging a MAC-Telnet client/server, reaching a RouterOS device by MAC address without IP, parsing MAC-Telnet packets, understanding the WinBox-style…

tikoci/routeros-skills · 141 tokens

routeros-syntax-inspection

Inspecting and validating RouterOS command/script syntax against a live device via /console/inspect (highlight, completion, syntax, child) and :parse IL. Use when: validating RouterOS commands before execution, explaining or linting RouterOS scripts, building syntax-aware tooling (LSP servers, validators, agent…

tikoci/routeros-skills · 111 tokens

routeros-sniffer

RouterOS packet capture and TZSP streaming for protocol debugging. Use when: capturing packets on RouterOS, setting up /tool/sniffer, streaming live traffic via TZSP, using firewall mangle action=sniff-tzsp, debugging network protocols on MikroTik, receiving TZSP with Wireshark or tshark, saving pcap files from…

tikoci/routeros-skills · 107 tokens

tia-doctor

Manual, read-only prerequisite probe for TIA Portal V21 and its modular Openness API, with an optional Python TIA Scripting check.

Czarnak/totally-integrated-claude · 33 tokens

embedded-debugging

Debug embedded firmware on real hardware through the jlink-mcp server — crashes, hangs, peripheral misconfiguration, silent devices. Covers loading ELF symbols for source-level backtraces, supplying an SVD for named peripheral fields, and the halt/read/resume discipline. Use whenever debugging a microcontroller over a…

Klievan/jlink-mcp · 77 tokens

container-home

Answer questions, assist with planning, and help with design decisions for Mick's off-grid shipping container lake home project. Trigger when the user mentions the container home, lake home, Stewart County, LBL, the expansion, solar system, septic permitting, or retirement property.

mickpletcher/AI-Skills · 57 tokens