Skip to content
Back to skills

Hetzner Server Coolify

ASecurity

Order a Hetzner Cloud server through OpenFolk's hosting gate and set Coolify up on it (hardened, admin and API token), then register the Coolify as a hosting target. Use when the user wants a server or has nothing yet to put an app online.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgonodegitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add OpenFolk/OpenFolk --skill hetzner-server-coolify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hetzner Server Coolify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hetzner Server Coolify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openfolk-hetzner-server-coolify/badge)](https://www.skillsdirectory.com/skills/openfolk-hetzner-server-coolify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hetzner-server-coolify
description: Order a Hetzner Cloud server through OpenFolk's hosting gate and set Coolify up on it (hardened, admin and API token), then register the Coolify as a hosting target. Use when the user wants a server or has nothing yet to put an app online.
---

# Hetzner server with Coolify

You never see a Hetzner token: the gate of OpenFolk puts it in. The scripts find the target by the environment
variables `OPENFOLK_HOSTING_*_URL` (see `hosting_targets`). Without a Hetzner target, put a point on the user's list
with `ask_user` (title "Add Hetzner Cloud under Settings > Hosting", steps: account at console.hetzner.cloud, a project,
an API token "Read & Write", pasted on the target's page) and stop until it is there. Never ask for a token in the chat.

Everything that costs goes through a card the user answers (or runs free up to the budget they set); you do not need to
ask again in the chat. Report a step as soon as it is done; the whole thing takes 15 to 25 minutes.

## Steps

1. **Offer**: `node .claude/skills/hetzner-server-coolify/offer.mjs [--location nbg1]` prints the server types with
   their price per month and a recommendation (4 GB RAM is the sensible minimum for Coolify plus one app). Tell the
   user type, location and price in one sentence before you order, unless they already named them.
2. **Order**: `node .claude/skills/hetzner-server-coolify/order.mjs --name <srv-1> --type <cx22> --location <nbg1>`
   makes an SSH key for this server (in `.openfolk-hosting/<name>/`), uploads it, makes a firewall with only 80, 443 and
   ICMP open, orders the server with a cloud-init that hardens it and installs Coolify, and waits until Hetzner reports
   it running. Prints JSON with `ip`. The card for the order appears in the chat by itself.
3. **Coolify**: `node .claude/skills/hetzner-server-coolify/setup-coolify.mjs --name <srv-1> --ip <ip> [--domain coolify.example.com]`
   waits for SSH and for Coolify to be healthy (3 to 8 minutes), sets Coolify's own address (`--domain`, else
   `coolify.<ip>.sslip.io`), switches registration off and the API on, makes an API token and writes it to
   `.openfolk-hosting/<name>/coolify-token` (mode 600). Prints JSON with `url` and `tokenFile`; the token itself is
   printed nowhere. The admin password is in `.openfolk-hosting/<name>/admin-password`; put it into the vault with
   `vault_add` (`from_file`), then delete the file.
4. **Register**: `hosting_target_add` with `provider: "coolify"`, `label: "Coolify on <name>"`, `api_url: "<url>/api/v1"`,
   `token_from_file: ".openfolk-hosting/<name>/coolify-token"`, `parent` the Hetzner target's id, `domain` if the user has
   one. From your next turn on you reach the Coolify through its own variable.
5. **Hand over**: `ask_user` with the title "Save the Coolify admin access and APP_KEY" (steps: the admin password is in
   the vault; `APP_KEY` from `/data/coolify/source/.env` on the server; without it Coolify backups are worthless).
6. Go on with the skill `coolify-app-from-git`, and close the job with `send_result` (links to the Coolify dashboard,
   the checks you ran).

## If something fails

- SSH does not answer within 4 minutes: the server may still boot; try `setup-coolify.mjs` once more. Still nothing:
  check in the Hetzner console whether the server is running (`GET $VAR/servers`), then tell the user.
- The API token step fails: Coolify's internals changed. Say so, keep the server (it costs), and put a point on the
  user's list to make a token in the Coolify dashboard (Keys & Tokens > API tokens) and paste it on a new Coolify
  target under Settings > Hosting.
- Never delete a server to "start over" without the user: deleting asks on a card, and the card names what it costs
  to keep.

Files in this skill

  • SKILL.md3.7 KB
  • offer.mjs3.5 KB
  • order.mjs6.5 KB
  • setup-coolify.mjs6.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.