agentleFS
sinediedsinedied/agent-skills/.agents/skills/public-tunnel/SKILL.md

public-tunnel

Skill4 starsChanged 5 months agoMITView on GitHub

Create temporary public tunnels to expose local application ports for demos or sharing work in progress. Use when the user asks to share a local app, create a public URL for a port, set up a tunnel, or make a local server temporarily accessible from the internet.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. sinedied/cawpilot★ 668% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create temporary public URLs that forward to local application ports using tunnelmole.

    line 9
  2. Distinctive:

    When a user asks to expose a local port or create a public URL for a running application:

    line 13
  3. Very specific:

    Start a tunnel using npx tunnelmole as a background process

    line 16
  4. Distinctive:

    Port restriction: Only expose ports > 1024. Refuse to tunnel privileged ports (0-1024) to prevent exposing sensitive services.

    line 22
  5. Distinctive:

    Single tunnel per port: Don't create duplicate tunnels for the same port.

    line 23
  6. Distinctive:

    Start the tunnel as a background process

    line 30
  7. Very specific:

    Read the output to get the *.tunnelmole.net URL

    line 31
  8. Very specific:

    Run tunnelmole via npx as a detached background process.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Public Tunnel (tunnelmole)

Create temporary public URLs that forward to local application ports using tunnelmole. No account needed, no password — just a clean public URL.

Usage

When a user asks to expose a local port or create a public URL for a running application:

  1. Confirm the local port number (must be > 1024 for security)
  2. Start a tunnel using npx tunnelmole as a background process
  3. Parse the generated *.tunnelmole.net URL from the output
  4. Report the public URL back to the user

Important Rules

  • Port restriction: Only expose ports > 1024. Refuse to tunnel privileged ports (0-1024) to prevent exposing sensitive services.
  • Single tunnel per port: Don't create duplicate tunnels for the same port.
  • No password needed: Tunnelmole URLs are directly accessible — no IP/password prompt.

Example

User: "Create a tunnel for my app on port 5173"

  1. Start the tunnel as a background process
  2. Read the output to get the *.tunnelmole.net URL
  3. Send the user the URL

Response example:

Your app is now publicly accessible at: https://f38fg.tunnelmole.net The tunnel will automatically close in 15 minutes.

Implementation Notes

Run tunnelmole via npx as a detached background process. The URL appears in stdout after a few seconds.

# Start tunnel (run as detached background process)
npx -y tunnelmole <port>

The output contains a line like:

https://f38fg.tunnelmole.net is forwarding to localhost:5173

Parse the https://*.tunnelmole.net URL from the output.

To close the tunnel, kill the tunnelmole process for the corresponding port.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.