Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Tailscale CLI

$ tailscale Official Med Risk
Tailscale · Cloud & Infra · BSD-3-Clause · macos / linux / windows

Tailscale CLI (tailscale) inspects and configures host participation in a Tailscale WireGuard tailnet, offering --json on status, whois, and netcheck --format=json, latency diagnostics via tailscale ping, and headless TS_AUTHKEY enrollment.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install tailscale
CLI vs MCP Decision CLI Preferred vs MCP

tailscale talks directly to the local host tailscaled socket to emit --json peer topology and network diagnostics.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

status --json, whois --json, and netcheck --format=json return rich, clean JSON for mesh diagnostics.

  • Supports --json on status/whois and --format=json on netcheck
Trust & Safety 20 / 25

Read diagnostics are completely safe, while up/set/down alter host networking (requiring elevated privileges on Linux/Windows).

  • Safe read-only status/netcheck; up/down mutates host routing
Setup & Portability 14 / 15

Fast Go CLI across macOS, Linux, and Windows, requiring the local tailscaled daemon.

  • Cross-platform Go CLI paired with tailscaled
Utility & Efficiency 12 / 15

Instant tailnet topology, MagicDNS, and DERP latency visibility in JSON.

  • Rich peer and NAT JSON diagnostics
Maintenance & Lineage 10 / 10

Official tailscale/tailscale repository actively maintained under BSD-3-Clause.

  • Official tailscale/tailscale repository
Docs & Verifiability 8 / 10

Clear tailscale.com/kb/1080/cli knowledge base and --help.

  • Official KB at tailscale.com/kb/1080/cli

Security, Auth & Guardrails

Auth Modes
OAuth Browser Env API Key Config File
Credential Storage

Persists node identity in the local tailscaled daemon state (/var/lib/tailscale/ on Linux) and supports headless enrollment via TS_AUTHKEY / --auth-key.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Client CLI is open-source (BSD-3-Clause); Tailscale offers a generous free tier and paid team plans.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Tailscale CLI Agent Rules
- Use read-only `tailscale status --json`, `whois --json`, and `netcheck --format=json` for diagnostics.
- Never run `tailscale up`, `tailscale set`, or `tailscale down` without user approval, as it can sever SSH/agent connectivity.
- Never print raw `TS_AUTHKEY` values in command outputs.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect local node and tailnet peers in JSON
tailscale status --json

Returns self IP, MagicDNS name, exit node status, and connected peers as JSON.

Run network NAT and DERP latency diagnostics as JSON
tailscale netcheck --format=json

Probes UDP/DERP relay latencies and NAT type without altering routing.

Strengths for Agents

  • + tailscale status --json and netcheck --format=json provide rich network telemetry.
  • + Fast Go binary with clean headless auth via TS_AUTHKEY.
  • + BSD-3-Clause open-source client with strong active maintenance.

Caveats & Pitfalls

  • ! tailscale up requires re-specifying existing flags or using tailscale set to avoid resetting options.
  • ! Flag naming alternates between --json (status, whois) and --format=json (netcheck).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI