Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gosuda/portal-tunnel --skill portal-relay-cloudflaregit clone --depth 1 https://github.com/gosuda/portal-tunnelWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gosuda/portal-tunnel/portal-relay-cloudflare)<a href="https://agentmods.dev/skills/gosuda/portal-tunnel/portal-relay-cloudflare"><img src="https://agentmods.dev/badge/skills/gosuda/portal-tunnel/portal-relay-cloudflare/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gosuda/portal-tunnel/portal-relay-cloudflare"><img src="https://agentmods.dev/badge/skills/gosuda/portal-tunnel/portal-relay-cloudflare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00131 | $0.01938 |
| Opus 5.5 | $0.00052 | $0.00775 |
| Sonnet 5.5 | $0.00026 | $0.00388 |
| Haiku 4.5 | $0.00013 | $0.00194 |
Grade A, and why
portal-relay-cloudflare scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Keep the token out of process arguments: pass the header from a file descriptor, for example `curl -fsS -H @<(printf 'Authorization: Bearer %s\n' "$CLOUDFLARE_API_TOKEN") https://api.cloudflare.com/client/v4/...`. Neve How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Portal relay DNS on Cloudflare
Cloudflare is the parent DNS provider here, not the host. The relay serves its own subdomain from embedded DNS; this skill writes only the parent-zone records that point to it. Follow ../portal-relay/references/provider-contract.md (the portal-relay skill's contract in this same plugin; the path is relative to this file, so it matches the installed version and needs no network) for the phase order, credential rules, and approval rules. Take the record layout and DNSSEC facts from portal-relay and the Embedded DNS reference.
Records this skill may change
For relay domain relay.example.com in Cloudflare zone example.com:
| Type | Name | Content | When |
|---|---|---|---|
NS |
relay.example.com |
ns.relay.example.com |
Delegation |
A |
ns.relay.example.com |
relay public IPv4, DNS only | Glue, when IPv4 is reachable |
AAAA |
ns.relay.example.com |
relay public IPv6, DNS only | Glue, when IPv6 is reachable |
DS |
relay.example.com |
key tag, algorithm, digest type, digest from the relay startup log | After the delegation resolves |
Change nothing else. If any other record already exists at relay.example.com or below it, stop and show it: Cloudflare cannot keep other records at a delegated name, and removing them is a separate decision. Glue records must not be proxied.
Cloudflare cannot delegate a subdomain of a zone on a partial (CNAME) setup. Glue at the registrar is needed only when the relay domain is the registered domain itself, which this layout avoids.
Preflight and authentication
- Use a Cloudflare API token, never the Global API Key. Ask the user to create a custom token limited to the one zone with
Zone - DNS - Edit(addZone - Zone - Readonly if the zone ID must be looked up), and to put it in this environment asCLOUDFLARE_API_TOKENthrough a secret store or protected session, not in chat, files in the repository, or a command line. - Keep the token out of process arguments: pass the header from a file descriptor, for example
curl -fsS -H @<(printf 'Authorization: Bearer %s\n' "$CLOUDFLARE_API_TOKEN") https://api.cloudflare.com/client/v4/.... Never echo the variable. - Check the token with
GET /user/tokens/verify(account-owned tokens useGET /accounts/<account_id>/tokens/verify), then find the zone withGET /zones?name=example.comand read its DNSSEC state withGET /zones/<zone_id>/dnssec. - If no token is usable here, give the user the records above to create in the Cloudflare dashboard instead, and continue with verification.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 21d ago First seen · 72 lines · 131 tokens per session scan A c3ac9054df18
portal-relay-cloudflare is a skill published in the GitHub repository gosuda/portal-tunnel (304 stars, last pushed today), licensed MIT. It adds 131 tokens to every session and 1,938 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-09.
portal-relay-cloudflare compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| portal-relay-cloudflaregosuda/portal-tunnel | Skill | 304 | today | MIT | A | 131 | Claude Code, Codex |
| tianji-workermsgbyte/tianji | Skill | 3.1k | today | Apache-2.0 | A | 38 | Claude Code, Codex |
| cloudflare-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 72 | Claude Code |
| gcloud-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 55 | Claude Code |
| vercel-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 59 | Claude Code |
| aws-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 59 | Claude Code |
| hetznerericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 97 | Claude Code, Codex |