Token导航 LogoToken导航TokenDH.com
运维和基础设施敏感数据github未标认证来源可访问clear审计未展示

hetzner-provisioner海茨纳供应商

Agent Skill

hetzner-provisioner 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

384

周安装

16

GitHub Stars

127

下载量

128
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hetzner-provisioner(海茨纳供应商)
来源仓库:https://github.com/anton-abyzov/specweave
仓库路径:skills/hetzner-provisioner
安装命令:
npx skills add https://github.com/anton-abyzov/specweave --skill hetzner-provisioner
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/anton-abyzov/specweave --skill hetzner-provisioner

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,避免触发联网或文件读写操作。
  • hetzner-provisioner 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Hetzner Cloud Provisioner

Automated infrastructure provisioning for Hetzner Cloud - the budget-friendly alternative to Vercel and AWS.

Purpose

Generate and deploy infrastructure-as-code (Terraform/Pulumi) for Hetzner Cloud, enabling $10-15/month SaaS deployments instead of $50-100/month on other platforms.

When to Use

Activates when user mentions:

  • "deploy on Hetzner"
  • "Hetzner Cloud"
  • "budget deployment"
  • "cheap hosting"
  • "deploy for $10/month"
  • "cost-effective infrastructure"

What It Does

  1. Analyzes requirements:

- Application type (NextJS, Node.js, Python, etc.) - Database needs (Postgres, MySQL, Redis) - Expected traffic/users - Budget constraints

  1. Generates Infrastructure-as-Code:

- Terraform configuration for Hetzner Cloud - Alternative: Pulumi for TypeScript-native IaC - Server instances (CX11, CX21, CX31) - Managed databases (Postgres, MySQL) - Object storage (if needed) - Networking (firewall rules, floating IPs)

  1. Configures Production Setup:

