/web:page-langsfrom web
Detects languages on a webpage from markup (html lang, hreflang, nested lang, Content-Language meta) and body text via Google CLD3, then reports mismatches. Useful for i18n audits, hreflang validation, and multilingual page checks.
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.
Detect all languages used on a webpage, declared and in the body text, with
web page langs (browser pass plus Google CLD3 WASM for content detection).
Node 22+ and playwright-cli >= 0.1.20 on PATH (playwright-cli --version).
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 … > file.json is safe.
Fallback when published: npx -y @adobe/web-cli. Use an absolute <skill-dir>; don't cd into it.
Sessions. If WEB_SESSION or PLAYWRIGHT_CLI_SESSION is set, do not pass
--session: every web command uses that browser and leaves it open. Otherwise
either run one-shot ($WEB page tree "$URL" opens and closes its own browser) or
start a browser and reuse the generated name:
S=$($WEB browser open "$URL" | jq -r .session) then --session "$S".
Never invent a fixed session name.
cld3-asm is an optional dependency of the CLI. If it is missing the command
exits 2 (UNSUPPORTED) and the hint gives the install command
(cd <cli-dir> && npm install); run it once.
i18n audits, hreflang validation, multilingual page checks, or when asked what language a page is in.
$WEB page langs "$URL"
$WEB page langs "$URL"
$WEB page langs --session "$S" # after `page overlays --dismiss` on the same browser
To keep the result, redirect stdout to langs.json ($WEB page langs "$URL" > out/langs.json);
the document matches references/output-schema.md.
{ wordCount, detected, declared, reconciliation, url, session, durationMs }.
Full field-by-field schema, null/empty semantics and language-code
normalisation: references/output-schema.md.
| Field | Description |
|---|---|
detected | CLD3 results: language, probability, is_reliable, proportion |
declared | Structural signals: htmlLang, nestedLangs, hreflang, metaContentLanguage |
reconciliation | agreement / declaredNotDetected / detectedNotDeclared |
wordCount | Words in visible body used for CLD3 |
| Reconciliation | Meaning |
|---|---|
detectedNotDeclared | In the body but not declared in markup: add hreflang or lang= |
declaredNotDetected | Declared in markup but absent from body: stale hreflang? |
agreement | Both declared and detected: healthy |
Failure modes:
detected empty and wordCount very low: the page didn't render JS content or
is bot-blocked; try --headed, dismiss overlays first, or run browser-probe.declared fields all null: the page has no language markup (a finding, not an error).--recipe.Open a session, run $WEB page overlays --session "$S" --dismiss, then
$WEB page langs --session "$S".
playwright-cli -s <session> … drives the same browser.
en, fr). Structural signals may be
BCP-47 (en-US, x-default). Reconciliation normalises on the primary subtag;
raw values are preserved in declared.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub adobe/skills --plugin web11 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./domain-maskServes a real URL behind a custom display domain through a local trusted-HTTPS reverse proxy (mkcert certificate, /etc/hosts entry) with `web mask`, so demos and recordings show a clean domain with a padlock. macOS only. Use when the user wants to mask, alias, or fake a domain for a demo, recording, or screenshot./page-cacheCache original web pages locally with `web cache serve`, a caching reverse proxy for iterative migration work. Navigate pages through it (manually or with a browser) and every resource is saved to disk; restart it offline to replay the full site with no network, bot detection or rate limits. `web cache record` and `web cache proxy` cache a page as a HAR and replay it at its real URLs to a browser opened with --proxy. A remote browser (Bright Data's Browser API) fills it when the site blocks the local one. Triggers on: page cache, cache page, cache site, cache website, offline cache, warm cache, cache proxy, page-cache, site mirror, cache for migration, HAR cache, record HAR, cache a blocked site, Bright Data./page-collectExtracts structured resources from a webpage with the web CLI: icons (SVGs classified as icon or logo and optimized for AEM Edge Delivery Services /icons/), metadata and Open Graph tags, body text, forms, videos, and social links. Use when migrating pages to Edge Delivery Services, auditing a site, or extracting a page's icons, metadata, or other assets.Other plugins' skills for the same job