- Home
- Skills
- Productivity
- Port Plan — Paste Base Port and Count, Get Each Port
Port Plan — Paste Base Port and Count, Get Each Port
Paste a CSV of labels, base ports, counts, and optional steps. Port Plan returns each inclusive range, whether its last port fits through 65535, and labels of ranges that overlap.
$5
Works with the AI Agents you already use
Port Plan — Paste Base Port and Count, Get Each Port
Example session with this skill installed
python3 scripts/port_plan.py examples/ports.csv
- Read your context and instructions
- Compiled the port plan
Status Label First port Last port Step Fits Overlaps
readable API 3000 3020 10 OK Admin
readable Admin 3010 3011 1 OK API
2 rows read; 0 unreadable lines.
Connects securely to your tools. The creator never sees your data.
About this skill
Paste a CSV of labels, base ports, counts, and optional steps. Port Plan returns each inclusive port range, whether its last port fits through 65535, and the labels of ranges that overlap.
The CSV header must be label,base,count,step. Each following record is one reservation. Leave step blank to use 1. Base is an integer from 1 through 65535; count and step are positive integers. The last port is computed as base + step × (count − 1). A range whose last port exceeds 65535 is reported as "Does not fit". Overlap compares the inclusive first-to-last ranges by label.
An unreadable row does not stop later rows: its status is "unreadable" and the summary names the unreadable source record numbers. Decimal, negative, zero, percent, unit-suffixed, malformed grouping, and values over 30 digits are unreadable, as is a base outside the port range.
Output can be plain text (default), Markdown, CSV, or JSON, and can be written to a new UTF-8 file with --output (existing files are not overwritten). Input can be read from standard input with "-", is limited to 100000 bytes, and supports UTF-8 and UTF-16 with or without a byte-order mark.
This tool only calculates and compares the values provided. It recommends no ports and checks no availability.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.
Ranges are inclusive numeric spans. For stepped ranges, overlap means the spans intersect, even if the individual stepped values do not coincide. Labels are not required to be unique; overlaps are reported by label, so duplicate labels may be indistinguishable in that field. Blank records are ignored. The tool calculates and compares the values provided; it recommends no ports and checks no live availability.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python 3.9+