tailscale-cli
Skill2 starsChanged 8 months agoMITView on GitHub
Manage Tailscale VPN using the tailscale CLI. Use when the user wants to connect/disconnect devices, manage exit nodes, share files via Taildrop, expose services with Tailscale Serve or Funnel, check network status, manage Tailnet Lock, or configure Tailscale settings. Triggers on mentions of Tailscale, tailnet, MagicDNS, Taildrop, or mesh VPN.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- sgoley/skillstheir own version, first seen Jun 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- sgoley/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- 1password-cliSkill
- awscliSkill
- gandi-cliSkill
- iterm2-automationSkill
- iterm2-profilesSkill
- iterm2-shell-setupSkill
- pbcopySkill
- syncthingSkill
- synology-cliSkill
- textual-tuiSkill
- your-skill-nameSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 55
If the app intercepts the command, set:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Tailscale CLI Assistant
Help users manage Tailscale VPN using the tailscale CLI.
Prerequisites
- Tailscale installed on the device
- Verify setup:
tailscale status
CLI Path by Platform
IMPORTANT: The CLI path differs by platform and installation method.
macOS (App Store)
The CLI is bundled inside the app. Use the full path or create an alias:
# Direct execution
/Applications/Tailscale.app/Contents/MacOS/Tailscale <command>
# Recommended: add alias to ~/.zshrc or ~/.bashrc
alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"macOS (Standalone variant)
Install CLI integration from the client: Settings > CLI integration > Install Now.
This installs a launcher to /usr/local/bin/tailscale.
Linux / Windows
The tailscale binary is in $PATH by default:
tailscale <command>Force CLI mode (macOS)
If the app intercepts the command, set:
export TAILSCALE_BE_CLI=1Core Commands
Connect & Authenticate
tailscale up # Connect to Tailscale
tailscale up --auth-key=<key> # Auto-authenticate with auth key
tailscale up --force-reauth # Force re-authentication
tailscale down # Disconnect
tailscale login # Log in (add device to tailnet)
tailscale logout # Log out (expire session)
tailscale switch <account> # Switch account (fast user switching)
tailscale switch --list # List available accountsStatus & Info
tailscale status # Show connected devices
tailscale status --json # JSON output (detailed)
tailscale status --json | jq '.Peer[] | {Name: .HostName, IP: .TailscaleIPs[0]}'
tailscale ip # Show this device's Tailscale IPs
tailscale ip -4 # IPv4 only (100.x.y.z)
tailscale ip -6 # IPv6 only
tailscale ip <hostname> # Get IP of another device
tailscale whois <ip> # Look up device/user by IP
tailscale whois --json <ip> # JSON output
tailscale version # Print version
tailscale netcheck # Network connectivity reportSettings (tailscale set)
Unlike tailscale up, set only changes specified preferences (no need to pass all flags):
tailscale set --hostname=my-server # Set device hostname
tailscale set --advertise-exit-node # Offer as exit node
tailscale set --advertise-exit-node=false # Stop offering
tailscale set --exit-node=<ip|name> # Use exit node
tailscale set --exit-node= # Clear exit node
tailscale set --exit-node=auto:any # Auto-select exit node
tailscale set --exit-node-allow-lan-access # Allow LAN with exit node
tailscale set --advertise-routes=10.0.0.0/24,192.168.1.0/24 # Subnet routes
tailscale set --accept-routes # Accept subnet routes
tailscale set --shields-up # Block incoming connections
tailscale set --shields-up=false # Allow incoming
tailscale set --ssh # Enable Tailscale SSH server
tailscale set --ssh=false # Disable Tailscale SSH
tailscale set --auto-update # Enable auto-updates
tailscale set --webclient # Expose web interface on :5252Tailscale Serve (Expose to Tailnet)
Share local services within your tailnet:
# Reverse proxy (most common)
tailscale serve localhost:3000 # HTTPS proxy to local port
tailscale serve --http=80 localhost:3000 # HTTP proxy
tailscale serve --bg localhost:3000 # Background (persists across reboots)
# File server
tailscale serve /path/to/directory # Serve files
# Static text
tailscale serve text:"Hello, world!"
# Self-signed backend
tailscale serve https+insecure://localhost:8443
# With custom path
tailscale serve --set-path=/api localhost:8080
# Status and reset
tailscale serve status
tailscale serve reset
# Disable specific serve
tailscale serve --https=443 offTailscale Funnel (Expose to Internet)
Expose services from your tailnet to the public internet:
tailscale funnel localhost:3000 # HTTPS on port 443
tailscale funnel --https=8443 localhost:3000 # Allowed: 443, 8443, 10000
tailscale funnel --bg localhost:3000 # Background (persists)
tailscale funnel status
tailscale funnel reset
tailscale funnel --https=443 off # DisableFile Transfer (Taildrop)
# Send files
tailscale file cp file.txt <hostname>:
tailscale file cp *.pdf <hostname>:
tailscale file cp - <hostname>: --name=output.txt # From stdin
# Receive files
tailscale file get <target-directory>
tailscale file get --loop ~/Downloads # Continuously receive
tailscale file get --conflict=overwrite . # Overwrite existingNetwork & DNS
tailscale ping <hostname-or-ip> # Ping over Tailscale
tailscale ping --c=3 <hostname> # Max 3 pings
tailscale ping --until-direct <hostname> # Wait for direct connection
tailscale netcheck # Network report (UDP, DERP, latency)
tailscale netcheck --format=json # JSON output
tailscale dns status # DNS forwarder & MagicDNS config
tailscale nc <hostname> <port> # Netcat over Tailscale
tailscale ssh user@<hostname> # SSH over TailscaleCertificates
tailscale cert hostname.ts.net # Generate Let's Encrypt cert
tailscale cert --cert-file=cert.pem --key-file=key.pem hostname.ts.net
tailscale cert --serve-demo hostname.ts.net # Demo server on :443Certificates have 90-day expiry (Let's Encrypt).
Tailnet Lock
tailscale lock status # Check lock state
tailscale lock status --json
tailscale lock init <tlpub:key1> <tlpub:key2> # Initialize
tailscale lock add <tlpub:key> # Add trusted key
tailscale lock remove <tlpub:key> # Remove trusted key
tailscale lock sign <nodekey:xxx> # Sign a node
tailscale lock disable <disablement-secret> # Disable lock
tailscale lock log # View lock changesOther Commands
tailscale update # Update client
tailscale update --yes # Update without prompt
tailscale update --dry-run # Preview update
tailscale bugreport # Generate bug report
tailscale bugreport --diagnose # With verbose diagnostics
tailscale drive share <name> <path> # Share directory (Taildrive)
tailscale drive list # List shares
tailscale drive unshare <name> # Remove share
tailscale exit-node list # List exit nodes
tailscale exit-node suggest # Suggest best exit node
tailscale configure kubeconfig <host> # Configure kubectl access
tailscale configure synology # Configure Synology
tailscale metrics print # Show client metrics
tailscale completion zsh > "${fpath[1]}/_tailscale" # Shell completionTab Completion
# Bash (Linux)
tailscale completion bash > /etc/bash_completion.d/tailscale
# Bash (macOS with brew)
tailscale completion bash > $(brew --prefix)/etc/bash_completion.d/tailscale
# Zsh
echo "autoload -U compinit; compinit" >> ~/.zshrc
tailscale completion zsh > "${fpath[1]}/_tailscale"
# Fish
tailscale completion fish > ~/.config/fish/completions/tailscale.fishCommon Patterns
Set up as exit node
tailscale set --advertise-exit-node
# On other devices:
tailscale set --exit-node=<exit-node-name>
tailscale set --exit-node-allow-lan-accessExpose a local dev server
# To tailnet only
tailscale serve --bg localhost:3000
# To the internet
tailscale funnel --bg localhost:3000Send files between devices
# On sender
tailscale file cp report.pdf my-laptop:
# On receiver
tailscale file get ~/DownloadsAutomate with auth key
tailscale up --auth-key=tskey-auth-xxx --hostname=ci-runner --advertise-tags=tag:ciFor complete command reference, see reference/commands.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

