← 返回 Skills 市场
Unihiker K10 MicroPython
作者
Rockets_cn
· GitHub ↗
· v1.0.0
· MIT-0
147
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install unihiker-k10-micropython
功能描述
Use when programming Unihiker K10 board with MicroPython, uploading code, flashing firmware, or accessing K10 MicroPython APIs (screen, sensors, RGB, audio, AI)
安全使用建议
This skill appears to do what it claims, but take precautions before running its setup or flash scripts: 1) The setup script runs curl | sh against raw.githubusercontent.com and performs pip installs and may move binaries with sudo — review that installer script and the pip packages before executing. 2) The flashing scripts expect a firmware binary at ${HOME}/.claude/skills/unihiker-k10/firmware/k10-micropython-v0.9.2.bin, but that file is not in the package; verify the firmware source and integrity before flashing. 3) Running these scripts modifies your system (installs tools, writes to ~/.k10, may require sudo); prefer installing arduino-cli/mpremote manually or run setup in an isolated environment (VM/container) if you are unsure. 4) If you decide to proceed, inspect scripts line-by-line for unexpected network calls or remote execution, and avoid running curl | sh blindly. If you want, I can point out the exact lines to inspect or produce a safer, explicit installation checklist you can run manually.
功能分析
Type: OpenClaw Skill
Name: unihiker-k10-micropython
Version: 1.0.0
The skill bundle contains scripts for setting up a Unihiker K10 development environment that employ high-risk execution patterns. Specifically, `scripts/setup.sh` uses `curl | sh` to download and execute an external installer for `arduino-cli` and uses `sudo` to move binaries, while `SKILL.md` recommends lowering the PowerShell execution policy. Although these actions are plausibly necessary for the stated purpose of hardware toolchain installation, they represent significant security risks (RCE and system modification) and lack sufficient input validation or integrity checks.
能力评估
Purpose & Capability
Name/description match the provided scripts and documentation: find-port, flash, upload, and API reference are all present and appropriate for programming a K10 with MicroPython. However, the flashing scripts reference a firmware binary at ${HOME}/.claude/skills/unihiker-k10/firmware/k10-micropython-v0.9.2.bin which is not included in the manifest — this mismatch should be explained (where does the firmware come from?).
Instruction Scope
SKILL.md and the scripts instruct the agent/user to run local shell scripts that access serial devices (/dev/*, COM ports), read/write files under HOME, and perform firmware flashing. Those actions are expected for the stated purpose. The concern is that setup.sh will execute network installs (curl | sh) and pip installs at runtime and potentially move binaries into system locations; these steps expand the scope beyond purely device-local operations and execute code fetched from the network.
Install Mechanism
There is no formal install spec; instead the bundled setup.sh performs dynamic installs: it curls and pipes the arduino-cli installer from raw.githubusercontent.com (remote script execution), runs pip installs for mpremote/ampy, and may move binaries to /usr/local/bin (sudo). Downloading and executing an installer script (curl | sh) and performing pip installs at runtime are moderate-to-high risk behaviors and should be reviewed before running. The firmware binary the flash scripts expect is not present in the package, implying an external download step is required but not specified.
Credentials
The skill requests no environment variables or credentials and does not try to access unrelated secret locations. It does reference HOME and places files under ~/.k10 and (implicitly) ~/.claude, which is plausible for per-user configuration. No tokens/keys are requested.
Persistence & Privilege
always is false and the skill is not force-enabled. setup.sh will create a ~/.k10 directory and may install system tools and libraries, potentially requiring sudo to move binaries into /usr/local/bin and modifying system state. That is reasonable for a developer tool but elevates the impact of running the script—review and run with least privilege (or in a container) if possible.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install unihiker-k10-micropython - 安装完成后,直接呼叫该 Skill 的名称或使用
/unihiker-k10-micropython触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: MicroPython support with firmware and upload scripts
元数据
常见问题
Unihiker K10 MicroPython 是什么?
Use when programming Unihiker K10 board with MicroPython, uploading code, flashing firmware, or accessing K10 MicroPython APIs (screen, sensors, RGB, audio, AI). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 147 次。
如何安装 Unihiker K10 MicroPython?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install unihiker-k10-micropython」即可一键安装,无需额外配置。
Unihiker K10 MicroPython 是免费的吗?
是的,Unihiker K10 MicroPython 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Unihiker K10 MicroPython 支持哪些平台?
Unihiker K10 MicroPython 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Unihiker K10 MicroPython?
由 Rockets_cn(@rockets-cn)开发并维护,当前版本 v1.0.0。
推荐 Skills