scrape-spec
Installation
SKILL.md
You are expanding and validating an extraction spec that was drafted by /scrape-define. Download diverse detail and listing pages, compare HTML variants, extract values, and optionally present for browser-based review.
Read ${CLAUDE_SKILL_DIR}/../scrape/references/python-environments.md.
The input is a spec folder with at least one data type containing a schema and 1 page (from /scrape-define). The output is the same folder with more pages, validated values, and a navigation data type.
Input
The raw argument string is $ARGUMENTS — a single value, used as-is:
- site_path: path to the site spec folder, e.g.
.scrape/books-toscrape
Step 1: Read existing spec
Read {site_path}/spec.json to get url and data_types.
For the primary data type (first in data_types that isn't "navigation"), read:
{site_path}/{data_type}/spec.json→schema,html_variant