@clawic/raspberry-pi
ASet up and maintain Raspberry Pi avoiding common hardware and configuration pitfalls.
Install
agr install @clawic/raspberry-pi --target claudeWrites 2 files into .claude/skills/, pinned to git-2e7b17ae.
- .claude/skills/raspberry-pi/SKILL.md
- .claude/skills/raspberry-pi/_meta.json
Document
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
sshin boot partition โ notssh.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/arm64orlinux/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
piwith default password deprecated โ create custom user - First boot takes 2-3 minutes โ filesystem resize, don't panic
Performance Tuning
gpu_mem=16for 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
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged โ not that the artifact is safe.
Versions
git-2e7b17aef69b2026-07-31