vps-ubuntu

vps-ubuntu is a skill for Claude Code, Codex from arturseo-geo/claude-code-skills. It costs 231 tokens per session (2,584 once invoked), scanned D, original, MIT.

Instructions for managing Ubuntu virtual private servers, which are rented Linux machines hosted by a provider. They cover firewalls, security, backups, monitoring, scheduled jobs, web servers, and containers.

In plain words
What is it for?
Use them to provision a server, harden SSH and network access, configure backups and monitoring, manage web services, and run containers.
Why use it?
They provide repeatable procedures for operating and protecting an Ubuntu server.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/deploy/.ssh.

Good fit Use them to provision a server, harden SSH and network access, configure backups and monitoring, manage web services, and run containers.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for vps-ubuntu

README.md
[![agentmods](https://agentmods.dev/badge/skills/arturseo-geo/claude-code-skills/vps-ubuntu/github.svg)](https://agentmods.dev/skills/arturseo-geo/claude-code-skills/vps-ubuntu)
Your own site
<a href="https://agentmods.dev/skills/arturseo-geo/claude-code-skills/vps-ubuntu"><img src="https://agentmods.dev/badge/skills/arturseo-geo/claude-code-skills/vps-ubuntu/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.

agentmods 80×15 button for vps-ubuntu

Your own site · 80×15
<a href="https://agentmods.dev/skills/arturseo-geo/claude-code-skills/vps-ubuntu"><img src="https://agentmods.dev/badge/skills/arturseo-geo/claude-code-skills/vps-ubuntu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 231 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,584 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 5 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00231 $0.02584
Opus 5 $0.00115 $0.01292
Sonnet 5 $0.00046 $0.00517
Haiku 4.5 $0.00023 $0.00258

Measured 11d ago against content hash 3f26376d119f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade D, and why

vps-ubuntu scanned grade D with 5 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 11d 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.

usermod -aG sudo deploy

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.

cp /root/.ssh/authorized_keys /home/deploy/.ssh/

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://tailscale.com/install.sh | sh

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- `rm -rf` anything — STOP, confirm path and scope

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 curl wget git unzip htop tmux fail2ban ufw \
skills/vps-ubuntu/SKILL.md · 318 lines

How it starts

The opening of the file, as written. The whole thing — 318 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VPS Ubuntu Management Skill

This skill covers the full lifecycle of Ubuntu VPS management. Load the relevant reference file for detailed commands:

Topic Reference file Load when...
Firewall & network references/firewall.md UFW, iptables, open ports, rate limiting
Security hardening references/security.md SSH, fail2ban, kernel params, auditing, rootkits, ClamAV
Backups references/backups.md rsync, Borg, rclone, cloud sync, backup testing
Monitoring & alerts references/monitoring.md disk, memory, CPU, log analysis, alerting, health checks
Cron jobs references/cron.md crontab syntax, scheduling, debugging, systemd timers
Web server references/webserver.md Nginx, SSL, PM2, reverse proxy, compression, rate limiting
Containers references/containers.md Docker, Docker Compose, networking, image cleanup

Server Provisioning — Fresh Ubuntu VPS

Run these steps immediately after first SSH login to a new server:

# 1. Update system
apt update && apt upgrade -y

# 2. Set hostname and timezone
hostnamectl set-hostname myserver
timedatectl set-timezone UTC   # or your preferred timezone

# 3. Create deploy user (never run apps as root)
adduser deploy
usermod -aG sudo deploy

# 4. Copy SSH key to deploy user
mkdir -p /home/deploy/.ssh
cp /root/.ssh/authorized_keys /home/deploy/.ssh/
chown -R deploy:deploy /home/deploy/.ssh
chmod 700 /home/deploy/.ssh && chmod 600 /home/deploy/.ssh/authorized_keys

# 5. Firewall — allow SSH before enabling
ufw default deny incoming && ufw default allow outgoing
ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable

# 6. Harden SSH (see references/security.md for full config)
sed -i 's/#PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
sshd -t && systemctl reload ssh

# 7. Install essentials
apt install -y curl wget git unzip htop tmux fail2ban ufw \
  certbot python3-certbot-nginx logwatch unattended-upgrades

# 8. Enable automatic security updates
dpkg-reconfigure --priority=low unattended-upgrades

# 9. Set up fail2ban
cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
systemctl enable --now fail2ban

Read the full file on GitHub · 318 lines

Files

What ships with it

7 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.

Changes

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.

  1. 11d ago First seen · 318 lines · 231 tokens per session scan D 3f26376d119f

Subscribe to this mod's changes

vps-ubuntu is a skill published in the GitHub repository arturseo-geo/claude-code-skills (11 stars, last pushed 5mo ago), licensed MIT. It adds 231 tokens to every session and 2,584 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it D with 5 findings (asks for root, reaches for credential files, downloads and executes remote code). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

monitoring-alerting

Monitoring and alerting design reviewer for production backend services. ALWAYS use when writing Prometheus alerting rules, designing Grafana dashboards, defining SLI/SLO, configuring alert routing (PagerDuty/OpsGenie/Slack), or reviewing existing monitoring setups. Covers SLI/SLO definition, alert rule quality…

johnqtcg/awesome-skills · 137 tokens

gcp-setup

Automates Google Cloud Console setup via browser. Use when the user wants to set up a GCP project, enable APIs, create service accounts, configure IAM, set up billing, configure OAuth, set up firewall rules, or deploy to Cloud Run/App Engine/GKE. Also use when the user says "set up GCP", "configure Google Cloud"…

N-O-P-E/nope-marketplace · 161 tokens

cloudflare-connect

Adds a subdomain to a Cloudflare-managed zone and wires it to a hosting platform (Railway, Vercel) via browser automation. Use when the user wants to point a subdomain at a Railway service, Vercel project, or other hosting platform. Also use when the user says "add a subdomain", "connect domain to Railway/Vercel"…

N-O-P-E/nope-marketplace · 169 tokens

security-compliance

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.

sangrokjung/claude-forge · 56 tokens

stride-analysis-patterns

Apply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security documentation.

sangrokjung/claude-forge · 30 tokens

blind-spot-pass

Use before starting work in a domain you don't know well, to surface the "unknown unknowns" — the things you don't even know to ask about — and learn just enough to prompt and decide well. Implements the "blind spot pass" pattern from Anthropic's Fable "finding your unknowns" field guide. Triggers when you say "I'm…

sangrokjung/claude-forge · 221 tokens