Agent skill

Nmap Scan

by wgpsec in wgpsec/AboutSecurity

使用 nmap 进行端口扫描和服务识别。当需要对目标进行精细端口扫描、服务版本探测、操作系统指纹识别、NSE 脚本漏洞扫描时使用。nmap 是最经典的网络扫描器,支持 SYN/TCP/UDP/ACK 等多种扫描模式,内置 600+ NSE 脚本。任何涉及端口扫描、服务识别、漏洞脚本扫描、操作系统指纹的场景都应使用此技能。速度不如 naabu,但功能远超 naabu

No licenceAuto-check: notesSecurity

Install Nmap Scan

skills CLI
$ npx skills add wgpsec/AboutSecurity --skill nmap-scan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wgpsec/AboutSecurity nmap-scan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wgpsec/AboutSecurity.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tool/nmap-scan .claude/skills/nmap-scan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nmap-scan
GitHub stars
1.8k
Token cost
~652 tokens
SKILL.md length
91 words
Files
1
Skills in repo
74
Repo updated
First seen
Licence
None found

At a glance

使用 nmap 进行端口扫描和服务识别。当需要对目标进行精细端口扫描、服务版本探测、操作系统指纹识别、NSE 脚本漏洞扫描时使用。nmap 是最经典的网络扫描器,支持 SYN/TCP/UDP/ACK 等多种扫描模式,内置 600+ NSE 脚本。任何涉及端口扫描、服务识别、漏洞脚本扫描、操作系统指纹的场景都应使用此技能。速度不如 naabu,但功能远超 naabu

  • Works in 5 steps: 基本端口扫描 → 服务版本与操作系统识别 → NSE 脚本扫描 → …
  • Tasks that involve Penetration testing
  • SKILL.md covers 工具选择策略, Phase 1: 基本端口扫描, Phase 2: 服务版本与操作系统识别 and Phase 3: NSE 脚本扫描, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Nmap Scan is an agent skill from wgpsec/AboutSecurity. 使用 nmap 进行端口扫描和服务识别。当需要对目标进行精细端口扫描、服务版本探测、操作系统指纹识别、NSE 脚本漏洞扫描时使用。nmap 是最经典的网络扫描器,支持 SYN/TCP/UDP/ACK 等多种扫描模式,内置 600+ NSE 脚本。任何涉及端口扫描、服务识别、漏洞脚本扫描、操作系统指纹的场景都应使用此技能。速度不如 naabu,但功能远超 naabu

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Penetration testing. It works with Nmap. The repository describes itself as: Everything for pentest. | 渗透测试知识库,以 AI Agent 可执行的格式沉淀安全方法论。

When your agent uses it

  • Tasks that involve Penetration testing

Example prompts

  • “/nmap-scan”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 基本端口扫描
  2. 服务版本与操作系统识别
  3. NSE 脚本扫描
  4. 高级扫描技术
  5. 输出格式

What it can do on your machine

Read from SKILL.md and the folder at commit d428372. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • nmap.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nmap Scan loads about 652 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 91 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~652

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:25
    sudo nmap -sS target.com
  • NoteRuns commands with sudoSKILL.md:40
    sudo nmap -sU -p 53,161,500 target.com
  • NoteRuns commands with sudoSKILL.md:50
    sudo nmap -O target.com
  • NoteRuns commands with sudoSKILL.md:53
    sudo nmap -A target.com
  • NoteRuns commands with sudoSKILL.md:90
    sudo nmap -f target.com
  • NoteRuns commands with sudoSKILL.md:93
    sudo nmap -D RND:5 target.com
  • NoteRuns commands with sudoSKILL.md:96
    sudo nmap --source-port 53 target.com
  • NoteRuns commands with sudoSKILL.md:99
    sudo nmap -sI zombie_host target.com
  • NoteRuns commands with sudoSKILL.md:130
    | 综合扫描 | `sudo nmap -A -T4 target` |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 91 words (~652 tokens).

“nmap 是最经典的网络扫描器,核心优势:服务版本识别(-sV)+ NSE 脚本生态(600+ 脚本)+ 操作系统指纹(-O)。虽然速度不如 naabu,但在深度探测方面无可替代。”

— opening of SKILL.md by wgpsec
name
nmap-scan
metadata.tags
nmap,port,scan,端口扫描,服务识别,NSE,脚本扫描,操作系统指纹,SYN,TCP,UDP,版本探测
metadata.category
tool

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/tool/nmap-scan of wgpsec/AboutSecurity.

Open the folder on GitHubat commit d428372

Compare with similar skills

Nmap Scan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nmap Scan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nmap Scan this skillwgpsec/AboutSecurity1.8k—~652Automated safety check: NotesNone
NmapBrownFineSecurity/iothackbot8591 repos~3.8kAutomated safety check: NotesMIT
Nmap ReconCommonHuman-Lab/nyxstrike157—~639Automated safety check: PassCustom licence
Operate Network Reconcyberful/cyberful135—~1.1kAutomated safety check: PassAGPL-3.0
Recon NmapAgentSecOps/SecOpsAgentKit2201 repos~4.6kAutomated safety check: NotesCustom licence
Nmap ParseSpecterOps/skills704—~738Automated safety check: PassApache-2.0

