hetzner-cloud
БесплатноБез исполняемых скриптовНе проверенManage Hetzner Cloud infrastructure from the terminal. Use when a user asks to create a Hetzner server, manage VPS instances, set up firewalls, configure…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Hetzner Cloud
Overview
Provision and manage Hetzner Cloud infrastructure from the terminal using the hcloud CLI. Covers servers, networks, firewalls, volumes, snapshots, SSH keys, and load balancers. Hetzner offers high-performance VPS instances at competitive prices, commonly used to host self-managed platforms like Coolify. Every create command here starts billing on the user's account, so confirm type, location and count before running one.
Instructions
When a user asks for help with Hetzner Cloud, determine which task they need:
Task A: Initial setup
# Install with a package manager
brew install hcloud # macOS and Linux
winget install HetznerCloud.CLI # Windows (or: scoop install hcloud)
# Linux without Homebrew: release binary, checked against the published checksums
curl -sSLO https://github.com/hetznercloud/cli/releases/download/v1.69.0/hcloud-linux-amd64.tar.gz
curl -sSLO https://github.com/hetznercloud/cli/releases/download/v1.69.0/checksums.txt
grep ' hcloud-linux-amd64.tar.gz$' checksums.txt | sha256sum -c - # must print "hcloud-linux-amd64.tar.gz: OK"
tar -xzf hcloud-linux-amd64.tar.gz hcloud
mkdir -p ~/.local/bin && install -m 0755 hcloud ~/.local/bin/hcloud
# Create a context (one per Hetzner project); it prompts for the API token
# Token: Hetzner Console > project > Security > API tokens > Generate API token (Read & Write)
hcloud context create shop-prod
# Non-interactive (CI, agents): take the token from the HCLOUD_TOKEN environment variable
hcloud context create --token-from-env shop-prod
# List contexts, switch between them, check that the token works
hcloud context list
hcloud context use shop-prod
hcloud location list
A context is optional: with HCLOUD_TOKEN set, commands work without a config file. Contexts are stored in ~/.config/hcloud/cli.toml; set HCLOUD_CONFIG to use another file (changing HOME alone does not move it). The token is 64 characters and is shown only once in the Console.
Task B: Server management
# List server types (name, cores, memory, disk) and inspect one
hcloud server-type list
hcloud server-type describe cx33
# List available images (OS options)
hcloud image list --type system
# Create a server (the SSH key and the firewall must already exist: Task E, Task C)
hcloud server create \
--name web-1 \
--type cx33 \
--image ubuntu-24.04 \
--location fsn1 \
--ssh-key deploy-key \
--firewall web-firewall \
--user-data-from-file cloud-init.yaml # optional: cloud-init config
# List servers, get details, print the public IPv4
hcloud server list
hcloud server describe web-1
hcloud server ip web-1
# SSH into a server (root by default; -u for another user)
hcloud server ssh web-1
# Stop/start/reboot
hcloud server shutdown web-1 --wait # graceful ACPI shutdown
hcloud server poweron web-1
hcloud server reboot web-1
# Resize a server (it must be powered off; arguments are positional)
hcloud server shutdown web-1 --wait
hcloud server change-type --keep-disk web-1 cx43 # --keep-disk keeps a later downgrade possible
hcloud server poweron web-1
# Rebuild from an image (overwrites the disk)
hcloud server rebuild web-1 --image ubuntu-24.04
# Enable rescue mode (for recovery), then reboot into it
hcloud server enable-rescue web-1 --ssh-key deploy-key
hcloud server reboot web-1
# Protect against accidental deletion and rebuild
hcloud server enable-protection web-1 delete rebuild
# Delete when no longer needed (a protected server refuses: lift the protection first)
hcloud server disable-protection web-1 delete rebuild
hcloud server delete web-1
Common server types (cx22–cx52, and outside the US cpx11–cpx51, can no longer be ordered since 1 January 2026):
| Type | vCPU | RAM | Disk | Use case |
|---|---|---|---|---|
| cx23 | 2 | 4 GB | 40 GB | Small apps, staging (cost-optimized, EU only) |
| cx33 | 4 | 8 GB | 80 GB | Production apps |
| cx43 | 8 | 16 GB | 160 GB | Databases, heavy workloads |
| cx53 | 16 | 32 GB | 320 GB | High-traffic applications |
| cpx22 | 2 | 4 GB | 80 GB | Regular-performance shared AMD (EU and Singapore) |
| cax11 | 2 | 4 GB | 40 GB | Arm (Ampere), EU only; needs an Arm image |
| ccx13 | 2 | 8 GB | 80 GB | Dedicated vCPU, consistent performance |
Locations: fsn1 (Falkenstein), nbg1 (Nuremberg), hel1 (Helsinki) in network zone eu-central; ash (Ashburn, us-east), hil (Hillsboro, us-west), sin (Singapore, ap-southeast). Not every type exists everywhere: the US locations offer the older cpx11–cpx51 and the ccx types. Check with hcloud server-type describe.
Task C: Networking
# Create a private network
hcloud network create --name backend-net --ip-range 10.0.0.0/16
# Add a subnet
hcloud network add-subnet backend-net --type cloud --network-zone eu-central --ip-range 10.0.1.0/24
# Attach server to network
hcloud server attach-to-network web-1 --network backend-net --ip 10.0.
Установить hetzner-cloud в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл hetzner-cloud?
Manage Hetzner Cloud infrastructure from the terminal. Use when a user asks to create a Hetzner server, manage VPS instances, set up firewalls, configure networks, manage volumes, create snapshots, handle SSH keys, or provision infrastructure on Hetzner. Covers the hcloud CLI for all resource types. For deploying applications on top of Hetzner servers, see coolify.
Как установить скилл hetzner-cloud?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hetzner-cloud запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic