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.
npx agentmods add agents/stickman230/claude-pentest/inventory-api-discoverygit clone --depth 1 https://github.com/Stickman230/claude-pentestWrote 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.
[](https://agentmods.dev/agents/stickman230/claude-pentest/inventory-api-discovery)<a href="https://agentmods.dev/agents/stickman230/claude-pentest/inventory-api-discovery"><img src="https://agentmods.dev/badge/agents/stickman230/claude-pentest/inventory-api-discovery.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.02784 |
| Opus 5 | $0.00038 | $0.01392 |
| Sonnet 5 | $0.00015 | $0.00557 |
| Haiku 4.5 | $0.00008 | $0.00278 |
Grade A, and why
inventory-api-discovery 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 6d 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.
curl -so /dev/null -w "%{http_code}" https://TARGET/swagger.json How it starts
The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inventory API Discovery
Discover and catalog all API endpoints across REST, GraphQL, SOAP, and WebSocket protocols. Find API documentation, version endpoints, and undocumented routes. Produce a structured inventory that feeds downstream injection, IDOR, and authentication testing.
Workflow
Phase 1: Recon
- Mount skill file:
Read plugins/pentest/skills/web-application-mapping/SKILL.md - Check for openly accessible API documentation first — documentation is the best map:
For any path returning 200, fetch the full document:# OpenAPI / Swagger curl -so /dev/null -w "%{http_code}" https://TARGET/swagger.json curl -so /dev/null -w "%{http_code}" https://TARGET/swagger.yaml curl -so /dev/null -w "%{http_code}" https://TARGET/openapi.json curl -so /dev/null -w "%{http_code}" https://TARGET/openapi.yaml curl -so /dev/null -w "%{http_code}" https://TARGET/api-docs curl -so /dev/null -w "%{http_code}" https://TARGET/api/swagger-ui.html curl -so /dev/null -w "%{http_code}" https://TARGET/v1/swagger.json curl -so /dev/null -w "%{http_code}" https://TARGET/v2/swagger.json curl -so /dev/null -w "%{http_code}" https://TARGET/v3/swagger.json # WSDL / SOAP curl -so /dev/null -w "%{http_code}" https://TARGET/service.wsdl curl -so /dev/null -w "%{http_code}" "https://TARGET/ws?wsdl" # Postman / Insomnia curl -so /dev/null -w "%{http_code}" https://TARGET/postman_collection.jsoncurl -s https://TARGET/openapi.json | tee outputs/ENGAGEMENT/activity/openapi-TARGET.json - Probe for GraphQL endpoint:
curl -so /dev/null -w "%{http_code}" https://TARGET/graphql curl -so /dev/null -w "%{http_code}" https://TARGET/api/graphql curl -so /dev/null -w "%{http_code}" https://TARGET/query - Probe for common REST API root paths:
for path in /api /api/v1 /api/v2 /api/v3 /rest /v1 /v2 /v3 /service /services /endpoint; do status=$(curl -so /dev/null -w "%{http_code}" https://TARGET${path}) echo "${path}: ${status}" done 2>&1 | tee outputs/ENGAGEMENT/activity/api-probes-TARGET.txt - Log:
{"timestamp":"...","agent":"inventory-api-discovery","action":"recon","target":"https://TARGET","swagger_found":true,"graphql_found":false,"api_roots":["/api/v1","/api/v2"]}
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.
- 6d ago First seen · 224 lines · 76 tokens per session scan A ea0f4a441b03
inventory-api-discovery is an agent published in the GitHub repository Stickman230/claude-pentest (99 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 2,784 once invoked, about $0.0004 per session on Opus 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.
Other agents, from other repositories
darlene
Use this agent when the user asks to "exploit a vulnerability", "test this exploit", "generate exploit", "attack this endpoint", "run exploitation", "verify the vulnerability", or discusses actively exploiting a confirmed finding. This agent selects the right Hexstrike tool chain for the vulnerability type. Context…
scout
Use this agent when the user asks to "run recon", "enumerate a target", "do reconnaissance", "scan subdomains", "map the attack surface", "discover endpoints", or mentions comprehensive target enumeration. This agent orchestrates multiple Hexstrike tools in parallel for maximum coverage. Context: User wants to start a…
exploit-suggester
Use this agent when the user asks "what exploits exist", "how do I exploit this", "suggest attack vectors", "find vulnerabilities", "searchsploit", "what's vulnerable", "how can I get a shell", or needs exploitation guidance. Examples: Context: After discovering Apache 2.4.49 user: "What exploits are there for this?"…
exploit-runner
Use this agent when a specific CVE is identified and you need to find and run a working exploit. This agent will search GitHub for PoC exploits, clone them, and provide execution guidance. Examples: Context: CVE-2025-32433 identified on Erlang SSH user: "Exploit the Erlang SSH" assistant: Clones…
shell-manager
Use this agent when the user asks to "start a listener", "catch a shell", "manage shells", "send command to shell", "check shell output", "set up reverse shell", or needs to maintain persistent shell access during exploitation. Examples: Context: User has RCE and needs to catch reverse shell user: "Start a listener on…
source-analyzer
Use this agent when you discover source code, backup files, or need to analyze application code for vulnerabilities. Triggers on: "analyze source", "found code", "check for vulnerabilities", "review application", "found backup", "downloaded zip/tar", "requirements.txt", "package.json".