enum-web

enum-web is a command for Claude Code from pashki975/thm-claude-kit. It costs 17 tokens per session (691 once invoked), scanned A, original, MIT.

A command for examining a web service, such as a website or web application, starting with quick checks and only adding slower scans when needed.

In plain words
What is it for?
Use it to find web technologies, pages, API endpoints, and useful request parameters on a target service.
Why use it?
It avoids wasting time on broad scans that repeat information already visible in the page source or JavaScript. It helps choose the next useful test based on what the application reveals.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

Good fit Use it to find web technologies, pages, API endpoints, and useful request parameters on a target service.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/pashki975/thm-claude-kit/enum-web
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.

Clone the repo
git clone --depth 1 https://github.com/pashki975/thm-claude-kit

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 enum-web

README.md
[![agentmods](https://agentmods.dev/badge/commands/pashki975/thm-claude-kit/enum-web/github.svg)](https://agentmods.dev/commands/pashki975/thm-claude-kit/enum-web)
Your own site
<a href="https://agentmods.dev/commands/pashki975/thm-claude-kit/enum-web"><img src="https://agentmods.dev/badge/commands/pashki975/thm-claude-kit/enum-web/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 enum-web

Your own site · 80×15
<a href="https://agentmods.dev/commands/pashki975/thm-claude-kit/enum-web"><img src="https://agentmods.dev/badge/commands/pashki975/thm-claude-kit/enum-web.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 691 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00017 $0.00691
Opus 5.5 $0.00007 $0.00276
Sonnet 5.5 $0.00003 $0.00138
Haiku 4.5 $0.00002 $0.00069

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

Security

Grade A, and why

enum-web scanned grade A with 0 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/enum-web.md · 42 lines

How it starts

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

Enumerate the web service at: $ARGUMENTS (e.g. http://10.10.x.x:80)

The gate (apply this before the heavy steps — it's the whole point)

Enumeration steps split into CHEAP (always worth it) and HEAVY (only when they'll actually tell us something new). Before running any HEAVY step, stop and reason out loud:

  • What do we already know from the cheap steps? (page source, JS bundles, whatweb fingerprint)
  • Would this heavy scan find anything the cheap steps didn't already hand us?
  • If the app is bespoke/single-page (all logic in one JS file, no CMS, no server-rendered dirs), a directory brute-force and a nikto sweep are usually LOW YIELD — the source already reveals the real endpoints. Say so, and suggest the better move instead (read the JS, hit the API endpoints the source names, test those params). State the one-line hypothesis for a heavy step before running it. If the hypothesis is "this probably finds nothing new," skip it and explain why, then offer it as opt-in ("say the word and I'll run the full ffuf/nikto anyway").

CHEAP — always do these first

  1. Fetch the page and READ THE SOURCE — HTML comments, linked JS bundles, inline config, API paths referenced in the code. On a custom app this often hands you every real endpoint.
  2. whatweb $ARGUMENTS — fingerprint the tech stack (is this a known CMS or a bespoke app?)
    • If it fingerprints WordPress (wp-content/, wp-login.php, <meta name="generator" content="WordPress ...">), STOP the generic path and route to /wp $ARGUMENTS — WordPress has its own tool (wpscan) and attack chain; the generic ffuf/nikto sweep is the wrong axis. Note it in notes.md and hand off.
  3. Check the obvious files: robots.txt, sitemap.xml, /.git/, backups, /api/ paths named in source.

HEAVY — gate each behind the hypothesis above

  1. Directory/content brute-force — ONLY if the cheap steps left real gaps (server-rendered app, unknown framework, dirs likely hidden). First verify the wordlist exists: ls /usr/share/seclists/Discovery/Web-Content/ — do NOT guess a filename (CLAUDE.md rule). ffuf -u $ARGUMENTS/FUZZ -w <verified-wordlist> -mc 200,204,301,302,307,401,403 -o scans/ffuf.json
  2. nikto -h $ARGUMENTS -o scans/nikto.txt — ONLY if it's a real server-side app where known misconfigs/CVEs are plausible. Skip for a static single-page app.

Read the full file on GitHub · 42 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. 1mo ago First seen · 42 lines · 17 tokens per session scan A 60c5324d68e8

Subscribe to this mod's changes

enum-web is a command published in the GitHub repository pashki975/thm-claude-kit (2 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 691 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.