ClaudeSuperPower

scrape-codegen-analyze

Skill

Analyze an HTML page to produce field extraction instructions for code generation

Install

git clone https://github.com/zytedata/claude-skills.git ~/.claude/skills/scrape-codegen-analyze

What is scrape-codegen-analyze?

Analyze an HTML page to produce field extraction instructions for code generation

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Run shell commands

Declares Bash

Create and modify files

Declares Write or Edit

~20 tokens of context used while enabled, before you invoke anything

All declared tools (4)
BashReadSkillWrite

Documentation

README · ~4 min read

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):

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.