Scan network ports to check availability, detect running services, and find open ports.
Trigger
/port command
User needs to check ports
User wants to scan network
Usage
# Check single port
python scripts/port_scanner.py localhost 8080
# Scan port range
python scripts/port_scanner.py 192.168.1.1 --range 80-443
# Scan common ports
python scripts/port_scanner.py example.com --common
# Check if port is available
python scripts/port_scanner.py localhost 3000 --available
Tags
port, network, scan, tcp, security
Compatibility
Codex: ✅
Claude Code: ✅
1---2name: port-scanner3description: 扫描网络端口以检查可用性和检测运行的服务。4---56# Port Scanner Tool
78## Description
9Scan network ports to check availability, detect running services, and find open ports.
1011## Trigger
12- `/port` command
13- User needs to check ports
14- User wants to scan network
1516## Usage
1718```bash
19# Check single port
20python scripts/port_scanner.py localhost 8080
2122# Scan port range
23python scripts/port_scanner.py 192.168.1.1 --range 80-443
2425# Scan common ports
26python scripts/port_scanner.py example.com --common
2728# Check if port is available
29python scripts/port_scanner.py localhost 3000 --available
30```
3132## Tags
33`port`, `network`, `scan`, `tcp`, `security`
3435## Compatibility
36- Codex: ✅
37- Claude Code: ✅
Run npx skillmds add majiayu000/port-scanner in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
扫描网络端口以检查可用性和检测运行的服务。 It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.