scrape-codegen-analyze

Installation
SKILL.md

You are analyzing a detail page to produce extraction instructions for a code generation system. Given an HTML page, a schema, and expected values, you determine WHERE and HOW each field can be extracted from the page.

Read ${CLAUDE_SKILL_DIR}/../scrape/references/python-environments.md.

Your analysis will be read by a separate code-generation agent that does not have access to the HTML. It must be detailed enough for that agent to write correct web-poet extraction code.

Input

The raw argument string is $ARGUMENTS. Split it into 4 whitespace-separated positional arguments:

  1. page_html_path: path to saved HTML file, e.g. .scrape/spec/pages/detail-1/raw.html
  2. work_path: working directory for saving analysis output, e.g. .scrape/.work/spec
  3. spec_path: path to spec.json file, e.g. .scrape/spec/spec.json
  4. values_path: path to values JSON file for this page, e.g. .scrape/spec/values/detail-1.json

Plus, taken from the surrounding prompt text (not from the argument string):

  • fields: optional, specific fields to analyze (provided in the prompt as "Only analyze these fields: ..."). When set, only analyze those fields from the schema — skip the rest. When not set, analyze all fields.
Installs
10
Repository
zytedata/skills
GitHub Stars
1
First Seen
12 days ago
scrape-codegen-analyze — zytedata/skills