hetzner

hetzner is a skill for Claude Code, Codex from ericrisco/rsc-harness. It costs 97 tokens per session (2,880 once invoked), scanned A, original, MIT.

A guide to creating and securing Hetzner Cloud virtual servers (VPSs), including choosing a server type, setting it up from configuration files, and applying firewall rules.

In plain words
What is it for?
Use it to choose a Hetzner server and location, create it with hcloud and cloud-init, secure SSH, configure the Cloud Firewall, and prepare the host for Docker.
Why use it?
It replaces risky manual setup with a repeatable process and helps prevent common problems such as password-based root login and exposed services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

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.

agentmods
npx agentmods add skills/ericrisco/rsc-harness/hetzner
Any agent
npx skills add ericrisco/rsc-harness --skill hetzner
Clone the repo
git clone --depth 1 https://github.com/ericrisco/rsc-harness

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 hetzner

README.md
[![agentmods](https://agentmods.dev/badge/skills/ericrisco/rsc-harness/hetzner.svg)](https://agentmods.dev/skills/ericrisco/rsc-harness/hetzner)
Your own site
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/hetzner"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/hetzner.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,880 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00097 $0.02880
Opus 5 $0.00048 $0.01440
Sonnet 5 $0.00019 $0.00576
Haiku 4.5 $0.00010 $0.00288

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

Security

Grade A, and why

hetzner scanned grade A with 1 finding 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

- **No root login.** `PermitRootLogin no` + a sudo user. Root over SSH is the

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

skills/hetzner/SKILL.md · 204 lines

How it starts

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

Hetzner — the cheap European box, made safe and reproducible

Hetzner Cloud is chosen for one reason: price/performance. A 2 vCPU / 4 GB AMD box runs about €7.99/mo, the EU Intel line dips under €4, and EU locations include 20 TB of egress. The risk is that "cheap" becomes "unhardened and unmonitored" — a root-SSH box on a public IPv4 with password auth on. Your job is to make the cheap box safe and reproducible: every server comes up from a committed cloud-init file and a Cloud Firewall ruleset, never from click-ops in the console. A box you can't recreate from a file isn't a box, it's a pet.

Decide before you create

Pick the line, then the location. Prices are post-2026-04-01 (a price adjustment took effect that date); treat exact cents as "verify in the console."

Line Chip When to pick Price band EU-only?
CX Intel (shared) Cost-optimized, tiny EU workloads ~€3.99/mo (2 vCPU/4 GB/40 GB) Yes
CPX AMD (shared) Default for apps; best general value CPX22 ~€7.99, CPX32 ~€13.99, CPX42 ~€25.49 No
CAX ARM64 (shared) Cheapest per-core; ARM-clean workloads Cheapest per-core Yes
CCX Dedicated vCPU Steady CPU load, no noisy-neighbor CCX13 ~€15.99 (2 vCPU/8 GB) No

Rules:

  • IPv4 costs extra (~€0.50–0.60/mo); IPv6 is free. An IPv6-only box is cheaper, but it breaks anything that can't reach IPv6: many container registries, some package mirrors, CI runners, SSH clients on IPv4-only nets. If docker pull or apt will run on the box, keep one IPv4 unless you've confirmed every upstream is dual-stack. Why: a saved €0.50/mo is not worth a broken docker pull at 2 a.m.
  • Location decides your traffic budget. EU locations (Nuremberg, Falkenstein, Helsinki) include 20 TB/mo egress; overage ~€1/TB. US (Ashburn, Hillsboro) and Singapore have far lower included transfer. Why: pick US "for latency," serve a video, and the surprise bill is the traffic cap, not the instance.
  • No APAC own datacenter. If your users are in Asia, this is a real latency cost — name it, don't hide it.

Read the full file on GitHub · 204 lines

Files

What ships with it

5 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. 2d ago First seen · 204 lines · 97 tokens per session scan A ccc7949ed032

Subscribe to this mod's changes

hetzner is a skill published in the GitHub repository ericrisco/rsc-harness (65 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 2,880 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

moai-platform-deployment

Deployment and hosting platform specialist covering Vercel, Railway, and Convex. Use when deploying applications, configuring edge functions, setting up continuous deployment, or managing serverless infrastructure.

modu-ai/moai-adk · 42 tokens

moai-platform-database-cloud

Cloud database platform specialist covering Neon (serverless PostgreSQL), Supabase (PostgreSQL 16 with real-time), and Firebase Firestore (NoSQL with offline sync). Use when choosing or setting up cloud databases.

modu-ai/moai-adk · 51 tokens

kastell-ops

Kastell CLI patterns, architecture, anti-patterns, and decision trees. Use automatically when working in Kastell codebase or when asked about Kastell server infrastructure, security audit, hardening, lock, provision, or provider management.

kastelldev/kastell · 53 tokens

hunt-cache-poison

Hunting skill for cache poison vulnerabilities. Built from 4 public bug bounty reports. Use when hunting cache poison on any target.

adriannoes/awesome-agentic-ai · 31 tokens

auditing-aws-s3-bucket-permissions

Systematically audit AWS S3 bucket permissions to identify publicly accessible buckets, overly permissive ACLs, misconfigured bucket policies, and missing encryption settings using AWS CLI, S3audit, and Prowler to enforce least-privilege data access controls.

adriannoes/awesome-agentic-ai · 62 tokens

conducting-cloud-incident-response

Responds to security incidents in cloud environments (AWS, Azure, GCP) by performing identity-based containment, cloud-native log analysis, resource isolation, and forensic evidence acquisition adapted for ephemeral cloud infrastructure. Activates for requests involving cloud incident response, AWS security incident…

adriannoes/awesome-agentic-ai · 76 tokens