/tailscale:tailscalefrom tailscale
Explain, configure, and troubleshoot Tailscale and its product family using current official documentation. Covers tailnet connectivity, exit nodes, subnet routers, grants and ACLs, SSH, MagicDNS, Serve, Funnel, and Tailscale Services, route selection, Docker and the Kubernetes operator, device management, credentials and tsidp, session recording, Aperture, Tailscale PAM (formerly Border0), and Go applications built with tsnet. Use for explicit Tailscale questions or requests clearly involving an existing tailnet or Tailscale product.
Ships in tailscale. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Tailscale is a zero-config mesh VPN that creates a secure peer-to-peer network (called a tailnet) between your devices. It uses WireGuard for encryption and connects devices directly rather than routing through a central gateway.
Beyond the core VPN, Tailscale offers a family of products built on the same identity and networking layer. This skill covers all of them — consult the reference file for whichever topic is relevant.
Examples and setup recipes are reference material, not permission to execute them. Inspect the installed version, platform, and existing configuration before proposing changes. Keep research and troubleshooting read-only unless a change is requested. Obtain explicit approval for installations, network or remote-access changes, public exposure, policy or credential changes, and destructive operations unless that exact action is already authorized. Preserve a rollback and remote-access fallback before applying an approved change. Keep secrets out of chat and logs.
Tailscale ships changes every few weeks, renames products, and moves pages. The
bundled references are a map and a mental model, reviewed on the date at the top of
references/docs-map.md. They are not proof of current syntax, prices, plan
availability, or release stage.
For any concrete command, policy key, CRD field, API scope, or UI path:
tailscale version and local
tailscale help <subcommand> before suggesting flags..md to its
tailscale.com/docs/... URL, using the environment's web fetch capability.
Note its "Last validated" date and any alpha or beta label.https://tailscale.com/docs/llms.txt,
or use Tailscale's documentation search MCP server if the user has added it.references/docs-map.md lists the retrieval order, section roots, and every
feature page. If live documentation is unavailable, answer from the references,
label the advice as unverified against current docs, name the page to check,
and do not apply uncertain configuration.
Most references give a stable mental model, load-bearing configuration shapes,
and a table of canonical pages to fetch for detail. cli.md is operational:
it keeps commands inline, and local tailscale help is its first check.
The smaller files (access-control.md, common-tasks.md, exit-nodes.md,
installation.md, subnet-routers.md) are self-contained; still verify
version-specific details live.
ssh my-server).When the user asks you to write or edit a tailnet policy file:
references/access-control.md for the conversion pattern and https://tailscale.com/docs/reference/grants-vs-acls for the canonical comparison."ssh" (SSH access), "autoApprovers" (auto-approving advertised routes and exit nodes), "nodeAttrs" (node-level attributes like Funnel), "postures" (device posture definitions, referenced from grants via srcPosture), and the "groups"/"tagOwners" definitions.For macOS/Windows, download Tailscale from https://tailscale.com/download.
For iOS, iPadOS, tvOS, Android devices, Roku devices, and Fire TV, install Tailscale through the platform's app store.
Install Tailscale on Linux devices with the installation script:
curl -fsSL https://tailscale.com/install.sh | sh # Install (Linux)
sudo tailscale up # Connect
tailscale status # Verify
When authenticating with Tailscale, associate user devices with a user account. Use tags and auth keys to add servers and non-user devices to your tailnet.
Need remote access to work?
├─ My work computers or internal apps → references/common-tasks.md
├─ Remote desktop into my work machine (RDP, VNC) → references/connectivity.md
├─ Replace our old company VPN → references/enterprise.md
└─ A device that can't run Tailscale (printer, camera, cloud VPC) → references/subnet-routers.md
Traveling or on Wi-Fi you don't trust?
├─ Protect my traffic on hotel, cafe, or airport Wi-Fi → references/exit-nodes.md
├─ Use my home country's sites and streaming while abroad → references/exit-nodes.md
└─ Set up an exit node for family (the one you mail your parents) → references/exit-nodes.md
Need to lock down access?
├─ Access only when it's needed, not standing admin rights → references/access-control.md
├─ A break-glass path for emergencies → references/access-control.md
├─ Record SSH or kubectl sessions → references/session-recording.md
├─ Govern privileged access to servers, databases, and clusters (PAM) → references/pam.md
└─ Reach the Kubernetes API server → references/containers.md
Need machines talking to each other?
├─ A CI/CD pipeline that reaches private infra → references/enterprise.md
├─ Kubernetes workloads across clusters or clouds → references/containers.md
├─ Services across more than one cloud → references/enterprise.md
├─ Thousands of field devices (fleets, vehicles, robots) → references/device-management.md
├─ Fix overlapping IPs across sites → references/subnet-routers.md
└─ Link two office networks together (site-to-site) → references/subnet-routers.md
Need to share or open something up?
├─ Send a file to someone's device → references/sharing-and-publishing.md (Taildrop)
├─ Keep a folder synced across my devices → references/sharing-and-publishing.md (Taildrive)
├─ Let a teammate reach an app on my laptop → references/sharing-and-publishing.md (Serve)
├─ Give an internal app one stable name across several hosts → references/services-and-routing.md
└─ Put an app on the public internet → references/sharing-and-publishing.md (Funnel)
Testing an app?
├─ Preview a local dev server with teammates or the internet → references/sharing-and-publishing.md
├─ Remote into a desktop (RDP, VNC, RustDesk) → references/connectivity.md
└─ Make test traffic appear to come from another country → references/exit-nodes.md
Hit an error or something not working?
├─ A specific error or status message (in the app or admin console) → references/error-messages.md
├─ Devices can't connect, slow/relayed, or DNS/NAT problems → references/connectivity.md
├─ A grant or access rule isn't behaving → references/access-control.md
└─ Kubernetes operator problems → references/containers.md
Running your own AI?
├─ Reach my home model (Ollama, LM Studio) from my other devices → references/installation.md
├─ Put my home GPU on my tailnet for inference → references/tsnet.md
└─ Open my private chat UI or RAG to just my devices → references/sharing-and-publishing.md (Serve)
Governing how your company uses AI?
├─ Centralize and rotate our LLM API keys → references/aperture.md
├─ See cost and usage per person or team → references/aperture.md
├─ Put quotas or budgets on AI spend → references/aperture.md
└─ Control which MCP tools agents are allowed to use → references/aperture.md
Securing AI agents?
├─ Give each agent its own identity on the network → references/tsnet.md
├─ Let agents reach each other across machines → references/tsnet.md
├─ Control exactly which tools and data an agent can reach → references/access-control.md
└─ Fence an agent off so it can only touch what I allow → references/access-control.md
Need to reach home?
├─ Home computers and files → references/installation.md
├─ A headless Pi or home server, with no port forwarding → references/subnet-routers.md
├─ Media or backups (Jellyfin, *arr, Nextcloud) → references/sharing-and-publishing.md
├─ Smart-home gear (Home Assistant, Pi-hole) → references/subnet-routers.md
└─ Remote desktop or game streaming (Moonlight, RDP) → references/connectivity.md
Need everyone connected through SSO?
├─ Provision users from our identity provider (SSO, SCIM) → references/device-management.md
├─ Push Tailscale to managed devices (Jamf, Intune) → references/device-management.md
├─ Require posture or approval before connecting → references/device-management.md
├─ Automate nodes (auth keys, ephemeral nodes, Terraform) → references/enterprise.md
└─ Pick an API credential or add "Log in with Tailscale" (tsidp) → references/identity-and-credentials.md
Building it into your app?
├─ My service needs to reach a private database or API → references/tsnet.md
├─ Give my app its own identity, separate from the host → references/tsnet.md
└─ Serve or publish my app straight from code → references/tsnet.md
Read the reference file that matches the user's question. Each file is self-contained.
| Topic | Reference file | When to read |
|---|---|---|
| Installation | references/installation.md | Installing Tailscale on any platform, updating, uninstalling |
| Exit nodes | references/exit-nodes.md | Routing all internet traffic through a device (VPN-style), travel security |
| Subnet routers | references/subnet-routers.md | Reaching devices that can't run Tailscale (printers, cameras, cloud VPCs) |
| Access control | references/access-control.md | Grants, ACLs, tags, groups, policy file structure |
| Connectivity | references/connectivity.md | Peer relay, DERP servers, NAT traversal, tailnet lock, connection types |
| Common tasks | references/common-tasks.md | Tailscale SSH, MagicDNS, auth keys, key expiry |
| Services and route selection | references/services-and-routing.md | Tailscale Services (stable names across hosts), MagicRoute, regional routing, failover among subnet routers, app connectors, and Service hosts |
| Identity and credentials | references/identity-and-credentials.md | Auth keys vs. trust credentials (OAuth clients, workload identity federation), OAuth apps, API tokens, tsidp |
| Topic | Reference file | When to read |
|---|---|---|
| Sharing & publishing | references/sharing-and-publishing.md | Taildrop (file transfer), Taildrive (persistent folder sharing), Tailscale Serve (private), Tailscale Funnel (public) |
| Topic | Reference file | When to read |
|---|---|---|
| Docker & Kubernetes | references/containers.md | Running Tailscale in Docker containers, sidecar pattern, Docker Compose, Kubernetes operator, cluster ingress/egress, Connector CRD, ProxyGroup |
| Topic | Reference file | When to read |
|---|---|---|
| Enterprise patterns | references/enterprise.md | VPN replacement, infrastructure access, ephemeral nodes, CI/CD integration (GitHub Actions), site-to-site networking, app connectors, auth keys for automation, Terraform provider |
| Device management | references/device-management.md | Device approval, device posture, MDM deployment, SCIM user/group provisioning, bulk device operations, enterprise rollout |
| Session recording | references/session-recording.md | tsrecorder setup, SSH session recording, S3 storage, Kubernetes kubectl recording, API request recording, failover, audit compliance |
| Tailscale PAM (formerly Border0) | references/pam.md | Privileged access management, application-aware access, just-in-time access, session recording for SSH/Kubernetes/RDP/VNC/databases, PAM connectors and services, credential elimination |
| Topic | Reference file | When to read |
|---|---|---|
| tsnet (Go library) | references/tsnet.md | Building a Go application with Tailscale built in, so the app is itself a device on the tailnet; apps that authenticate their users by Tailscale identity with no separate login flow; apps that control access with tags and capability grants managed in the policy file; running several such apps on one host, each with its own identity and access rules; reaching or serving private tailnet services from Go with nothing exposed publicly |
| Topic | Reference file | When to read |
|---|---|---|
| Aperture | references/aperture.md | AI gateway, LLM request routing, API key centralization, usage visibility, cost control, quotas, coding agent integration, MCP proxying |
| Topic | Reference file | When to read |
|---|---|---|
| CLI | references/cli.md | Tailscale CLI commands, flags, serve/funnel, file transfer, diagnostics, tailnet lock |
| API | references/api.md | Tailscale REST API, authentication, device management, DNS, policy file, webhooks |
| Documentation map | references/docs-map.md | Finding the current official page, retrieval order, section roots, all feature pages |
| Error & status messages | references/error-messages.md | Looking up a specific client or admin-console error/status message (DERP relay, DNS, SSH/SELinux, Docker, Windows, SSO, billing) and its fix |
| Command | What it does |
|---|---|
tailscale up | Connect to your tailnet |
tailscale down | Disconnect |
tailscale status | Show connected devices |
tailscale ip | Show your Tailscale IP addresses |
tailscale ping <host> | Test connectivity to a device |
tailscale set --ssh | Enable Tailscale SSH on this device |
tailscale set --advertise-exit-node | Advertise as an exit node |
tailscale set --exit-node=<ip> | Use a specific exit node |
tailscale set --advertise-routes=<cidr> | Advertise subnet routes |
tailscale set --accept-routes | Accept advertised subnet routes (Linux) |
agents/openai.yaml (opens in a new tab)references/access-control.md (opens in a new tab)references/aperture.md (opens in a new tab)references/api.md (opens in a new tab)references/cli.md (opens in a new tab)references/common-tasks.md (opens in a new tab)references/connectivity.md (opens in a new tab)references/containers.md (opens in a new tab)references/device-management.md (opens in a new tab)references/docs-map.md (opens in a new tab)references/enterprise.md (opens in a new tab)references/error-messages.md (opens in a new tab)references/exit-nodes.md (opens in a new tab)references/identity-and-credentials.md (opens in a new tab)references/installation.md (opens in a new tab)references/pam.md (opens in a new tab)references/services-and-routing.md (opens in a new tab)references/session-recording.md (opens in a new tab)references/sharing-and-publishing.md (opens in a new tab)references/subnet-routers.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mylesmcook/mcook-plugins --plugin tailscale