Skip to content
Agentmart
Submit a tool

tailscale-serve

Manage a local project exposed privately over HTTPS with Tailscale Serve.

Skill by Sheape

IndexedMIT
Write a review

Chalk Labs

Need help deploying tailscale-serve?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

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/sheape-tailscale-serve

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.

We use your email only for this newsletter. Privacy

About

Manage a local project exposed privately over HTTPS with Tailscale Serve.

No 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
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/tailscale-serve

What's inside

Skill name
tailscale-serve
Description
Manage a local project exposed privately over HTTPS with Tailscale Serve.
License
MIT
Instructions
69 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (4)

  • SKILL.md
  • openai.yaml · agents/
  • tailscale-serve.sh · scripts/
  • test-tailscale-serve.sh · scripts/

SKILL.md (first lines)

# Tailscale serve

Run one local HTTP application and expose it only to the user's tailnet. Use the same port for the local server and Tailscale HTTPS. Port 3000 is reserved and must never be selected.

## Choose the mode

- No argument means `open`.
- `close` stops Tailscale Serve and the server started by this skill.
- `restart` runs `close`, then starts the same command on the same port.

For `close` or `restart`, reuse the port established in this conversation. If this conversation has no such port, ask the user which port they mean and wait for the answer.

## Inspect the project

Identify the existing run command and a plain application type such as `frontend`, `backend`, `API`, `docs`, or `database`. Reuse the project's scripts and installed tools.

Bind the HTTP server to `127.0.0.1` and the selected port. If Docker is the project's normal runtime, run its frontend service or container and publish only the frontend HTTP port as `127.0.0.1:<port>`; publish no backend or database ports. Keep Docker attached so the helper can stop it.

On macOS, the helper owns the server through a per-port user `launchd` job. It preserves `PATH`, `HOME`, and `TMPDIR`. Pass any other required environment values through the server command, such as `env NAME=value <command>`.

For Vite or Vite+, prefix the server command with `env __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS=<tailscale-dns-name>` so Vite accepts the HTTPS hostname. Get the DNS name with the `tailscale status` pipeline below.

If the selected service does not speak HTTP, stop and explain that Tailscale's HTTPS reverse proxy cannot serve it. Do not report a URL that will not work.

## Open

1. Confirm `tailscale`, `jq`, `lsof`, `launchctl`, and `plutil` are installed. Confirm `tailscale status --json` succeeds. If Tailscale needs authentication or HTTPS enablement, ask the user to complete it, then continue.
2. Run `bash <this-skill>/scripts/tailscale-serve.sh port` to choose an unused local and Tailscale port.
3. Build the server command with explicit `127.0.0.1` and port arguments. Pass it without shell interpolation:

   ```bash
   bash <this-skill>/scripts/tailscale-serve.sh open <type> <port> -- <server-command> <args...>
   ```

The helper starts the server under `launchd`, waits for the listener, runs `tailscale serve --bg --yes --https=<port> 127.0.0.1:<port>`, verifies the proxy, and then runs:

```bash
tailscale status --json 2>/dev/null \
  | jq -r '.Self.DNSName' \
  | sed 's/\.$//'
```

Return the helper's final line verbatim and with no added text:

```text
The <type> https://<tailscale-dns-name>:<port>
```

## Close

After resolving the port, run:

```bash
bash <this-skill>/scripts/tailscale-serve.sh close <port>
```

Report that the server and Tailscale HTTPS port were closed. Preserve every other Tailscale Serve mapping.

## Restart

After resolving the port, run:

```bash
bash <this-skill>/scripts/tailscale-serve.sh restart <port>
```

The helper reuses the recorded working directory, application type, and argument vector. Return its final `The ...` line verbatim and with no added text.

From Sheape/skills, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 21, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Sheape

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get tailscale-serve running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying tailscale-serve?

CallGet help
Cite this page

tailscale-serve skill. Agent Mart. https://agentmart.dev/skills/sheape-tailscale-serve (last updated 2026-10-24)