Scrape Analyze Page
Extracts every field + value from a saved HTML page, optionally against a JSON schema.
Richiede configurazione
Cosa fa
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.
Rapporto di test
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.
Testato il: 2026-07-15 · Claude Code 2.x (agent harness)
Installazione
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
Comandi e prompt di esempio
/scrape-analyze-pageExtracts every field + value from a saved HTML page, optionally against a JSON schema.
Gli skill si attivano con richieste in linguaggio naturale, senza comandi da ricordare. Dopo l'installazione, prompt come questi lo attivano (in inglese):
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