port-scan

port-scan is a skill for Claude Code, Codex from zebbern/termstack. It costs 49 tokens per session (4,049 once invoked), scanned B, original, no licence file.

Discovers open ports and services on target hosts using naabu, masscan, and nmap. Use when needing to identify attack surface, discover running services, find non-standard ports, or enumerate network infrastructure during reconnaissance phase.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/zebbern/termstack/port-scan
Any agent
npx skills add zebbern/termstack --skill port-scan
Clone the repo
git clone --depth 1 https://github.com/zebbern/termstack

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-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/zebbern/termstack/port-scan.svg)](https://agentmods.dev/skills/zebbern/termstack/port-scan)
Your own site
<a href="https://agentmods.dev/skills/zebbern/termstack/port-scan"><img src="https://agentmods.dev/badge/skills/zebbern/termstack/port-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,049 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00049 $0.04049
Opus 5 $0.00024 $0.02024
Sonnet 5 $0.00010 $0.00810
Haiku 4.5 $0.00005 $0.00405

Measured today against content hash 6d4ec0268028, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

port-scan 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 today.

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.

| `Permission denied` | Root required for SYN | Run with sudo or use `-sT` |
.github/skills/port-scan/SKILL.md · 543 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

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.

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. today First seen · 543 lines · 49 tokens per session scan B 6d4ec0268028

Subscribe to this mod's changes

port-scan is a skill published in the GitHub repository zebbern/termstack (5 stars, last pushed 4mo ago), with no licence file. It adds 49 tokens to every session and 4,049 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

blog-writer

Peri 项目博客写作风格指南。当用户说"写博客"、"写文章"、"出稿"、 "按风格写"、"博客"时触发。也适用于用户丢过来素材说"帮我写篇博客"的场景。 覆盖项目介绍、技术复盘、架构讨论、性能优化、架构设计等类型。.

KonghaYao/peri · 90 tokens

auto-devflow

Use when starting an issue, bugfix, feature, or refactor that benefits from an adaptive development workflow. Select lite, normal, pro, max, or ultra from task complexity and risk, then use only the coordination, review, and verification phases that the task actually needs.

KonghaYao/peri · 60 tokens

langfuse

Interact with Langfuse and access its documentation. Use when needing to (1) query or modify Langfuse data programmatically via the CLI — traces, prompts, datasets, scores, sessions, and any other API resource, (2) look up Langfuse documentation, concepts, integration guides, or SDK usage, or (3) understand how any…

KonghaYao/peri · 100 tokens

self-build

Builds isolated npm capability packages that operate on real project code and connects them to Peri through MCP/MCPP and MetaHarness. Use when adding tools, resources, remote skills or agents, creating a Bun/Node.js stdio server, linking .mcp.json, or changing the active prompt and middleware set.

KonghaYao/peri · 66 tokens

heavy-verify-loop

Runs a user-level verification and repair loop against the real Peri TUI using ./dev.sh, tmux, logs, E2E helpers, and Advisor/Coder/Reviewer subagents. Use when a feature must be exercised as a real user and repeatedly repaired until fresh end-to-end evidence shows no blocking problems.

KonghaYao/peri · 69 tokens

learn-from-history

审计近期对话历史,提炼重复失败、成功模式、稳定规则和 skill 改进。用户要求总结历史对话、 回顾近期 agent 表现、从历史中学习或寻找可自动化改进时使用。.

KonghaYao/peri · 55 tokens