Scrape Analyze Page
Extracts every field + value from a saved HTML page, optionally against a JSON schema.
Działa po konfiguracji
Co robi ten skill
Cleans a locally saved HTML file, pulls structured metadata (JSON-LD/OpenGraph/microdata) via the extruct library, and merges it with visible page fields into a typed JSON output. Triggers only on already-downloaded files (rejects URLs) and supports a schema-guided strict extraction mode.
Raport z testu
Ran it live on a fixture product page with JSON-LD: clean_html.py + extract_metadata.py (needs uv) correctly split visible DOM from structured metadata and the merged extraction matched a hand-done baseline field for field — but SKILL.md hard-codes `${CLAUDE_SKILL_DIR}/../scrape/references/python-environments.md`, a sibling-skill file that does not exist after a verbatim single-skill copy.
Testowano: 2026-07-15 · Claude Code 2.x (agent harness)
Instalacja
git clone https://github.com/zytedata/claude-skills cd claude-skills mkdir -p ~/.claude/skills cp -r skills/scrape-analyze-page ~/.claude/skills/scrape-analyze-page
Komendy i przykładowe prompty
/scrape-analyze-pageExtracts every field + value from a saved HTML page, optionally against a JSON schema.
Skille uruchamiają się na zwykłe polecenia — bez komend do zapamiętania. Po instalacji aktywują go prompty takie jak te (po angielsku):
Extract every field from this saved page product1.html into JSONI downloaded this listing as listing.html, pull out every field and valueAnalyze data.html against my schema.json in strict extraction mode