portal-relay-oracle

portal-relay-oracle is a skill for Claude Code, Codex from gosuda/portal-tunnel. It costs 120 tokens per session (1,249 once invoked), scanned A, original, MIT.

A cloud setup guide for creating an Oracle Cloud Infrastructure, or OCI, compute host for a Portal relay. It can prepare an Ampere A1 instance, network access, firewall rules, and a stable public IP for deployment.

In plain words
What is it for?
Use it to create and open the OCI host, attach its public address, and hand the machine to the relay deployment process.
Why use it?
It removes the manual setup of a reachable OCI machine and its network rules. It also checks existing OCI profiles or temporary browser-based sessions without exposing configuration files.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the portal-relay plugin — 6 skills shipped together

Good fit Use it to create and open the OCI host, attach its public address, and hand the machine to the relay deployment process.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gosuda/portal-tunnel/portal-relay-oracle
Install

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.

Any agent
npx skills add gosuda/portal-tunnel --skill portal-relay-oracle
Clone the repo
git clone --depth 1 https://github.com/gosuda/portal-tunnel

Made for: Claude Code, Codex.

Or install portal-relay, the plugin that ships this one along with the rest of its 6 skills.

Wrote 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.

agentmods badge for portal-relay-oracle

README.md
[![agentmods](https://agentmods.dev/badge/skills/gosuda/portal-tunnel/portal-relay-oracle/github.svg)](https://agentmods.dev/skills/gosuda/portal-tunnel/portal-relay-oracle)
Your own site
<a href="https://agentmods.dev/skills/gosuda/portal-tunnel/portal-relay-oracle"><img src="https://agentmods.dev/badge/skills/gosuda/portal-tunnel/portal-relay-oracle/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.

agentmods 80×15 button for portal-relay-oracle

Your own site · 80×15
<a href="https://agentmods.dev/skills/gosuda/portal-tunnel/portal-relay-oracle"><img src="https://agentmods.dev/badge/skills/gosuda/portal-tunnel/portal-relay-oracle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.01249
Opus 5.5 $0.00048 $0.00500
Sonnet 5.5 $0.00024 $0.00250
Haiku 4.5 $0.00012 $0.00125

Measured 21d ago against content hash 26c27e5fa0e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

portal-relay-oracle 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.

- From outside OCI: `ssh` works, and after deployment `dig @<public IP> <relay domain> NS` and `curl -fsS https://<relay domain>/api/healthz` succeed. A timeout with the NSG open almost always means the host iptables sti
plugins/portal-relay/skills/portal-relay-oracle/SKILL.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Portal relay on Oracle Cloud

This skill creates and opens the host. portal-relay deploys the relay on 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. This file adds only what is specific to OCI.

Preflight

  • oci --version. If the CLI is missing, point to the official OCI CLI install guide and stop.
  • Find a working profile without reading ~/.oci/config contents: oci session validate --profile <profile> for a session profile, or a read-only call such as oci iam region-subscription list --profile <profile> for an API-key profile. Add --auth security_token for session profiles.

Authenticate

When no profile works in this environment, ask the user to run oci session authenticate --region <region> --profile-name <profile> on a machine with a browser. The session expires; oci session refresh --profile <profile> extends it. Session files created on the user's laptop are not present in a remote sandbox; do not report the session as available there.

Plan

Collect and show, then wait for approval:

  • Region, compartment, and availability domain (oci iam availability-domain list -c <compartment>).
  • Shape. VM.Standard.A1.Flex with --shape-config '{"ocpus": 1, "memoryInGBs": 6}' is enough for a relay. Ampere A1 can be Always Free within the account's limits; check the tenancy's limits and say that usage beyond them is billed. The relay image is published for linux/arm64 and linux/amd64.
  • Image: an Ubuntu image that matches the shape, from oci compute image list -c <compartment> --operating-system "Canonical Ubuntu" --shape <shape>.
  • Network: an existing VCN with a public subnet and an internet gateway. Creating a VCN is a separate change; prefer the console's "VCN with Internet Connectivity" wizard if none exists.
  • Ingress: a new network security group (oci network nsg create) with the relay ports from the contract, attached with --nsg-ids. Do not edit a shared default security list unless the user asks.
  • Public IP: a reserved public IP (oci network public-ip create --lifetime RESERVED) so the glue address survives instance replacement. An ephemeral IP changes on re-creation and breaks the delegation.
  • SSH: --ssh-authorized-keys-file with the user's public key. Never generate or move private keys for the user.

Read the full file on GitHub · 45 lines

Files

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.

Changes

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.

  1. 21d ago First seen · 45 lines · 120 tokens per session scan A 26c27e5fa0e3

Subscribe to this mod's changes

portal-relay-oracle is a skill published in the GitHub repository gosuda/portal-tunnel (304 stars, last pushed today), licensed MIT. It adds 120 tokens to every session and 1,249 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.

Related

portal-relay-oracle compared with skills from other repositories

portal-relay-oracle next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
portal-relay-oraclegosuda/portal-tunnelSkill304todayMITA120Claude Code, Codex
tianji-workermsgbyte/tianjiSkill3.1ktodayApache-2.0A38Claude Code, Codex
cloudflare-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA72Claude Code
gcloud-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA55Claude Code
vercel-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA59Claude Code
aws-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA59Claude Code
hetznerericrisco/rsc-harnessSkill6915d agoMITA97Claude Code, Codex