web-data-extractor

web-data-extractor is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 104 tokens per session (1,782 once invoked), scanned A, original, Apache-2.0.

A tool for collecting structured data from ordinary HTML web pages. It uses CSS selectors to find fields, can follow pages of results, and can save the data as CSV or JSON.

In plain words
What is it for?
Use it to scrape static listings or tables, map page elements to fields, paginate through results, and create a CSV or JSON dataset. It is not for bypassing logins, paywalls, CAPTCHAs, or bot protection.
Why use it?
It removes the repetitive work of copying listings, table rows, prices, or other fields from many static pages. It previews a page first and limits request speed to reduce unnecessary load.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/extract.py --url "$URL" --selectors '{"title":"title"}' --dry-run.

Good fit Use it to scrape static listings or tables, map page elements to fields, paginate through results, and create a CSV or JSON dataset. It is not for bypassing logins, paywalls, CAPTCHAs, or bot protection.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/web-data-extractor

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-data-extractor

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/web-data-extractor/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/web-data-extractor)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/web-data-extractor"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/web-data-extractor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-data-extractor

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/web-data-extractor"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/web-data-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,782 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.01782
Opus 5.5 $0.00042 $0.00713
Sonnet 5.5 $0.00021 $0.00356
Haiku 4.5 $0.00010 $0.00178

Measured 2mo ago against content hash 67c1832ee67b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-data-extractor scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "$(python3 -c 'import sys;from urllib.parse import urlparse;print(urlparse(sys.argv[1]).scheme+"://"+urlparse(sys.argv[1]).netloc)' "$URL")/robots.txt" | head
site/skills/programming/web-data-extractor/SKILL.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Data Extractor (Polite HTML Scraper)

Turn a CSS-selector recipe into a CSV/JSON dataset: fetch one page -> map fields -> follow the next-page link -> clean and save. The bundled script never touches a file unless --output is given, and --dry-run previews the first page so you can confirm selectors before crawling.

Applicability Decision Table

Situation Use this skill? Notes
Static HTML listing/details pages, table rows, prices Yes requests + BeautifulSoup is enough
Need CSV/JSON out of repeated pages Yes pagination via --next
JS-rendered SPA / infinite scroll that returns empty on static fetch Partial switch to browser automation (see JS Rendering)
Behind a login wall / paywall No Do not bypass auth; use the site's official API
Need to solve CAPTCHAs or evade bot detection No Out of scope; stop and report
One-off browser DevTools copy No Just copy the text; no script needed

Input Checklist

Input Required Default Notes
--url yes - Start page; must be reachable
--selectors yes - JSON map {field: css}, e.g. '{"title":"h1","price":".price"}'
--output unless dry-run - .csv or .json
--next no - Next-page link selector, e.g. .next a
--max-pages no 10 Hard cap to avoid runaway loops
--delay no 2.0s Seconds between requests; raise on sensitive sites

When inputs are missing, ask once: target URL, the fields needed (with sample selectors if known), output format, and whether pagination is involved.

Pre-flight Checks

python3 -c "import requests, bs4; print('deps OK')"
python3 scripts/extract.py --url "$URL" --selectors '{"title":"title"}' --dry-run
curl -s "$(python3 -c 'import sys;from urllib.parse import urlparse;print(urlparse(sys.argv[1]).scheme+"://"+urlparse(sys.argv[1]).netloc)' "$URL")/robots.txt" | head

Before crawling: (1) read robots.txt for the target path; (2) confirm the ToS allows automated collection; (3) start with --dry-run and a small --max-pages.

Read the full file on GitHub · 154 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 154 lines · 104 tokens per session scan A 67c1832ee67b

Subscribe to this mod's changes

web-data-extractor is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 104 tokens to every session and 1,782 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.

Related

web-data-extractor compared with skills from other repositories

web-data-extractor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-data-extractorMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A104Claude Code, Codex
browser-usebrowser-use/browser-useSkill122ktodayMITA54Claude Code, Codex
blocked-page-recoveryNousResearch/hermes-agentSkill267ktodayMITA25Claude Code, Codex
playwrightopenai/openai-agents-pythonSkill31ktodayMITA19Claude Code, Codex
web-searchopensquilla/opensquillaSkill7.2k4d agoApache-2.0A76Claude Code, Codex
haven-orblangwatch/langwatchSkill5.1ktodayApache-2.0A105Claude Code
browserginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A48Claude Code, Codex