Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add GoldenWing-360/claude-security-skills --skill vps-hardeninggit clone --depth 1 https://github.com/GoldenWing-360/claude-security-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/goldenwing-360/claude-security-skills/vps-hardening)<a href="https://agentmods.dev/skills/goldenwing-360/claude-security-skills/vps-hardening"><img src="https://agentmods.dev/badge/skills/goldenwing-360/claude-security-skills/vps-hardening/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/goldenwing-360/claude-security-skills/vps-hardening"><img src="https://agentmods.dev/badge/skills/goldenwing-360/claude-security-skills/vps-hardening.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.02477 |
| Opus 5.5 | $0.00032 | $0.00991 |
| Sonnet 5.5 | $0.00016 | $0.00495 |
| Haiku 4.5 | $0.00008 | $0.00248 |
Grade A, and why
vps-hardening scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
description: Baseline-harden a Debian or Ubuntu VPS in roughly thirty minutes. Covers SSH key-only authentication, UFW firewall, fail2ban with web-app jails, unattended security upgrades, kernel sysctls, journalctl reten Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
apt install -y sudo ufw fail2ban unattended-upgrades curl ca-certificates gnupg How it starts
The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VPS Hardening
A pragmatic baseline for a single Debian/Ubuntu VPS hosting a few services. Not a CIS benchmark — those are excellent but too long for a vibe-coded side project to follow on day one. This is the 30-minute version that gets you 90% of the way.
Assumptions: you have root SSH access (typically via the provider's initial password). You will be the first and probably only operator.
When to invoke
- New VPS provisioned, no hardening yet
- Inherited a VPS with no documentation
- Service is about to face public internet traffic
- Periodic re-audit (quarterly is reasonable)
Step 0 — Get a backup before changing anything
# From your laptop, snapshot the VPS via your provider's panel/API first.
# All steps below are reversible, but a snapshot turns a mistake from a crisis into an inconvenience.
Step 1 — Update everything, then create a non-root user
# As root, on the VPS
apt update && apt upgrade -y
apt install -y sudo ufw fail2ban unattended-upgrades curl ca-certificates gnupg
# Create a personal user with sudo
adduser deploy # set a strong passphrase (you will rarely use it)
usermod -aG sudo deploy
From now on, prefer to SSH as deploy and use sudo for privileged actions. root will be locked from SSH in step 3.
Step 2 — Authorize your SSH key for the new user
From your laptop:
ssh-copy-id deploy@<vps-ip>
# Verify you can log in as deploy and run sudo
ssh deploy@<vps-ip> 'sudo -v && echo OK'
If you do not have an SSH key yet:
# On the laptop
ssh-keygen -t ed25519 -C "deploy@<your-laptop-name>"
Ed25519 is the modern default; RSA-2048 also fine but slower.
Step 3 — Lock SSH down
Edit /etc/ssh/sshd_config (on the VPS, as root or sudo):
# Auth
PermitRootLogin no
PasswordAuthentication no
KbdInteractiveAuthentication no
ChallengeResponseAuthentication no
PubkeyAuthentication yes
PermitEmptyPasswords no
# Hygiene
LoginGraceTime 30
MaxAuthTries 3
MaxSessions 4
ClientAliveInterval 300
ClientAliveCountMax 2
# Reduce surface
AllowAgentForwarding no
AllowTcpForwarding no # set yes if you actually need SSH tunneling
X11Forwarding no
PrintMotd no
UseDNS no
# Restrict who can log in at all
AllowUsers deploy
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 292 lines · 79 tokens per session scan A 3fe296377998
vps-hardening is a skill published in the GitHub repository GoldenWing-360/claude-security-skills (23 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 2,477 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
vps-hardening compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vps-hardeningGoldenWing-360/claude-security-skills | Skill | 23 | 1mo ago | MIT | A | 79 | Claude Code, Codex |
| cloudflare-apijezweb/claude-skills | Skill | 1.1k | 1mo ago | MIT | A | 141 | Claude Code |
| hono-api-scaffolderjezweb/claude-skills | Skill | 1.1k | 1mo ago | MIT | A | 77 | Claude Code |
| cloudflare-worker-builderjezweb/claude-skills | Skill | 1.1k | 1mo ago | MIT | A | 86 | Claude Code |
| nemoclaw-setupjezweb/claude-skills | Skill | 1.1k | 1mo ago | MIT | D | 91 | Claude Code |
| cloud-browser-automationkevinnft/ai-agent-skills | Skill | 15 | 4mo ago | MIT | B | 29 | Claude Code, Codex |
| latchbio-integrationK-Dense-AI/scientific-agent-skills | Skill | 59k | today | MIT | A | 78 | Claude Code |