sensecraft-solutions: Skill for Claude Code

.agents/skills/prepare-esp32-firmware/SKILL.md

prepare-esp32-firmware is a skill for Claude Code from suharvest/sensecraft-solutions. It costs 49 tokens per session (1,362 once invoked), scanned A, original, Apache-2.0.

Deployment instructions for preparing firmware for ESP32 devices, small microcontrollers used in connected hardware. They define the firmware files, folder layout, device configuration, and flashing settings needed for ESP32 variants.

In plain words
What is it for?
Use them when packaging firmware, configuring USB serial detection, setting up flashing with esptool, or adding ESP32, ESP32-S3, or ESP32-C3 support.
Why use it?
They make the files and device details predictable when preparing a hardware solution for installation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is suharvest/sensecraft-solutions's own configuration. It tells Claude Code how to work on sensecraft-solutions itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sensecraft-solutions configures →

Reuse

Borrowing it

Nothing to install: this file belongs to suharvest/sensecraft-solutions. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/suharvest/sensecraft-solutions/main/.agents/skills/prepare-esp32-firmware/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/suharvest/sensecraft-solutions

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prepare-esp32-firmware

README.md
[![agentmods](https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/prepare-esp32-firmware/github.svg)](https://agentmods.dev/skills/suharvest/sensecraft-solutions/prepare-esp32-firmware)
Your own site
<a href="https://agentmods.dev/skills/suharvest/sensecraft-solutions/prepare-esp32-firmware"><img src="https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/prepare-esp32-firmware/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prepare-esp32-firmware

Your own site · 80×15
<a href="https://agentmods.dev/skills/suharvest/sensecraft-solutions/prepare-esp32-firmware"><img src="https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/prepare-esp32-firmware.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,362 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01362
Opus 5 $0.00024 $0.00681
Sonnet 5 $0.00010 $0.00272
Haiku 4.5 $0.00005 $0.00136

Measured 12d ago against content hash 8a69b6456374, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

prepare-esp32-firmware scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/prepare-esp32-firmware/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prepare ESP32 Firmware

Guide for preparing ESP32 device firmware and configuration files.

Required Files

File Description Required
firmware.bin Main firmware binary Yes
bootloader.bin Bootloader (first flash) Optional
partition-table.bin Partition table Optional

Directory Structure

solutions/[solution_id]/
├── solution.yaml              # Solution configuration
├── guide.md                   # English deployment guide (defines steps)
├── guide_zh.md                # Chinese deployment guide
├── gallery/                   # Images
│   └── watcher_connect.png
├── assets/
│   └── watcher_firmware/      # Firmware files
│       ├── firmware.bin
│       ├── bootloader.bin     # optional
│       └── partition-table.bin # optional
└── devices/
    └── [device_id].yaml       # Device config

Device Configuration Template

Create devices/[device_id].yaml:

version: "1.0"
id: watcher
name: SenseCAP Watcher
name_zh: SenseCAP Watcher
type: esp32_usb

detection:
  method: usb_serial
  # Watcher uses WCH USB-UART chip
  usb_vendor_id: "0x1a86"
  usb_product_id: "0x55d2"
  fallback_ports:
    - /dev/tty.wchusbserial*
    - /dev/cu.wchusbserial*
    - /dev/ttyUSB*
    - /dev/ttyACM*

firmware:
  source:
    path: assets/watcher_firmware/firmware.bin  # Local path or URL

  flash_config:
    chip: esp32s3              # esp32/esp32s2/esp32s3/esp32c3
    baud_rate: 921600
    flash_mode: dio
    flash_freq: 80m
    flash_size: 16MB
    partitions:
      - name: app
        offset: "0x10000"
        file: firmware.bin

steps:
  - id: detect
    name: Detect Device
    name_zh: 检测设备
    optional: false
    default: true

  - id: erase
    name: Erase Flash (Optional)
    name_zh: 擦除闪存 (可选)
    optional: true
    default: false

  - id: flash
    name: Flash Firmware
    name_zh: 烧录固件
    optional: false
    default: true

  - id: verify
    name: Verify
    name_zh: 验证
    optional: false
    default: true

post_deployment:
  reset_device: true
  wait_for_ready: 5

Read the full file on GitHub · 198 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 198 lines · 49 tokens per session scan A 8a69b6456374

Subscribe to this mod's changes

prepare-esp32-firmware is a skill published in the GitHub repository suharvest/sensecraft-solutions (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 1,362 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens