extract
БесплатноЗапускает вложенные скриптыНе проверенCrawl an existing website (capped, multi-page) and seed stardust/current/ with PRODUCT.md, DESIGN.md, DESIGN.json, a per-page inventory, and the consolidated…
от adobe★ 342 звезды на GitHubОб этом скилле
stardust:extract
Crawl an existing website, parse each page, extract the brand surface,
and produce a stardust-formatted snapshot of the current state under
stardust/current/. The output describes what the site is; later
sub-commands consume it to decide what it should be.
This skill is descriptive: it does not invent direction, it does not
critique, and it does not modify the live site. It writes only under
stardust/current/ and updates stardust/state.json.
Inputs
<url>— required. The origin to crawl. Examples:https://example.com,https://example.com/shop. A path narrows the same-origin crawl to that subtree.--cap <N>— optional. Override the default 5-page cap. The cap is intentionally small — a 5-page sample (home + four IA pillars/templates) is enough for cross-page brand aggregation, system-component detection, and the brand-review HTML; lift it (e.g.--cap 25) when a deeper crawl is genuinely needed.--all— optional. Lift the cap entirely; extract every discovered page after junk filtering. Equivalent to--cap 0. Use when the user spontaneously asks for a full crawl.--pages <slug,slug,...>— optional. Restrict the crawl to specific paths (slugs derived perreference/ia-extraction.md). Bypasses the cap.--refresh <slug>— optional. Re-extract one page that already exists instate.json.--single— optional. Equivalent to--cap 1. Useful for testing.--wait <fast|medium|spec|auto>— optional. Wait strategy per page. Defaultmedium. Seereference/playwright-recipe.md§ Wait modes.--no-junk-filter— optional. Disable the default junk-page filter in discovery (seereference/ia-extraction.md§ Filtering).--no-consent-dismiss— optional. Skip the pre-flight consent / cookie banner dismissal (seereference/playwright-recipe.md§ Pre-flight: consent dismissal). Use when the redesign scope includes the consent surface or the dismissal's side-effects (script activation that wouldn't otherwise run) must be avoided. Default is to dismiss, keeping screenshots, voice aggregation, and per-section style unpolluted by the banner.--dynamics— optional, migration-bound. Record per-page reach signals of the dynamic surface (data endpoints, forms, modal triggers, player ids) in each page JSONdynamicsection and roll them up in_crawl-log.json#dynamicSurface. Set byprepare-migration,replicaandmigrate's safety net; never by a bare extract,upliftoraudit— dynamics is a migration concern. Depth and classification belong to the stardustdynamicsskill.--concurrency <n>— optional. Parallel browser contexts for the per-page capture loop. Default 4; sane range 4–8. See § Concurrency.--brand-source <url>— optional, repeatable. An additional same-brand origin whose brand surface enriches the primary extraction (shallow capture: home + up to 2 nav-linked pages). See § Cross-site brand sources.--design-source <url>— optional. Design-donor origin: its design system is captured tostardust/canon-source/and becomes the fixed redesign target while the primary origin supplies content. See § Cross-site brand sources.--prep— optional. Run in migrate-prep mode: lift the cap, type each page, detect module candidates, capture typed content slots, emit the prep summary. See § Prep mode below. Typically invoked via theprepare-migrationorchestrator skill rather than directly.
Setup
Run the master skill's setup procedure first
(skills/stardust/SKILL.md § Setup): impeccable dep check, context
loader, state read.
Additional checks for this sub-command:
Playwright availability. The extraction step needs a real browser. Detect Playwright in this order: a Playwright MCP server, then a project-importable
playwrightmodule. Thenpx playwrightprobe is NOT sufficient — it confirms the CLI (which resolves a global install) but the recipe andscripts/crawl.mjsloadplaywrightthroughbrowser.mjs, and ESM module resolution does not honour a global install orNODE_PATH— the import throwsERR_MODULE_NOT_FOUNDeven wherenpx playwright --versionsucceeds. Verify the module is import-resolvable from the project root (probe:node -e "import('playwright').then(()=>process.exit(0))"); if it isn't, runnpm i -D playwright pixelmatch pngjs cheerio --legacy-peer-deps(devDependencies, never--no-save— #125) or use the Playwright MCP server, before crawling. The--legacy-peer-depsflag is required onaem-boilerplatetargets (their pinnedeslint@8makes a plainnpm iexitERESOLVEbefore playwright is even considered). Don't trust the CLI probe alone.--no-saveinstalls are ephemeral. Any later realnpm i(e.g. a setup step adding a devDependency) prunes non-manifest packages, silently removing playwright mid-pipe
Установить extract в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл extract?
Crawl an existing website (capped, multi-page) and seed stardust/current/ with PRODUCT.md, DESIGN.md, DESIGN.json, a per-page inventory, and the consolidated brand surface — the captured design system, palette, typography, motifs, and voice of the live site. Use when the user wants to analyze an existing site's design, extract or reverse-engineer its design system or brand, capture design tokens from a live site, import a website as the starting point for a redesign, capture the current state before a migration, or invokes `$stardust extract` (`/stardust:extract` in Claude Code). Trigger phrases include "analyze this site", "extract the design tokens", "capture the brand", "crawl the site", "reverse engineer the design". Not for scraping page data or content for its own sake (it captures design evidence, not datasets), and not for the redesign itself — extraction is descriptive; direction and prototyping happen downstream.
Как установить скилл extract?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл extract запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic