/web:site-scanfrom web
Discovers and collects all URLs of a website by parsing robots.txt, sitemaps (XML, indexes, gzip), or following links. Supports include/exclude glob patterns, URL limits, and hreflang translations.
Ships in web. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
List the URLs of a site with web site scan.
Node 22+. Locate the web CLI once:
# <skill-dir> is the directory containing this SKILL.md
WEB=$(command -v web || echo "node <skill-dir>/../../cli/dist/web.mjs")
then run $WEB …; it prints exactly one JSON document on stdout, so $WEB … > urls.json
is safe. Fallback when published: npx -y @adobe/web-cli. Use an absolute <skill-dir>.
$WEB site scan <origin> [--strategy sitemaps|http] [--include <glob>]... [--exclude <glob>]... \
[--limit <n>] [--timeout <ms>] [--user-agent <ua>] [--proxy <url> [--proxy-ca <file>] [--insecure]]
$WEB site scan https://example.com > urls.json
$WEB site scan https://example.com --include '/blog/**' --exclude '**/archive/**'
| Strategy | When to use |
|---|---|
sitemaps (default) | robots.txt Sitemap: lines, else /sitemap.xml; follows sitemap indexes, reads .gz. Best for well-structured sites. |
http | Follows <a href> links from <origin>, one page at a time. Use when sitemaps are missing or incomplete; always set --limit. |
Only same-origin URLs count toward the scan; fragments are dropped. --include and
--exclude are repeatable globs matched against pathname + query (* = any characters,
? = one character): a URL must match an include (when any) and no exclude.
{ "origin": "https://example.com", "strategy": "sitemaps", "total": 2, "valid": 2,
"urls": [{ "url": "https://example.com/",
"variants": [
{ "lang": ["en", "en-CA"], "pathLang": "en", "url": "https://example.com/en/a" },
{ "lang": ["fr-FR"], "pathLang": null, "url": "https://example.com/fr-fr/a" }
] }],
"sitemaps": ["https://example.com/sitemap.xml"],
"errors": [] }
.urls[].url names a group: its x-default URL when no other group shares it, else its
lexically first sitemap URL. Read pages from .urls[].variants[]: each lang combines
path-derived and declared hreflang tags without duplicates or x-default. pathLang
marks a tag inferred only from the path, or is null. Two URLs the sitemaps list are
variants only when each declares the other, as Google requires. An alternate no read
sitemap lists (another origin, a sitemap not read) is trusted from each URL that declares
it, so it can appear in several groups.
With no alternates, including on --strategy http, each URL is its own group.
total, valid, and --limit still count individual same-origin URLs, not groups.
Declared alternates can appear in JSON even when outside the origin, filters, or limit.
Use web --format text site scan … for the selected URLs only.
errors lists fetches that failed (a missing robots.txt is not one); check them even on success, a failed sitemap
means missing URLs. Reported there too, with the origin to scan instead (e.g. www.):
robots.txt or a sitemap that redirects to another site, sitemaps that list only another
origin, and with --strategy http a start page that is not HTML or redirects elsewhere.
not a sitemap (text/html): a page came back with a 200, often a bot check (see below).
No valid URL → exit 1 EMPTY_RESULT with the errors in the message. Retry with
--strategy http, or check the origin.
HTTP 401, 403 or 429 on robots.txt and the sitemaps, or not a sitemap (text/html),
means the site refuses this client. Follow the error's hint, then:
WEB_PROXY in their shell.
Never ask for the password in chat or pass it with --proxy, where ps shows it.
--proxy-ca <vendor CA .pem>, or --insecure only for
vendors that publish no CA, and --timeout 60000 or more.read ECONNRESET on every request: a firewall (a corporate VPN) cuts plain proxy
traffic; use the https:// form of the proxy URL.UNSUPPORTED and sends nothing.browser-probe: this command does not drive a browser.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/browser-probeDetects CDN bot protection (Akamai, Cloudflare, DataDome, AWS WAF) by probing a URL with escalating headless browser configurations through `web probe`, and writes a browser recipe that other web commands load with `--recipe`. Use when a page is blocked, empty, or shows a 403, "access denied", or captcha page in headless Chrome, or before automating a site known to block bots./cdp-connectSuperseded by the web CLI: attach to an already-running Chrome with `web browser attach <cdp-url>`, then drive it with `web browser eval|run|cdp|screenshot`. Use when the user asks to attach to, connect to, or control an existing Chrome running with --remote-debugging-port./cdp-ext-pilotLaunches a persistent, headless-by-default Chromium (playwright-cli's) with an unpacked extension loaded through `web ext`, opens the extension's side panel, popup, or options page, and interacts with it over `web browser eval/cdp`. Handles the Chrome 137+ restriction on loading unpacked extensions and the side panel user-gesture requirement. Use when testing, automating, or validating a Chrome extension's UI.npx claudepluginhub adobe/skills --plugin webOther plugins' skills for the same job