Pi Admin
by @thesethrose
Raspberry Pi system administration. Monitor resources, manage services, perform updates and maintenance.
clawhub install pi-adminπ About This Skill
name: pi-admin description: Raspberry Pi system administration. Monitor resources, manage services, perform updates and maintenance. metadata: {"clawdis":{"emoji":"π₯§","requires":{"bins":[]}}}
Raspberry Pi Administration
Complete system monitoring and introspection for the Raspberry Pi host. Access network details, system resources, storage, services, and more.
When to Use
Usage
# Information Commands
cd /home/srose/clawd/skills/pi-admin
./skill.sh overview
./skill.sh network
./skill.sh tailscale
./skill.sh resources
./skill.sh storage
./skill.sh services
./skill.sh hardwareMaintenance Commands
./skill.sh update # Update system packages
./skill.sh clean # Clean unused packages, logs, Docker
./skill.sh reboot # Reboot with countdown
./skill.sh restart-gateway # Restart the Clawdis GatewayComplete system info
./skill.sh all
Tools Available
| Tool | Description |
|------|-------------|
| overview | Quick system summary |
| network | IP addresses, hostname, network interfaces |
| tailscale | Tailscale status, IP, peers |
| resources | CPU, memory, temperature |
| storage | Disk usage, mount points |
| services | Running services, Gateway status |
| hardware | CPU info, Raspberry Pi model, GPU |
| all | Complete detailed dump |
Examples
# Quick system check
./skill.sh overviewDebug network issues
./skill.sh network && ./skill.sh tailscaleCheck if Gateway is running
./skill.sh services | grep gatewayMonitor disk space
./skill.sh storage
Information Collected
Network:
Tailscale:
Resources:
Storage:
Services:
Hardware:
Maintenance Commands
update
Update system packages via apt:
./skill.sh update --dry-run shows what would be updatedclean
Clean up system to free disk space:
./skill.sh clean --dry-run shows what would be cleanedreboot
Graceful system reboot:
./skill.sh reboot --dry-run shows countdown without rebootingrestart-gateway
Restart the Clawdis Gateway service:
./skill.sh restart-gateway --dry-run shows what would happenoptimize
Apply safe system optimizations:
./skill.sh optimize --dry-run shows what would change./skill.sh optimize --undo reverts all changesTotal RAM savings: ~100MB
Reversibility: Yes, use --undo flag to revert
Note: All maintenance commands require sudo and ask for confirmation before making changes. Use --dry-run flag to preview changes without applying them.
β‘ When to Use
π‘ Examples
# Quick system check
./skill.sh overviewDebug network issues
./skill.sh network && ./skill.sh tailscaleCheck if Gateway is running
./skill.sh services | grep gatewayMonitor disk space
./skill.sh storage