web-scraping
Extract structured data from websites — list pages, parse DOM, normalize records, and write to CSV / JSON.
SKILL.mdskills/web/web-scraping/SKILL.md
GitHubWeb Scraping
Purpose
Extract structured data from one or more web pages. Discover pages, parse the relevant DOM, normalize the records, and write to a useful output format.
When to Use
- User wants data from a site that exposes it (no auth wall)
- User wants a list of records (e.g. product listings, search results)
When NOT to Use
- The site has an API (use it)
- The site forbids scraping in its TOS
- The user wants login-walled data (ask first)
Capabilities
- Identify page structure
- Parse HTML / JSON / XML
- Pagination handling
- Output to CSV / JSON / SQLite
Safety
- Respect robots.txt
- Rate-limit (delay between requests)
- Don't overload servers
- Cite source for the data
Source
Custom skill, written for this library.
Notes
Pairs with browser-automation (for JS-heavy sites) and data-analysis (after extraction).
Inputs
- The user's goal and desired output.
- Relevant source material, constraints, and environment details.
- Acceptance criteria when available.
Workflow
- Confirm the goal, scope, and constraints.
- Inspect the available context before acting.
- Apply the skill-specific guidance in this document.
- Verify the result and report limitations or next steps.
Tools
- No mandatory tool unless declared in frontmatter.
- Use only project-approved tools and documented optional dependencies.
Examples
Requests that should activate this skill include: "scrape this site"; "extract data from"; "pull all the X from this website".