gitciu8080/lingshu/tooling-nmap
Claude Code and agent skill by gitciu8080/lingshu
- community
Checking that the SKILL.md file is still in the repository.
Canonical Nmap CLI syntax, two-pass scanning workflow, and sandbox-safe bounded scan patterns.
Install
npx vskill@latest install gitciu8080/lingshu/tooling-nmapSKILL.md
The same SKILL.md was published earlier as gitciu8080/lingshu/tooling-nmap.
Nmap CLI Playbook
Official docs:
- https://nmap.org/book/man-briefoptions.html
- https://nmap.org/book/man.html
- https://nmap.org/book/man-performance.html
Canonical syntax: nmap [Scan Type(s)] [Options] {target specification}
High-signal flags:
-nskip DNS resolution-Pnskip host discovery when ICMP/ping is filtered-sSSYN scan (root/privileged)-sTTCP connect scan (no raw-socket privilege)-sVdetect service versions-sCrun default NSE scripts-p <ports>explicit ports (-p-for all TCP ports)--top-ports <n>quick common-port sweep--openshow only hosts with open ports-T<0-5>timing template (-T4common)--max-retries <n>cap retransmissions--host-timeout <time>give up on very slow hosts--script-timeout <time>bound NSE script runtime-oA <prefix>output in normal/XML/grepable formats
Agent-safe baseline for automation: nmap -n -Pn --open --top-ports 100 -T4 --max-retries 1 --host-timeout 90s -oA nmap_quick <host>
Common patterns:
- Fast first pass:
nmap -n -Pn --top-ports 100 --open -T4 --max-retries 1 --host-timeout 90s <host>
- Very small important-port pass:
nmap -n -Pn -p 22,80,443,8080,8443 --open -T4 --max-retries 1 --host-timeout 90s <host>
- Service/script enrichment on discovered ports:
nmap -n -Pn -sV -sC -p <comma_ports> --script-timeout 30s --host-timeout 3m -oA nmap_services <host>
- No-root fallback:
nmap -n -Pn -sT --top-ports 100 --open --host-timeout 90s <host>
Critical correctness rules:
- Always set target scope explicitly.
- Prefer two-pass scanning: discovery pass, then enrichment pass.
- Always set a timeout boundary with
--host-timeout; add--script-timeoutwhenever NSE scripts are involved. - Keep discovery scans tight: use explicit important ports or a small
--top-portsprofile unless broader coverage is explicitly required. - In sandboxed runs, avoid exhaustive sweeps (
-p-, very high--top-ports, or wide host ranges) unless explicitly required. - Do not spam traffic; start with the smallest port set that can answer the question.
- Prefer
naabufor broad port discovery; usenmapfor scoped verification/enrichment.
Usage rules:
- Add
-nby default in automation to avoid DNS delays. - Use
-oAfor reusable artifacts. - Prefer
-p 22,80,443,8080,8443or--top-ports 100before considering larger sweeps. - Do not use
-h/--helpfor routine usage unless absolutely necessary.
Failure recovery:
- If host appears down unexpectedly, rerun with
-Pn. - If scan stalls, tighten scope (
-por smaller--top-ports) and lower retries. - If scripts run too long, add
--script-timeout.
If uncertain, query web_search with: site:nmap.org/book nmap <flag>
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSkills/cyberpenda-bundles/tooling-nmap/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gitciu8080/lingshu/tooling-nmap)