ota-deployment-guardian
Skill22 starsChanged 4 months agoMITView on GitHub
Use when users need safe over-the-air update workflows for ESP32-class boards or Arduino Uno R4 WiFi, including OTA sketch requirements, network port discovery failures, remote recovery planning, and rollout safety checks.
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/arduino-skills.mdcCursor rule
- cli-creatorSkill
- plugin-creatorSkill
- skill-creatorSkill
- arduino-cli-skillSkill
- arduino-code-generatorSkill
- arduino-project-builderSkill
- arduino-serial-monitorSkill
- arduino-workflow-routerSkill
- battery-selectorSkill
- board-selectionSkill
- board-supportSkill
- bom-generatorSkill
- circuit-debuggerSkill
- code-review-facilitatorSkill
- datasheet-interpreterSkill
- embedded-project-loopSkill
- enclosure-designerSkill
- error-message-explainerSkill
- field-power-and-connectivity-triagerSkill
- freertos-patternsSkill
- hardware-tddSkill
- i2c-bringup-diagnosticianSkill
- library-selectionSkill
- memory-budgetingSkill
- mermaid-diagram-generatorSkill
- non-blocking-patternsSkill
- pin-assignmentSkill
- power-budget-calculatorSkill
- readme-generatorSkill
- sensor-calibration-workbenchSkill
- sensor-signal-filteringSkill
- wiring-safety-checkSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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 9
Use this skill when a device is updated remotely and losing the update path would be expensive.
- Distinctive: line 21
Use this skill when the request involves:
- Distinctive: line 29
Do not use this skill for ordinary bench USB uploads unless the user is clearly preparing for later OTA deployment.
- Very specific: line 42
Before suggesting a rollout, check references/recovery-and-rollback.md for recovery path, rollback strategy, and what must stay available …
- Distinctive: line 44
Treat core-version changes as a possible variable when OTA previously worked and later became unreliable.
- Distinctive: line 49
Use the router's connected-device security reference for secrets, signed images, dependency versions, staged rollout, rollback, …
- Distinctive: line 57
Never assume OTA remains available after a new sketch unless the sketch keeps the OTA path alive.
- Distinctive: line 61
Keep at least one recovery path in reserve for high-cost remote devices.
- Distinctive: line 73
If board or core versions changed recently, capture the exact versions before concluding the failure is in user code.
- Distinctive: line 86
Use the shared Arduino skill contract: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, …
≈ “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 Deployment Guardian
Use this skill when a device is updated remotely and losing the update path would be expensive.
Resources
references/ota-safe-sketch.md- minimum sketch-side OTA contract and guardrailsreferences/discovery-and-network-ports.md- IDE, mDNS, IP reachability, and disappearing network port triagereferences/recovery-and-rollback.md- rollout safety, rollback, and last-resort recovery planning../../docs/board-support/uno-r4-family.md- Uno R4 Minima and Uno R4 WiFi board-family caveats
When to Use
Use this skill when the request involves:
- OTA uploads for ESP32, Nano ESP32, or Uno R4 WiFi
- network port appears briefly or disappears
- IDE can ping the device but cannot upload
- keeping a remote weather station or deployed board updateable
- avoiding self-bricking after an OTA deployment
Do not use this skill for ordinary bench USB uploads unless the user is clearly preparing for later OTA deployment.
Workflow
- Confirm the board family:
- ESP32 or Nano ESP32 -> open
references/ota-safe-sketch.md - Uno R4 WiFi -> also open
../../docs/board-support/uno-r4-family.md
- ESP32 or Nano ESP32 -> open
- Separate discovery failures from sketch failures:
- ping works but network port disappears -> open
references/discovery-and-network-ports.md - OTA works once, then disappears after the new sketch runs -> verify the new
sketch still implements the OTA path in
ota-safe-sketch.md
- ping works but network port disappears -> open
- Before suggesting a rollout, check
references/recovery-and-rollback.mdfor recovery path, rollback strategy, and what must stay available over USB. - Treat core-version changes as a possible variable when OTA previously worked and later became unreliable.
Security And Maintenance Boundary
Use the router's connected-device security reference for secrets, signed images, dependency versions, staged rollout, rollback, vulnerability response, and decommissioning. This skill's board-specific OTA procedures do not prove that the device has secure boot, authenticated updates, or a recoverable field deployment; verify those controls on the exact target.
Core Rules
- Never assume OTA remains available after a new sketch unless the sketch keeps the OTA path alive.
- Distinguish reachability from OTA discovery. Ping success does not prove the IDE can discover or upload.
- Keep at least one recovery path in reserve for high-cost remote devices.
- For Uno R4 WiFi, keep board-family caveats explicit. Its WiFi side is not the same operational model as a plain ESP32 board.
Verification
- Confirm the sketch still connects to the intended network and services the OTA path after boot.
- Confirm whether the failure is discovery-only, upload-only, or full device reachability loss.
- For remote deployments, confirm the rollback or physical recovery plan before recommending an update.
- If board or core versions changed recently, capture the exact versions before concluding the failure is in user code.
Integration
- Pair with
arduino-cli-skillwhen the user needs command-line upload or port inspection. - Pair with
field-power-and-connectivity-triagerwhen the OTA path fails only off USB or in field power conditions. - Pair with
error-message-explainerwhen the OTA sketch itself does not build.
Shared Output Contract
Use the shared Arduino skill contract: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, known limitations, and recovery/security notes.
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.

