hetzner-cloud

hetzner-cloud is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 53 tokens per session (1,835 once invoked), scanned C, original, MIT.

A guide to Hetzner Cloud, a service for creating and managing virtual servers, storage, private networks, and firewalls. It uses command-line and infrastructure-as-code tools to describe and provision resources.

In plain words
What is it for?
Creating or resizing servers, attaching volumes, configuring private networks and firewalls, setting up backups, and rebuilding infrastructure from templates.
Why use it?
It reduces manual setup errors and makes server creation, network protection, backups, and disaster recovery more repeatable.

Skill for Claude CodeCodex

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

Good fit Creating or resizing servers, attaching volumes, configuring private networks and firewalls, setting up backups, and rebuilding infrastructure from templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/hetzner-cloud
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.

Any agent
npx skills add monkilabs/opencastle --skill hetzner-cloud
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/hetzner-cloud/github.svg)](https://agentmods.dev/skills/monkilabs/opencastle/hetzner-cloud)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/hetzner-cloud"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/hetzner-cloud/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 hetzner-cloud

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/hetzner-cloud"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/hetzner-cloud.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,835 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00053 $0.01835
Opus 5.5 $0.00021 $0.00734
Sonnet 5.5 $0.00011 $0.00367
Haiku 4.5 $0.00005 $0.00184

Measured 11d ago against content hash 2161f55745cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

hetzner-cloud scanned grade C 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 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.

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Metadata endpoint: `http://169.254.169.254/hetzner/v1/metadata` (useful in cloud-init to self-discover private IP).
src/orchestrator/plugins/hetzner/skills/hetzner-cloud/SKILL.md · 97 lines

How it starts

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

Hetzner Cloud

Facts that drift (prices, SKUs, locations, limits) go stale — prefer retrieval over pre-training: hcloud server-type list -o json, hcloud location list, docs.hetzner.com. Everything below is behavior, not price sheets. If the project documents a topology (e.g. docs/architecture/), read it before provisioning anything.

Provisioning Workflow

  1. Pick type + location together — CAX (Ampere arm64, best RAM/€) exists only in EU DCs (fsn1/nbg1/hel1); verify with hcloud server-type list. arm64 requires multi-arch container images end-to-end.
    • Checkpoint: hcloud server-type describe <type> shows the target location.
  2. Create network + firewall before servers — attach at create time; firewall via label selector (role=web) scales better than per-server IDs.
    • Checkpoint: firewall rules list SSH restricted to admin IPs, never 0.0.0.0/0.
  3. Create server with cloud-init user-data — runs once at first boot only.
    • Recovery: broken cloud-init → don't patch by hand; fix the template, server rebuild (keeps IPs) or replace via IaC.
  4. Attach volumes, then mount explicitly — see Volumes below.
    • Checkpoint: mount survives reboot (fstab entry, not just automount).
  5. Enable protection on stateful resources — hcloud server enable-protection <s> delete rebuild + same for volumes.
    • Gate: protection verified via hcloud server describe before real data lands.

Non-Obvious Behaviors

Networking

  • Cloud Firewalls filter ONLY the public interface. Private-network traffic is never touched by them — segment the private net with host firewalls (ufw) or not at all. This is the most common Hetzner security misconception.
  • Private network MTU is 1450, not 1500 — override in Docker (daemon.json "mtu": 1450) and any overlay/VPN on top, or suffer silent large-packet stalls.
  • Private networks are not encrypted — treat as shared fabric, keep TLS for sensitive cross-node traffic.
  • Network zones (e.g. eu-central = fsn1/nbg1/hel1) span DCs — cross-DC private traffic works and is free.
  • Floating IPs need manual OS config (netplan alias); primary IPs configure themselves. Floating IP ≠ instant failover without host-side automation.
  • IPv4 primary IPs bill separately and survive server deletion unless auto_delete is set — orphaned IPs keep billing.

Read the full file on GitHub · 97 lines

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 Changed · -41 tokens per session 2161f55745cb
  2. 12d ago First seen · 97 lines · 94 tokens per session scan C e4ad8ae6865d

Subscribe to this mod's changes

hetzner-cloud is a skill published in the GitHub repository monkilabs/opencastle (80 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 1,835 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.

Related

Other skills, from other repositories

telnyx-storage-curl

Manage cloud storage buckets and objects using the S3-compatible Telnyx Storage API. This skill provides REST API (curl) examples.

team-telnyx/ai · 34 tokens

发布为应用

A workflow for publishing a local project as an online link or taking an existing published app offline. It supports static sites, PDFs, small games, and single-port web services written in Node.js, Python, or Go.

rojim666/SztuCode · 89 tokens

production-observability

Use when adding service-wide Spring Boot 3 Actuator, Micrometer metrics, distributed tracing, OpenTelemetry export, structured logging, health probes, dashboards, or alerts. Combine with ai-observability only for Spring AI-specific token, prompt, and model telemetry.

rrezartprebreza/spring-boot-skills · 58 tokens

product-architect

Complete product development system with 80 agents and 36 frameworks. Use when the user wants to build a product, write a PRD, plan an MVP or roadmap, design an app, research a market or check whether a feature already exists or is novel, do competitive analysis, run a security audit, build a financial model, plan…

ankitjha67/product-architect · 253 tokens

contabo-live-instance-lifecycle-guard

Live-guard skill for Contabo VPS and VDS lifecycle operations including instance creation with product selection and region, reinstallation with image and Cloud-Init userData, and cancellation. Requires mandatory contract period acknowledgment (1, 3, 6, or 12 months), billing impact confirmation, and a rollback plan…

VincentChuWaiChow/vanguard-frontier-agentic · 91 tokens

orchardcore-ai-documents-azure-storage

Skill for storing CrestApps Orchard Core AI Documents in Azure Blob Storage. Covers AIDocumentBlobStorageOptions, BlobFileStore replacement, tenant container lifecycle, cleanup choices, and Azure configuration. Use this skill when requests mention Orchard Core AI Documents Azure Blob Storage…

CrestApps/CrestApps.AgentSkills · 129 tokens