debug-node
Skill by mysticaltech
Debug an unreachable Hetzner Cloud node by booting it into rescue mode with the hcloud CLI. It inspects the disk, logs, SSH keys, sshd config and cloud-init state without SSH access to the node. Written for operators who see SSH timeouts or provisioning hangs.
Install debug-node
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mysticaltech/terraform-hcloud-kube-hetzner /tmp/terraform-hcloud-kube-hetzner && mkdir -p ~/.claude/skills && cp -r /tmp/terraform-hcloud-kube-hetzner/.claude/skills/debug-node ~/.claude/skills/debug-nodeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mysticaltech/terraform-hcloud-kube-hetzner /tmp/terraform-hcloud-kube-hetzner && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/terraform-hcloud-kube-hetzner/.claude/skills/debug-node ~/.gemini/antigravity-cli/skills/debug-nodeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps debug a Hetzner Cloud server that is unreachable, where SSH fails, cloud-init seems broken, or provisioning hangs. It uses Hetzner's rescue mode, enabled through the hcloud CLI, to reboot the node into rescue and mount its filesystem from outside. The assistant can then read logs, SSH keys, sshd config and cloud-init state without needing SSH access to the node itself.
The steps are built around a Leap Micro filesystem model on btrfs. The skill explains which /etc changes persist across snapshots, locates the highest-numbered active snapshot, and lists diagnostic checks such as cloud-init results, journal logs, network config and SELinux denials. It also covers applying fixes in the active snapshot and disabling rescue mode before rebooting. It is aimed at operators who manage Hetzner nodes, including kube-hetzner clusters.
Written from the project's SKILL.md and checked against it.
What it can do
- Enable rescue modeEnables Hetzner rescue mode on a server with hcloud and reboots it.
- Mount filesystemMounts the node's btrfs root or ext4 disk from the rescue system.
- Cloud-init statusReads cloud-init result, status, datasource, user-data and logs.
- SSH key checkReads root authorized_keys and compares them with a local public key.
- SSHD config reviewLists and reads sshd config files in load order and host keys.
- Account status checkChecks whether the root account is locked in /etc/shadow.
- Journal log reviewReads sshd, k3s and rke2 logs from the mounted journal directory.
- SELinux diagnosticsReads SELinux config and searches audit and journal logs for AVC denials.
- Apply fixesEdits the active snapshot to unlock root, fix keys or regenerate host keys.
What you need
- hcloud CLI installed and configured with a valid token
- A server that exists in Hetzner Cloud
Try asking
- My Hetzner node is unreachable over SSH. Help me debug it with rescue mode.
- Check the cloud-init logs on my Hetzner server named web-1.
- Inspect sshd config and authorized_keys on a locked Hetzner node.
Good to know
- Written around the Leap Micro and MicroOS btrfs layout; ext4 is shown only briefly.
- Rescue-mode edits are immediate fixes; the proper long-term fix belongs in the packer template or cloud-init.
- Does not globally disable SELinux as a first step; per-pool disabling is a last resort.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/debug-node/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to debug-node
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
debug-node: common questions
Does it need SSH access to the broken node?
No. It enables rescue mode with the hcloud CLI and inspects the disk from outside, so working SSH to the node is not required.
Which operating systems does it cover?
The source centers on Leap Micro and MicroOS with btrfs. It also shows a mount command for unsupported or custom ext4 images.
Does it change anything on the server?
The source describes rescue mode as non-destructive, but its fix steps write files on the disk, such as unlocking root or replacing authorized_keys.
How do I install debug-node?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debug-node free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is debug-node safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to debug-node?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
