rpi5/openclaw/skills/pi-admin/SKILL.md
Raspberry Pi 5 system administration. Monitor resources, manage services, perform updates and maintenance.
npx skillsauth add nsimonfr/nic-os pi-adminInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
System monitoring and administration for this NixOS RPi5.
# Quick health check
uname -a
uptime
free -h
df -h
vcgencmd measure_temp # CPU temperature
# Network interfaces and IPs
ip addr show
hostname -I
# Tailscale status
tailscale status
tailscale ip -4
# CPU usage (1-second snapshot)
top -bn1 | head -20
# Memory
free -h
# Temperature
vcgencmd measure_temp
# CPU throttling / clock
vcgencmd get_throttled
vcgencmd measure_clock arm
# Disk usage
df -h
# Largest directories under home
du -sh /home/nsimon/* 2>/dev/null | sort -h
# OpenClaw gateway status
systemctl --user status openclaw-gateway
journalctl --user -u openclaw-gateway -n 50
# Key native services
systemctl status home-assistant ha-linky sure-web sure-worker ghostfolio
# All system services (running)
systemctl list-units --type=service --state=running
# Raspberry Pi model
cat /sys/firmware/devicetree/base/model && echo
# CPU info
nproc
cat /proc/cpuinfo | grep "Model name" | head -1
# Memory
cat /proc/meminfo | grep MemTotal
IMPORTANT: This is a NixOS system. Package management is handled via ~/nic-os/rpi5/configuration.nix and nixos-rebuild. Do NOT use apt or pip.
# Check for NixOS updates (reads flake.lock)
nix flake update --dry-run /home/nsimon/nic-os 2>&1 | head -20
# Garbage collect old Nix generations (> 30 days)
sudo nix-collect-garbage --delete-older-than 30d
# Check disk usage by Nix store
du -sh /nix/store
# Journal cleanup (keep 7 days)
sudo journalctl --vacuum-time=7d
# Restart OpenClaw gateway
systemctl --user restart openclaw-gateway
# Restart Home Assistant (native service)
sudo systemctl restart home-assistant
# System reboot (will reconnect via Tailscale after ~60s)
sudo systemctl reboot
# OpenClaw gateway logs (live)
journalctl --user -u openclaw-gateway -f
# Home Assistant logs (live)
journalctl -u home-assistant -f
# System kernel messages
sudo dmesg | tail -50
# Recent login attempts
sudo journalctl -u sshd -n 20
~/nic-os/ — edit there and run sudo nixos-rebuild switch --flake 'path:.#rpi5'~/.secrets/ — plain text, not Nix-managedrpi5 on the tailnetdatabases
Query today's Immich "on this day" memories and print a summary picoclaw can relay. Use when the user asks about Immich memories, on-this-day, or a recap of past photos from today's date.
documentation
Promote items from Wiki/Inbox into curated Wiki/Pages, merging or creating as Wiki/Schema dictates
development
Audit the LLM Wiki for orphans, broken links, duplicates, and stale facts; write a report page
documentation
Drop a URL or pasted note into the LLM Wiki Inbox in AFFiNE