/homelab-core:homelab-safetyfrom homelab-core
The change-approval and SSH-confirmation policy for ALL homelab operations (Proxmox, Docker, and any other infrastructure). Load and apply this before performing any action that changes a homelab system or that requires SSH/host access. Other homelab skills defer to this policy.
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.
This is the shared safety contract for every homelab plugin. Any skill that changes a system, or that needs SSH/host access, must apply this policy. When in doubt, treat the action as more dangerous, not less.
| Class | Examples | What to do |
|---|---|---|
| Read-only | list VMs/containers/stacks, show status, get logs, read configs, check versions, get backup list | Run freely. No confirmation needed. |
| Significant change | start/stop/restart, deploy/update a stack, edit a config, resize disk, change network, pull images, apply updates | Summarize → confirm (see below) before acting. |
| Destructive | delete VM/CT/stack/volume/snapshot, wipe storage, force-remove, restore-over-existing, anything irreversible or data-losing | Summarize → confirm, and explicitly call out what is irreversible and what data is at risk. |
| SSH / host-level | any drop to SSH, editing host files (/etc/pve/..., /etc/network/interfaces, modprobe, compose files on disk) | Always confirm the SSH drop first (see SSH gate), then apply the change-approval gate to the change itself. |
Do not ask for per-command approval. Instead, before executing a batch of significant/destructive work:
media, edit its compose to add a volume, redeploy").A good summary lets the user understand the change without reading every command. Prefer a short bulleted plan over a wall of shell.
The homelab plugins are API-first. SSH/host access is a fallback only for things the API genuinely can't
do (e.g. Proxmox GPU passthrough, lxc.idmap, hookscripts, raw networking; editing compose files directly).
Before using SSH at all:
cp x x.bak.<timestamp>) before modifying host configs, and
tell the user the backup path so a rollback is possible.If a task can be done by either API or SSH, choose the API and don't ask for SSH.
This gate covers getting permission to use SSH. For how to carry out SSH work safely — host-identity
confirmation, backup/rollback, validate-before-apply, the never-without-confirmation dangerous-command list,
lockout avoidance, and secret handling — load the homelab-ssh skill and follow it
for the whole SSH session.
We don't build MCP servers that just wrap SSH — that adds packaging and a second trust boundary without reducing SSH's risk. SSH lives in guardrailed skills (
homelab-ssh+ the host-level skills); custom MCP servers are reserved for real APIs (e.g. thedockerplugin'snpmserver).
homelab-research skill). Homelab software changes fast; stale answers cause outages.homelab-secrets skill — not plaintext dotfiles, the repo, or the
command line — and never print a secret value back into the conversation.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub redth/homelab-assist --plugin homelab-core5 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-secretsHow to store and use homelab credentials securely via the OS-native secret store (macOS Keychain, Windows Credential Vault, Linux libsecret/pass) instead of plaintext env vars, dotfiles, or committed files — and how to handle SSH auth (keys over passwords, ssh-agent, passphrases in the keychain). Load this whenever a task needs a token, password, or SSH credential: setting one up, retrieving one to run a command or MCP server, or advising the user where to keep it. Pairs with homelab-ssh and homelab-safety./homelab-sshThe 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.