← 返回 Skills 市场
234
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install raspberry-pi-servo
功能描述
通过硬件PWM来控制树莓派上的舵机. 何时触发: 当需要精确控制舵机时.
安全使用建议
This skill is coherent for Raspberry Pi PWM/servo control, but take the usual precautions before following its steps: (1) back up /boot/firmware/config.txt (or /boot/config.txt on older OS) before editing and confirm reboots with the device owner, (2) review the PyPI package rpi-hardware-pwm source or install from a trusted repository to reduce supply-chain risk, (3) be aware that sudo commands will run as root and can affect system configuration, and (4) ensure the pin numbers and pwmchip indices used match your specific Pi model (the guide already flags Pi 5 differences). If you are uncomfortable granting sudo or editing boot config, test on a disposable device or in a safe environment first.
功能分析
Type: OpenClaw Skill
Name: raspberry-pi-servo
Version: 1.0.0
The skill bundle provides instructions for the OpenClaw agent to configure and control Raspberry Pi hardware PWM, which involves high-risk system-level operations. Specifically, it directs the agent to modify the system boot configuration file (/boot/firmware/config.txt) and use 'sudo' to write directly to kernel interfaces in /sys/class/pwm/. While these actions are plausibly necessary for the stated purpose of hardware control, the requirement for elevated privileges and modification of critical system files represents a significant risk profile for an automated agent.
能力评估
Purpose & Capability
Name and description state hardware PWM control on Raspberry Pi. The instructions cover checking PWM kernel modules, enabling PWM via /boot/firmware/config.txt, using /sys/class/pwm, and installing a Python library—all directly relevant to that purpose.
Instruction Scope
Runtime instructions read and modify Raspberry Pi boot/config files and sysfs PWM nodes and run sudo commands to export/set PWM—these actions are expected for low-level PWM control. The guide does not instruct contacting external endpoints or reading unrelated secrets.
Install Mechanism
There is no packaged install spec; the skill directs the user to create a local virtualenv and run `pip install rpi-hardware-pwm`. This is appropriate for the functionality but carries the usual pip/package provenance risk (the package source and contents are not verified here).
Credentials
The skill requests no environment variables, credentials, or unrelated config paths. It does require elevated privileges (sudo) for specific hardware/sysfs operations, which is proportional to modifying PWM state and boot config.
Persistence & Privilege
The skill does not request permanent platform privileges (always:false) and does not modify other skills or system-wide agent settings. It only instructs editing the device's boot config (expected for enabling PWM).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install raspberry-pi-servo - 安装完成后,直接呼叫该 Skill 的名称或使用
/raspberry-pi-servo触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of raspberry-pi-servo.
- Provides a guide for enabling and using hardware PWM on the Raspberry Pi to control servos.
- Includes instructions for checking and enabling hardware PWM via config.txt and system directories.
- Outlines detailed installation steps, recommending a Python virtual environment.
- Supplies usage examples for the rpi-hardware-pwm Python library.
- Offers troubleshooting resource for common issues.
元数据
常见问题
raspberry-pi-servo 是什么?
通过硬件PWM来控制树莓派上的舵机. 何时触发: 当需要精确控制舵机时. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 234 次。
如何安装 raspberry-pi-servo?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install raspberry-pi-servo」即可一键安装,无需额外配置。
raspberry-pi-servo 是免费的吗?
是的,raspberry-pi-servo 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
raspberry-pi-servo 支持哪些平台?
raspberry-pi-servo 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 raspberry-pi-servo?
由 CLD1994(@cld1994)开发并维护,当前版本 v1.0.0。
推荐 Skills