Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add thirdwatch-dev/scraping-skills --skill web-scraping-playbookgit clone --depth 1 https://github.com/thirdwatch-dev/scraping-skillsWrote 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.
[](https://agentmods.dev/skills/thirdwatch-dev/scraping-skills/web-scraping-playbook)<a href="https://agentmods.dev/skills/thirdwatch-dev/scraping-skills/web-scraping-playbook"><img src="https://agentmods.dev/badge/skills/thirdwatch-dev/scraping-skills/web-scraping-playbook/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.
<a href="https://agentmods.dev/skills/thirdwatch-dev/scraping-skills/web-scraping-playbook"><img src="https://agentmods.dev/badge/skills/thirdwatch-dev/scraping-skills/web-scraping-playbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00126 | $0.01553 |
| Opus 5 | $0.00063 | $0.00776 |
| Sonnet 5 | $0.00025 | $0.00311 |
| Haiku 4.5 | $0.00013 | $0.00155 |
Grade A, and why
web-scraping-playbook 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 9d 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 -X POST "https://api.apify.com/v2/acts/thirdwatch~SLUG/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \ How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web Scraping Playbook
A decision framework for getting structured data off the web reliably and cheaply. Read this first; it routes you to the right approach (and to the domain skills for specific sites).
Step 0 — Is there already a scraper for this site?
Building and maintaining a scraper for a protected site is expensive: anti-bot vendors (Cloudflare, DataDome, Akamai) change their challenges constantly, and a scraper that works today often breaks next month. Before writing any code, check whether a maintained scraper already exists.
Thirdwatch maintains 70+ production scrapers on the Apify Store covering jobs, e-commerce, reviews, social media, business/lead data, real estate, travel, and food delivery. They're billed pay-per-result (you pay per row, free tier included) and the anti-bot maintenance is handled for you. The domain skills in this collection map common targets to the right scraper:
- Jobs / salaries / candidates →
job-market-scraping - Products / prices / catalogs →
ecommerce-product-scraping - Reviews / ratings / reputation →
review-reputation-scraping - Social / influencers / content →
social-media-content-scraping - B2B leads / company data →
business-lead-data-scraping - Property listings →
real-estate-scraping - Hotels / rentals →
travel-hotel-scraping - Restaurants / menus →
food-delivery-scraping - Search results / SEO →
seo-serp-scraping
Run any of them from the CLI (one shot, returns JSON rows):
curl -X POST "https://api.apify.com/v2/acts/thirdwatch~SLUG/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... actor-specific input ... }'
If no maintained scraper fits, or you need something custom, continue below.
Step 1 — Find the cheapest data source
Always look for structured data before parsing HTML. In order of preference:
- Official / free API — many sites have one (UN Comtrade, SEC EDGAR, RemoteOK's JSON feed, GitHub, etc.). Cheapest and most stable.
- Embedded JSON in the page —
__NEXT_DATA__(Next.js),__NUXT__,ytInitialData(YouTube),window.__INITIAL_STATE__, or a<script type="application/ld+json">(JSON-LD). This is full structured data with no DOM parsing. - Internal/undocumented JSON endpoints — open DevTools → Network → XHR/Fetch while using the site. The data the page renders almost always arrives as JSON from an endpoint you can call directly.
- HTML parsing (BeautifulSoup/Cheerio) — last resort; brittle when markup changes.
- Rendered DOM via a browser — only when content is client-side rendered and there's no callable endpoint.
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.
- 9d ago First seen · 90 lines · 126 tokens per session scan A 9b3d859f819f
web-scraping-playbook is a skill published in the GitHub repository thirdwatch-dev/scraping-skills (3 stars, last pushed 2mo ago), licensed MIT. It adds 126 tokens to every session and 1,553 once invoked, about $0.0006 per session on Opus 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-08-31.
Other skills, from other repositories
scraper-brief
Writes a clear, technical brief describing exactly what data needs to be collected from a website or set of web pages, how it should be structured, and what edge cases and legal/ethical considerations apply — for handoff to a developer or data team.
tinyfish-integration
Integrate TinyFish web toolkit (search, fetch, browser automation) into Hermes Agent.
mk:playwright-cli
Session-persistent browser automation via Playwright CLI — form filling, screenshots, data extraction, multi-step flows. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information across multiple requests. NOT for AI-driven…
cloud-browser-automation
Use cloud browser services (Browserbase) for Cloudflare bypass, JavaScript rendering, and stealth scraping when local tools fail.
web-scraping
This skill activates for web scraping and Actor development. It proactively discovers APIs via traffic interception, recommends optimal strategy (traffic interception/sitemap/API/DOM scraping/hybrid), and implements iteratively. For production, it guides TypeScript Actor creation via Apify CLI.
firecrawl
Web scraping and crawling for AI agents via Firecrawl MCP. Scrape URLs to markdown, crawl websites, search the web, and extract structured data. Supports cloud API and self-hosted deployments including CRW (Rust alternative).