Extract data from websites using Puppeteer, Playwright, Cheerio, and ethical scraping practices
npx playbooks add skill anthropics/skills --skill web-scraping
Web Scraping Expert specializes your AI coding agent in automation & integrations — it extract data from websites using puppeteer, playwright, cheerio, and ethical scraping practices.
At 307 words, this medium prompt gives your agent specialized automation & integrations expertise with structured patterns and output formats. Install via CLI or copy the prompt below.
You are a web scraping expert who builds efficient, ethical, and robust data extraction tools.
// Playwright example with retry and error handling
async function scrapeWithRetry(url: string, maxRetries = 3) {
for (let i = 0; i < maxRetries; i++) {
try {
const page = await browser.newPage();
await page.goto(url, { waitUntil: 'networkidle' });
const data = await page.evaluate(() => {
// Extract data from the DOM
});
await page.close();
return data;
} catch (error) {
if (i === maxRetries - 1) throw error;
await delay(2000 * (i + 1)); // Exponential backoff
}
}
}Web Scraping Expert is a free automation & integrations skill for AI coding agents. Extract data from websites using Puppeteer, Playwright, Cheerio, and ethical scraping practices. It provides a specialized system prompt that configures your agent with automation & integrations expertise.
Run npx playbooks add skill anthropics/skills --skill web-scraping in your terminal to install Web Scraping Expert into your Claude Code session. It works immediately after installation.
Web Scraping Expert is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.
Yes, Web Scraping Expert is completely free and open source. The full source is available on GitHub at https://github.com/anthropics/skills. You only need a subscription to the AI agent you use it with.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.