Agent skill

Recon Nmap

by AgentSecOps in AgentSecOps/SecOpsAgentKit

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

Custom licenceAuto-check: notesSecurity

Install Recon Nmap

skills CLI
$ npx skills add AgentSecOps/SecOpsAgentKit --skill recon-nmap -a claude-code

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

GitHub CLI
$ gh skill install AgentSecOps/SecOpsAgentKit recon-nmap --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/AgentSecOps/SecOpsAgentKit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/offsec/recon-nmap .claude/skills/recon-nmap && 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
recon-nmap
GitHub stars
219
Used in
1 other repo
Token cost
~4.6k tokens
SKILL.md length
936 words
Files
6 (incl. references, assets)
Skills in repo
24
Repo updated
First seen
Licence
Custom licence

At a glance

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

  • Works in 8 steps: Authorization Verification → Host Discovery → Port Scanning → …
  • Conducting authorized network reconnaissance and asset discovery
  • SKILL.md covers Overview, Quick Start, Core Workflow and Security Considerations, plus 3 more sections
  • Calls python3

What it does

Recon Nmap is an agent skill from AgentSecOps/SecOpsAgentKit. Network reconnaissance and security auditing using Nmap for port scanning, service enumeration, and vulnerability detection. Use when: (1) Conducting authorized network reconnaissance and asset discovery, (2) Enumerating network services and identifying running versions, (3) Detecting security vulnerabilities through NSE scripts, (4) Mapping network topology and firewall rules, (5) Performing compliance scanning for security assessments, (6) Validating network segmentation and access controls.

Its SKILL.md is about 4.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files and assets (for example `assets/ci-config-template.yml`, `assets/rule-template.yaml` and `references/EXAMPLE.md`).

It sits in Security, covering Penetration testing, Authorization and RBAC and Cloud networking. It works with Nmap. The repository describes itself as: Security operations toolkit for AI coding agents. Give Claude Code 25+ skills to catch vulnerabilities, scan containers, detect secrets, and enforce policies automatically.

When your agent uses it

  • Conducting authorized network reconnaissance and asset discovery
  • Enumerating network services and identifying running versions
  • Detecting security vulnerabilities through NSE scripts
  • Mapping network topology and firewall rules

Example prompts

  • “/recon-nmap”

Requirements

  • Python 3

Workflow steps

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

  1. Authorization Verification
  2. Host Discovery
  3. Port Scanning
  4. Service Enumeration
  5. Operating System Detection
  6. NSE Script Scanning
  7. Output and Reporting
  8. Firewall and IDS Evasion

What it can do on your machine

Read from SKILL.md and the folder at commit 6e25a4b. 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

    Shell commands in SKILL.md call:

    • python3

    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
    • attack.mitre.org
    • pentest-standard.org
    • owasp.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

Recon Nmap loads about 4.6k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 127 tokens; SKILL.md has 936 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~127
When it runs · the whole SKILL.md, loaded when a task matches
~4.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

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:131
    sudo nmap -sS <target-ip>
  • NoteRuns commands with sudoSKILL.md:141
    sudo nmap -sU -p 53,161,500 <target-ip>
  • NoteRuns commands with sudoSKILL.md:151
    sudo nmap -A <target-ip>
  • NoteRuns commands with sudoSKILL.md:234
    sudo nmap -O <target-ip>
  • NoteRuns commands with sudoSKILL.md:237
    sudo nmap -A <target-ip>
  • NoteRuns commands with sudoSKILL.md:240
    sudo nmap -O --osscan-limit <target-ip>
  • NoteRuns commands with sudoSKILL.md:243
    sudo nmap -O --osscan-guess <target-ip>
  • NoteRuns commands with sudoSKILL.md:353
    sudo nmap -f <target-ip>
  • NoteRuns commands with sudoSKILL.md:356
    sudo nmap -D RND:10 <target-ip>
  • NoteRuns commands with sudoSKILL.md:357
    sudo nmap -D decoy1,decoy2,ME,decoy3 <target-ip>

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 936 words (~4,552 tokens).

“Nmap (Network Mapper) is the industry-standard tool for network discovery, security auditing, and vulnerability assessment. This skill provides structured workflows for authorized reconnaissance operations including port scanning, service enumeration, OS fingerprinting, and vulnerability detection using Nmap Scripting Engine (NSE).”

— opening of SKILL.md by AgentSecOps, Custom licence
name
recon-nmap
version
0.1.0
maintainer
sirappsec@gmail.com
category
offsec
tags
reconnaissance, nmap, port-scanning, service-enumeration, network-security, osint
frameworks
MITRE-ATT&CK, OWASP, PTES
dependencies.packages
nmap
dependencies.tools
python3, masscan
references
https://nmap.org/book/, https://nmap.org/nsedoc/, https://attack.mitre.org/techniques/T1046/

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references, assets) in skills/offsec/recon-nmap of AgentSecOps/SecOpsAgentKit.

  • SKILL.md
  • assets/.gitkeep
  • assets/ci-config-template.yml
  • assets/rule-template.yaml
  • references/EXAMPLE.md
  • references/WORKFLOW_CHECKLIST.md

Open the folder on GitHubat commit 6e25a4b

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in AgentSecOps/SecOpsAgentKit, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Recon Nmap 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.

Recon Nmap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Recon Nmap this skillAgentSecOps/SecOpsAgentKit2191 repos~4.6kAutomated safety check: NotesCustom licence
Nmap Network Scanautomateyournetwork/netclaw674—~1.3kAutomated safety check: PassApache-2.0
Strix Code Vulnerability Scanusestrix/strix67k—~1.1kAutomated safety check: PassApache-2.0
Cb Security HardeningBlkLeg/CircuitBreaker201—~2.1kAutomated safety check: PassMIT
Secure By Designooiyeefei/ccc494—~1.5kAutomated safety check: PassMIT
Frontend Review Securitymizchi/skills356—~1.7kAutomated safety check: NotesNone

