tailscale-serve

tailscale-serve is a skill for Claude Code, Codex from Unique-Divine/jiyuu. It costs 124 tokens per session (2,105 once invoked), scanned A, original, MIT.

A guide for exposing a local development website to devices on your Tailscale network through an HTTPS address. Tailscale is a private network service, and Tailscale Serve forwards requests from its network address to a local port.

In plain words
What is it for?
Use it to set up or troubleshoot local previews, HTTPS .ts.net addresses, MagicDNS, WSL or localhost targets, phone testing, and curl/OpenSSL checks.
Why use it?
It helps diagnose why a phone or another device cannot open the preview, including network access, DNS, certificates, proxy targets, and TLS errors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up or troubleshoot local previews, HTTPS .ts.net addresses, MagicDNS, WSL or localhost targets, phone testing, and curl/OpenSSL checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unique-divine/jiyuu/tailscale-serve
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Unique-Divine/jiyuu --skill tailscale-serve
Clone the repo
git clone --depth 1 https://github.com/Unique-Divine/jiyuu

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tailscale-serve

README.md
[![agentmods](https://agentmods.dev/badge/skills/unique-divine/jiyuu/tailscale-serve/github.svg)](https://agentmods.dev/skills/unique-divine/jiyuu/tailscale-serve)
Your own site
<a href="https://agentmods.dev/skills/unique-divine/jiyuu/tailscale-serve"><img src="https://agentmods.dev/badge/skills/unique-divine/jiyuu/tailscale-serve/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tailscale-serve

Your own site · 80×15
<a href="https://agentmods.dev/skills/unique-divine/jiyuu/tailscale-serve"><img src="https://agentmods.dev/badge/skills/unique-divine/jiyuu/tailscale-serve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,105 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00124 $0.02105
Opus 5 $0.00062 $0.01052
Sonnet 5 $0.00025 $0.00421
Haiku 4.5 $0.00012 $0.00211

Measured yesterday against content hash a3341976fd38, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

tailscale-serve scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

WSL or localhost proxy targets, phone testing over a tailnet, and curl/OpenSSL
ai-skills/tailscale-serve/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tailscale Serve

Use this skill when helping a user expose a local HTTP service to devices in their tailnet through command tailscale serve. The common mental model is:

  1. The browser opens the HTTPS .ts.net URL.
  2. Tailscale Serve accepts HTTPS on the serving machine, usually on port 443.
  3. Tailscale Serve terminates TLS with a certificate for the MagicDNS hostname.
  4. Tailscale Serve proxies the request to the local target, such as http://127.0.0.1:3000.

The target URL is local to the machine running command tailscale serve; it is not the URL that the phone or remote device should open.

Machine administration

Manage tailnet machines at:

https://login.tailscale.com/admin/machines

To open it from WSL, use wslview, not macOS's open command:

wslview 'https://login.tailscale.com/admin/machines'

To revoke a machine's access, use its ... menu and choose Remove.

Admin console prerequisites

Check these before spending time on the web app:

  • The serving machine and client device are in the same tailnet.
  • Tailscale is connected on both devices.
  • The Tailscale admin console has MagicDNS enabled.
  • The Tailscale admin console has HTTPS Certificates enabled under the DNS page.
  • The user understands the public-ledger implication: enabling HTTPS certificates publishes the machine name and tailnet DNS name through the certificate transparency system.
  • ACLs allow the client device or user to reach the serving machine.

Admin console path:

Admin Console -> DNS -> MagicDNS
Admin Console -> DNS -> HTTPS Certificates -> Enable HTTPS

If the user is not a tailnet admin or owner, ask them to have an admin enable the HTTPS certificate setting. Without that setting, Serve can still store an HTTPS config, but the HTTPS endpoint can fail during the TLS handshake.

Standard serve flow

Use this flow for a local HTTP dev server on port 3000.

curl -v http://127.0.0.1:3000/

tailscale status
tailscale ip -4

tailscale serve reset
tailscale serve --bg --https=443 http://127.0.0.1:3000
tailscale serve status

Read the full file on GitHub · 274 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +16 lines a3341976fd38
  2. 9d ago First seen · 258 lines · 124 tokens per session scan A f8ea44fda505

Subscribe to this mod's changes

tailscale-serve is a skill published in the GitHub repository Unique-Divine/jiyuu (6 stars, last pushed yesterday), licensed MIT. It adds 124 tokens to every session and 2,105 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.