
If you're running OpenClaw on a server or workstation, this walks you through hardening the host OS without locking yourself out. It checks SSH config, firewall rules, listening ports, updates, and backup status, then helps you pick a risk profile (VPS hardened, home balanced, dev convenience) and generates a remediation plan with rollback steps. The workflow is careful about preserving remote access and requires confirmation before touching anything. It also runs OpenClaw's own security audit tooling and can schedule periodic checks via cron. Honestly most useful if you've spun up a gateway host and want to tighten it methodically instead of guessing at iptables rules at midnight.
$ npx -y skills add steipete/clawdis --skill healthcheck --agent claude-codeInstalls into .claude/skills of the current project.
Goal: assess host risk, run read-only checks, then propose staged hardening without breaking access.
Ask only for missing facts. Simple phrasing preferred.
Ask once for permission to run read-only checks. Then run relevant commands.
Common:
openclaw security audit --deep
openclaw gateway status --deep
openclaw doctor --lint
doctor --lint can exit 1 for findings: read the report and continue the remaining checks. Ordinary doctor and doctor --non-interactive can copy legacy config and migrate state without --fix; reserve repairs for explicit approval. Read-only checks exclude config/service repairs and state migrations, but may produce incidental logs or cache bookkeeping.
macOS:
sw_vers
lsof -nP -iTCP -sTCP:LISTEN
/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
pfctl -s info
tmutil status
fdesetup status
softwareupdate --schedule
Linux:
cat /etc/os-release
ss -ltnup || ss -ltnp
ufw status || firewall-cmd --state || nft list ruleset
systemctl status ssh sshd
lsblk -f
Windows:
systeminfo
Get-NetFirewallProfile
Get-BitLockerVolume
After context is known, ask desired posture:
Offer only relevant items:
openclaw security audit --deep.Confirm exact action before applying.
Sponsors