# Cloud Hetzner

> Operates Hetzner Cloud resources via the hcloud CLI, covering server, image, network, and load balancer management with read-only and write operations.

- Skill: `scoheart/cloud-hetzner` (Agent Skill)
- Install (CLI): `npx skillmds@latest add scoheart/cloud-hetzner`
- Raw SKILL.md: https://api.skillmd.com/api/skills/scoheart/cloud-hetzner/raw
- Safety review: CAUTION (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra, Cloud Platforms
- Tags: Cli, Hcloud, Hetzner, Server Management, Vps
- Author: Scoheart (https://skillmd.com/u/scoheart)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/scoheart/cloud-hetzner

---


# Hetzner Cloud Operator Skill

## 安装 CLI
```bash
# macOS
brew install hcloud

# Linux
curl -fsSL https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-amd64.tar.gz | tar -xz
```

## 认证
```bash
hcloud context create my-project
# 输入 API Token（从 https://console.hetzner.cloud 获取）
```

## 常用命令
```bash
# 服务器
hcloud server list
hcloud server create --name my-server --type cx22 --image ubuntu-22.04
hcloud server delete my-server

# 镜像
hcloud image list --type system

# 类型
hcloud server-type list

# 网络
hcloud network list
hcloud network create --name my-network --ip-range 10.0.0.0/16

# 负载均衡
hcloud load-balancer list
```

## 安全机制
- 只读操作：直接执行
- 写操作：先确认后执行
