danielvm-git/bigpowers/harden-vps
Claude Code and agent skill by danielvm-git/bigpowers
- community
Checking that the SKILL.md file is still in the repository.
Harden a production Linux VPS for your application across three layers — application (systemd hardening, monitoring alerts, backup automation), Ubuntu OS (UFW firewall, fail2ban SSH, unattended-upgrades, SSH hardening), and VPS provider (health checks, daily backups, monthly snapshots). Use when the user wants to secure a production server, harden a VPS, audit server security, or mentions production hardening, VPS security, or harden the server.
Install
npx vskill@latest install danielvm-git/bigpowers/harden-vpsSKILL.md
Harden VPS
Three-layer production hardening for a self-hosted app on any VPS. Each layer independently verifiable. Apply OS first (firewall blocks attacks immediately), then your application (alerts + backups), then your VPS provider (snapshots). See REFERENCE.md for full script bodies, systemd unit template, and gotchas.
Quick start
SSH as root into the VPS. Find credentials in the your VPS provider Customer Control Panel.
HARD GATE — Runufw statusfirst. No firewall = layer 1 takes priority over everything.
Layer 1 — Ubuntu OS
Layer 2 — applicationlication
Layer 3 — VPS provider
CRITICAL GOTCHAS
- Shell escaping in Orca terminals:
$VAR,$(…), and%get eaten by the local shell. Always use base64:echo '<base64>' | base64 -d > script.sh - Crontab `%`: cron interprets
%as newline. Escape as\%in$(date +\%Y\%m\%d) - fail2ban exit 255: means a jail references a missing log file. Remove the broken jail, restart.
- your application alerts need auth: POST to
/api/monitoring/alertsrequires Bearer token. Workaround: insert directly into SQLite, then restart your application.
Verify all 8 gates
→ verify: # requires VPS SSH — run the 8-gate one-liner on the VPS manually
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/harden-vps/SKILL.md
Popularity
- Repository stars
- 188
- Repository forks
- 18
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/danielvm-git/bigpowers/harden-vps)