Agent skill · software engineering · actionbook

actionbook-scraper

Generate and verify web scraper scripts using Actionbook's verified selectors. Auto-validates generated scripts and fixes errors.

Why this skill is useful

Adds specific validation logic and error handling for web scraping scripts that the AI wouldn't reliably generate on its own.

What it needs

Requires playwright installed locally. About 10k tokens when loaded. Last updated 2026-08-06. 1,587 stars on the source repository.

What this skill does

Actionbook Scraper Skill ⚠️ CRITICAL: Two-Part Verification Every generated script MUST pass BOTH checks: Check What to Verify Failure Example ------- ---------------- ----------------- Part 1: Script Runs No errors, no timeouts Selector not found Part 2: Data Correct Content matches expected Extracted "Click to expand" instead of name Default Output Format DEFAULT = agent-browser script (bash commands) With --standalone Flag Output = Playwright JavaScript code --- Verification Requirements Two-Part Verification Every generated script must pass BOTH checks: Check What to Verify Failure Action ------- --------------- ---------------- 1. Script Runs No errors, no timeouts Fix syntax/selector errors 2. Data Correct Content matches expected fields Fix extraction logic Part 1: Script Execution Check No runtime errors No timeout errors Browser closes properly Part 2: Data Content Check (CRITICAL) Verify extracted data matches the expected structure: Data validation rules: Rule Example Failure Fix ------ ----------------- ----- Fields not empty name: "" Check selector targets correct element No placeholder text name: "Loading..." Add wait for dynamic content No UI text name: "Click to expand" Extract after expanding, not button text Correct data type year: "View Details" Wrong selector, fix field mapping Reasonable count Expected ~100, got 3 Add scroll/pagination handling For agent-browser Scripts 1. Execute the generated commands 2. Check script runs without errors 3. Check data content is correct: Fields match expected structure Values are actual data, not UI text Count is reasonable 4. If failed: Analyze what's wrong (script error vs data error) Fix selector, wait logic, or extraction Re-execute 5. If success: Output the verified script Show data preview with field validation For Playwright Scripts (--standalone) 1. Write script to temp file 2. Run with node script.js 3. Check script runs without errors 4. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills actionbook/actionbook-scraper

View the source on GitHub

Browse the @skills marketplace