← 返回 Skills 市场
0x1abin

MicroPython Skills

作者 0x1abin · GitHub ↗ · v1.0.0 · MIT-0
linuxdarwinwin32 ⚠ suspicious
162
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install micropython-skills
功能描述
Program and interact with embedded development boards (ESP32, ESP32-S3, ESP32-C3, ESP8266, NodeMCU, Raspberry Pi Pico, RP2040, STM32) through real-time REPL....
安全使用建议
This skill appears to be what it claims (tools for MicroPython boards) but has two important caution points: (1) wifi_setup.py writes Wi‑Fi credentials and a WebREPL password to files on the device and prints the password in a RESULT JSON — that can expose secrets in logs or agent output. (2) firmware_flash.py performs full flash/erase operations which can permanently erase device files and brick devices if used incorrectly. Before installing or using: review the wifi_setup.py and firmware_flash.py source yourself; do not supply Wi‑Fi passwords unless you accept they will be stored on the device and may appear in output; never allow the agent to run flashing (--yes) or erase operations without explicit, informed user confirmation; back up boot.py/main.py before any write/flash; and test on non-critical hardware first. If you want, I can point out the exact lines where passwords are printed/written and propose safe edits (e.g., stop printing passwords, avoid writing plaintext boot.py, remove passwords from RESULT output).
功能分析
Type: OpenClaw Skill Name: micropython-skills Version: 1.0.0 The bundle provides a comprehensive framework for MicroPython development, including scripts for device discovery (device_probe.py), firmware flashing (firmware_flash.py), and remote code execution (webrepl_exec.py). These tools require high-risk capabilities, such as executing shell commands on the host machine and downloading/writing firmware binaries from micropython.org. While the behavior is clearly aligned with the stated purpose and includes extensive safety documentation (safety.md) and structured output protocols, the inherent risks of automated hardware manipulation and host-side script execution categorize the bundle as suspicious according to the provided criteria.
能力评估
Purpose & Capability
Name and description align with the included scripts and SKILL.md. Required binaries (python3, mpremote, esptool) are appropriate for probing devices, flashing firmware, and executing code. The presence of device_probe, firmware_flash, webrepl_exec and wifi_setup scripts is coherent with the stated capabilities.
Instruction Scope
The SKILL.md instructs the agent to run bundled scripts that modify device state (write files, update boot.py, enable WebREPL, erase/flash firmware). The wifi_setup flow requests user Wi‑Fi credentials (expected) but the WiFi setup code writes plaintext credentials to device files (boot.py and webrepl_cfg.py) and prints the webrepl password inside a RESULT JSON — this contradicts the skill's own safety guidance that passwords should not be saved or echoed. Firmware flashing and erase_flash behaviors are labeled 'Dangerous' in the references, which is appropriate, but the scripts must strictly require explicit user confirmation; ensure the agent never auto-uses --yes without an explicit user consent.
Install Mechanism
No install spec (instruction-only) reduces install-time risk. Firmware downloads in firmware_flash.py come from micropython.org (trusted), and scripts use standard Python stdlib and expected third-party tools. No untrusted or short‑URL downloads or arbitrary remote code hosting were found.
Credentials
The skill requests no environment variables or external credentials (good). However, it explicitly asks users for Wi‑Fi SSID/password and a WebREPL password and then persists and prints those secrets in device files and script output — this is disproportionate from a secrecy standpoint and risks accidental exfiltration via logs or agent output parsing.
Persistence & Privilege
The skill does not set always:true and does not require system-level credentials. It does modify device‑local persistent storage (writes boot.py, webrepl_cfg.py, backs up files, erases/flashes device). Those device-level persistent actions are expected for this domain but are high‑impact operations; they should always require explicit, unambiguous user confirmation before execution.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install micropython-skills
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /micropython-skills 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of micropython-skills v1.0.0: - Enables AI-driven MicroPython code generation and execution for a wide range of embedded boards (ESP32 series, ESP8266, RP2040, STM32, etc.). - Includes scripts for device probing, firmware flashing, WiFi/WebREPL setup, code deployment, and board diagnostics. - Structured system for safe hardware interaction: clearly defined “Safe”, “Cautious”, and “Dangerous” operation tiers with strong safety and confirmation rules. - Modular sub-skill routing for sensors, actuators, networking, algorithms, and diagnostics. - Requires Python 3, mpremote, and esptool; supports Linux, macOS, and Windows. - Implements a standardized tagged output protocol for reliable parsing and automation.
元数据
Slug micropython-skills
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

MicroPython Skills 是什么?

Program and interact with embedded development boards (ESP32, ESP32-S3, ESP32-C3, ESP8266, NodeMCU, Raspberry Pi Pico, RP2040, STM32) through real-time REPL.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 162 次。

如何安装 MicroPython Skills?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install micropython-skills」即可一键安装,无需额外配置。

MicroPython Skills 是免费的吗?

是的,MicroPython Skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

MicroPython Skills 支持哪些平台?

MicroPython Skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 MicroPython Skills?

由 0x1abin(@0x1abin)开发并维护,当前版本 v1.0.0。

💬 留言讨论