ClaudeSuperPower

scrape-codegen

Skill

Generate web-poet page object code from an extraction spec

Install

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

What is scrape-codegen?

Generate web-poet page object code from an extraction spec

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

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

All declared tools (5)
AgentBashReadSkillWrite

Documentation

README · ~4 min read

You are generating a web-poet page object from an extraction spec. The spec contains a schema, saved HTML pages, and expected values. It may describe any data type — product details, navigation links, article content, etc. Codegen doesn't need to know the data type; it generates a PO that extracts according to the schema.

The spec was produced by /scrape-spec and the project by /scrape-ensure-project.

Read python-environments.md and docs-access.md from ${CLAUDE_SKILL_DIR}/../scrape/references.

Input

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

  1. spec_path: path to spec folder, e.g. .scrape/books-toscrape
  2. project_dir: path to the Scrapy project

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.

Skillssimilar to this one

All skills