portal-connect SKILL.md skillB

portal-connect from gosuda/portal-tunnel is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add gosuda/portal-tunnel/portal-connect@git:20261108.f9aaa73

Pins git:20261108.f9aaa73 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
gosuda/portal-tunnel
Path
plugins/portal-tunnel/skills/portal-connect/SKILL.md
Versions recorded
1
Latest version
git:20261108.f9aaa73, committed Nov 8, 2026
Size
12,370 bytes
Repository stars
301
License
MIT

Reach, inspect, or consume a service that someone published through a Portal relay. Turns a Portal hostname, a service name plus relay, or a bare service name into the right public URL (name.relay-host over HTTPS) or raw host:port, lists what is live on a public or self-hosted relay through GET /api/state, makes bounded HTTPS requests or protocol probes, connects to raw TCP/UDP endpoints such as game servers, SSH, or databases, and recognizes an x402 402 Payment Required challenge and reports…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Connect to a Service Published with Portal

A Portal service is an ordinary public endpoint. The consumer needs no Portal account, key, or client: an HTTPS tunnel is reached with any HTTP client at `https://<name>.<relay-host>/`, and a raw TCP or UDP tunnel with any client at the relay-assigned `host:port`. The `portal` CLI has no `connect` subcommand, and `portal list` prints relays, not services, so do not invent one. Behind the URL is the publisher's own machine, often a laptop on a home connection, so keep every request bounded and deliberate.

Run the workflow in order. Open a reference only when that branch is taken: `references/discovery-api.md` for relay endpoints, JSON shapes, the hostname rule, and how to read a `402 Payment Required` challenge; `references/raw-transport.md` for a TCP or UDP endpoint.

## Identify the Target

Pick the first form that matches what the user gave:

- Full URL: use it as given.
- Hostname without a scheme, such as `my-app.portal.example.com`: prefix `https://`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gosuda/portal-tunnel/portal-connect@sha256:1499d694c9954654

The line at the top of this page pins the label git:20261108.f9aaa73, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_eo7ql65fcy2gnmnx.svg)](https://markdownregistry.com/a/art_eo7ql65fcy2gnmnx)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Nov 8, 2026.

versioncommittedcommitsizeaudit
git:20261108.f9aaa73 latest2026-11-08 f9aaa73 12,370 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No link to a raw IP address (matched: https://127.0.0.1)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (12370 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

gosuda/portal-tunnel · 301 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_eo7ql65fcy2gnmnx
GET https://markdownregistry.com/api/v1/resolve?ref=gosuda/portal-tunnel/portal-connect
GET https://markdownregistry.com/api/v1/blob/1499d694c9954654365e6b83333b05bad3c3dc44063327021fa6819e70a6c421

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from gosuda/portal-tunnel

AGENTS.md AGENTS.md file
gosuda/portal-tunnel · AGENTS.md
git:20261004.21b5eda · audit A · 301 stars
AGENTS.md@frontend AGENTS.md file
gosuda/portal-tunnel · frontend/AGENTS.md
git:20261107.870adda · audit A · 301 stars
CLAUDE.md@frontend CLAUDE.md file
gosuda/portal-tunnel · frontend/CLAUDE.md
git:20260304.96dd745 · audit B · 301 stars
llms.txt llms.txt file
gosuda/portal-tunnel · llms.txt
git:20261108.f9aaa73 · audit B · 301 stars
portal-connect SKILL.md skill
gosuda/portal-tunnel · plugins/portal-deploy/skills/portal-connect/SKILL.md · Deprecated alias of the portal-connect skill, which moved to the portal-tunnel plugin. Use when the user asks to reach…
git:20261108.f9aaa73 · audit A · 301 stars
portal-expose SKILL.md skill
gosuda/portal-tunnel · plugins/portal-deploy/skills/portal-expose/SKILL.md · Deprecated alias of the portal-expose skill, which moved to the portal-tunnel plugin. Use when the user asks to expose…
git:20261108.f9aaa73 · audit A · 301 stars
portal-relay SKILL.md skill
gosuda/portal-tunnel · plugins/portal-deploy/skills/portal-relay/SKILL.md · Deprecated alias of the portal-relay skill, which moved to the portal-relay plugin. Use when the user asks to run…
git:20261108.f9aaa73 · audit A · 301 stars
portal-relay-admin SKILL.md skill
gosuda/portal-tunnel · plugins/portal-relay/skills/portal-relay-admin/SKILL.md · Operate a running Portal relay through its admin and policy API - sign in with the relay ADMIN_TOKEN without exposing…
git:20261108.f9aaa73 · audit A · 301 stars
portal-relay-aws SKILL.md skill
gosuda/portal-tunnel · plugins/portal-relay/skills/portal-relay-aws/SKILL.md · Create an AWS host for a Portal relay - an EC2 instance with a security group and an Elastic IP, or a Lightsail…
git:20261108.f9aaa73 · audit B · 301 stars
portal-relay-cloudflare SKILL.md skill
gosuda/portal-tunnel · plugins/portal-relay/skills/portal-relay-cloudflare/SKILL.md · Configure a Cloudflare-hosted parent zone for a Portal relay - the NS delegation of the relay subdomain to the relay's…
git:20261108.f9aaa73 · audit A · 301 stars
portal-relay-diagnose SKILL.md skill
gosuda/portal-tunnel · plugins/portal-relay/skills/portal-relay-diagnose/SKILL.md · Find which layer of a self-hosted Portal relay is failing - container and process, open ports, embedded DNS and NS/glue…
git:20261108.f9aaa73 · audit A · 301 stars
portal-relay-hetzner SKILL.md skill
gosuda/portal-tunnel · plugins/portal-relay/skills/portal-relay-hetzner/SKILL.md · Create a Hetzner Cloud server for a Portal relay with the hcloud CLI, attach a Hetzner Cloud Firewall that opens only…
git:20261108.f9aaa73 · audit A · 301 stars

Every file in gosuda/portal-tunnel

Other files named portal-connect

portal-connect SKILL.md skill
gosuda/portal-tunnel · plugins/portal-deploy/skills/portal-connect/SKILL.md · Deprecated alias of the portal-connect skill, which moved to the portal-tunnel plugin. Use when the user asks to reach…
git:20261108.f9aaa73 · audit A · 301 stars

Browse by kind, by grade B, or by owner.