portr-cli

portr-cli is a skill for Codex from amalshaji/portr. It costs 79 tokens per session (3,532 once invoked), scanned A, original, AGPL-3.0.

A guide for operating the Portr command-line tool, which creates tunnels from a local computer to services reachable over the internet. It covers authentication, team users, tunnel types, request logs, and captured-request replay.

In plain words
What is it for?
Use it to sign in, manage team access, create or run configured tunnels, inspect traffic, replay requests, and control Portr through its local server interface.
Why use it?
It gives an agent the exact workflow for exposing and inspecting local HTTP, WebSocket, TCP, or stub services through Portr.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to sign in, manage team access, create or run configured tunnels, inspect traffic, replay requests, and control Portr through its local server interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amalshaji/portr/portr-cli
About the project

Portr is a tunneling tool that gives local HTTP, TCP, and WebSocket services public URLs through SSH remote port forwarding. It is intended mainly for small teams exposing development servers for testing and debugging.

amalshaji/portr · 3,185 stars · on GitHub · portr.dev

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 amalshaji/portr --skill portr-cli
Clone the repo
git clone --depth 1 https://github.com/amalshaji/portr

Made for: Codex.

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 portr-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/amalshaji/portr/portr-cli.svg)](https://agentmods.dev/skills/amalshaji/portr/portr-cli)
Your own site
<a href="https://agentmods.dev/skills/amalshaji/portr/portr-cli"><img src="https://agentmods.dev/badge/skills/amalshaji/portr/portr-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,532 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Data Exfiltration · line 321
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin unknown 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.00079 $0.03532
Opus 5 $0.00039 $0.01766
Sonnet 5 $0.00016 $0.00706
Haiku 4.5 $0.00008 $0.00353

Measured 8d ago against content hash ed5c623411e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

portr-cli 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 8d 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.

curl -sS -H "Authorization: Bearer $TOKEN" "$APP_SERVER/api/v1/health"
skills/portr-cli/SKILL.md · 340 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

2 files 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. 8d ago First seen · 340 lines · 79 tokens per session scan A ed5c623411e5

Subscribe to this mod's changes

portr-cli is a skill published in the GitHub repository amalshaji/portr (3,185 stars, last pushed 3d ago), licensed AGPL-3.0. It adds 79 tokens to every session and 3,532 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

shadcn-svelte

Manages shadcn-svelte components and projects — adding, updating, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn-svelte, the CLI, design-system presets, or any project with a components.json file. Also triggers for…

huntabyte/shadcn-svelte · 87 tokens

portal-relay

Set 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…

gosuda/portal-tunnel · 111 tokens

portal-expose

Expose, preview, protect with x402 payments, or keep a local web app, static site, HTTP route set, or explicitly requested TCP/UDP service reachable through Portal, then verify the public endpoint and report its lifecycle. Use when the user asks to deploy, publish, share, tunnel, expose, create a public preview, add a…

gosuda/portal-tunnel · 104 tokens

shadcn-sveltekit-design

Use when building, redesigning, beautifying, or refactoring SvelteKit pages and reusable components with shadcn-svelte, Bits UI, or the shadcn-svelte MCP. Trigger on landing pages, dashboards, marketing sites, app shells, forms, navbars, tables, dialogs, responsive layouts, theming, icon selection, and requests to…

Michael-Obele/shadcn-svelte-mcp · 99 tokens

hunting-dns-tunneling-and-exfiltration

Detects DNS-based tunneling and data exfiltration in DNS logs: scoring high query volume to single domains, long/high-entropy subdomains, unusual record types, and encoded payload labels. Activates for requests to hunt DNS tunneling, detect DNS exfiltration, or analyze suspicious DNS query patterns.

meltedinhex/analyst-ai-pack · 74 tokens

pivoting-tunneling

Network pivoting, port forwarding, and tunneling through compromised hosts to reach internal networks.

blacklanternsecurity/red-run · 24 tokens