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-awsgit 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-aws)<a href="https://agentmods.dev/skills/gosuda/portal-tunnel/portal-relay-aws"><img src="https://agentmods.dev/badge/skills/gosuda/portal-tunnel/portal-relay-aws/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-aws"><img src="https://agentmods.dev/badge/skills/gosuda/portal-tunnel/portal-relay-aws.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.00122 | $0.01323 |
| Opus 5.5 | $0.00049 | $0.00529 |
| Sonnet 5.5 | $0.00024 | $0.00265 |
| Haiku 4.5 | $0.00012 | $0.00132 |
Grade B, and why
portal-relay-aws scanned grade B with 2 findings 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.
Reaches for credential filesmediumPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
- `aws sts get-caller-identity --profile <profile>` proves the credentials work in this environment. Report the account and role to the user for confirmation, and do not print or open `~/.aws/credentials` or the SSO cach Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
From outside AWS, `ssh` works, and after deployment `dig @<ip> <relay domain> NS` and `curl -fsS https://<relay domain>/api/healthz` succeed. A timeout with the container healthy almost always means a missing security gr How it starts
The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Portal relay on AWS
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 AWS.
Preflight
aws --version. If the CLI is missing, point to the official AWS CLI install guide and stop.aws sts get-caller-identity --profile <profile>proves the credentials work in this environment. Report the account and role to the user for confirmation, and do not print or open~/.aws/credentialsor the SSO cache.
Authenticate
- With an IAM Identity Center profile that is already configured, the user runs
aws sso login --profile <profile>on a machine with a browser. Setting the profile up isaws configure sso, which needs the organization's start URL and is the user's task. - Without Identity Center, use the existing profile the user names. Never create long-lived access keys for the user, and never ask for them in chat.
- An SSO session on the user's laptop does not exist in a remote sandbox; check with
get-caller-identityhere.
Choose EC2 or Lightsail
- Lightsail: one fixed monthly bundle with included transfer; simpler for a single relay. Read bundles and prices with
aws lightsail get-bundlesand images withaws lightsail get-blueprints. - EC2: more control and instance types; data transfer out is billed per GB, which matters for game-hosting relays. Read prices for the chosen type and region before planning.
Show the estimated monthly cost of the chosen option, including the public IPv4 charge, in the plan.
EC2
- Image: the current Ubuntu AMI from the public SSM parameter, for example
aws ssm get-parameter --name /aws/service/canonical/ubuntu/server/24.04/stable/current/arm64/hvm/ebs-gp3/ami-id(useamd64for x86 types; the relay image supports both). aws ec2 create-security-group --group-name <name> --description "Portal relay" --vpc-id <vpc>, thenaws ec2 authorize-security-group-ingress --group-id <sg> --ip-permissions file://rules.jsonwith only the contract's ports. Use a new group; do not edit a shared one.aws ec2 run-instances --image-id <ami> --instance-type <type> --key-name <key> --security-group-ids <sg> --subnet-id <public subnet> --metadata-options HttpTokens=required --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=<name>}]'.aws ec2 allocate-address --domain vpcandaws ec2 associate-address --instance-id <id> --allocation-id <alloc>, so the glue address survives instance replacement.
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 · 53 lines · 122 tokens per session scan B 48b7e7ad81dc
portal-relay-aws is a skill published in the GitHub repository gosuda/portal-tunnel (304 stars, last pushed today), licensed MIT. It adds 122 tokens to every session and 1,323 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-09.
portal-relay-aws compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| portal-relay-awsgosuda/portal-tunnel | Skill | 304 | today | MIT | B | 122 | 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 |