Creates an OCI compute instance for a Portal relay using Always Free Ampere A1 shapes, configures VCN and host firewall for relay ports, attaches a stable public IP, and prepares the host for relay deployment.
Ships in portal-relay. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
oci --version. If the CLI is missing, point to the official OCI CLI install guide and stop.~/.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.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.
Collect and show, then wait for approval:
oci iam availability-domain list -c <compartment>).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.oci compute image list -c <compartment> --operating-system "Canonical Ubuntu" --shape <shape>.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.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-authorized-keys-file with the user's public key. Never generate or move private keys for the user.oci network nsg rules add --nsg-id <nsg> --security-rules file://rules.json; each rule is direction: INGRESS, protocol 6 (TCP) or 17 (UDP), source 0.0.0.0/0 (or the operator's address for SSH), and tcpOptions/udpOptions.destinationPortRange.oci compute instance launch -c <compartment> --availability-domain <ad> --shape <shape> --shape-config <json> --image-id <image> --subnet-id <subnet> --nsg-ids '["<nsg>"]' --assign-public-ip false --ssh-authorized-keys-file <pub> --display-name <name>, then attach the reserved public IP to the instance's primary private IP. "Out of host capacity" for A1 is common: report it and offer another availability domain or a later retry. Never loop launches without approval.ACCEPT rules for the same ports before the REJECT rule in /etc/iptables/rules.v4, apply them, and persist them with netfilter-persistent save. Show the exact rules before changing them.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 still rejects the port.Then continue with the portal-relay skill from Verify the host, not from Deploy: a fresh image may lack Docker and Compose v2, and that step checks and, with approval, installs them. Use this host's public address as the glue address. The NS and glue records come before Deploy, at the common skill's Delegate DNS step, because the relay's first start needs them to issue its certificate; the DS comes after Deploy, at Publish the DS. Report the instance, NSG, and reserved IP; whether the shape is inside the Always Free limits; and rollback: oci compute instance terminate --instance-id <id> (boot volume handling stated explicitly), then delete the NSG and release the reserved IP.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
oci, oracle-cloud, portal-relay, compute-instance, free-tier
/portal-relay:portal-relay-oraclefrom portal-relay
npx claudepluginhub gosuda/portal-tunnel --plugin portal-relay7 skills in this plugin
/portal-relaySet up and run a public Portal relay on any Linux host with a public IP — Docker Compose deployment, embedded authoritative DNS with one-time NS delegation, optional TCP/UDP lease ports for game hosting, and registration in the public relay pool. Use when the user asks to run their own relay, contribute a relay to the Portal network, self-host a relay instead of using public ones, or open a relay with game-server support. Do not use for exposing a local service (portal-expose), reaching a published service as a client (portal-connect), or for accessing a CLI agent remotely. Administration of a running relay is portal-relay-admin, and failure diagnosis is portal-relay-diagnose./portal-relay-adminOperate a running Portal relay through its admin and policy API - sign in with the relay ADMIN_TOKEN without exposing it, list leases and their approval state, approve, deny, ban, or rate-limit one identity, switch approval mode between auto and manual, change UDP and TCP lease limits, and read admin metrics. Use when the user runs a Portal relay and asks to approve or deny a tunnel, ban an identity, throttle a lease, change approval mode or lease limits, or check who is connected. Do not use for first deployment (portal-relay), for failure diagnosis (portal-relay-diagnose), or for exposing an app (portal-expose).Other plugins' skills for the same job