@rvdbreemen/flash
BBuild firmware + filesystem and flash to ESP via USB. Auto-detects serial port. No user input needed.
Install
agr install @rvdbreemen/flash --target claudeWrites 1 file into .claude/skills/, pinned to git-a1a12d25.
- .claude/skills/flash/SKILL.md
Document
name: flash description: Build firmware + filesystem and flash to ESP via USB. Auto-detects serial port. No user input needed. disable-model-invocation: true
/flash - Build and flash OTGW-firmware
Build firmware and filesystem, then flash both to the connected ESP via USB. Fully automated, no user interaction required.
Steps
Run these commands sequentially. Stop and report if any step fails.
cd D:\Users\Robert\Documents\GitHub\RvdB\OTGW-firmware
python build.py
python flash_esp.py --build --no-interactive
The build.py without flags builds both firmware AND filesystem.
The flash_esp.py --build --no-interactive flashes both to the ESP without prompts, auto-detecting the serial port.
After flashing
Report:
- Build result (firmware size, filesystem size)
- Flash result (port used, success/failure)
- The firmware version that was flashed (from version.h)
Trustgrade B
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- warnLicensecopyleft/unknown — index-and-link only
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-a1a12d25c8502026-07-31