mcuboot-integration

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

A guide for adding and troubleshooting MCUboot, a bootloader that checks and starts signed firmware on microcontrollers. It covers how firmware images, flash slots, upgrades, and rollback fit together.

In plain words
What is it for?
Use it to set up secure boot, dual-slot or external-flash updates, image signing, rollback, swap modes, and recovery for MCU projects.
Why use it?
It helps find failures caused by flash layout, image metadata, signing, or upgrade settings instead of the application code.

Skill for Claude CodeCodex

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

Good fit Use it to set up secure boot, dual-slot or external-flash updates, image signing, rollback, swap modes, and recovery for MCU projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easyzoom/aix-skills/mcuboot-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 mcuboot-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 mcuboot-integration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/mcuboot-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/mcuboot-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 734 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.00040 $0.00734
Opus 5 $0.00020 $0.00367
Sonnet 5 $0.00008 $0.00147
Haiku 4.5 $0.00004 $0.00073

Measured 10d ago against content hash cc84b4fd4070, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mcuboot-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 10d 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/mcuboot-integration/SKILL.md · 83 lines

How it starts

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

MCUboot Integration

Overview

Use this skill to integrate MCUboot by proving the boot chain, flash map, image format, signing flow, and upgrade policy. Most failures come from slot geometry, trailer layout, or signing metadata mismatches rather than the application itself.

When To Use

Use this skill when:

  • The user wants to add MCUboot to Zephyr, Mynewt, NuttX, RIOT, Mbed OS, ESP-IDF, or a custom MCU platform.
  • The issue involves image validation, swap, overwrite-only upgrade, rollback, confirm flags, serial recovery, or signed images.
  • The project has dual slots, external flash, encrypted images, secure boot, or OTA requirements.

Do not use this skill for application-level firmware transfer alone. Use ota-update-integration first if the bootloader is already fixed and the issue is delivery. For generic bootloader jump/handoff debugging, use bootloader-debug.

First Questions

Ask for:

  • MCU/SoC, SDK/RTOS, boot flow, and current bootloader ownership.
  • Flash layout: bootloader, primary slot, secondary slot, scratch, trailer, and external flash if used.
  • Upgrade mode: swap, overwrite-only, direct-XIP, RAM-load, or serial recovery.
  • Image signing method, key type, image version, and whether rollback prevention is needed.
  • Current symptom and boot log from the bootloader.

Integration Checklist

  1. Freeze the flash map. Slot sizes, erase block size, alignment, scratch size, and trailer offsets must match the target flash.

  2. Build a minimal signed image. Verify image header, TLVs, signature, version, and load address before enabling OTA.

  3. Prove first boot. Boot one known-good image from the primary slot and record bootloader logs.

  4. Prove upgrade behavior. Test pending, test, confirm, revert, and permanent upgrade paths for the selected mode.

  5. Add recovery and brick protection. Keep serial recovery, debug access, watchdog policy, and factory image strategy clear.

  6. Lock security policy last. Enable key protection, rollback counters, encryption, or anti-tamper only after the basic upgrade loop is repeatable.

Read the full file on GitHub · 83 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. 10d ago First seen · 83 lines · 40 tokens per session scan A cc84b4fd4070

Subscribe to this mod's changes

mcuboot-integration is a skill published in the GitHub repository easyzoom/aix-skills (31 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 734 once invoked, about $0.0002 per session on Opus 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

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

digital-twin-sync

Synchronize construction digital twins with real-time data. Connect BIM models with IoT sensors, progress updates, and field data for live project visualization and monitoring.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 36 tokens

drone-site-survey

Process drone survey data for construction sites. Generate orthomosaics, DEMs, point clouds, calculate volumes, track progress, and integrate with BIM models for comparison.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 40 tokens

equipment-fleet-manager

Manage construction equipment fleet. Track utilization, maintenance, and assignments.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 18 tokens

json-parser

Parse and validate JSON data from construction APIs, IoT sensors, and BIM exports. Transform nested JSON to flat DataFrames.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 28 tokens

energy-efficiency

Audit a manufacturing energy management system for monitoring quality, cost optimization, and compliance. Triggers: building or reviewing industrial energy platforms, building management systems, or sustainability reporting tools.

tinh2/skills-hub-registry · 39 tokens