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 tailnetdevelopment
Log workouts, wishlist media, and query the self-hosted Ryot tracker via its GraphQL API with a Bearer token. Use when the user wants to record a gym session/workout, add a book/film/game/show to their wishlist, or look up what they've tracked in Ryot.
development
AI-optimized web search via Tavily API. Returns concise, relevant results for AI agents.
content-media
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
tools
<!-- vendored via `npx skills add steipete/clawdis@himalaya` (commit 27e5d49); locally adapted for personal ProtonMail via the hydroxide bridge on rpi5 --> --- name: protonmail description: Read, search, and send the user's personal ProtonMail using the himalaya CLI against the local hydroxide bridge (IMAP :1143 / SMTP :1025). homepage: https://github.com/pimalaya/himalaya metadata: {"openclaw":{"emoji":"📧","os":["linux"],"requires":{"bins":["himalaya"]}}} --- # ProtonMail (himalaya + hydroxid