Kube-Hetzner is an infrastructure project that uses Terraform or OpenTofu to deploy and maintain Kubernetes clusters on Hetzner Cloud. It is for operators who need highly available clusters based on k3s or RKE2, with networking, storage, ingress, certificates, and upgrades configured as part of the deployment.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/mysticaltech/terraform-hcloud-kube-hetzner/debug-nodenpx skills add mysticaltech/terraform-hcloud-kube-hetzner --skill debug-nodegit clone --depth 1 https://github.com/mysticaltech/terraform-hcloud-kube-hetznerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mysticaltech/terraform-hcloud-kube-hetzner/debug-node)<a href="https://agentmods.dev/skills/mysticaltech/terraform-hcloud-kube-hetzner/debug-node"><img src="https://agentmods.dev/badge/skills/mysticaltech/terraform-hcloud-kube-hetzner/debug-node.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00059 | $0.03015 |
| Opus 5 | $0.00030 | $0.01507 |
| Sonnet 5 | $0.00012 | $0.00603 |
| Haiku 4.5 | $0.00006 | $0.00301 |
Grade D, and why
debug-node scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
chmod 700 /mnt/@/root/.ssh && chmod 600 /mnt/@/root/.ssh/authorized_keys Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
/mnt/@/root/ /root home (/root/.ssh/authorized_keys) How it starts
The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug Hetzner Node via Rescue Console
Overview
When a Hetzner Cloud server is unreachable (SSH hangs, provisioning stuck, cloud-init failure), this skill uses Hetzner's rescue mode to mount the node's filesystem and inspect everything from the outside — no working SSH required.
Usage
/debug-node
When invoked, ask for:
- The server name or IP (can be found from
hcloud server list) - What symptom they're seeing (SSH timeout, provisioning hang, etc.)
Prerequisites
hcloudCLI installed and configured with a valid token- The server must exist in Hetzner Cloud
hcloud server list
Leap Micro Filesystem Model
Leap Micro uses a transactional-update system on btrfs. This is the mental model for everything below.
| Layer | Writable? | Persists reboot? | Persists Hetzner snapshot? |
|---|---|---|---|
/usr (snapshot) |
No (read-only) | Yes | Yes |
/etc via transactional-update shell |
Yes (new snapshot) | Yes (after reboot) | Yes |
/etc via direct edit on running system |
Yes (current snapshot overlay) | Yes, unless a pending snapshot changed the same path | Current-snapshot content only |
/var (separate subvolume) |
Yes | Yes | Yes |
Rule: Ordinary /etc edits persist across a normal reboot. However, after transactional-update creates a pending snapshot, concurrent edits to the current snapshot's /etc are not merged when the pending snapshot changed the same path. Put image-building and package-coupled /etc changes inside transactional-update --continue shell, or reboot into the pending snapshot before editing.
Packer build phases:
- Rescue mode: Write qcow2 to disk, reboot
install_packages: Insidetransactional-update— changes persistclean_up: Volatile overlay —/etcchanges are lost in the Hetzner snapshot
Step 1: Identify the Server
hcloud server list -o columns=id,name,status,ipv4 | grep <pattern>
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed 1d9022e03655
- 5d ago First seen · 286 lines · 59 tokens per session scan D de0e7351fc7d
debug-node is a skill published in the GitHub repository mysticaltech/terraform-hcloud-kube-hetzner (3,924 stars, last pushed 5d ago), licensed MIT. It adds 59 tokens to every session and 3,015 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
k8s-aiops
Use this skill whenever the user needs to operate a Kubernetes cluster — list/inspect pods, deployments, statefulsets, daemonsets, replicasets, jobs, cronjobs, services, ingresses, endpoints, configmaps, secrets (names/keys only), PVCs/PVs/storageclasses, nodes, namespaces, and events; read pod logs; describe…
k8s-network-policy
Review Kubernetes NetworkPolicies — what is actually permitted to reach a workload, and whether the answer can be trusted. Use when asked what can talk to a pod, whether a namespace is restricted, why traffic is being blocked, or for any security review of cluster network segmentation.
k8s-service-path
Trace the Kubernetes service path — Service to selector to pods to EndpointSlices to readiness, plus Ingress routing. Use when a service is getting no traffic, an ingress is not routing, or someone asks why a workload is unreachable inside a cluster.
k8s-workload-inventory
List Kubernetes workloads and namespaces — pods with their node, phase and readiness, plus events. Use when asked what is running, where it is running, what is failing, or for a general inventory of a cluster.
Cloud Security & Container Hardening
AWS/Azure/GCP security auditing, container and Kubernetes hardening, Infrastructure as Code scanning, and cloud compliance assessment.
kubernetes-skill
Production-grade Kubernetes guidance (KubeShark). Activates for any task involving Kubernetes manifests, Helm charts, Kustomize overlays, RBAC, NetworkPolicies, or cluster operations. Enforces a failure-mode workflow with Conditional Reference Retrieval.