跳到正文
TakoAPI
返回技能列表

hcloud

由 jpj069 提供

DevOps & Cloud
454下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Manage Hetzner Cloud infrastructure using the hcloud CLI.

描述

该技能的功能

Wraps the hcloud CLI to manage Hetzner Cloud resources from an agent. Covers servers, firewalls, SSH keys, volumes, networks, and load balancers through direct CLI commands.

Hetzner Cloud has no first-party AI integration, so this skill bridges that gap by letting agents drive the full hcloud CLI without manual terminal work.

何时使用

  • Spin up a new Ubuntu server in a specific region
  • Add firewall rules to restrict SSH access by IP
  • Attach a persistent volume to a running server
  • Create a private network and connect multiple servers to it
  • Set up a load balancer and register backend servers

示例工作流

输入

User asks: Create a cx23 server named web-01 in Nuremberg with my SSH key and open ports 80 and 443

智能体
  1. 1

    Run hcloud ssh-key list to find the user's key name

  2. 2

    Create the server with hcloud server create --name web-01 --type cx23 --image ubuntu-24.04 --ssh-key <key> --location nbg1

  3. 3

    Create a firewall with rules allowing TCP 80 and 443 from 0.0.0.0/0

  4. 4

    Apply the firewall to web-01 with hcloud firewall apply-to-resource

  5. 5

    Verify with hcloud server describe web-01

输出

Server web-01 running at its public IP with HTTP/HTTPS open and SSH key authentication configured

前置要求

  • Hetzner Cloud API token (generated in Hetzner Cloud Console under Security > API Tokens)

安装

clawhub install jpj069/hcloud

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接