hetzbot-remove-host

Removes a Hetzner Cloud host VM, updates tfvars state, and reminds about Tailscale cleanup.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/tomspiegl/hetzbot --skill hetzbot-remove-host
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hetzbot-remove-host
Source: https://github.com/tomspiegl/hetzbot/tree/main/skills/hetzner/remove-host
Command: npx skills add https://github.com/tomspiegl/hetzbot --skill hetzbot-remove-host

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely decommission Hetzner Cloud hosts by removing the VM, cleaning up local state, and reminding operators to complete cleanup tasks.

Core Features & Use Cases

  • Guardrails: validates the target host, warns about services, and offers removal or force-destroy options.
  • Safe destruction workflow: backups before destroy, triple confirmation, and deterministic infrastructure teardown via tofu.
  • State hygiene: updates hosts.tfvars, removes references, and reminds about manual cleanups (Tailscale, DNS, restic).

Quick Start

Initiate removal of a Hetzner host by selecting the target and letting the skill perform guarded destruction with backups and confirmations.

Frequently Asked Questions about hetzbot-remove-host

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely decommission a Hetzner Cloud host from my fleet?

Safely decommissioning a Hetzner Cloud host requires removing the VM, cleaning up local state, and prompting for dependent service removal. This workflow uses guardrails like target validation, service warnings, and hosts.tfvars updates to ensure safe destruction.

What is the best way to destroy Hetzner infrastructure using tofu while protecting local state?

The best way to destroy Hetzner infrastructure with tofu is a deterministic teardown workflow that updates hosts.tfvars and removes references. This maintains state hygiene by validating targets and requiring triple confirmation before deletion.

Does decommissioning a Hetzner host automatically remove dependent services like Tailscale and DNS?

Decommissioning a Hetzner host does not automatically remove dependent services. The workflow provides post-destruction reminders for manual cleanups required for Tailscale devices, DNS records, and restic backups to ensure complete fleet hygiene.

Can I force-destroy a Hetzner host without confirmations if it has running services?

You can force-destroy a Hetzner host with running services by using the force-destroy option. The guardrails validate the target host and warn about services, but allow you to bypass standard removal and proceed with immediate destruction.

How do I back up a Hetzner VM before destroying it?

To back up a Hetzner VM before destroying it, use a destruction workflow that includes backup prompts before the teardown process. This ensures you create a backup before executing the triple confirmation and deterministic destruction via tofu.