SubdomainEnum

SubdomainEnum is a skill for Claude Code, Codex from SecurityTalent/bugskill-ai. It costs 82 tokens per session (2,772 once invoked), scanned C, original, MIT.

A workflow for finding subdomains, which are separate hostnames under a main domain, and checking which ones are reachable.

In plain words
What is it for?
Quick or comprehensive subdomain discovery, checking live hosts, and prioritizing targets during security reconnaissance.
Why use it?
It turns several reconnaissance steps into a defined process and helps sort discovered hosts by priority.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Quick or comprehensive subdomain discovery, checking live hosts, and prioritizing targets during security reconnaissance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/securitytalent/bugskill-ai/subdomainenum
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 SecurityTalent/bugskill-ai --skill subdomainenum
Clone the repo
git clone --depth 1 https://github.com/SecurityTalent/bugskill-ai

Made for: Claude Code, Codex.

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 SubdomainEnum

README.md
[![agentmods](https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/subdomainenum/github.svg)](https://agentmods.dev/skills/securitytalent/bugskill-ai/subdomainenum)
Your own site
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/subdomainenum"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/subdomainenum/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 SubdomainEnum

Your own site · 80×15
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/subdomainenum"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/subdomainenum.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,772 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00082 $0.02772
Opus 5.5 $0.00033 $0.01109
Sonnet 5.5 $0.00016 $0.00554
Haiku 4.5 $0.00008 $0.00277

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

Security

Grade C, and why

SubdomainEnum scanned grade C with 2 findings 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 3mo ago.

The scan reads SKILL.md. This mod also ships 16 executable files (src/agents/coordination.ts, src/configs/api-keys.ts, src/configs/resolvers.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://bun.sh/install | bash

Makes network callslowCapability

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

curl -fsSL https://bun.sh/install | bash
Awesome-Claude-Code-Agent-Skills/01-Reconnaissance-and-OSINT/SubdomainEnum/SKILL.md · 354 lines

How it starts

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

SubdomainEnum

Subdomain enumeration following Jason Haddix's Bug Hunter's Methodology (TBHM), with intelligent target prioritization.

Philosophy:

"For every subdomain you find, you 2x your chance of hacking the target. For every apex domain you find, you 4x your chance of hacking the target." — Jason Haddix

Workflow Routing

Workflow Trigger What It Does
Light "quick subdomains", "fast enum", "light recon", "find subdomains", DEFAULT subfinder -all → httpx probe → prioritize
Full "full enum", "comprehensive", "all subdomains", "thorough recon", "full recon" All tools parallel → aggregate → httpx probe → prioritize
Probe "probe subdomains", "check live hosts" httpx against provided list → prioritize

When executing, announce:

Running the **Light** workflow from **SubdomainEnum**...

Light Workflow (Default)

When to use: Quick reconnaissance, time-sensitive, initial target assessment.

Time: 1-5 minutes

Tools: subfinder, httpx, PrioritizeTargets

Steps

  1. Create output directory:
mkdir -p recon_{domain}_{timestamp}
cd recon_{domain}_{timestamp}
  1. Run subfinder with all sources:
subfinder -d {domain} -all -o subdomains-raw.txt
  1. Deduplicate and sort:
sort -u subdomains-raw.txt > subdomains.txt
echo "Found $(wc -l < subdomains.txt) subdomains"
  1. Probe with httpx (JSON for prioritization):
httpx -l subdomains.txt -silent -status-code -title -tech-detect -json -o probe.json
httpx -l subdomains.txt -silent -o live.txt
echo "$(wc -l < live.txt) live hosts"
  1. Generate prioritized report:
bun ~/clawd/skills/SubdomainEnum/tools/PrioritizeTargets.ts \
  --input probe.json --output report.md
  1. Report summary to user:
Found X subdomains, Y are live.
🔴 CRITICAL: N targets
🟠 HIGH: N targets  
🟡 MEDIUM: N targets
⚪ LOW: N targets

Top targets:
1. admin.target.com (Score: 95) - Admin panel
2. api-staging.target.com (Score: 82) - Dev environment + API
3. jenkins.target.com (Score: 78) - CI/CD exposed

Read the full file on GitHub · 354 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. 3mo ago First seen · 354 lines · 82 tokens per session scan C 4d42106a42c0

Subscribe to this mod's changes

SubdomainEnum is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 2mo ago), licensed MIT. It adds 82 tokens to every session and 2,772 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

SubdomainEnum compared with skills from other repositories

SubdomainEnum next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
SubdomainEnumSecurityTalent/bugskill-aiSkill132mo agoMITC82Claude Code, Codex
user-research-cookiycookiy-ai/user-research-skillSkill1.6k21d agoMITA154Claude Code, Codex
playwright-best-practicescurrents-dev/playwright-best-practices-skillSkill44825d agoMITA214Claude Code, Codex
email-marketing-bibleCosmoBlk/email-marketing-bibleSkill39221d agoMITA195Claude Code
globalpercentsimonlin1212/globalpercentSkill791mo agoApache-2.0A134Claude Code, Codex
ui-ux-design-prosaifyxpro/ui-ux-design-pro-skillSkill1112mo agoMITA117Claude Code
distribution-patternsgarrettw/php-arch-skillsSkill172d agoMPL-2.0A91Claude Code, Codex