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 kevinnft/ai-agent-skills --skill vps-security-hardeninggit clone --depth 1 https://github.com/kevinnft/ai-agent-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/kevinnft/ai-agent-skills/vps-security-hardening)<a href="https://agentmods.dev/skills/kevinnft/ai-agent-skills/vps-security-hardening"><img src="https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/vps-security-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/kevinnft/ai-agent-skills/vps-security-hardening"><img src="https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/vps-security-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.00023 | $0.02241 |
| Opus 5 | $0.00012 | $0.01120 |
| Sonnet 5 | $0.00005 | $0.00448 |
| Haiku 4.5 | $0.00002 | $0.00224 |
Grade B, and why
vps-security-hardening scanned grade B 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 8d 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.
sudo ss -tulpn Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Reaches for credential filesmediumPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N '' -C "user@machine" Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 356 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VPS Security Hardening
Audit and harden VPS security with fail2ban (brute-force protection), SSH hardening, and optional firewall setup.
When to Use
- New VPS setup (initial hardening)
- Security audit requested
- SSH brute-force attacks detected
- User wants to "secure VPS" or "protect server"
Prerequisites: Establishing SSH Access
Before hardening, ensure you can SSH into the VPS.
If Password Auth is Disabled (PublicKey only)
VPS providers often disable password auth by default. You need to add your SSH key first.
Option 1: Via VPS Web Console (Recommended)
-
Generate SSH key locally (if not exists):
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N '' -C "user@machine" cat ~/.ssh/id_ed25519.pub -
Login to VPS via web console (provider dashboard → Console/Terminal)
-
Add public key to VPS:
mkdir -p ~/.ssh echo "ssh-ed25519 AAAA... user@machine" >> ~/.ssh/authorized_keys chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys -
Test from local machine:
ssh root@VPS_IP
Option 2: Via Provider Dashboard
Most providers (DigitalOcean, Vultr, Biznet, etc.) have "Add SSH Key" in dashboard:
- Copy public key (
cat ~/.ssh/id_ed25519.pub) - Paste into provider's SSH key management
- Rebuild/restart VPS (some providers require this)
Option 3: Enable Password Auth Temporarily
Only if web console is unavailable:
- Login via web console
- Edit SSH config:
echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config.d/99-temp-password.conf systemctl reload sshd - SSH in with password, add your key
- Remove temp config:
rm /etc/ssh/sshd_config.d/99-temp-password.conf systemctl reload sshd
Common Pitfall: sshpass with PublicKey-Only VPS
Problem: sshpass -p 'password' ssh user@host fails with "Permission denied (publickey)" even with correct password.
Why: VPS has PasswordAuthentication no in sshd_config — password auth is disabled at server level.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 356 lines · 23 tokens per session scan B 8ca11f5f3860
vps-security-hardening is a skill published in the GitHub repository kevinnft/ai-agent-skills (14 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 2,241 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
s3-estate-calibration-auditor
Audit an estate of AWS S3 buckets for the one bucket that is genuinely publicly or cross-account exposed, without over-flagging the many buckets that READ as exposed but are neutralised. Resolves each bucket's EFFECTIVE verdict by composing four layers (Block Public Access x bucket policy x bucket ACL x access…
ishosting-manager
Complete ishosting infrastructure management via API. Order and configure VPS, Dedicated, Storage, VPN servers with custom hardware. Install OS, control panels, deploy apps and websites. Manage SSH keys, billing, invoices, DNS, and service lifecycle.
latchbio-integration
Build, register, debug, and operate bioinformatics workflows on Latch using the Python SDK, CLI, Latch Data and Registry, Nextflow, Snakemake, programmatic execution, and Latch MCP. Use when authoring or deploying Latch workflows, configuring resources or interfaces, moving data, integrating Registry, or launching and…
iam
AWS Identity and Access Management for users, roles, policies, and permissions. Use when creating IAM policies, configuring cross-account access, setting up service roles, troubleshooting permission errors, or managing access control.
vastai
Vast.ai CLI to manage GPU instances, volumes, serverless endpoints, and billing.
component-family-consistency
Buttons, inputs, pills, badges, calendars, and other interactive components form a visual family — they share the same border-radius, colour logic, shadow scale, border style, and spacing rhythm. Inconsistency between them breaks the sense of a coherent product. Use when building or reviewing a component library…