Manage Samba shares, Syncthing file sync, Docker volumes, and disk space on the Raspberry Pi.
Ships in home-lab-developer-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when the user wants to:
homelab_diskUsage to get partition usage, largest directories, and free space. Identify if immediate cleanup is needed./etc/samba/smb.conf on the Pi.[sharename]
path = /srv/samba/sharename
browseable = yes
read only = no
valid users = @smbgroup
create mask = 0664
directory mask = 0775
sudo mkdir -p /srv/samba/sharename && sudo chown -R nobody:smbgroup /srv/samba/sharenamesudo smbpasswd -a <username>homelab_systemdControl with unit: "smbd", action: "restart" and confirm: truenet use Z: \\pi5\sharename /user:<username>/opt/homelab/docker/syncthing/..stignore file in the synced folder:
// Ignore temporary files
*.tmp
*.swp
~*
.DS_Store
Thumbs.db
homelab_composePs to verify the Syncthing container is healthy.docker volume lsdocker volume inspect <name>/var/lib/docker/volumes/, easy to back up with docker run --rm -v <vol>:/data -v /tmp:/backup busybox tar czf /backup/vol.tar.gz /data./opt/homelab/docker/<service>/.docker system prune -af --volumes
docker image prune -fsudo apt clean && sudo apt autoremove -ylogrotate for application logs or use Docker's max-size log option:
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
journalctl --disk-usage and vacuum if large: sudo journalctl --vacuum-size=100Mhomelab_diskUsage again to confirm cleanup freed space. Call homelab_serviceHealth to verify services are unaffected./etc/samba/smb.conf on the Pi/opt/homelab/docker/syncthing//opt/homelab/docker//etc/logrotate.d/User: "My Pi is running low on disk space. Help me clean it up."
Agent response:
homelab_diskUsage to identify usage breakdown.docker image prune -af
docker volume prune -f
sudo apt clean
sudo journalctl --vacuum-size=100M
homelab_diskUsage to confirm free space increased.echo "0 3 * * 0 docker image prune -af >> /var/log/docker-cleanup.log 2>&1" | sudo tee /etc/cron.d/docker-cleanup
| Tool | Purpose |
|---|---|
homelab_diskUsage | Check partition usage, identify space hogs |
homelab_piStatus | Overall system state including storage |
homelab_serviceHealth | Verify services after volume or share changes |
homelab_composePs | Check Syncthing and other container states |
homelab_composeUp | Redeploy stacks after volume config changes |
homelab_composeDown | Stop stacks before major volume operations |
homelab_journalLogs | Debug Samba (unit: "smbd") via the systemd journal |
homelab_serviceLogs | Debug the Syncthing container |
homelab_systemdControl | Restart smbd after config changes (action: "restart", confirm: true) |
homelab_nodeExec | Run other one-off commands on the node (confirm: true) |
homelab_serviceRestart | Restart the Syncthing container |
homelab_backupStatus | Check if backups are consuming excessive space |
-a flag removes all unused images, not just dangling ones. Omit -a if you want to keep images for quick container recreation.force user and force group in smb.conf for simpler setups..sync-conflict files. Set up folder types (send-only, receive-only) to avoid bidirectional conflicts.docker volume prune permanently deletes unused volumes. Always check homelab_backupStatus before pruning.backup-recovery -- backup strategies for volumes and share datadocker-compose-stacks -- volume definitions in compose filestroubleshooting -- debug disk-full errors and container storage issuespi-system-management -- system-level disk and mount managementWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/home-lab-developer-tools:storage-managementfrom home-lab-developer-tools
home-lab-developer-tools@nicu-ai-tools is listed by mascatunike/nicu-ai-tools — review the source before installing
npx claudepluginhub mascatunike/nicu-ai-tools --plugin home-lab-developer-tools22 skills in this plugin
/alerting-rulesWrite Prometheus alerting rules and configure Alertmanager routing for home lab notifications./ansible-workflowsWrite and run Ansible playbooks for multi-node home lab provisioning and configuration management./backup-recoveryConfigure and manage restic backups including scheduling, verification, and disaster recovery./certificate-managementLet's Encrypt, self-signed certs, renewal automation, NPM cert integration/disaster-recoveryFull Pi disaster recovery -- backup verification, restore workflows, SD card imaging, and migration checklists/dns-managementManage AdGuard Home DNS filtering, blocklists, local DNS records, and query log analysis.