raspberry-pi
Skill1 starsChanged 2 months agoMITView on GitHub
Manage Raspberry Pi fleet - OS updates, Python upgrades, ARM64-specific configurations. Use when user mentions pi, raspberry, rpi, ubuntu on pi, or ARM64.
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ac-ideateSkill
- ac-listSkill
- ac-roadmapSkill
- almanacSkill
- ansible-fleetSkill
- apfsSkill
- a-teamSkill
- at-tuiSkill
- autoresearchSkill
- bop-brainstormSkill
- bop-onSkill
- bop-teamSkill
- bop-workflowSkill
- councilSkill
- datadog-backupSkill
- dd-tagsSkill
- deterministic-replaySkill
- dispatch-nuSkill
- durable-commitSkill
- elixir-gastown-opsSkill
- fleet-ircSkill
- ganttSkill
- irclaw-cluster-opsSkill
- irclaw-research-teamSkill
- jjSkill
- jobcard-systemSkill
- leptosSkill
- lower-bound-reviewSkill
- ollama-deploySkill
- preflightSkill
- providersSkill
- quota-gateSkill
- redactSkill
- searxngSkill
- tiger-teamSkill
- toyota-waySkill
- translateSkill
- trizSkill
- unicode-glyphsSkill
- vibekanbanSkill
- zellijSkill
- zellij-teamSkill
- zfsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill for managing Raspberry Pis in a fleet - specifically OS updates, Python upgrades, and hardware-specific configurations.
- Distinctive: line 16
Bash: - Run ansible, apt, ssh commands
- Distinctive: line 19
Read: - Check OS versions, configs
- Distinctive: line 20
Write/Edit: - Update sources.list, configs
- Very specific: line 27
Use ARM64 binaries: ollama-linux-arm64.tgz, NOT .amd64
- Very specific: line 98
Fix: Always verify with file /usr/bin/binary
- Distinctive: line 124
Audit first: Check OS, Python, disk space
- Distinctive: line 125
Use raw for Python < 3.9: Never wait for AnsibleFacts
- Distinctive: line 126
Test on ONE Pi first: Before rolling out to fleet
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Raspberry Pi Management Skill
Overview
Use this skill for managing Raspberry Pis in a fleet - specifically OS updates, Python upgrades, and hardware-specific configurations.
Tools Required
- Bash - Run ansible, apt, ssh commands
- SSH - Connect to Pis for direct access
- Glob/Grep - Find Pi inventory, scripts
- Read - Check OS versions, configs
- Write/Edit - Update sources.list, configs
Critical Differences from x86
1. Architecture
- Pis are ARM64 (aarch64), NOT AMD64
- Always verify:
ansible -m setup -a "filter=ansible_architecture" - Use ARM64 binaries:
ollama-linux-arm64.tgz, NOT.amd64
2. Ubuntu Release Upgrades
In-place upgrades from 20.04 → 22.04 are RISKY on Pis:
- Can break SSH (openssh-server removed during upgrade)
- Can break package manager (dpkg in inconsistent state)
- Can lose network connectivity mid-upgrade
SAFE Upgrade Method (use this, not do-release-upgrade):
# Manual release upgrade (works without TTY)
sed -i 's/focal/jammy/g' /etc/apt/sources.list
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y3. Python Version
- Ubuntu 20.04 ships Python 3.8
- Ubuntu 22.04 ships Python 3.10
- Ansible needs Python 3.9+ on target (use raw module for older)
- For native Ollama, use raw module or upgrade OS
4. Docker on ARM64
- Docker works on ARM64 but use
arm64tags - Pre-built images may not have arm64 variants
- Native installation often better than Docker on Pi
Safe Update Workflow
Step 1: ALWAYS Audit First
# Check connectivity
ansible <hosts> -i inventory -m ping
# Check OS version
ansible <hosts> -i inventory -m setup -a "filter=ansible_distribution*"
# Check Python version
ansible <hosts> -i inventory -m command -a "python3 --version"
# Check disk space
ansible <hosts> -i inventory -m command -a "df -h"Step 2: For Python < 3.9, Use Raw Module
# Use raw to update apt (works with any Python)
ansible <hosts> -i inventory -b -m raw -a "apt-get update"
# Or upgrade OS to get newer Python
ansible <hosts> -i inventory -b -m raw -a "sed -i 's/focal/jammy/g' /etc/apt/sources.list && apt-get update"Step 3: Verify After Changes
ansible <hosts> -i inventory -m setup -a "filter=ansible_distribution*"
ansible <hosts> -i inventory -m command -a "python3 --version"Common Issues & Solutions
SSH Broken After Upgrade
- Cause: openssh-server removed but not reinstalled
- Solution: Physical access (keyboard/HDMI) or reimage SD card
Package Manager Broken
- Cause: dpkg in inconsistent state after interrupted upgrade
- Solution:
sudo dpkg --configure -aor reimage
Wrong Architecture Binaries
- Cause: Downloading amd64 instead of arm64
- Fix: Always verify with
file /usr/bin/binary
Network Timeout During Download
- Cause: Large file download interrupted
- Fix: Stage locally, distribute via Ansible copy
Raspberry Pi Specific Inventory Variables
[pis]
ubrpi41 ansible_host=10.0.3.215 ansible_user=ubuntu
# ...
[pis:vars]
ansible_python_interpreter=/usr/bin/python3
# Pis typically need longer timeouts
ansible_timeout=60Inventory Location
$HOME/rust-town/irclaw/ansible/inventoryUsage
- Audit first: Check OS, Python, disk space
- Use raw for Python < 3.9: Never wait for AnsibleFacts
- Test on ONE Pi first: Before rolling out to fleet
- Have recovery plan: SD card imager ready
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

