portless-local

portless-local is a skill for Claude Code from jellydn/my-ai-tools. It costs 16 tokens per session (3,669 once invoked), scanned B, original, MIT.

A local-development tool that gives each app a stable named URL such as http://api.localhost instead of requiring a port number.

In plain words
What is it for?
It is for running several apps or services locally, including projects in a monorepo (one repository containing multiple projects), with predictable URLs.
Why use it?
It avoids port conflicts, forgotten port numbers, opening the wrong app, and shared cookies or storage between local services.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code; mentions Codex; built for cline.

Good fit It is for running several apps or services locally, including projects in a monorepo (one repository containing multiple projects), with predictable URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jellydn/my-ai-tools/portless-local
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 jellydn/my-ai-tools --skill portless-local
Clone the repo
git clone --depth 1 https://github.com/jellydn/my-ai-tools

Made for: Claude Code.

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 portless-local

README.md
[![agentmods](https://agentmods.dev/badge/skills/jellydn/my-ai-tools/portless-local/github.svg)](https://agentmods.dev/skills/jellydn/my-ai-tools/portless-local)
Your own site
<a href="https://agentmods.dev/skills/jellydn/my-ai-tools/portless-local"><img src="https://agentmods.dev/badge/skills/jellydn/my-ai-tools/portless-local/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 portless-local

Your own site · 80×15
<a href="https://agentmods.dev/skills/jellydn/my-ai-tools/portless-local"><img src="https://agentmods.dev/badge/skills/jellydn/my-ai-tools/portless-local.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,669 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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: 5 findings, up to high

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 →

  • high Privilege Escalation · line 32
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 325
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Prompt Injection · line 71
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Privilege Escalation · line 339
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 407
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00016 $0.03669
Opus 5 $0.00008 $0.01835
Sonnet 5 $0.00003 $0.00734
Haiku 4.5 $0.00002 $0.00367

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

Security

Grade B, and why

portless-local scanned grade B 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 11d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

5. Auto-elevates with sudo on macOS/Linux for port binding
configs/amp/plugins/my-ai-tools-skills/skills/portless-local/SKILL.md · 437 lines

How it starts

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

Portless - Named .localhost URLs

Replace port numbers with stable, named .localhost URLs for local development. For humans and agents.

Note: By default, use HTTP (http://myapp.localhost). Only enable HTTPS (--https or PORTLESS_HTTPS=1) if the user specifically requests it (e.g., for OAuth, secure cookies, or HTTPS-only features).

Why Portless?

Local dev with port numbers is fragile. Portless fixes that by giving each dev server a stable, named .localhost URL.

Problem With Ports With Portless
Port conflicts Two projects on :3000 = EADDRINUSE Auto-assigned ports, named URLs - no collisions
Memorizing ports "Was the API on 3001 or 8080?" Always http://api.localhost
Wrong app on refresh Stop one server, start another on same port = confusion Named URLs eliminate this
Monorepo chaos Every service needs a unique port Distinct hostnames for each service
Agent confusion AI agents guess/hardcode wrong ports http://myapp.localhost is deterministic
Cookie/storage clashes Cookies bleed across ports on localhost Each .localhost subdomain gets its own scope
Hardcoded config CORS, OAuth, .env break when ports change URLs are stable across restarts
Sharing URLs "What port is that on?" in Slack Everyone uses the same named URL
Browser history localhost:3000 history is a jumble Named URLs keep things organized

Read the full file on GitHub · 437 lines

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. 11d ago First seen · 437 lines · 16 tokens per session scan B 53a9ea01e891

Subscribe to this mod's changes

portless-local is a skill published in the GitHub repository jellydn/my-ai-tools (120 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 3,669 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.