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,189 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/github.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/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 portr-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/amalshaji/portr/portr-cli"><img src="https://agentmods.dev/badge/skills/amalshaji/portr/portr-cli.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00032 $0.01413
Sonnet 5.5 $0.00016 $0.00706
Haiku 4.5 $0.00008 $0.00353

Measured 1mo ago against content hash ed5c623411e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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,189 stars, last pushed yesterday), licensed AGPL-3.0. It adds 79 tokens to every session and 3,532 once invoked, about $0.0003 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-08-30.