recon

recon is a skill for Claude Code from PentesterFlow/agent. It costs 49 tokens per session (1,327 once invoked), scanned A, original, Apache-2.0.

A guided process for mapping the publicly visible parts of a website you are authorized to test, including subdomains, live hosts, technologies, and discoverable content.

In plain words
What is it for?
Use it for authorized web security reconnaissance, such as finding subdomains, checking which hosts respond, identifying web technologies, and making an initial content inventory.
Why use it?
It gives you a consistent way to define the target and build an initial picture of its attack surface without scanning unrelated systems.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Good fit Use it for authorized web security reconnaissance, such as finding subdomains, checking which hosts respond, identifying web technologies, and making an initial content inventory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pentesterflow/agent/recon
About the project

PentesterFlow is a terminal-based AI assistant for authorized penetration testing and bug hunting, guiding analysts through reconnaissance, testing, evidence gathering, and reporting while requiring human approval for sensitive actions. Security engineers use it with local or hosted language models and real security tools, and the catalogue add-ons extend its workflows.

PentesterFlow/agent · 1,448 stars · on GitHub · pentesterflow.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PentesterFlow/agent --skill recon
Clone the repo
git clone --depth 1 https://github.com/PentesterFlow/agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for recon

README.md
[![agentmods](https://agentmods.dev/badge/skills/pentesterflow/agent/recon/github.svg)](https://agentmods.dev/skills/pentesterflow/agent/recon)
Your own site
<a href="https://agentmods.dev/skills/pentesterflow/agent/recon"><img src="https://agentmods.dev/badge/skills/pentesterflow/agent/recon/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for recon

Your own site · 80×15
<a href="https://agentmods.dev/skills/pentesterflow/agent/recon"><img src="https://agentmods.dev/badge/skills/pentesterflow/agent/recon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01327
Opus 5.5 $0.00020 $0.00531
Sonnet 5.5 $0.00010 $0.00265
Haiku 4.5 $0.00005 $0.00133

Measured 2mo ago against content hash 7afe7e03bb1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

recon scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Default to curl and the built-in `http` tool. Do not pull in specialized scanners (subfinder, httpx, ffuf, gobuster, etc.) unless the user explicitly asks for them.
skills/recon/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Recon playbook

You have been asked to map the attack surface of a domain the user is authorized to test. Stay surgical — do not scan IP ranges or third-party assets.

Default to curl and the built-in http tool. Do not pull in specialized scanners (subfinder, httpx, ffuf, gobuster, etc.) unless the user explicitly asks for them.

Execution rule: substitute the real apex/host into commands before running them. Never write literal placeholders such as <APEX>, <HOST>, or <subdomains> to files. If the apex is unclear, ask once before running commands.

1. Confirm scope

Before running anything, restate the apex domain and ask the user to confirm it is in scope (only ask if scope was not already explicit in the conversation). Note any explicit out-of-scope subdomains or paths.

2. Passive subdomain enumeration with curl

Pull from public CT logs — no extra tooling required. Note: crt.sh is flaky and frequently answers with a 502/HTML page or an empty body instead of JSON. Piping that straight into jq is what throws jq: parse error: Invalid numeric literal. Validate the body is JSON before parsing, and retry with backoff:

# Robust crt.sh pull — quiet retries, parse only valid JSON.
APEX="example.com" # replace with the scoped apex before running
mkdir -p "recon/$APEX"
: > subs.txt
for attempt in 1 2 3; do
  resp=$(curl -fsS --max-time 30 -H 'Accept: application/json' \
    "https://crt.sh/?q=%25.$APEX&output=json" 2>/dev/null || true)
  if printf '%s' "$resp" | jq -e 'type == "array"' >/dev/null 2>&1; then
    printf '%s' "$resp" \
      | jq -r '.[].name_value' \
      | sed 's/^\*\.//' \
      | tr 'A-Z' 'a-z' | tr -d '\r' \
      | sort -u > subs.txt
    break
  fi
  sleep 3   # crt.sh is rate-limited / returns 502 under load
done
[ -s subs.txt ] || printf 'warning: crt.sh unavailable or returned non-JSON; try OTX or another source\n' >&2

name_value is newline-separated and may include wildcard (*.) entries; the sed/sort -u above normalizes and dedupes them. If /target is pinned, derive the real apex from that target before running.

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 95 lines · 49 tokens per session scan A 7afe7e03bb1b

Subscribe to this mod's changes

recon is a skill published in the GitHub repository PentesterFlow/agent (1,448 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 49 tokens to every session and 1,327 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

recon compared with skills from other repositories

recon next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reconPentesterFlow/agentSkill1.4k2mo agoApache-2.0A49Claude Code
osint0dayInc/pwnSkill86todayMITA21Claude Code
cwe0dayInc/pwnSkill86todayMITA14Claude Code
penetration-testing0dayInc/pwnSkill86todayMITA26Claude Code
pwn-ai-agent-curriculum0dayInc/pwnSkill86todayMITA23Claude Code
pwn-ai-agent-loop0dayInc/pwnSkill86todayMITA20Claude Code
pwn-ai-agent-reward0dayInc/pwnSkill86todayMITA21Claude Code