ota-update-integration
Skill36 starsChanged 5 months agoMITView on GitHub
Use when designing, integrating, testing, or debugging OTA firmware update flows, package formats, transport, rollback, versioning, or power-fail safety on embedded devices
In this repository75 other files it gives its agents.
- 8051-mcu-debugSkill
- avem-integrationSkill
- battery-charger-fuel-gauge-integrationSkill
- ble-gatt-integrationSkill
- bootloader-debugSkill
- canbus-integrationSkill
- canopen-integrationSkill
- cellular-at-modem-integrationSkill
- cmbacktrace-integrationSkill
- cmsis-dsp-integrationSkill
- cortex-m-debugSkill
- cortex-r5-debugSkill
- crc-checksum-integrationSkill
- easylogger-integrationSkill
- embedded-app-example-libsSkill
- embedded-buffer-queue-libsSkill
- embedded-data-parsing-libsSkill
- embedded-debug-entrySkill
- embedded-fault-debugSkill
- embedded-framework-libsSkill
- embedded-input-libsSkill
- embedded-library-entrySkill
- embedded-linux-login-debugSkill
- embedded-peripheral-bringupSkill
- embedded-serial-log-debugSkill
- embedded-state-machine-libsSkill
- embedded-timing-libsSkill
- epd-integrationSkill
- esp-idf-integrationSkill
- fatfs-integrationSkill
- flashdb-integrationSkill
- freemodbus-integrationSkill
- freertos-kernel-debugSkill
- freertos-plus-tcp-integrationSkill
- gnss-gps-integrationSkill
- hardware-interface-debugSkill
- heatshrink-integrationSkill
- letter-shell-integrationSkill
- littlefs-integrationSkill
- low-power-debugSkill
- lvgl-integrationSkill
- lwip-integrationSkill
- mbedtls-integrationSkill
- mcuboot-integrationSkill
- mcu-flashing-debugSkill
- micro-ecc-integrationSkill
- miniz-integrationSkill
- mqtt-embedded-integrationSkill
- nanopb-integrationSkill
- nrf-connect-sdk-integrationSkill
- nr-micro-shell-integrationSkill
- openocd-jlink-stlink-debugSkill
- openthread-integrationSkill
- plooc-integrationSkill
- power-management-integrationSkill
- qspi-xip-flash-debugSkill
- readme-writingSkill
- riscv-mcu-debugSkill
- rtos-debugSkill
- rt-thread-integrationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill to build OTA updates as a full pipeline: package creation, transport, staging, validation, activation, rollback, and …
- Distinctive: line 14
Use this skill when:
- Very specific: line 20
Do not use this skill for bootloader internals.
- Distinctive: line 41
Document what happens during download, after validation, after activation, and during first boot.
- Distinctive: line 43
Verify authenticity and integrity.
- Distinctive: line 44
Use hash checks for corruption and signatures for trust.
- Distinctive: line 63
Before claiming OTA works:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OTA Update Integration
Overview
Use this skill to build OTA updates as a full pipeline: package creation, transport, staging, validation, activation, rollback, and observability. OTA is only reliable when every reset point is defined.
When To Use
Use this skill when:
- The user wants firmware updates over HTTP, MQTT, BLE, LoRa, cellular, USB, SD card, or a custom protocol.
- The issue involves partial downloads, checksum failures, signature validation, resume, rollback, version checks, or update state machines.
- The target uses MCUboot, a vendor bootloader, A/B partitions, recovery mode, or external flash staging.
Do not use this skill for bootloader internals. Use mcuboot-integration when the image activation or swap logic itself is failing. For generic bootloader jump/handoff debugging, use bootloader-debug.
First Questions
Ask for:
- Target device, RTOS/Linux stack, bootloader, flash layout, and update storage.
- Transport, package format, manifest fields, compression, encryption, and signing policy.
- Version policy, compatibility rules, rollback/factory reset behavior, and update trigger.
- Power-fail expectations and whether updates must resume after reset.
- Logs from download, validation, activation, and first boot.
Integration Checklist
- Define the update contract. The manifest should include target identity, version, size, hash, signature, compatibility, and install mode.
- Separate download from activation. Store the image safely, verify it, then mark it pending only after all bytes and metadata are valid.
- Make reset points explicit. Document what happens during download, after validation, after activation, and during first boot.
- Verify authenticity and integrity. Use hash checks for corruption and signatures for trust. Do not treat transport TLS as a replacement for image signing.
- Prove rollback. The device must recover from bad images, failed self-tests, power loss, and interrupted transfers.
- Add operational visibility. Log update ID, version, byte count, validation result, boot decision, and final status.
Common Failures
- Package metadata does not bind the image to the intended hardware or firmware family.
- Download success is treated as install success.
- The update state is stored in RAM or a non-atomic flash record.
- Power loss corrupts the staging slot or leaves ambiguous flags.
- Delta update logic has no full-image recovery path.
- TLS is enabled but image signatures and rollback policy are missing.
Verification
Before claiming OTA works:
- State transport, package fields, bootloader policy, and flash layout.
- Confirm successful update and version transition.
- Confirm bad signature/hash rejection.
- Confirm power loss handling at download, validation, activation, and first boot.
- Confirm rollback or recovery path.
Example
User:
设备 OTA 偶尔升级后变砖。Agent:
- Maps each persistent OTA state and reset point.
- Reproduces power loss during download, mark-pending, swap, and first boot.
- Fixes atomic state storage or rollback policy before optimizing transfer speed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

