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 maxedapps/agent-skills --skill vps-setup-hardeninggit clone --depth 1 https://github.com/maxedapps/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/maxedapps/agent-skills/vps-setup-hardening)<a href="https://agentmods.dev/skills/maxedapps/agent-skills/vps-setup-hardening"><img src="https://agentmods.dev/badge/skills/maxedapps/agent-skills/vps-setup-hardening.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 37 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00116 | $0.00990 |
| Opus 5 | $0.00058 | $0.00495 |
| Sonnet 5 | $0.00023 | $0.00198 |
| Haiku 4.5 | $0.00012 | $0.00099 |
Grade A, and why
vps-setup-hardening scanned grade A with 0 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Manual-only gate: If the user did not explicitly invoke
vps-setup-hardeningby name, stop without inspecting or changing any server. Explain that this skill is manual-only.
VPS Setup and Hardening
Supports exactly two closed profiles:
| Profile | Host | Ingress |
|---|---|---|
ubuntu |
Ubuntu 24.04/26.04 (amd64/arm64) |
No Docker: UFW. Docker: verified provider firewall. |
al2023-ec2 |
Amazon Linux 2023 on positively identified EC2 (x86_64/aarch64) |
EC2 Security Groups for every run. |
Critical rules
- Before connecting to or changing a server, read
references/workflow.mdcompletely and follow its gates in order. - After read-only inspection, load only the selected profile reference:
references/ubuntu.mdorreferences/al2023-ec2.md. - Treat invocation arguments and prior conversation as authoritative context. Do not ask the user to repeat a resolved choice or any discoverable fact. Ask only for required non-discoverable information, grouping unresolved choices into one compact question after inspection whenever possible.
- Never request passwords, private keys, provider API tokens, Tailscale auth keys, or other credentials. Do not expose keys, tokens, authentication URLs, or sensitive configuration in reports.
- Preserve the current working session through every SSH, Tailscale, firewall, Security Group, and reboot change. Never remove an access path until its replacement succeeds in a fresh independent test.
- Stop at every human authentication, independent external test, provider/SG change, access-closing action, and reboot gate. Continue only from explicit evidence or confirmation for that gate.
- Never claim provider or Security Group filtering from local server output. Distinguish local observations from user-confirmed provider state.
- Never describe UFW or ordinary host-input filtering as protection for Docker-published ports. Docker always requires a verified provider/SG boundary first.
- Never modify local
~/.ssh/configwithout separate explicit approval. Prefer command-line overrides for tests. - Use the bundled profile scripts rather than recreating their deterministic commands. Do not weaken or speculate past a script refusal. Unsupported hosts must fail before mutation.
- Always finish a completed run with verification, cleanup of only the staged temporary bundle, and the report defined by
assets/final-report.md.
What ships with it
26 files 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.
- agents/openai.yaml 251 B
- assets/config/00-agent-recipes-hardening.conf 222 B
- assets/config/10-agent-recipes-sshd.local 149 B
- assets/config/20auto-upgrades 125 B
- assets/config/52agent-recipes-unattended-upgrades 291 B
- assets/config/60-agent-recipes-journal.conf 132 B
- assets/final-report.md 1.9 KB
- references/al2023-ec2.md 5.3 KB
- references/ubuntu.md 4.9 KB
- references/workflow.md 11 KB
- scripts/al2023-ec2/apply-base-setup.sh 3.0 KB runs code
- scripts/al2023-ec2/install-docker.sh 3.8 KB runs code
- scripts/al2023-ec2/install-nodejs.sh 3.4 KB runs code
- scripts/al2023-ec2/install-tailscale.sh 2.5 KB runs code
- scripts/configure-admin-user.sh 4.4 KB runs code
- scripts/harden-ssh.sh 3.5 KB runs code
- scripts/inspect-system.sh 9.0 KB runs code
- scripts/lib/common.sh 8.6 KB runs code
- scripts/ubuntu/apply-base-setup.sh 4.2 KB runs code
- scripts/ubuntu/apply-firewall.sh 4.1 KB runs code
- scripts/ubuntu/close-public-ssh.sh 3.0 KB runs code
- scripts/ubuntu/install-docker.sh 4.1 KB runs code
- scripts/ubuntu/install-nodejs.sh 2.5 KB runs code
- scripts/ubuntu/install-tailscale.sh 2.2 KB runs code
- scripts/verify-setup.sh 15 KB runs code
- tests/contracts.test.mjs 13 KB runs code
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 · 58 lines · 116 tokens per session scan A dde488d287d3
vps-setup-hardening is a skill published in the GitHub repository maxedapps/agent-skills (58 stars, last pushed 24d ago), licensed MIT. It adds 116 tokens to every session and 990 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
gke-compute-classes
Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…
gke-reliability
Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).
gke-workload-security
Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…
nemo-automodel-launcher-config
Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
cloud-architect
Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…