← 返回 Skills 市场
500
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install raspberry-pi-gpio
功能描述
在树莓派中配置和使用GPIO. 何时触发: 需要对 LED, Button 这类简单外设进行控制时, 需要对 Servo, Motors 进行简单控制时, 或需要直接控制GPIO时. 不要触发: 当硬件载体不是树莓派时, 当需要精确控制 Servo, Motors时.
安全使用建议
This skill is a documentation-style helper for Raspberry Pi GPIO and appears internally consistent. Before using it: ensure you are actually on a Raspberry Pi (not another machine), understand that the apt commands are system-level and require sudo and will change installed packages, verify package names match your OS release, and back up or test on a non-critical Pi if unsure. Be cautious wiring hardware (use resistors and proper motor drivers). If you allow an agent to invoke these instructions autonomously, remember it could run the suggested apt and python commands on your device — only enable autonomous actions if you trust the skill and the agent's environment.
功能分析
Type: OpenClaw Skill
Name: raspberry-pi-gpio
Version: 1.0.0
The skill bundle provides legitimate instructions and code examples for managing Raspberry Pi GPIO pins using standard libraries like gpiozero and lgpio. It includes helpful documentation on pinouts and electrical specifications in references/raspberry-pi-gpio.md and standard installation procedures in SKILL.md, with no evidence of malicious intent or unauthorized data access.
能力评估
Purpose & Capability
The name/description describe Raspberry Pi GPIO usage and the instructions only require installing and using gpiozero, rpi-lgpio, or RPi.GPIO and adjusting gpio group membership — all coherent with the stated purpose.
Instruction Scope
SKILL.md stays on-topic: it shows example Python code, apt install commands, use of /dev/gpiochip and gpiozero tools, and advice about the gpio group. It does not instruct reading unrelated files, exfiltrating data, or accessing unrelated credentials. References to using web_search/web_fetch are reasonable for fetching docs.
Install Mechanism
This is an instruction-only skill with no automated install spec or downloaded archives. The only suggested installs are standard distro packages via apt (sudo apt install), which is expected for this purpose and poses the normal system-change considerations.
Credentials
The skill requests no environment variables or credentials. It correctly instructs adding users to the 'gpio' group for permission, which is proportional to accessing GPIO.
Persistence & Privilege
Skill is not always-enabled and does not request persistent system-wide configuration changes beyond normal package installation and group membership. It does not modify other skills or request elevated persistent privileges by itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install raspberry-pi-gpio - 安装完成后,直接呼叫该 Skill 的名称或使用
/raspberry-pi-gpio触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of raspberry-pi-gpio skill.
- Provides comprehensive instructions for configuring and using GPIO on Raspberry Pi, focusing on LED, Button, Servo, and simple peripherals.
- Covers the use of gpiozero as the main library, now defaulting to the modern lgpio backend (especially for Raspberry Pi 5 and later).
- Explains installation and compatibility of gpiozero, rpi-lgpio, and RPi.GPIO.
- Includes example code for GPIO input/output, events, PWM, servo control, and interrupts with both gpiozero and lgpio.
- Notes important hardware/library compatibility and troubleshooting tips for GPIO on various Raspberry Pi models.
元数据
常见问题
raspberry-pi-gpio 是什么?
在树莓派中配置和使用GPIO. 何时触发: 需要对 LED, Button 这类简单外设进行控制时, 需要对 Servo, Motors 进行简单控制时, 或需要直接控制GPIO时. 不要触发: 当硬件载体不是树莓派时, 当需要精确控制 Servo, Motors时. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 500 次。
如何安装 raspberry-pi-gpio?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install raspberry-pi-gpio」即可一键安装,无需额外配置。
raspberry-pi-gpio 是免费的吗?
是的,raspberry-pi-gpio 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
raspberry-pi-gpio 支持哪些平台?
raspberry-pi-gpio 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 raspberry-pi-gpio?
由 CLD1994(@cld1994)开发并维护,当前版本 v1.0.0。
推荐 Skills