← Back to Skills Marketplace
cld1994

raspberry-pi-servo

by CLD1994 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
234
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install raspberry-pi-servo
Description
通过硬件PWM来控制树莓派上的舵机. 何时触发: 当需要精确控制舵机时.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install raspberry-pi-servo
  3. After installation, invoke the skill by name or use /raspberry-pi-servo
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug raspberry-pi-servo
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is raspberry-pi-servo?

通过硬件PWM来控制树莓派上的舵机. 何时触发: 当需要精确控制舵机时. It is an AI Agent Skill for Claude Code / OpenClaw, with 234 downloads so far.

How do I install raspberry-pi-servo?

Run "/install raspberry-pi-servo" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is raspberry-pi-servo free?

Yes, raspberry-pi-servo is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does raspberry-pi-servo support?

raspberry-pi-servo is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created raspberry-pi-servo?

It is built and maintained by CLD1994 (@cld1994); the current version is v1.0.0.

💬 Comments