Agent skill
tailscale-serve
Expose a local dev server (localhost port) as a tailnet-only HTTPS URL using `tailscale serve`, and show the resulting ts.net URL.
Install this agent skill to your Project
npx add-skill https://github.com/andrewginns/skills-collection/tree/main/tailscale-serve
Metadata
Additional technical details for this skill
- short description
- Localhost → ts.net HTTPS via Tailscale Serve.
SKILL.md
Turn a locally running web app into a repeatable Tailscale HTTPS endpoint.
Inputs to gather
port: the local port the app listens on (e.g.3000).path:/(root) or a subpath like/myapp.- Scope: tailnet-only (default). Only suggest public access if the user explicitly asks.
If any are missing, ask concise clarifying questions.
Procedure
-
Confirm Tailscale is running and logged in:
tailscale status
-
Confirm the app is reachable locally:
curl -fsS http://127.0.0.1:<port>/(adjust path if needed)
-
Configure Tailscale Serve (tailnet-only HTTPS):
- Root mount:
sudo tailscale serve https / http://127.0.0.1:<port>
- Subpath mount:
sudo tailscale serve https /<path> http://127.0.0.1:<port>
- Root mount:
-
Show what’s exposed:
tailscale serve status
-
Provide the URL to share using MagicDNS:
https://<machine-name>.<tailnet>.ts.net/(root)https://<machine-name>.<tailnet>.ts.net/<path>(subpath)
-
Cleanup (when asked):
sudo tailscale serve reset
Guardrails / gotchas
tailscale servechanges often requiresudo.- If mounting at a subpath, frameworks may need a base path setting.
- Do not enable public exposure (
tailscale funnel) unless explicitly requested; if requested, ask what auth/protection they want first.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ultrathink
Run deep plan-first analysis. Use when the user explicitly asks for ultrathink (for example, "plan this first with ultrathink").
codex-app-themer
Turn an image, a theme URL, or a loose aesthetic description into a valid portable Codex app theme string. Use this when someone wants a `codex-theme-v1:` import for Codex.app and needs the result clearly labeled as a dark or light theme.
youtube-transcript
Use when a YouTube video transcript is needed e.g. for summarisation or Q&A on the content.
crawl-to-markdown
Use when web.run fails to parse a webpage and you need raw Markdown via Crawl4AI.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?