Installable skillMIT

Raspberry Pi

Set up and maintain Raspberry Pi avoiding common hardware and configuration pitfalls.

BY clawicUPDATED Oct 27, 2026
INTENDED FORβ—ˆOpenClawInstall in a listed agent.

instructions.md

---
name: raspberry-pi
slug: raspberry
version: 1.0.0
description: Set up and maintain Raspberry Pi avoiding common hardware and configuration pitfalls.
homepage: https://clawic.com/skills/raspberry
metadata:
  clawdbot:
    emoji: πŸ“
    os:
    - linux
    - darwin
    displayName: Raspberry Pi
---

## Power Supply Issues
- Lightning bolt icon = undervoltage β€” random crashes, corruption, weird behavior until fixed
- Pi 4/5 needs 3A+ supply β€” older 2A adapters cause instability
- USB peripherals draw from Pi's power budget β€” use powered hub for multiple devices
- Official power supply recommended β€” cheap adapters often can't sustain required amperage

## Storage Reliability
- SD cards fail under heavy writes β€” databases and logs kill them within months
- USB boot with SSD for reliability β€” SD for bootloader only, root on SSD
- Quality SD cards matter β€” Samsung EVO, SanDisk Extreme; not generic cards
- Read-only filesystem for kiosks β€” prevents corruption on power loss

## GPIO Dangers
- 3.3V logic only β€” 5V input permanently damages the Pi, no protection
- Check operating voltage of sensors/modules β€” many Arduino accessories are 5V
- Some GPIO used by default β€” I2C, SPI, UART pins need dtparam to free up
- Hardware PWM only on GPIO 18 β€” software PWM on others is less precise

## Network Setup Traps
- WiFi country code required β€” won't connect without proper regulatory setting
- Headless SSH: empty file named `ssh` in boot partition β€” not `ssh.txt`
- Static IP via `/etc/dhcpcd.conf` β€” editing wrong file does nothing
- Don't port forward SSH β€” use Tailscale, Cloudflare Tunnel, or WireGuard

## Docker on Pi
- ARM images only β€” `linux/arm64` or `linux/arm/v7`, many images unavailable
- 32-bit OS limits to 3GB RAM β€” use 64-bit for 4GB+ models
- SD card unsuitable for Docker β€” volume writes accelerate card death
- Install via `curl -fsSL https://get.docker.com | sh` β€” apt version is outdated

## Headless Setup
- Configure hostname, WiFi, user in Raspberry Pi Imager β€” before first boot
- Username `pi` with default password deprecated β€” create custom user
- First boot takes 2-3 minutes β€” filesystem resize, don't panic

## Performance Tuning
- `gpu_mem=16` for headless β€” frees RAM when no display connected
- ZRAM for swap on low-RAM models β€” better than SD swap
- Disable Bluetooth and GUI if unused β€” saves resources

## Troubleshooting Patterns
- Red light only = power issue β€” no boot attempt, check supply
- Green light blinking patterns = specific boot failures β€” check documentation
- No HDMI output β€” connect before powering, Pi doesn't hot-plug HDMI
- Kernel panic on boot = corrupted SD β€” reflash image
- SSH refused β€” verify SSH enabled, check IP, check firewall
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.