tailscale-cli
Complete tailscale CLI usage — all subcommands, flags, and common workflows (v1.96+)
Skill by minfengyuan
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/minfengyuan-tailscale-cli
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tailscale-cli
What's inside
- Skill name
tailscale-cli- Description
- Complete tailscale CLI usage — all subcommands, flags, and common workflows (v1.96+)
- License
- MIT
- Metadata
- title: Tailscale CLI Reference · category: devops
- Instructions
- 425 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Tailscale CLI Reference
> `tailscale` — WireGuard-based zero-config VPN.
> Bin: `/usr/local/bin/tailscale` | Sock: `/var/run/tailscaled.socket`
## Global Flags
```
--socket value path to tailscaled socket (default /var/run/tailscaled.socket)
```
Most commands also accept `--json` for machine-readable output.
---
## 1. Connection Management
### `tailscale up`
Connect to Tailscale, logging in if needed. **With flags, must specify the complete set** of desired settings (use `--reset` to override).
| Flag | Description |
|------|-------------|
| `--accept-dns` | Accept DNS config from admin panel (default true) |
| `--accept-routes` | Accept routes advertised by other nodes (default false) |
| `--advertise-routes` | Routes to advertise (e.g. `10.0.0.0/8,192.168.0.0/24`) |
| `--advertise-exit-node` | Offer as exit node (default false) |
| `--advertise-connector` | Advertise as app connector (default false) |
| `--advertise-tags` | ACL tags to request (e.g. `tag:eng,tag:ssh`) |
| `--auth-key` | Node authorization key (or `file:/path` to read from file) |
| `--exit-node` | Exit node to use (IP, base name, or `auto:any`) |
| `--exit-node-allow-lan-access` | Allow local LAN when using exit node |
| `--hostname` | Override hostname |
| `--login-server` | Base URL of control server |
| `--operator` | Unix user allowed to operate tailscaled without sudo |
| `--shields-up` | Block incoming connections |
| `--ssh` | Run SSH server per tailnet policy |
| `--force-reauth` | Force reauthentication |
| `--reset` | Reset unspecified settings to defaults |
| `--timeout` | Max time to wait for Running state (0=forever) |
| `--json` | JSON output |
| `--accept-risk` | Skip confirmation for: `lose-ssh`, `mac-app-connector`, `all` |
| `--client-id` / `--client-secret` / `--audience` / `--id-token` | Workload identity federation |
| `--qr` / `--qr-format` | Show QR code for login URLs |
### `tailscale down`
Disconnect from Tailscale.
```
tailscale down [--accept-risk <type>] [--reason <string>]
```
### `tailscale login`
Log in to a Tailscale account (alpha). Supports same flags as `up` for connection options.
### `tailscale logout`
Disconnect and expire current node key (forces reauth on next use).
```
tailscale logout [--reason <string>]
```
### `tailscale switch`
Switch between logged-in accounts (alpha).
```
tailscale switch <id> # switch to account
tailscale switch --list [--json] # list available accounts
```
**Subcommands:**
- `tailscale switch remove <id>` — Remove a stored account
### `tailscale set`
Change specific preferences **without** requiring the full set (unlike `up`).
```
tailscale set --ssh --accept-routes --hostname=foo
```
Additional flags unique to `set`:
- `--auto-update` — Auto-update to latest version
- `--nickname` — Nickname for current account
- `--update-check` — Notify about available updates
- `--webclient` — Expose web UI at port 5252 over tailnet
- `--relay-server-port` — UDP port for relay (empty = disable)
- `--relay-server-static-endpoints` — Static IP:port endpoints for relay
- `--report-posture` — Allow device posture reporting
---
## 2. Status & Diagnostics
### `tailscale status`
Show state of tailscaled and connections.
```
tailscale status [--active] [--web] [--json] [--browser] [--header]
[--listen <addr>] [--peers] [--self]
```
- `--web` — Run web server with HTML status (default `127.0.0.1:8384`)
- `--active` — Only peers with active sessions
- `--peers` / `--self` — Show peers / local machine (default true)
### `tailscale netcheck`
Analyze local network conditions (NAT type, DERP latency, etc.).
```
tailscale netcheck [--bind-address <ip>] [--bind-port <port>]
[--every <duration>] [--format <json|json-line>]
[--verbose]
```
### `tailscale ping`
Ping a peer at the Tailscale layer (shows DERP vs direct path).
```
tailscale ping <hostname-or-IP>
--c <n> max pings (0=infinity, default 10)From minfengyuan/harness-knowledge-base, MIT.
More from minfengyuan/harness-knowledge-base
- 0.589score
tailscale-api
Hermes Agent
Tailscale REST API v2 (api.tailscale.com/api/v2) — devices, keys, ACL, DNS, webhooks, OAuth scopes.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-mode
minfengyuan
Coordinate the project's seven specialized agents through planning, execution, review, debugging, and final acceptance for substantial software-development…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
conventional-branch-naming
minfengyuan
Generate one descriptive Git branch name from a task using Conventional Commits 1.0.0 types.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
clarifying-requirements
minfengyuan
Turn vague ideas or requirements into a shared, actionable brief through iterative questions and confirmation.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
optimize-astra-instructions
minfengyuan
Audit or revise Skills, AGENTS.md files, and agent task prompts specifically for GPT-6 Astra.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
photo-illustration-styles
minfengyuan
Photo-to-illustration style transfer.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
progressive-disclosure-agents-md
minfengyuan
Design, review, or create progressive-disclosure and layered AGENTS.md instruction systems for agentic coding workflows.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
pi-coding-agent
minfengyuan
Guides agents using Pi coding-agent: install, authenticate, run, configure, automate, and extend the pi CLI.
SkillBFreshness: B★ 1Claude Code +9 - 0.548score
recipe-formatter
minfengyuan
将用户提供的菜谱文字或明确要求保存的菜谱整理为结构化 Obsidian 菜谱,自动分类并打标签。Use when the user wants recipe text formatted, normalized, tagged, or saved as a recipe note.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
conventional-commits
minfengyuan
Generate Conventional Commits 1.0.0 messages from staged git changes.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
plan-ceo-review
minfengyuan
Use when a user wants product-level review of a plan, especially to challenge scope, ambition, and user value before implementation
SkillBFreshness: B★ 1Claude Code +9 - 0.546score
systematic-debugging
minfengyuan
Use when a bug, test failure, or unexpected behavior needs evidence-based diagnosis before a fix.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 12, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from minfengyuan
- 0.587score
clarifying-requirements
minfengyuan
Turn vague ideas or requirements into a shared, actionable brief through iterative questions and confirmation.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-mode
minfengyuan
Coordinate the project's seven specialized agents through planning, execution, review, debugging, and final acceptance for substantial software-development…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
conventional-branch-naming
minfengyuan
Generate one descriptive Git branch name from a task using Conventional Commits 1.0.0 types.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
photo-illustration-styles
minfengyuan
Photo-to-illustration style transfer.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
progressive-disclosure-agents-md
minfengyuan
Design, review, or create progressive-disclosure and layered AGENTS.md instruction systems for agentic coding workflows.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
optimize-astra-instructions
minfengyuan
Audit or revise Skills, AGENTS.md files, and agent task prompts specifically for GPT-6 Astra.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
tailscale-cli skill. Agent Mart. https://agentmart.dev/skills/minfengyuan-tailscale-cli (last updated 2026-10-24)