← Back to Skills Marketplace
yevladimir

led controler

by YEVladimir · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
116
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install led-ctrl
Description
Control Raspberry Pi GPIO pins remotely by setting specified pins HIGH or LOW through RPC calls.
README (SKILL.md)

Pi GPIO Control Skill\r

This skill allows OpenClaw agents to control GPIO pins on a Raspberry Pi via RPC.\r

Purpose\r

Expose Raspberry Pi GPIO actions as local-like functions to the agent, while execution happens remotely\r on the Pi.\r

Actions\r

  • gpio_on(pin): Set GPIO pin HIGH\r
  • gpio_off(pin): Set GPIO pin LOW\r

Requirements\r

Security\r

Only predefined GPIO actions are allowed on the Pi side.

Usage Guidance
This skill appears to do what it says (send RPC commands to a Raspberry Pi) but has several issues you should address before installing or using it: - Verify the target host: SKILL.md references http://pi.local:9000/run but the script hard-codes 192.168.0.14. Confirm which address is correct and avoid accidental control of the wrong device. - Authentication & encryption: The script sends commands over plain HTTP with no auth. Ensure the Pi's RPC server requires authentication (token/HTTPS) or run this only on a tightly controlled private network. - Input validation: The script forwards ACTION and PIN without checking allowed values. Prefer a whitelist (only gpio_on/gpio_off and valid pin ranges) to prevent unexpected commands. - Make the Pi address configurable: Replace the hard-coded PI_IP with a configurable env var or skill setting so the agent cannot accidentally reach other hosts. - Review the remote RPC server: Inspect the Pi-side implementation to confirm it actually limits actions to safe GPIO operations and does not execute arbitrary shell commands. If you cannot confirm the above, treat the skill as risky — especially on networks with multiple devices or where an unauthenticated RPC could be abused. If you want, I can suggest a revised script and a safer SKILL.md that add validation, configuration, and optional authentication.
Capability Assessment
Purpose & Capability
The skill claims to control Raspberry Pi GPIO remotely and the included script sends HTTP RPC requests to a Pi — that is coherent. However the SKILL.md says the endpoint is http://pi.local:9000/run while the script uses a hard-coded IP (192.168.0.14), which is an unexplained discrepancy. The script also does not expose or require any of the usual configuration (no env var to set the Pi address) which reduces flexibility and suggests sloppy implementation.
Instruction Scope
The SKILL.md restricts actions to predefined GPIO operations, but the script accepts any ACTION string passed by the caller and forwards it verbatim to the Pi. There is no local validation of allowed actions or pin ranges. The script transmits control commands over HTTP with no authentication or encryption; SKILL.md does not mention authentication. The instructions and code therefore permit the agent to send arbitrary JSON RPC payloads to a network endpoint, which may be broader than the documented safe scope.
Install Mechanism
There is no install spec (instruction-only style) which is low-risk in general. However a scripts/main.sh file is included and would be present on disk when the skill is installed. The script uses curl (assumed present) and writes nothing else. No external downloads or installers are present — that is reasonable but the presence of an executable script increases runtime risk if invoked without review.
Credentials
The skill requests no environment variables or credentials, yet it performs network control of hardware over HTTP without authentication. The lack of required credentials is not necessarily good here — it implies unauthenticated access to the Pi endpoint. Also the Pi address is hard-coded in the script rather than configurable, which is poor practice and may cause accidental control of an unintended host on the local network.
Persistence & Privilege
The skill does not request always:true, does not require special system paths or modify other skills, and uses normal autonomous invocation defaults. There is no evidence it attempts to gain persistent elevated privileges or modify other agent configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install led-ctrl
  3. After installation, invoke the skill by name or use /led-ctrl
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added scripts/main.sh to the project.
v1.0.0
Initial release of led-ctrl skill. - Enables control of Raspberry Pi GPIO pins remotely using RPC. - Provides gpio_on(pin) and gpio_off(pin) actions to set GPIO pins HIGH or LOW. - Requires the pi-agent RPC server running on a Raspberry Pi. - Restricts operations to predefined GPIO actions for security.
Metadata
Slug led-ctrl
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is led controler?

Control Raspberry Pi GPIO pins remotely by setting specified pins HIGH or LOW through RPC calls. It is an AI Agent Skill for Claude Code / OpenClaw, with 116 downloads so far.

How do I install led controler?

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

Is led controler free?

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

Which platforms does led controler support?

led controler is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created led controler?

It is built and maintained by YEVladimir (@yevladimir); the current version is v1.0.1.

💬 Comments