scrape-analyze-page
Installation
SKILL.md
You are extracting structured data from a page. Given saved HTML, identify all available fields and extract their values.
Read ${CLAUDE_SKILL_DIR}/../scrape/references/python-environments.md.
Input
This is the user prompt: $ARGUMENTS. You need to extract the following information from it:
- Path to the saved HTML file, e.g.
product1.html. This is what you need to analyze. Don't proceed if it's not provided. - Path to output file, e.g.
product1.json. When provided, this is where you will save the structured analysis. - Path to data-type spec.json. When provided, guides extraction using schema field names, descriptions, and examples.
- Whether to strictly extract only the fields listed in the schema, if the schema was provided. When asked for strict extraction, extract only schema fields — no extras.
Process
1. Clean and read the page
Only process this one page. Do not read or compare with other pages' analysis files.