Skills for Real Engineers. Straight from my .agents directory.
asn-infrastructure-mapping
Agent skill fromuphiago/recon-skills
Map organization IP infrastructure via ASN, CIDR, TLD expansion, and reverse DNS.
How to install asn-infrastructure-mapping
npx skills add uphiago/recon-skills# or add only this skill to Claude Code: copy the folder
recon/asn-infrastructure-mapping/
# into
~/.claude/skills/asn-infrastructure-mapping/ (all projects)
.claude/skills/asn-infrastructure-mapping/ (one project)
1# ASN Infrastructure Mapping23Map an organization's entire IP infrastructure by pivoting from domain to ASN (Autonomous System Number), extracting CIDR ranges, and discovering every hostname and service across all owned IP blocks. Includes TLD expansion to find sibling domains on different top-level domains with separate infrastructure.45## When to Use67- You have a target domain and want to discover EVERY IP owned by the organization.8- Passive subdomain enumeration found only a few hosts — the rest may be on sibling TLDs or different IP ranges.9- The target has a known ASN that can be expanded to full CIDR blocks.10- Services on non-standard ports are invisible to web-only recon.11- Acquired subsidiaries or international domains may sit on different ASNs with weaker security.1213## Prerequisites1415- `terminal` whois, dnsx, mapcidr, httpx, and asnmap.16- The target domain and/or a known IP belonging to the organization.17- Shodan API key (optional, for deeper OSINT).1819## How to Run2021```bash22# Start: domain → IP → ASN → CIDR ranges23IP=$(dig target.com +short | head -1)24ASN=$(whois $IP | grep -i "origin\|OriginAS" | awk '{print $NF}' | head -1)25echo "ASN: $ASN"26whois -h whois.radb.net -- "-i origin $ASN" | grep -Eo "([0-9.]+){4}/[0-9]+" | sort -u27```2829## Quick Detection3031```bash32# Start: domain → IP → ASN → CIDR ranges33IP=$(dig target.com +short | head -1)34ASN=$(whois $IP | grep -i "origin\|OriginAS" | awk '{print $NF}' | head -1)35echo "ASN: $ASN"36…
Excerpt shown under the repository's MIT license.
More skills in recon-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
2,955+ reusable AI agent skills for Claude Code, Codex, Cursor and Gemini CLI. AAS Core adds local catalog discovery, agent-owned selection and plan preview. CLI, MCP and plugins.
