agentproto/ts/ap-tunnels
Claude Code and agent skill by agentproto/ts
- community
Checking that the SKILL.md file is still in the repository.
Expose a local port publicly via agentproto tunnels — tunnel_create on cloudflare-quick/cloudflare-named/ngrok, tunnel_list to avoid duplicates, remote_enable to publish the MCP gateway bearer-gated. Trigger when asked to share a dev server, tunnel localhost, get a public URL, or expose the agent gateway remotely.
Install
npx vskill@latest install agentproto/ts/ap-tunnelsSKILL.md
The same SKILL.md was published earlier as agentproto/ts/ap-tunnels.
ap-tunnels
When to use
- A local dev server must be reachable from the internet (webhook targets, demo links, mobile testing).
- You want to drive this daemon's MCP gateway from a remote client.
- A tunnel is stuck or duplicated and needs to be found and rotated.
tunnel_*: expose any local port
tunnel_create is private by default: an access guard (random bearer token, ttl default 24h, X-Robots-Tag: noindex, blocks /@fs/ and *.map) sits in front of targetPort, and the returned url carries the signed token. Pass "public": true only for content meant to be public — it skips the guard entirely (no token, no TTL, no revoke) and the descriptor carries a warning. list_tunnel_adapters enumerates the installed tunnel backends and their capabilities. Providers with credentials (e.g. ngrok authtokens, named-tunnel ids) are configured once, stored sensitively, and never echoed.
remote_enable: publish the gateway itself
remote_enable with no targetPort publishes this MCP gateway and gates it with a bearer token. Re-running while active errors — call remote_disable first to rotate.
Gotchas
- Bearer token is shown ONCE at
remote_enable— store it immediately; only its hash persists. - Quick tunnels get a NEW URL every relaunch (daemon restart, tunnel_stop/create). For anything that must survive, use a named tunnel with
autostart: true. tunnel_listbeforetunnel_create— creating a second tunnel for the same port is a silent no-op at best and a confusing duplicate at worst.tunnel_stopandtunnel_statusaccept either the tunnel id or the friendlynameset at create time.- A tunnel exposes the whole port, not just one route. The default access guard limits it to holders of the signed
url; withpublic: truemake sure the service behind it has its own auth before sharing the URL. tunnel_revokeerrors on apublic: truetunnel (no guard to revoke).
Pointers
- agentproto — daemon overview.
- ap-import-mcp — remote clients consuming this gateway typically mount it as an MCP server.
- ap-spawn-agent — sessions spawned with a remote
mcpServersref point at the published URL. - ap-transmit — for inbound webhooks that need a public HTTPS endpoint.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/skill-pack-agentproto/src/skills/ap-tunnels/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/agentproto/ts/ap-tunnels)