port-forward

port-forward is a skill for Claude Code, Codex from kurtosis-tech/kurtosis. It costs 39 tokens per session (664 once invoked), scanned A, original, Apache-2.0.

A guide for viewing and managing the local network ports that Kurtosis services use. Kurtosis runs services in isolated environments, and port mappings connect those services to your computer.

In plain words
What is it for?
Use it to inspect port mappings, find RPC, WebSocket, or metrics endpoints, and troubleshoot access to Kurtosis services locally or on Kubernetes.
Why use it?
It helps find the local address for a service and explain why a service cannot be reached, including when port forwarding was disabled.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect port mappings, find RPC, WebSocket, or metrics endpoints, and troubleshoot access to Kurtosis services locally or on Kubernetes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kurtosis-tech/kurtosis/port-forward
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 kurtosis-tech/kurtosis --skill port-forward
Clone the repo
git clone --depth 1 https://github.com/kurtosis-tech/kurtosis

Made for: Claude Code, 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 port-forward

README.md
[![agentmods](https://agentmods.dev/badge/skills/kurtosis-tech/kurtosis/port-forward/github.svg)](https://agentmods.dev/skills/kurtosis-tech/kurtosis/port-forward)
Your own site
<a href="https://agentmods.dev/skills/kurtosis-tech/kurtosis/port-forward"><img src="https://agentmods.dev/badge/skills/kurtosis-tech/kurtosis/port-forward/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 port-forward

Your own site · 80×15
<a href="https://agentmods.dev/skills/kurtosis-tech/kurtosis/port-forward"><img src="https://agentmods.dev/badge/skills/kurtosis-tech/kurtosis/port-forward.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00039 $0.00664
Opus 5 $0.00019 $0.00332
Sonnet 5 $0.00008 $0.00133
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

port-forward scanned grade A with 0 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/port-forward/SKILL.md · 102 lines

How it starts

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

Port Forward

View and manage port mappings for Kurtosis services.

View port info

kurtosis port print <enclave-name> <service-name> <port-id>

This prints the local URL for a specific port.

Find all ports

The easiest way to see all port mappings is enclave inspect:

kurtosis enclave inspect <enclave-name>

Output shows mappings like:

rpc: 8545/tcp -> 127.0.0.1:61817
ws: 8546/tcp -> 127.0.0.1:61813

The right side (127.0.0.1:61817) is how you access the service locally.

Port IDs

Port IDs are defined in the Starlark ServiceConfig:

plan.add_service(
    name="my-service",
    config=ServiceConfig(
        image="ethereum/client-go:latest",
        ports={
            "rpc": PortSpec(number=8545),      # port ID: "rpc"
            "ws": PortSpec(number=8546),        # port ID: "ws"
            "metrics": PortSpec(number=9001),   # port ID: "metrics"
        },
    ),
)

No-connect mode

If you ran with --no-connect, ports won't be forwarded locally:

# Ports not forwarded
kurtosis run --no-connect ./my-package

# Ports forwarded (default)
kurtosis run ./my-package

Kubernetes

On Kubernetes, port forwarding goes through the gateway. If ports stop working, restart the gateway:

pkill -f "kurtosis gateway"
kurtosis gateway &

Troubleshooting

When a port is unreachable, follow this diagnostic workflow:

# 1. Verify the enclave is running and check port mappings
kurtosis enclave inspect <enclave-name>

# 2. Confirm the specific service is running (not STOPPED)
kurtosis service inspect <enclave-name> <service-name>

# 3. If service is running but port fails, check service logs for errors
kurtosis service logs <enclave-name> <service-name>

# 4. On Kubernetes, verify the gateway is running
kurtosis gateway
Symptom Cause Fix
Port not accessible Service not running or port not exposed Check step 1-2 above
Connection refused Service crashed or wrong interface Check service logs (step 3)
No port mapping shown Ran with --no-connect Re-run without --no-connect
K8s ports unreachable Gateway not running Restart gateway (step 4)

Read the full file on GitHub · 102 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. 10d ago First seen · 102 lines · 39 tokens per session scan A 1e5d94354610

Subscribe to this mod's changes

port-forward is a skill published in the GitHub repository kurtosis-tech/kurtosis (551 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 664 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. 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

docker-docs

Comprehensive Docker 28.x reference covering all features: installation, Dockerfile instructions, multi-stage builds, Docker Compose, networking, volumes, CLI commands, image management, registries, security best practices, CI/CD integration, debugging, and Kubernetes migration. Use whenever the user mentions Docker…

pledgeandgrow/pledge-skills · 93 tokens

docker-management

Docker container lifecycle management, Dockerfile authoring, and debugging.

furkangonel/cowrangler · 16 tokens

env-doctor

A diagnostic tool for checking a development environment, including runtimes, ports, and service health.

chainlesschain/chainlesschain · 24 tokens

Pair Programming

AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning sessions. Features automatic role switching, continuous code review, security scanning, and performance optimization with…

amangit1314/repo-rag · 61 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

sagebynature/team-nexus · 21 tokens

harbor-daytona

Use Harbor's Daytona sandbox platform for computer use — creating sandboxes, taking screenshots, sending mouse/keyboard input, and building agent loops. Use when the user wants to interact with a GUI, automate a desktop, do computer use, control a browser visually, or run Claude computer use against a Daytona sandbox.

av/harbor · 67 tokens