
Raspberry Pi
- 102 installs
- 6 repo stars
- Updated March 13, 2026
- alphaonedev/openclaw-graph
raspberry-pi is a Claude Code skill that lets an AI agent manage Raspberry Pi devices over SSH for IoT, prototyping, and edge-computing tasks.
About
raspberry-pi is a skill that lets an AI agent operate Raspberry Pi devices over SSH for IoT and edge-computing tasks. It runs shell commands, controls GPIO pins via RPi.GPIO, installs packages with apt, and monitors system resources. A developer uses it when deploying sensors, running lightweight servers, or testing embedded applications on the board.
- Runs commands on a Raspberry Pi over SSH using $RASPI_HOST and $RASPI_SSH_KEY
- Controls GPIO pins with RPi.GPIO and edits /boot/config.txt for I2C and hardware setup
- Manages apt packages and monitors CPU temp via vcgencmd for edge devices
Raspberry Pi by the numbers
- 102 all-time installs (skills.sh)
- Ranked #805 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
raspberry-pi capabilities & compatibility
Free; needs a Raspberry Pi and SSH access.
- Capabilities
- ssh automation · gpio control · package management · device monitoring
- Use cases
- devops
- Platforms
- Linux
- Pricing
- Free
What raspberry-pi says it does
This skill enables the AI to interact with Raspberry Pi devices for IoT tasks, including remote management, hardware prototyping, and edge computing operations.
Establish SSH connections to execute commands on Raspberry Pi.
Configure hardware settings, like GPIO pins, for physical interactions.
npx skills add https://github.com/alphaonedev/openclaw-graph --skill raspberry-piAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 102 |
|---|---|
| repo stars | ★ 6 |
| Last updated | March 13, 2026 |
| Repository | alphaonedev/openclaw-graph ↗ |
What it does
Remotely manage and prototype on Raspberry Pi hardware for IoT and edge deployments over SSH.
Who is it for?
Deploying sensors, running lightweight servers, or controlling GPIO hardware on a Raspberry Pi.
Skip if: Non-hardware software tasks with no Raspberry Pi or Linux board involved.
When should I use this skill?
You need to set up, configure, or run commands on a Raspberry Pi over SSH.
What you get
The agent connects over SSH, controls GPIO, installs packages, and monitors the device.
By the numbers
- 5 key capabilities listed
- 2 usage examples (LED blink, Apache web server)
Files
raspberry-pi
Purpose
This skill enables the AI to interact with Raspberry Pi devices for IoT tasks, including remote management, hardware prototyping, and edge computing operations.
When to Use
Use this skill for scenarios involving hardware setup, such as deploying sensors in a smart home, running lightweight servers for data processing, or testing embedded applications on a compact Linux board.
Key Capabilities
- Establish SSH connections to execute commands on Raspberry Pi.
- Configure hardware settings, like GPIO pins, for physical interactions.
- Manage software installations and updates via apt.
- Monitor system resources and logs for edge computing tasks.
- Integrate with Python libraries for automation, e.g., RPi.GPIO for pin control.
Usage Patterns
To accomplish tasks, first authenticate via SSH using environment variables like $RASPI_HOST and $RASPI_SSH_KEY. Then, run commands directly or invoke scripts. For repeated tasks, wrap commands in Python functions. Always check device connectivity before proceeding. For GPIO work, import relevant libraries and set pin modes explicitly.
Common Commands/API
- Connect via SSH:
ssh pi@$RASPI_HOST -i $RASPI_SSH_KEY - Access configuration tool:
sudo raspi-config(use options like "Boot Options" with flag--expand-rootfsfor storage) - Control GPIO pins in Python:
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)
GPIO.output(17, GPIO.HIGH)- Update and install packages:
sudo apt update && sudo apt install -y package-name(e.g.,apache2for a web server) - Check system status:
vcgencmd measure_tempto get CPU temperature, ortopfor resource usage. - Config format for /boot/config.txt: Add lines like
dtparam=i2c_arm=onto enable I2C, then reboot.
Integration Notes
When integrating with other systems, set auth variables in your environment, e.g., export RASPI_HOST=raspberrypi.local and export RASPI_SSH_KEY=/path/to/private.key. For API-like interactions, use SSH wrappers in scripts. Ensure network compatibility; if behind a firewall, forward ports like 22 for SSH. For IoT ecosystems, pair with MQTT brokers by installing mosquitto and configuring via /etc/mosquitto/mosquitto.conf with lines like listener 1883.
Error Handling
If SSH fails, verify connectivity with ping $RASPI_HOST and check key permissions (e.g., chmod 600 $RASPI_SSH_KEY). For GPIO errors, ensure RPi.GPIO is installed via pip install RPi.GPIO and handle exceptions like GPIO.error in code:
try:
GPIO.setup(17, GPIO.OUT)
except RuntimeError as e:
print("Error: " + str(e) + " - Check user permissions")For apt issues, use apt --fix-broken install to resolve dependencies. Always log errors with timestamps, e.g., via echo "$(date): Error message" >> error.log.
Usage Examples
1. Set up and blink an LED on GPIO pin 17: First, SSH in with ssh pi@$RASPI_HOST -i $RASPI_SSH_KEY, then create a script file with nano blink.py and add:
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)
for _ in range(5):
GPIO.output(17, True)
time.sleep(1)
GPIO.output(17, False)
time.sleep(1)Run it with python blink.py to toggle the LED.
2. Deploy a basic web server for IoT monitoring: SSH into the device, update packages with sudo apt update, install Apache via sudo apt install -y apache2, then edit the default page at /var/www/html/index.html by adding content like <h1>IoT Status: OK</h1>. Access it via http://$RASPI_HOST in a browser, and monitor logs with tail -f /var/log/apache2/access.log.
Graph Relationships
- Related to cluster: iot
- Connected skills: sensors (for GPIO integration), actuators (for hardware control), edge-computing (for resource monitoring)
Related skills
FAQ
What does the raspberry-pi skill do?
It lets an AI agent connect to a Raspberry Pi over SSH to run commands, control GPIO pins, manage apt packages, and monitor system resources for IoT and edge-computing tasks.
How does it authenticate to the device?
It uses the environment variables $RASPI_HOST and $RASPI_SSH_KEY to establish an SSH connection to the board.