hetzner-cli
Skill8 starsChanged 6 months agoApache-2.0View on GitHub
Use the correct Hetzner Cloud CLI (hcloud) context when running Hetzner Cloud commands based on the target environment.
- Installs packages
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
When running hcloud commands, always pass the --context flag based on the target environment.
- Very specific: line 12
Update the context map below with your hcloud CLI context names:
- Distinctive: line 21
If not already authenticated, inform the user that setup is required and ask them to complete the following steps manually.
- Very specific: line 79
Always specify --context explicitly — never rely on the active hcloud context, as it may point to the wrong project.
- Distinctive: line 80
If the target environment is unclear, ask the user before running the command.
- Distinctive: line 81
NEVER run any command in the "Never run" table above without explicit user instruction — a human must execute these, especially against …
- Very specific: line 82
NEVER read or output the API token stored in hcloud CLI contexts or any credential value.
- Very specific: line 83
If unsure which project a context belongs to, run hcloud --context <context> context active to verify before proceeding.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hetzner Cloud CLI Skill
When running hcloud commands, always pass the --context flag based on the target environment.
Configuration
Update the context map below with your hcloud CLI context names:
| Environment | Context |
| Production | <your-prod-context> |
| Staging / Non-Prod | <your-nonprod-context> |
Prerequisites (one-time setup by user)
If not already authenticated, inform the user that setup is required and ask them to complete the following steps manually. Do not perform these steps yourself.
brew install hcloud
hcloud context create <your-context-name>
hcloud context listCommand Format
hcloud --context <context> <resource> <command> [options]Examples
# Production
hcloud --context <your-prod-context> server list
# Staging / Non-Prod
hcloud --context <your-nonprod-context> server listAvailable Commands
Read-only (safe, no confirmation needed)
| Command | Description |
server list / server describe <name> | List or describe servers |
volume list / volume describe <name> | List or describe volumes |
load-balancer list / load-balancer describe <name> | List or describe load balancers |
network list / network describe <name> | List or describe networks |
firewall list / firewall describe <name> | List or describe firewalls |
context list / context active | Show CLI context information |
Mutating operations (confirm with user before running)
| Command | Description |
server create | Create a new server |
volume create | Create a new volume |
load-balancer create | Create a new load balancer |
server resize | Resize a server |
Never run — requires explicit human approval
| Command | Reason |
server delete | Irreversible resource deletion |
volume delete | Irreversibly deletes a volume and its data |
load-balancer delete | Irreversibly deletes a load balancer |
server reset / server poweroff | Disrupts running workloads |
firewall delete | Removes network security controls |
Rules
- Always specify
--contextexplicitly — never rely on the activehcloudcontext, as it may point to the wrong project. - If the target environment is unclear, ask the user before running the command.
- NEVER run any command in the "Never run" table above without explicit user instruction — a human must execute these, especially against production.
- NEVER read or output the API token stored in
hcloudCLI contexts or any credential value. - If unsure which project a context belongs to, run
hcloud --context <context> context activeto verify before proceeding.
In this repository54 other files it gives its agents.
- alibabacloud-cliSkill
- ansible-cliSkill
- appdynamics-cliSkill
- argocd-cliSkill
- aws-cliSkill
- aws-cloudwatch-cliSkill
- azure-cliSkill
- bash-lintingSkill
- betterstack-cliSkill
- bitbucket-cliSkill
- chef-cliSkill
- code-reviewSkill
- commit-codeSkill
- create-dockerfileSkill
- create-terraform-helm-upgrade-planSkill
- datadog-cliSkill
- digitalocean-cliSkill
- dockerfile-lintingSkill
- dynatrace-cliSkill
- elasticsearch-cliSkill
- gcp-cliSkill
- github-cliSkill
- gitlab-cliSkill
- go-lintingSkill
- grafana-cliSkill
- grafana-loki-cliSkill
- graylog-cliSkill
- helm-cliSkill
- huaweicloud-cliSkill
- jaeger-cliSkill
- jenkins-cliSkill
- jira-and-confluence-cliSkill
- kibana-cliSkill
- kubernetes-cliSkill
- loggly-cliSkill
- maintenance-check-aws-eksSkill
- maintenance-create-ticket-on-jiraSkill
- ms-teams-cliSkill
- mysql-cliSkill
- newrelic-cliSkill
- oci-cliSkill
- packer-cliSkill
- papertrail-cliSkill
- postgresql-cliSkill
- prometheus-cliSkill
- python-lintingSkill
- rollbar-cliSkill
- salesforce-cliSkill
- sentry-cliSkill
- slack-cliSkill
- splunk-cliSkill
- terraform-cliSkill
- terraform-lintingSkill
- vault-cliSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

