/homelab-core:homelab-sshfrom homelab-core
The execution discipline and guardrails for doing ANYTHING over SSH on a homelab host (Proxmox nodes, Docker hosts, NAS, etc.). SSH is root-level power with no undo, so load this whenever a task will run shell commands or edit files on a host over SSH. Covers host-identity confirmation, read-before-write, backup/rollback, validate-before-apply, the never-without-confirmation dangerous-command list, lockout avoidance, scripting hygiene, and secret handling. Works together with homelab-safety (which governs approval) — this skill governs how the SSH work is actually carried out.
Ships in homelab-core. 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.
SSH gives you a root-capable shell on a real machine. There is no undo, no preview, and a single bad command can lose data or take the host (and everything it runs) offline. Treat every SSH session as high-consequence.
This skill is the how of SSH work. It assumes you've already cleared the whether with the
homelab-core:homelab-safety gate: SSH is genuinely required (the API can't do
it), and the user approved the SSH drop and the change. Prefer APIs over SSH every time you have the choice.
hostname, hostname -I /
ip a, and for Proxmox pveversion. Name the host in your plan. Acting on the wrong node is a top cause
of incidents.cat/sed -n, qm config,
pct config, ip a, docker inspect, systemctl status. Never edit a file you haven't displayed.cp -a /etc/network/interfaces /etc/network/interfaces.bak.$(date +%Y%m%d-%H%M%S). Know the restore command.homelab-safety.
Re-confirm if reality differs from your plan mid-way (an unexpected diff, error, or state).| Domain | Check / dry-run before applying |
|---|---|
| Proxmox guest config | qm config <id> / pct config <id> to confirm the resulting config; snapshot first |
| Networking (ifupdown2) | apply with ifreload -a (reversible) rather than rebooting; keep console open |
| nginx / NPM | nginx -t before reload |
| docker compose | docker compose config to validate before up |
| systemd units | systemd-analyze verify <unit>; systemctl status after |
| sudoers | visudo -c (never hand-edit /etc/sudoers without it) |
| fstab | mount -a test in a safe window; a bad fstab can block boot |
| cron | install to a tempfile and crontab tempfile, not blind edits |
These are destructive or lockout-prone. Do not run them as part of a batch the user approved at a high level — each needs its own explicit "yes, do exactly this to exactly that", and a backup/rollback in hand:
rm -rf, rm with globs/wildcards, find ... -delete, truncate, shred.dd, mkfs.*, wipefs, parted/sgdisk/fdisk writes, zpool destroy, lvremove,
vgremove.> redirection onto an existing file (back up first, or use tee -a); mv over an existing
file; cp over config without a backup.chmod -R / chown -R on /, /etc, home, or storage roots.iptables -F / flushing rules remotely, ufw/nft resets, stopping or
disabling networking/sshd, editing /etc/network/interfaces, /etc/ssh/sshd_config, or the bootloader
without confirmed out-of-band access.reboot/shutdown/poweroff of a host without first migrating/stopping its guests or
warning the user of downtime; kill -9 of critical processes; systemctl stop of storage/cluster services.curl … | sh, wget … | bash).
Download, inspect, then run — never pipe-to-shell.apt remove/autoremove that could pull critical packages; check what would
be removed first.If the user's goal truly requires one of these, isolate it, explain the exact effect and the rollback, and get a direct yes for that specific command.
set -euo pipefail; quote every "$variable"; avoid unquoted globs.ps. Pass via environment, a
protected file, or stdin. Don't echo tokens/passwords; redact them in any output you show. Pull credentials
(SSH key passphrases, host passwords if unavoidable, tokens) from the OS secret store via the
homelab-secrets skill — and prefer SSH keys + ssh-agent over passwords.chmod 600) when you must.sudo <specific command> where the host allows it.If you're not confident a command is safe on this host/version, stop: research the version-correct method
(homelab-core:homelab-research), propose a read-only verification step, or
ask the user. On anything destructive, uncertainty means don't.
We deliberately do not build MCP servers that merely shell out over SSH — that adds packaging and a second
trust boundary without removing any of SSH's risk. SSH work lives in guardrailed skills like this one instead.
Custom MCP servers are reserved for real APIs/protocols (e.g. the docker plugin's npm server over the NPM
REST API). See docs/DESIGN.md.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/homelab-overviewOrientation for the homelab-assist plugin suite — what plugins and skills exist (Proxmox, Docker), how they relate, and how to route a homelab request to the right skill. Load this when the user makes a broad homelab request, when you're unsure which homelab skill applies, or when a task spans both Proxmox and Docker./homelab-researchHow to research version-correct, canonical answers for homelab software (Proxmox, Docker, Dockhand, Portainer, nginx-proxy-manager, etc.) without being misled by stale search results. Load this whenever you are not fully confident about a configuration, command, API field, or behavior before acting on a homelab system./homelab-Other plugins' skills for the same job
npx claudepluginhub redth/homelab-assist --plugin homelab-core