Similar skills

  • Nmap

    BrownFineSecurity/iothackbot

    Professional network reconnaissance and port scanning using nmap.

    859 GitHub starsUsed in 1 repo~3.8k tokens
    SecurityAuto-check: notes
  • Nmap Recon

    CommonHuman-Lab/nyxstrike

    Network reconnaissance workflow using nmap, masscan, and rustscan via NyxStrike tools

    157 GitHub stars~639 tokensUpdated yesterday
    SecurityAuto-check passed
  • Operate Network Recon

    cyberful/cyberful

    Build a high-fidelity network and service inventory using Nmap, Masscan, packet capture, DNS, and protocol-specific follow-up.

    135 GitHub stars~1.1k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Recon Nmap

    AgentSecOps/SecOpsAgentKit

    Network reconnaissance and security auditing using Nmap for port scanning, service enumeration, and vulnerability detection.

    220 GitHub starsUsed in 1 repo~4.6k tokens
    SecurityAuto-check: notes
  • Nmap Parse

    SpecterOps/skills

    Parse nmap scan output and generate actionable recon notes. An agent skill from SpecterOps/skills.

    704 GitHub stars~738 tokensUpdated 15 days ago
    SecurityAuto-check passed
  • Detecting Network Scanning With Ids Signatures

    mukul975/Anthropic-Cybersecurity-Skills

    Detect network reconnaissance and port scanning using Suricata and Snort IDS signatures, threshold-based detection rules, and traffic anomaly analysis to identify Nmap, Masscan, and custom scanning…

    34k GitHub stars~3.5k tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from wgpsec/AboutSecurity

All 74 skills in this repo
  • A skill your agent uses whenever the user asks to add, absorb, migrate, port, update, merge, compare, or extract security knowledge into the AboutSecurity repository from any external resource such…

    1.8k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Ad Persistence

    wgpsec/AboutSecurity

    AD 域环境持久化技术。当已获取域管/本地管理员权限、需要建立持久访问以确保重启或密码更改后仍能回到目标环境时使用。覆盖主机级持久化(计划任务/注册表Run/COM劫持/WMI事件订阅/Windows服务/启动文件夹)、域级持久化(Golden Ticket/Silver Ticket/Skeleton…

    1.8k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Apt Emulation

    wgpsec/AboutSecurity

    APT 模拟与情报驱动红队方法论。基于已知 APT 组织的 TTP(MITRE ATT&CK)设计红队行动计划。当需要模拟特定威胁组织、设计高仿真攻击演练、或根据威胁情报制定攻击策略时使用

    1.8k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Argocd Tactics

    wgpsec/AboutSecurity

    ArgoCD 后渗透方法论:Redis缓存投毒集群接管、SSO认证绕过、未授权API枚举、恶意Application部署、Webhook SSRF、默认凭据利用。

    1.8k GitHub stars~510 tokensUpdated today
    Auto-check passed
  • C2 Beacon Analysis

    wgpsec/AboutSecurity

    C2 Beacon 配置提取与分析。当捕获到 Cobalt Strike/Sliver/Havoc 等 C2 框架的 Beacon 样本、内存 dump、或网络流量时使用。提取 C2 地址、通信协议、Malleable Profile、Watermark 等关键情报。红队视角:了解蓝队如何从 Beacon 提取 IOC 以改进 C2 OPSEC

    1.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • C2 Evasion Methodology

    wgpsec/AboutSecurity

    C2框架免杀方法论:分析 C2 源码、搜索检测规则(YARA/Sigma/Snort)、逐规则分析、修改源码绕过检测。当遇到 YARA/Sigma/Snort 规则触发告警、beacon/implant 被杀软检测到时使用。第一步:确认 implant/beacon 语言和架构;第二步:搜索对应检测规则并逐规则分析修改

    1.8k GitHub stars~557 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Nmap Scan

What does Nmap Scan do?

使用 nmap 进行端口扫描和服务识别。当需要对目标进行精细端口扫描、服务版本探测、操作系统指纹识别、NSE 脚本漏洞扫描时使用。nmap 是最经典的网络扫描器,支持 SYN/TCP/UDP/ACK 等多种扫描模式,内置 600+ NSE 脚本。任何涉及端口扫描、服务识别、漏洞脚本扫描、操作系统指纹的场景都应使用此技能。速度不如 naabu,但功能远超 naabu. Nmap Scan is an agent skill from wgpsec/AboutSecurity.

When should I use Nmap Scan?

Nmap Scan fits situations like: tasks that involve Penetration testing.

How do I install Nmap Scan in Claude Code?

Run `npx skills add wgpsec/AboutSecurity --skill nmap-scan -a claude-code`. Or copy the skill folder (skills/tool/nmap-scan in wgpsec/AboutSecurity) into .claude/skills/nmap-scan in your project. Claude Code loads it when a task matches its description.

How do I install Nmap Scan in Codex?

Run `npx skills add wgpsec/AboutSecurity --skill nmap-scan -a codex`. Or copy the skill folder (skills/tool/nmap-scan in wgpsec/AboutSecurity) into .agents/skills/nmap-scan in your project. Codex loads it when a task matches its description.

Can I use Nmap Scan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wgpsec/AboutSecurity --skill nmap-scan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nmap-scan, .gemini/skills/nmap-scan, .github/skills/nmap-scan and .opencode/skills/nmap-scan in your project.

What does Nmap Scan need to run?

SKILL.md names no scripts, command-line tools or credentials: Nmap Scan is instructions for the agent only.

Does Nmap Scan access the network?

SKILL.md names 1 domain. As links in the text: nmap.org. This is read from the text; nothing was executed.

Is Nmap Scan safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Nmap Scan use?

No licence was found for Nmap Scan or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Nmap Scan use?

About 652 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nmap Scan?

Skills that share tags, products or a category with Nmap Scan: Nmap (BrownFineSecurity/iothackbot, 859 stars), Nmap Recon (CommonHuman-Lab/nyxstrike, 157 stars), Operate Network Recon (cyberful/cyberful, 135 stars) and Recon Nmap (AgentSecOps/SecOpsAgentKit, 220 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nmap Scan?

wgpsec (a GitHub organization) maintains it in wgpsec/AboutSecurity, which has 1,777 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 8, 2026.

Source: wgpsec/AboutSecurity on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.