hetzner
Hetzner Cloud server management using the hcloud CLI. Manage servers, networks, volumes, firewalls, floating IPs, and SSH keys.
When & Why to Use This Skill
The Hetzner Cloud skill empowers users to manage their cloud infrastructure seamlessly through natural language by integrating the hcloud CLI. It simplifies complex DevOps tasks such as provisioning servers, configuring private networks, and managing security assets like firewalls and SSH keys, making cloud administration more accessible and efficient within the Claude interface.
Use Cases
- Rapid Provisioning: Quickly deploy new Hetzner Cloud instances with specific images and locations (e.g., 'Create a cx11 Debian server in fsn1') for development or testing.
- Infrastructure Auditing: List and retrieve detailed information about servers, volumes, and floating IPs to monitor resource allocation and usage.
- Remote Operations: Perform critical server maintenance tasks such as starting, stopping, or rebooting instances directly through chat during troubleshooting.
- Security Management: Manage SSH keys and firewall rules to ensure secure access and robust network protection for your cloud environment.
- Resource Analysis: Use the agent to analyze resource lists and identify high-consumption servers or unused volumes to optimize cloud costs.
| name | hetzner |
|---|---|
| description | Hetzner Cloud server management using the hcloud CLI. Manage servers, networks, volumes, firewalls, floating IPs, and SSH keys. |
| metadata | {"clawdbot":{"emoji":"🖥️","requires":{"bins":["hcloud"]},"env":{"HCLOUD_TOKEN":"Hetzner Cloud API token"}}} |
Hetzner Cloud Skill
Manage your Hetzner Cloud infrastructure using the hcloud CLI.
Setup
Set your Hetzner Cloud API token:
export HCLOUD_TOKEN="your_token_here"
Or add it to the skill's .env file.
Usage
Common commands:
Servers
servers list- List all serversservers get <id>- Get server detailsservers create <name> <type> <image> <location>- Create a serverservers delete <id>- Delete a serverservers start <id>- Start serverservers stop <id>- Stop serverservers reboot <id>- Reboot serverservers ssh <id>- SSH into server
Networks
networks list- List networksnetworks get <id>- Get network details
Floating IPs
floating-ips list- List floating IPs
SSH Keys
ssh-keys list- List SSH keys
Volumes
volumes list- List volumes
Firewalls
firewalls list- List firewalls
Example Usage
You: List my Hetzner servers
Bot: Runs servers list → Shows all your cloud servers
You: Create a new server for testing
Bot: Runs servers create test-server cx11 debian-11 fsn1
You: What's using the most resources?
Bot: Runs servers list and analyzes resource usage
Note: Requires HCLOUD_TOKEN environment variable.