djs-tailscale
Skill by danjac
Enables, checks or disables Tailscale private networking for a Hetzner Kubernetes cluster. It moves SSH and the Kubernetes API onto a tailnet and closes public ports 22 and 6443. It is for operators of this cluster setup.
Install djs-tailscale
Built from the published package, never by AI.
git clone --depth 1 https://github.com/danjac/django-studio /tmp/django-studio && mkdir -p ~/.claude/skills && cp -r /tmp/django-studio/template/.agents/skills/djs-tailscale ~/.claude/skills/djs-tailscaleRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/danjac/django-studio /tmp/django-studio && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/django-studio/template/.agents/skills/djs-tailscale ~/.gemini/antigravity-cli/skills/djs-tailscaleAntigravity 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 puts a cluster on a Tailscale tailnet so that SSH and the Kubernetes API are reached over WireGuard instead of the public internet. It then closes ports 22 and 6443 to everyone else. It takes enable, status or disable as an argument and defaults to status.
The skill works through Terraform and just commands, one sub-step at a time. It checks that kubectl works over the tailnet before it tightens the firewall. Existing clusters get a join script and a k3s restart, while new clusters join at boot through cloud-init. It is written for operators of this Hetzner cluster setup who want private admin access. Ports 80 and 443 stay open for public web traffic.
Written from the project's SKILL.md and checked against it.
What it can do
- statusReports whether Tailscale is enabled, the API address and the admin_ips value.
- enableWalks through joining the cluster to a tailnet and closing public admin ports.
- disableReopens public access first, then removes Tailscale settings and CI secrets.
- Lockout checkRequires a working kubectl over the tailnet before admin_ips is restricted.
- CI setupGuides adding Tailscale OAuth secrets so the deploy workflow can reach the cluster.
What you need
- A Tailscale account with access to the admin console
- A Hetzner cluster managed with Terraform in terraform/hetzner
- The just command runner
- GitHub CLI (gh) for setting repository secrets
Try asking
- Check whether Tailscale is enabled for my cluster and show the API address.
- Enable Tailscale private networking for the cluster and walk me through it.
- Disable Tailscale and reopen public access to the Kubernetes API.
Good to know
- Do not restrict admin_ips until kubectl works over the tailnet, or the cluster may only be reachable from the Hetzner web console.
- On existing clusters, adding the MagicDNS name restarts k3s, so the Kubernetes API is briefly unavailable.
- The user must be on the tailnet to run the verification commands.
- Auth keys expire after at most 90 days, so the skill uses an OAuth client instead.
Security check
C- Asks for administrator rights (sudo)In
template/.agents/skills/djs-tailscale/SKILL.md:`sudo
Checked automatically: template/.agents/skills/djs-tailscale/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to djs-tailscale
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
djs-tailscale: common questions
Does this skill expose the Kubernetes API to the public internet?
No. When enabled, the skill closes ports 22 and 6443 to everyone except the tailnet. Ports 80 and 443 stay open for web traffic.
What happens if the tailnet join fails on an existing cluster?
The join script checks the certificate and exits with an error if the name is missing. The skill then stops and keeps the firewall open.
How do I turn Tailscale off again?
Run the disable argument. It reopens public access first, then removes the Tailscale OAuth secret and CI secrets.
How do I install djs-tailscale?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is djs-tailscale free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is djs-tailscale safe to use?
It scores 45 of 100. Grades: maintenance B, licence A, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to djs-tailscale?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
