hetzner-delete

hetzner-delete is a skill for Claude Code, Codex from IsaiaScope/ai. It costs 112 tokens per session (1,725 once invoked), scanned A, original, MIT.

A guarded deletion process for destroying a Hetzner VPS, a rented virtual server, and cleaning up the related records and access files. It checks the server name and protection status before doing anything.

In plain words
What is it for?
It helps safely remove an approved server, create a recoverable snapshot first, and clean orphaned entries from the server roster, SSH configuration, known-host records, and Hetzner resources.
Why use it?
Server deletion is immediate and can remove a working machine, so the process shows what will be affected, takes a snapshot, and requires explicit confirmation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps safely remove an approved server, create a recoverable snapshot first, and clean orphaned entries from the server roster, SSH configuration, known-host records, and Hetzner resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/isaiascope/ai/hetzner-delete
Install

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.

Any agent
npx skills add IsaiaScope/ai --skill hetzner-delete
Clone the repo
git clone --depth 1 https://github.com/IsaiaScope/ai

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for hetzner-delete

README.md
[![agentmods](https://agentmods.dev/badge/skills/isaiascope/ai/hetzner-delete.svg)](https://agentmods.dev/skills/isaiascope/ai/hetzner-delete)
Your own site
<a href="https://agentmods.dev/skills/isaiascope/ai/hetzner-delete"><img src="https://agentmods.dev/badge/skills/isaiascope/ai/hetzner-delete.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,725 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.01725
Opus 5 $0.00056 $0.00863
Sonnet 5 $0.00022 $0.00345
Haiku 4.5 $0.00011 $0.00172

Measured 8d ago against content hash eb1fba0495e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

hetzner-delete scanned grade A with 0 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/hetzner-delete/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

hetzner-delete

Destroy a server and remove the debris. The destroy itself is one hcloud call — the value here is the guard rails around it and the six places it leaves orphans.

Invocation: /hetzner-delete <name> — a key under servers in the roster. No default. Never operate on the fleet.default entry implicitly.

Sibling skills: /hetzner-create (provision) · /hetzner-ssh (connect).

hcloud server delete has no confirmation prompt and no --force flag. It takes a name and destroys the box immediately. Every safeguard below exists because the CLI provides none.


Step 0 — Resolve and check protection

cat ~/.config/hetzner/hetzner.json
Condition Action
<name> not in servers Print available keys and stop. Never fuzzy-match a name.
protected: true REFUSE. Print the message below and stop. Take no snapshot, touch nothing
No <name> given Ask. Never assume, never fall back to fleet.default
⛔ REFUSED — '<name>' is protected.

To delete it:
  1. set "protected": false in fleet.servers.<name> of ~/.config/hetzner/hetzner.json
  2. re-run this command

Nothing was touched.

The two-key rule is the point: unprotecting is a deliberate edit in another tool at another moment. Never offer to make that edit as part of this run — doing so collapses two keys into one and defeats the guard entirely.


Step 1 — Blast radius

Show exactly what dies and what survives. Read live state; do not trust the roster alone.

hcloud server describe <hcloud_server>
hcloud volume list   -o noheader | grep <hcloud_server> || true
hcloud floating-ip list -o noheader | grep <hcloud_server> || true
hcloud firewall describe <firewall> -o 'format={{len .AppliedTo}}' 2>/dev/null
WILL DESTROY
  server    <name>   <type>, <location>, up <N>d
  disk      <N> GB   — all data on it
  ip        <ip>     — released, NOT recoverable, may be reassigned to a stranger
  volumes   <list or none>

WILL KEEP
  firewall  <firewall>   — shared, still attached to <N> other server(s)
  ssh key   <label>      — shared across the fleet

Read the full file on GitHub · 183 lines

Changes

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.

  1. 8d ago First seen · 183 lines · 112 tokens per session scan A eb1fba0495e0

Subscribe to this mod's changes

hetzner-delete is a skill published in the GitHub repository IsaiaScope/ai (2 stars, last pushed 4d ago), licensed MIT. It adds 112 tokens to every session and 1,725 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

neo-azure-pipelines

Use this skill when the user asks to create, review, debug, or modernize Azure Pipelines YAML for CI/CD, especially .NET builds, Azure App Service deploys, or IIS/on-premises deploys. Prefer bundled templates and verify task syntax against Microsoft docs when version-specific accuracy matters.

Benknightdark/neo-skills · 66 tokens

vercel-hygiene

Audit and harden the 4 pivoshenko brand sites on Vercel (pivoshenko.dev, pivoshenko.startpage, pivoshenko.wallpapers, pivoshenko.ai), team pivoshenko. Read-only sweep -> per-site report (ok/attention/action) -> confirmed fixes. Emphasizes security headers and analytics coverage. Use when the user says "audit vercel"…

pivoshenko/pivoshenko.ai · 162 tokens

cloudflare-hygiene

Audit + harden + optimize live Cloudflare zones/domains — read-only sweep of each zone (SSL/TLS mode, HSTS, min TLS, TLS 1.3, Always-Use-HTTPS, Brotli, HTTP/3, 0-RTT, Early Hints, caching, security level, Bot Fight Mode, WAF, DNS proxy/TTL + SPF/DKIM/DMARC hygiene, DNSSEC) -> ok/attention/action report grouped by…

pivoshenko/pivoshenko.ai · 220 tokens

agent-framework-azure-ai-py

Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code int...

majiayu000/claude-skill-registry · 48 tokens

agent-framework-azure-ai-py

Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code interpreter, file search, web search), integrating MCP servers, managing conversation threads, or implementing streaming…

majiayu000/claude-skill-registry · 79 tokens

agent-framework-azure-ai-py

Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code interpreter, file search, web search), integrating MCP servers, managing conversation threads, or implementing streaming…

majiayu000/claude-skill-registry · 79 tokens