Similar skills

  • Nmap Network Scan

    automateyournetwork/netclaw

    Host discovery and port scanning using nmap — ICMP/ARP host discovery, SYN/TCP/UDP port scanning with scope enforcement and audit logging.

    674 GitHub stars~1.3k tokensUpdated 2 days ago
    SecurityAuto-check passed
  • Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.

    67k GitHub stars~1.1k tokensUpdated today
    SecurityAuto-check passed
  • Cb Security Hardening

    BlkLeg/CircuitBreaker

    Enforces Circuit Breaker security hardening conventions across backend, frontend, Docker, and nginx.

    201 GitHub stars~2.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Secure By Design

    ooiyeefei/ccc

    Run an enterprise security review of a system design or existing code before it ships.

    494 GitHub stars~1.5k tokensUpdated 2 mo ago
    SecurityAuto-check passed
  • A skill your agent uses when conducting a frontend security review — static analysis (risky HTML patterns, env var exposure), authentication/authorization audit (token storage, route guards…

    356 GitHub stars~1.7k tokensUpdated 5 days ago
    SecurityAuto-check: notes
  • Redis Security

    redis/agent-skills

    Official

    Redis security guidance covering authentication (requirepass and ACL users), TLS, ACL-based least-privilege access control, restricting network exposure via bind and protected-mode, firewall rules…

    165 GitHub starsUsed in 1 repo~918 tokens
    DatabasesAuto-check passed

More from AgentSecOps/SecOpsAgentKit

All 24 skills in this repo
  • Sast Semgrep

    AgentSecOps/SecOpsAgentKit

    Static application security testing (SAST) using Semgrep for vulnerability detection, security code review, and secure coding guidance with OWASP and CWE framework mapping.

    219 GitHub starsUsed in 2 repos~2.4k tokens
    Auto-check passed
  • Secrets Gitleaks

    AgentSecOps/SecOpsAgentKit

    Hardcoded secret detection and prevention in git repositories and codebases using Gitleaks.

    219 GitHub starsUsed in 2 repos~4.1k tokens
    Auto-check passed
  • DefectDojo Vulnerability Management

    AgentSecOps/SecOpsAgentKit

    Aggregates scanner results into DefectDojo, deduplicates findings, tracks remediation SLAs and prepares compliance reports across products and pipelines.

    219 GitHub stars~2.3k tokensUpdated 5 mo ago
    Auto-check passed
  • TShark Traffic Analysis

    AgentSecOps/SecOpsAgentKit

    Guides authorized packet capture and analysis with TShark, Wireshark's command-line tool, for security investigations, malware detection and forensic examination of network traffic.

    219 GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check: notes
  • Container Scanning with Grype

    AgentSecOps/SecOpsAgentKit

    Scans container images, filesystems and SBOMs with Grype for known vulnerabilities, ranks them by CVSS, EPSS and CISA KEV, and wires scans into CI/CD thresholds.

    219 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Hadolint Dockerfile Security Linting

    AgentSecOps/SecOpsAgentKit

    Lints Dockerfiles with Hadolint for security misconfigurations and best-practice violations, locally and in CI, with strict, balanced and permissive rule templates.

    219 GitHub starsUsed in 1 repo~4.4k tokens
    Auto-check passed

Works with

Categories

Questions about Recon Nmap

What does Recon Nmap do?

Network reconnaissance and security auditing using Nmap for port scanning, service enumeration, and vulnerability detection. Recon Nmap is an agent skill from AgentSecOps/SecOpsAgentKit. Network reconnaissance and security auditing using Nmap for port scanning, service enumeration, and vulnerability detection.

When should I use Recon Nmap?

Recon Nmap fits situations like: conducting authorized network reconnaissance and asset discovery; enumerating network services and identifying running versions; detecting security vulnerabilities through NSE scripts; mapping network topology and firewall rules.

How do I install Recon Nmap in Claude Code?

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

How do I install Recon Nmap in Codex?

Run `npx skills add AgentSecOps/SecOpsAgentKit --skill recon-nmap -a codex`. Or copy the skill folder (skills/offsec/recon-nmap in AgentSecOps/SecOpsAgentKit) into .agents/skills/recon-nmap in your project. Codex loads it when a task matches its description.

Can I use Recon Nmap 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 AgentSecOps/SecOpsAgentKit --skill recon-nmap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/recon-nmap, .gemini/skills/recon-nmap, .github/skills/recon-nmap and .opencode/skills/recon-nmap in your project.

What does Recon Nmap need to run?

Going by SKILL.md and its folder, Recon Nmap needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Recon Nmap access the network?

SKILL.md names 4 domains. As links in the text: nmap.org, attack.mitre.org, pentest-standard.org and owasp.org. This is read from the text; nothing was executed.

Is Recon Nmap 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 Recon Nmap use?

Recon Nmap has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Recon Nmap use?

About 4.6k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6k tokens, read only when the agent opens those files.

What are the alternatives to Recon Nmap?

Skills that share tags, products or a category with Recon Nmap: Nmap Network Scan (automateyournetwork/netclaw, 674 stars), Strix Code Vulnerability Scan (usestrix/strix, 67k stars), Cb Security Hardening (BlkLeg/CircuitBreaker, 201 stars) and Secure By Design (ooiyeefei/ccc, 494 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Recon Nmap?

AgentSecOps (a GitHub organization) maintains it in AgentSecOps/SecOpsAgentKit, which has 219 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on April 15, 2026.

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