Install
$ agentstack add skill-leisvip-agent-skill-taxonomy-a15-c1-r0-port-checker ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
port-checker
快速排查端口占用和网络监听情况。
配置(首次)
无需配置。
常用命令
查看所有监听端口
ss -tlnp
查看指定端口是否被占用
ss -tlnp | grep :
# 示例:ss -tlnp | grep :8080
查找占用指定端口的进程
# Linux
ss -tlnp | grep :
# 通用(需 root 权限查看所有进程)
lsof -i :
查看某进程监听的所有端口
lsof -i -P -n | grep
查看所有 ESTABLISHED 连接
ss -tnp state established
查看 TCP 和 UDP 全部端口
ss -tulnp
统计各状态连接数
ss -tan | awk '{print $1}' | sort | uniq -c | sort -rn
检查远程端口是否可达
# 使用 ss 检查(仅本地)
ss -tn dst :
# 使用 timeout 检查远程连通性
timeout 3 bash -c "echo >/dev/tcp//" 2>/dev/null && echo "✅ 可达" || echo "❌ 不可达"
注意事项
ss -p显示进程信息需要 root 权限,普通用户只能看到自己的进程- macOS 上
ss可能不可用,用lsof -i -P -n替代 lsof不在所有系统默认安装,缺失时用ss或netstat替代- 容器内看到的端口映射可能与宿主机不同,需在宿主机上检查
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: leisvip
- Source: leisvip/agent-skill-taxonomy
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.