Skip to main content
← All guides

Share your local app from Cursor

Checked against the qURL™ CLI 3.4.1 source and documentation on October 9, 2026. Link and session behaviour is tested separately.

Content updated October 18, 2026. The verification date above records the original review; later behaviour checks are dated in the guide.

How do I get Cursor’s agent to share the app I’m building?

Save the qURL skill to ~/.agents/skills/qurl/SKILL.md, restart Cursor, and ask the agent to share the app. It installs the qurl CLI if needed, publishes the app as a private resource, and gives you an address to send; it applies the private access rules you choose. Cursor also reads skills saved for Claude Code.

What you need

  • Cursor, with the project whose app is running open
  • The app running on this machine
  • No account or API key

Steps

  1. Install the skill

    Cursor loads user skills from ~/.agents/skills and ~/.cursor/skills, and also from ~/.claude/skills. For one project only, save it to .agents/skills/qurl/SKILL.md or .cursor/skills/qurl/SKILL.md in the repo.

    mkdir -p ~/.agents/skills/qurl && curl -fsSL https://layerv.ai/skills/qurl/SKILL.md -o ~/.agents/skills/qurl/SKILL.md
  2. Restart Cursor

    Cursor discovers skills when it starts. After the restart, typing / in Agent chat lists qurl.

  3. Ask the agent to share the app

    The agent runs the CLI in your terminal. Under the default Auto-review mode, commands that aren’t allowlisted go to the sandbox or to Cursor’s review step, and sandboxed network access is limited to an allowlist, so expect to approve brew install and qurl publish.

    Share the app I'm running with qURL.
  4. Choose who can open the app

    The agent applies the private access rules you choose. For named recipients, give it their email addresses so it can send invitations. Recipients verify their email in the browser and save a passkey; they never send you their email verification code. The agent checks policy support before sharing and keeps the app private if the deployment cannot support it. For existing legacy resources only, pass on a six-digit access code when it came from the person you mean to let in, over a channel where you know it is them. Ask for a one-time link when that meets your needs; the link is a secret.

What the recipient sees

A person opens the emailed invitation or the address in a browser and sees who published the app, marked Not verified: today LayerV has verified only its own account. The private policy controls access. Named recipients verify their email there and save a passkey; their email verification code stays in that flow. A person with a one-time link lands on your app directly. Either way, the session admits the network address the opener connects from.

Which tool should Cursor use to share the app?

OptionChoose it whenTrade-off
qURLqURL fits when you want particular people to open the app running on your machine, with no account and no public URL.With qURL your computer and the app must stay running, and each person needs a link or an invitation from you.
ngrokngrok fits when you need a stable public URL, for example for webhooks, or want ngrok’s OAuth or IP rules in front of the app.ngrok needs an account and authtoken first, the URL is public, and free-plan browser visitors see a warning page.
Cloudflare Quick TunnelsA Cloudflare Quick Tunnel fits when you want a throwaway URL with no account, optionally behind an email PIN with --allowed-mail.A Cloudflare Quick Tunnel is public unless you set --allowed-mail, gets a new hostname each run, and does not support Server-Sent Events.
Tailscale FunnelTailscale Funnel fits when the machine is already on a tailnet and you want a stable public HTTPS name for it.Tailscale Funnel needs a tailnet, makes the app public on a ts.net hostname, and puts no access control on Funnel traffic.

Troubleshooting

If you seeDo this
qurl doesn’t appear when you type /Restart Cursor, and check the path is ~/.agents/skills/qurl/SKILL.md. Cursor requires a lowercase name in the skill’s frontmatter; the qURL skill’s name is qurl.
brew install or qurl publish fails in the sandboxSandboxed commands have restricted network access. Approve running the command outside the sandbox, or run the install yourself in Cursor’s terminal.
The private-policy commands are unavailable or consumer access is disabledAsk the agent to follow the access-policy support check in the qURL skill. It updates an older CLI when needed. If the deployment cannot support the requested policy, stop sharing and keep the app private; do not fall back to legacy access requests.
For an existing legacy resource, the agent cannot turn on access requests, or publishes with no Access: line in the outputThe CLI is older than 3.4.1. Ask the agent to update it; the skill’s install step always installs the latest release. qurl --version should then print 3.4.1 or later.
qurl publish says the local app is not accepting TCP connectionsStart the app first and check that curl works on the same address. qurl publish connects to localhost as 127.0.0.1, so if your app listens only on IPv6 (on macOS or Linux, lsof -iTCP -sTCP:LISTEN -nP shows [::1]), publish 'http://[::1]:PORT' instead. Keep the quotes: zsh treats the brackets as a pattern.
The recipient sees “Access link invalid”The link was already used or has expired. Run qurl share again and send the new link.
The recipient sees “Resource not found”The resource was deleted after the link was made. Publish the app again, then run qurl share and send the new link.
publish rejects http://127.0.0.1 with “only HTTPS URLs are allowed”, or asks you to log inYou have a CLI older than 3.0. On macOS run brew update, then brew upgrade qurl; elsewhere install the latest release again. After updating, qurl --version should print 3.4.1 or later.
publish prints no Access: line, or the Access: line says public and you did not ask for publicWith no Access: line, the CLI is older than 3.4.1: on macOS run brew update, then brew upgrade qurl; elsewhere install the latest release again. A resource that an older CLI published is public unless you published it with --private, and anyone who has the CRID of a public resource can open it. To make a public resource private, run qurl delete <CRID> and publish again with qurl 3.4.1 or later. The new resource is private and has a new CRID.
publish says this Linux session “can’t reach a systemd user manager”You are in a container or sandbox without a user service manager. Run qurl publish with --foreground; sharing lasts as long as that process runs.
publish says “Quota Exceeded” with “protected resource limit reached”, or “Your qURL account has reached a plan limit”You can see this without an account: a device with no account can keep up to 3 active resources, with links that last up to 24 hours. Run qurl list --status active, then qurl delete <CRID> for any you no longer need (it asks you to confirm; --yes skips that). qurl stop keeps the resource, so it does not free a slot.

Frequently Asked Questions

Should I use a Cursor rule instead of a skill?

Cursor supports Agent Skills directly, so a skill is simpler: it loads only when the task needs it. A rule in .cursor/rules must be an .mdc file; plain .md files there are ignored.

Will the agent send the address or a link to other people?

It gives the address or link to you, and you decide who receives it. It sends invitation emails only to recipients you authorize. For legacy resources, it approves only a code you pass on, never the name on a request.

Do I need a LayerV account or API key?

No. Publishing from the CLI needs no account; the first publish creates an identity for this computer. Recipients verify their email and save a passkey in their browser when the private policy requires it. Without an account you can keep up to 3 active resources, with links that last up to 24 hours.

Who else can reach my app while the link is open?

Opening the link admits the network address it was opened from for the session, which lasts 1 hour by default. Other devices that share that public IP address, such as people on the same office or café network or VPN, can reach the app until the session ends. By default a link admits whoever opens it; access rules set through the API, such as IP allow and deny lists, can restrict that. Keep your app’s own sign-in for anything sensitive.

Share it from Cursor

Paste this prompt into Cursor in the project whose app is running. It reads the qURL skill, publishes the app privately, and you choose who can open it.

Or use the CLI ↗

Contact sales

Contact our team for enterprise deployments.

Enterprise starts with a scoped, paid pilot on one application, typically 60 to 90 days, credited in full toward year one if you convert within 60 days. Then an annual package sized to what you protect. Not per seat.