ormus-solutions/libreembed-claude-code/firmware-update-patterns
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
OTA update patterns: MCUboot image headers, update progress over MQTT, version comparison, boot counters with automatic rollback, and aligned chunk writes. Use when implementing the device side of a firmware update.
Install
npx vskill@latest install ormus-solutions/libreembed-claude-code/firmware-update-patternsSKILL.md
firmware-update-patterns
Knowledge Base
FOTA patterns for MCU firmware updates with reliability guarantees.
Pattern 1: mcuboot Image Header Construction
Pattern 2: FOTA Progress Tracking via MQTT
Device side: subscribe to topics, write chunks to flash in order, track offset.
Pattern 3: Firmware Version Comparison
Pattern 4: Boot Counter with Automatic Rollback
Pattern 5: Chunk Write with Alignment
Flash write must be aligned to the MCU's minimum write unit (word, half-page, or page).
Anti-Patterns
- Confirm on first successful boot, not after self-test: one peripheral failure makes the update permanent.
- Storing OTA state in RAM: RAM content is lost on reset. Use NVM, RTC backup registers, or OTP.
- No size check before write: writing past the end of the target bank corrupts the NVM region.
- HTTP OTA without TLS: an on-path attacker can inject arbitrary firmware. Always verify server certificate.
References
- mcuboot: https://github.com/mcu-tools/mcuboot
- ESP-IDF OTA: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/ota.html
- janpatch: https://github.com/janjongboom/janpatch
- AWS IoT Jobs: https://docs.aws.amazon.com/iot/latest/developerguide/iot-jobs.html
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/firmware-update/skills/firmware-update-patterns/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ormus-solutions/libreembed-claude-code/firmware-update-patterns)