- Docker containerization - SSL certificates (Let's Encrypt) - DNS configuration (Cloudflare or Hetzner DNS) - GitHub Actions CI/CD pipeline - Monitoring (Uptime Kuma, self-hosted) - Automated backups

  1. Outputs Deployment Guide:

- Step-by-step deployment instructions - Cost breakdown - Monitoring URLs - Troubleshooting guide


⚠️ CRITICAL: Secrets Required (MANDATORY CHECK)

BEFORE generating Terraform/Pulumi code, CHECK for Hetzner API token.

Step 1: Check If Token Exists

# Check .env file
if [ -f .env ] && grep -q "HETZNER_API_TOKEN" .env; then
  echo "✅ Hetzner API token found"
else
  # Token NOT found - STOP and prompt user
fi

Step 2: If Token Missing, STOP and Show This Message

🔐 **Hetzner API Token Required**

I need your Hetzner API token to provision infrastructure.

**How to get it**:
1. Go to: https://console.hetzner.cloud/
2. Click on your project (or create one)
3. Navigate to: Security → API Tokens
4. Click "Generate API Token"
5. Give it a name (e.g., "specweave-deployment")
6. Permissions: **Read & Write**
7. Click "Generate"
8. **Copy the token immediately** (you can't see it again!)

**Where I'll save it**:
- File: `.env` (gitignored, secure)
- Format: `HETZNER_API_TOKEN=your-token-here`

**Security**:
✅ .env is in .gitignore (never committed to git)
✅ Token is 64 characters, alphanumeric
✅ Stored locally only (not in source code)

Please paste your Hetzner API token:

Step 3: Validate Token Format

# Hetzner tokens are 64 alphanumeric characters
if [[ ! "$HETZNER_API_TOKEN" =~ ^[a-zA-Z0-9]{64}$ ]]; then
  echo "⚠️  Warning: Token format unexpected"
  echo "Expected: 64 alphanumeric characters"
  echo "Got: ${#HETZNER_API_TOKEN} characters"
  echo ""
  echo "This might not be a valid Hetzner API token."
  echo "Continue anyway? (yes/no)"
fi

Step 4: Save Token Securely

# Save to .env
echo "HETZNER_API_TOKEN=$HETZNER_API_TOKEN" >> .env

# Ensure .env is gitignored
if ! grep -q "^\.env$" .gitignore; then
  echo ".env" >> .gitignore
fi

# Create .env.example for team
cat > .env.example << 'EOF'
# Hetzner Cloud API Token
# Get from: https://console.hetzner.cloud/ → Security → API Tokens
HETZNER_API_TOKEN=your-hetzner-token-here
EOF

echo "✅ Token saved to .env (gitignored)"
echo "✅ Created .env.example for team (commit this)"

Step 5: Use Token in Terraform

# terraform/variables.tf
variable "hetzner_token" {
  description = "Hetzner Cloud API Token"
  type        = string
  sensitive   = true
}

# terraform/provider.tf
provider "hcloud" {
  token = var.hetzner_token
}

# Run Terraform
# export TF_VAR_hetzner_token=$HETZNER_API_TOKEN
# terraform apply

Example Usage

User: "Deploy my NextJS app on Hetzner with Postgres, as cheaply as possible"

hetzner-provisioner:

I'll provision your NextJS app on Hetzner Cloud for ~$12/month.

Infrastructure:
- CX11 instance (2 vCPU, 2GB RAM): $5.83/month
- Managed Postgres (2GB): $5.00/month
- 20GB storage: $0.50/month
- SSL (Let's Encrypt): Free
- Total: ~$11.33/month

Creating Terraform configuration...

✅ Generated files:
- terraform/main.tf
- terraform/variables.tf
- terraform/outputs.tf
- .github/workflows/deploy.yml

Next steps:
1. Set HETZNER_API_TOKEN in GitHub secrets
2. Push to GitHub
3. GitHub Actions will deploy automatically

Deployment URL: https://your-app.yourdomain.com (after DNS configured)

Configuration

Supports multiple instance types:

  • CX11 (1 vCPU, 2GB RAM): $5.83/month - Small apps, 100-1000 users
  • CX21 (2 vCPU, 4GB RAM): $6.90/month - Medium apps, 1000-10000 users
  • CX31 (2 vCPU, 8GB RAM): $14.28/month - Larger apps, 10000+ users

Database options:

  • Managed Postgres (2GB): $5/month
  • Managed MySQL (2GB): $5/month
  • Self-hosted (included in instance cost)

Cost Comparison

PlatformSmall AppMedium AppLarge App
Hetzner$12/mo$15/mo$25/mo
Vercel$60/mo$120/mo$240/mo
AWS$25/mo$80/mo$200/mo
Railway$20/mo$50/mo$100/mo

Savings: 50-80% vs alternatives

Technical Details

Terraform Provider: hetznercloud/hcloud API: Hetzner Cloud API v1 Regions: Nuremberg, Falkenstein, Helsinki (Germany/Finland) Deployment: Docker + GitHub Actions Monitoring: Uptime Kuma (self-hosted, free)

Integration

Works with:

  • cost-optimizer - Recommends Hetzner when budget-conscious
  • devops-agent - Strategic infrastructure planning
  • nextjs-agent - NextJS-specific deployment
  • Any backend framework (Node.js, Python, Go, etc.)

Limitations

  • EU-only data centers (GDPR-friendly)
  • Requires Hetzner Cloud account
  • Manual DNS configuration needed
  • Not suitable for multi-region deployments (use AWS/GCP for that)

Future Enhancements

  • Kubernetes support (k3s on Hetzner)
  • Load balancer configuration
  • Multi-region deployment
  • Disaster recovery setup

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.43%
按下载量换算40

Antigravity

21.44%
按下载量换算27

Cursor

16.63%
按下载量换算21

Gemini CLI

12.38%
按下载量换算16

OpenCode

8.46%
按下载量换算11

Codex

3.4%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills