Signed OTA Updates for Device Fleets

    1

    Implement signed OTA firmware updates with A/B rollbacks and staged rollouts for ESP32 and Linux fleets.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Signed OTA Updates for Device Fleets

    Example session with this skill installed

    Design a staged rollout plan and update manifest for an ESP32 fleet moving from version 1.4.1 to 1.5.0, including health gates and signature verification steps.

    • Read your context and instructions
    • Compiled the signed ota updates

    I have designed the OTA rollout plan for your ESP32 fleet. This configuration uses Secure Boot v2 and A/B partition logic to ensure that any failure during the transition from 1.4.1 to 1.5.0 triggers an automatic rollback to the inactive slot.

    ESP32 Staged Rollout Configuration

    PhaseFleet %DurationHealth Gate Criteria
    Canary1 Device24 HoursNo ESP_RST_PANIC, Uptime > 12h
    Early Adopters5%48 HoursFailure rate < 0.5%, Boot count = 1
    General Release25%72 HoursError counter < threshold, Cloud check-in
    Full Deployment100%N/AAutomated final validation

    Deployment Manifest (ota_manifest.json)

    {
      "version": "1.5.0",
      "min_version": "1.4.0",
      "url": "https://ota.example.com/bins/esp32_v1.5.0.bin",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "signature": "MEUCIQDW8sB7x...[truncated_base64_sig]",
      "rollout_percent": 5,
      "anti_rollback_counter": 2
    }
    

    Implementation Steps

    1. Enable Rollback: Ensure CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y is set in your ESP-IDF project configuration.

    Health Check: Call esp_ota_mark_app_valid_cancel_rollback() in your main task only after verifying Wi-Fi stability and sensor connectivity.
    3.

    Signature Verification: The bootloader will automatically check the signature field against the public key stored in the hardware secure element or flash.

    Next steps

    • Flash a single device with a corrupted signature to verify the bootloader rejects the image.
    • Simulate a crash before the health check call to confirm the ESP32 rolls back to the 1.4.1 partition.
    • Increase rollout_percent to 25% once the Canary device reports 24 hours of stable uptime.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    A/B slots, staged rollouts, auto-halt and recovery.

    Ship over-the-air firmware updates to a fleet of devices (ESP32, Raspberry Pi/Linux boards, robots, drones' companion computers) safely - signed images, A/B partitions with automatic rollback, staged rollout by percentage, health reporting, and a kill switch. Use when the user wants remote updates for connected devices, a rollout plan, or to recover from a bad firmware that bricked devices.

    Includes an EXPERT.md reference (exact parameters, thresholds, failure diagnosis).

    Acceptable use: civil and commercial applications only. Any military, paramilitary or weapon-related use is prohibited, as stated in the skill itself.

    Requires manual vendor-specific secure boot and key provisioning. Mistakes in hardware fuse blowing can permanently lock devices. Does not handle actual file hosting or delivery networking.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 28 days ago

    Permissions

    Read Files
    Listed28 days ago

    What's inside

    Frequently Asked Questions

    This skill provides the logic and workflows for secure A/B firmware partitioning, staged fleet rollouts, and automatic rollback triggers to prevent devices from being bricked by faulty updates.

    It is designed for any AI agent capable of generating code or CI/CD scripts, specifically supporting ESP-IDF for ESP32 and Linux-based tools like RAUC, Mender, or SWUpdate.

    You receive a production-grade framework including update manifest templates, health-check gating logic, and a step-by-step verification plan for simulating power failures and boot loops.

    No, for security reasons you must generate your own cryptographic keys and handle hardware-specific fuse blowing; this skill focuses on the deployment workflow and signature verification logic.

    The skill utilizes device ID hashing to facilitate graduated rollouts, allowing you to deploy to a small percentage of your fleet (e.g., 1% or 5%) and monitor health before a full release.

    New in Workflow Automation