Universal Scraping Architect

Use for web scraping, crawling, document extraction, API parsing, or building validation-heavy data pipelines using Firecrawl or local Python scripts.

Development / Engineeringdevelopmentengineering
by AgentVoltv1.0.0Published 1y ago1 install
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptExtract product data from an e-commerce site
Beforegeneric AI agent
Web scraping for e-commerce data is definitely doable, but it depends on a few factors. First, which site are we scraping? Does it have a public API that would be easier than web scraping? If we do scrape, we need to check robots.txt and the terms of service to make sure we're allowed. Also, is the site static HTML or does it use JavaScript to load product data dynamically? That changes our approach — static HTML can be scraped with BeautifulSoup, but JavaScript-rendered pages need something like Selenium or Puppeteer. How much data are we talking about — a few hundred products or millions? That affects our architecture. Do you need it as JSON, CSV, or in a database? And how often do you need to refresh the data? I can put together a scraping solution, but let me know these details first so I can recommend the best approach.
Afterwith Universal Scraping Architect
E-COMMERCE SCRAPER - PYTHON + FIRECRAWL

ARCHITECTURE
Firecrawl handles JavaScript-heavy sites (Selenium-equivalent). Output: clean JSON for each product. Local validation pipeline catches bad data before storage.

PRODUCT SCHEMA
fields: sku, name, price (int cents), currency, in_stock (bool), rating (0-5), reviews_count (int), category, image_url, last_updated (timestamp)
Validation: price > 0, rating 0-5, reviews_count >= 0, URL is valid

PYTHON SCRIPT

import asyncio
from firecrawl import Firecrawl
import json

fc = Firecrawl(api_key='your_key')

async def scrape_product(url):
    data = await fc.scrape(url)
    product = {
        'sku': data.get('sku'),
        'name': data.get('name'),
        'price': int(float(data.get('price', 0)) * 100),
        'rating': float(data.get('rating', 0)),
        'in_stock': data.get('in_stock', False)
    }
    validate_product(product)
    return product

DATA FLOW
1. Load product URL list from CSV
2. Batch scrape 50 URLs concurrently
3. Validate schema (reject malformed)
4. Write to products.jsonl (append-only)
5. Upload to database or cloud storage

RUN TIME
500 products: ~8 minutes (rate limit: 1 req/sec). Output: 25MB JSONL file. Schema validation catches 2-5% bad records (retry with fallback parsing).

About this skill


name: universal-scraping-architect description: Use when Use for web scraping, crawling, document extraction, API parsing, or building validation-heavy data pipelines using Firecrawl or local Python scripts.

Universal Scraping Architect

Use for web scraping, crawling, document extraction, API parsing, or building validation-heavy data pipelines using Firecrawl or local Python scripts.

What you get

  • Public GitHub repo (alirezarezvani/claude-skills)
  • the universal-scraping-architect skill folder with SKILL.md. Part of a 337-skill / 30-agent / 70-command install.

Customize your output

  • Fork the repo and adapt the skill's instructions and references to your workflow.

Example output

Activates automatically when your request matches Universal Scraping Architect; chains with the other skills, agents, and commands in the collection.

Best for

Creators, builders, and teams using Claude Code.

SKILL.md preview

SKILL.md
---
name: universal-scraping-architect
description: Use this skill when building web scraping, crawling, document extraction, or API parsing pipelines that need real validation, using Firecrawl or local Python scripts.
version: 1.0.0
category: Development / Engineering
author: AgentVolt
license: proprietary
tags:
  - development
  - engineering
---

# Universal Scraping Architect

Designs validation-heavy scraping and extraction pipelines — picking Firecrawl or a local Python approach per target — with schema checks so silent extraction failures get caught, not shipped.

## When to use

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill

More development skills

View all Development skills →