Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-tailscale

БесплатноБез исполняемых скриптовНе проверен

Tailscale admin from the terminal, with safe route and policy edits an agent can plan before it writes. Trigger phrases: `approve the exit node`, `check…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Tailscale — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the tailscale-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install tailscale --cli-only
    
  2. Verify: tailscale-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/cloud/tailscale/cmd/tailscale-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Nearly every Tailscale admin API endpoint (tailnet deletion is deliberately left out), plus commands that make the two dangerous whole-object writes safe: routes approve keeps the routes a device already has, and policy add-entry keeps comments, backs up, validates, diffs, and writes with an ETag check. Those safe-write commands (routes approve and unapprove, shares revoke, policy add-entry and restore) write only with --yes and are plan-only as MCP tools; in --agent mode every other mutation is a dry run unless --yes. devices expiry, routes overview, and shares audit answer fleet questions the admin console shows one machine at a time, and access check and devices inspect give an agent one target's full picture before it acts.

When to Use This CLI

Use this CLI when an agent or operator needs to administer a tailnet: approve routes and exit nodes, edit the policy file, audit or revoke machine shares, check key expiry, or ask which rules allow a connection. It is the right choice when a change must not clobber existing routes or policy content. The device selector self means this machine and needs the local tailscale command; otherwise pass a hostname, MagicDNS name, Tailscale IP, or nodeId.

Anti-triggers

Do not use this CLI for:

  • Connecting this machine to a tailnet or changing its local settings; use the local tailscale command (tailscale up, tailscale set)
  • Sending files with Taildrop or serving a local port; use tailscale file and tailscale serve
  • Managing Headscale or other self-hosted control servers

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Safe writes to whole-object endpoints

  • routes approve — Approve a subnet route or exit node on one device without dropping the routes it already has.

    Reach for this instead of the raw routes endpoint whenever an agent is asked to enable an exit node or subnet route.

    tailscale-pp-cli routes approve self --all-advertised
    
  • routes unapprove — Remove approval for one route or the exit-node pair while leaving every other approved route in place.

    Use it to turn off an exit node without breaking the subnet routes on the same machine.

    tailscale-pp-cli routes unapprove self --exit-node
    
  • policy add-entry — Append one nodeAttrs, grants, acls, or ssh entry to the policy file with comments preserved, a local backup, validation, a diff, and a concurrency check.

    Use it whenever an agent needs to add Taildrive, Funnel, or access grants without rewriting the whole policy file.

    tailscale-pp-cli policy add-entry nodeAttrs --entry '{"target":["autogroup:member"],"attr":["drive:access"]}' --dry-run
    
  • policy restore — Roll the policy file back to a local backup after validating it and showing the diff.

    This is the undo for every policy write the CLI makes.

    tailscale-pp-cli policy restore --list
    

Tailnet state an agent can reason about

  • routes overview — See approved, pending, and stale routes and exit-node state for every device in one table.

    Run it before approving anything to see what is actually waiting.

    tailscale-pp-cli routes overview --pending
    
  • devices expiry — List every device by days until its key expires and flag the ones inside a window.

    Use it as a weekly check or a CI gate so nobody gets logged out by surprise.

    tailscale-pp-cli devices
    
Полный SKILL.md на GitHub

Установить pp-tailscale в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-tailscale?

Tailscale admin from the terminal, with safe route and policy edits an agent can plan before it writes. Trigger phrases: `approve the exit node`, `check tailscale key expiry`, `add a tailscale policy entry`, `who has this machine shared`, `who can reach the nas on port 445`, `use tailscale`, `run tailscale-pp-cli`.

Как установить скилл pp-tailscale?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-tailscale запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-tailscale с