quick-tunnel
Installation
SKILL.md
Quick Tunnel
Use this worker only when a development webhook service needs a public ephemeral HTTPS URL. Acquiring exposes the entire configured local service publicly: require user approval. Do not run cloudflared or download binaries yourself.
- Discover and inspect
quick-tunnel::acquire,quick-tunnel::release,quick-tunnel::status, and the observable functionquick-tunnel::on-changed(private; its calls are tunnel snapshots). - Observe
quick-tunnel::on-changedbefore acquiring, with a filter oninput.tunnel_id(defaultwebhooks) andcapture: ['output'](your target reads each snapshot atpayload.output). It takes no args. Observer metadata reaches your target with every snapshot; use the engine's wake primitive for future work. - Acquire with a stable opaque
consumer_id, authorizedtunnel_id, and future RFC3339expires_at. No origin, port, executable, arguments or credentials are accepted. Repeated acquire renews the same lease, never shortens expiry. - Read status once after acquiring to recover races. Use
public_urlonly forready.startingandreconnectingare not failures but are not ready;failedincludes sanitized diagnostics. Do not poll: react to changed events. - New process generations are opaque UUIDs and can change URLs. GitHub integration must update its webhook when the ready generation changes; validate webhook signatures in the HTTP receiver.
- Release your lease when finished. Never release another consumer's lease. Last lease stops the child; expiration is automatic without an agent. Dispose observers you no longer need.
Prerequisite cloudflared is supplied by the operator, not this worker. Missing prerequisite is a real observable failure. Quick Tunnels have no SLA and are not production endpoints. Status exposes no Cloudflare secrets, but consumer IDs must not contain secrets either.
After engine reconnection reconcile status; events are best-effort and deliveries are not a durable queue. Configuration is central and changes apply on worker restart. Never expose engine ports or broaden the target allowlist autonomously.