Agent skill

E-commerce Product Extraction

by firecrawl in firecrawl/web-agent

Playbook for scraping product names, prices, variants, stock and categories from online stores, including paginated listings and JavaScript-rendered storefronts.

MITAuto-check passedData & Analytics

Install E-commerce Product Extraction

skills CLI
$ npx skills add firecrawl/web-agent --skill e-commerce -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install firecrawl/web-agent e-commerce --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/firecrawl/web-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent-core/src/skills/definitions/e-commerce .claude/skills/e-commerce && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
e-commerce
GitHub stars
1.2k
Token cost
~344 tokens
SKILL.md length
160 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Playbook for scraping product names, prices, variants, stock and categories from online stores, including paginated listings and JavaScript-rendered storefronts.

  • Collecting a store's full catalogue with prices and stock status
  • SKILL.md covers General Patterns, Product Data Checklist, Pagination and JS-Heavy Sites, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Extracting variants with per-variant price and availability

What it does

A short playbook for pulling product data out of online stores. It starts with the cheap options: check sitemap.xml for product URLs and look for endpoints such as /products.json or /api/products before parsing HTML. A checklist names the fields to capture: name, brand and SKU, current and compare-at price with currency, variants with their own price and availability, images, short and long descriptions, the category path, stock status, and ratings with review counts.

For listings that paginate, the agent looks for next links, page numbers or showing-X-of-Y text, scrolls with the interact tool on infinite-scroll pages, and compares what it has extracted against the total the page claims, continuing until the two match. For JavaScript-heavy storefronts it uses interact for rendering and watches for XHR calls that return JSON, which are often easier to read than HTML. Per-site playbooks are kept in a separate sites/ directory.

When your agent uses it

  • Collecting a store's full catalogue with prices and stock status
  • Extracting variants with per-variant price and availability
  • Scraping a paginated or infinite-scroll product listing
  • Pulling product data from a JavaScript-rendered storefront

Example prompts

  • “Extract every product, price and stock status from https://shop.example.com/collections/all.”
  • “List each size and color variant of this jacket with its price and whether it is in stock.”
  • “The category page says 200 products but I only got 24. Keep paging until the counts match.”

Requirements

  • Network access to the store being scraped

What it can do on your machine

Read from SKILL.md and the folder at commit f023adf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

E-commerce Product Extraction loads about 344 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 160 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~344

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from firecrawl/web-agent at commit f023adf, republished under its MIT licence (© firecrawl). 160 words, ~344 tokens.

Download SKILL.mdSave it as .claude/skills/e-commerce/SKILL.md (or your agent's skills folder).
name
e-commerce
description
Navigate e-commerce sites to extract products, pricing, categories, and inventory. Handles pagination, variants, and JS-heavy storefronts.
category
E-commerce

E-commerce Extraction

General Patterns

  • Check for sitemap.xml first -- many stores list all product URLs
  • Look for /products.json, /api/products, or similar API endpoints before scraping HTML
  • Product listing pages usually paginate: look for ?page=N, ?offset=N, or "Load more" buttons
  • Always check the total count shown on the page vs what you've extracted

Product Data Checklist

  • Name, brand, SKU/ID
  • Price (current, original/compare-at, currency)
  • Variants (size, color, etc.) with per-variant pricing and availability
  • Images (primary + gallery)
  • Description (short + long)
  • Category/breadcrumb path
  • Availability/stock status
  • Ratings and review count

Pagination

  • Check for: next/prev links, page numbers, "showing X of Y" text
  • For infinite scroll: use interact to scroll and load more
  • Keep count: if page says "200 products" and you have 24, keep going

JS-Heavy Sites

  • Use interact for sites that require JavaScript rendering
  • Look for XHR/API calls in the page that return JSON -- often easier than parsing HTML
  • Single-page apps often have internal APIs at predictable paths

Site-specific playbooks are in the sites/ directory

© firecrawl, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in agent-core/src/skills/definitions/e-commerce of firecrawl/web-agent.

Open the folder on GitHubat commit f023adf

Compare with similar skills

E-commerce Product Extraction next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

E-commerce Product Extraction compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
E-commerce Product Extraction this skillfirecrawl/web-agent1.2k—~344Automated safety check: PassMIT
Amazon Best Sellers Finderbrowser-act/skills6.1k2 repos~1.5kAutomated safety check: PassMIT
Amazon Product Search Extractorbrowser-act/skills6.1k2 repos~1.5kAutomated safety check: PassMIT
Amazon Product Search Extractorbrowser-act/skills6.1k2 repos~1.6kAutomated safety check: PassMIT
Amazon Reviews Extractorbrowser-act/skills6.1k2 repos~1.4kAutomated safety check: PassMIT
Apify Product Data Setupapify/awesome-skills2621 repos~2kAutomated safety check: PassApache-2.0

Similar skills

  • Amazon Best Sellers Finder

    browser-act/skills

    Extracts structured Amazon product data for a keyword and marketplace through the BrowserAct API, including titles, prices, ratings, reviews, sales volume and promotions.

    6.1k GitHub starsUsed in 2 repos~1.5k tokens
    Data & AnalyticsAuto-check passed
  • Pulls structured Amazon search results (titles, ASINs, prices, ratings, specifications) for a keyword and brand through BrowserAct's Amazon Product API template.

    6.1k GitHub starsUsed in 2 repos~1.5k tokens
    Data & AnalyticsAuto-check passed
  • Collects structured product data from Amazon search results for a keyword and optional brand, using a BrowserAct script, for market and competitor research.

    6.1k GitHub starsUsed in 2 repos~1.6k tokens
    Data & AnalyticsAuto-check passed
  • Amazon Reviews Extractor

    browser-act/skills

    Pulls structured Amazon product reviews for an ASIN through BrowserAct's Amazon Reviews API, with no Amazon login, using a bundled Python script.

    6.1k GitHub starsUsed in 2 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • Apify Product Data Setup

    apify/awesome-skills

    Official

    Wire an AI agent to live e-commerce product data using Apify's E-commerce Scraping Tool over MCP, either as runtime tool calls or as a scheduled refresh into a vector store.

    262 GitHub starsUsed in 1 repo~2k tokens
    Data & AnalyticsAuto-check passed
  • Amazon Competitor Analyzer

    browser-act/skills

    Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis.

    6.1k GitHub starsUsed in 2 repos~1k tokens
    Data & AnalyticsAuto-check: notes

More from firecrawl/web-agent

  • Competitor Comparison Matrix

    firecrawl/web-agent

    Compares two or more products or companies on pricing, features and positioning by scraping their sites, and returns a normalized JSON matrix.

    1.2k GitHub stars~1.1k tokensUpdated 5 mo ago
    Auto-check passed
  • Financial Research

    firecrawl/web-agent

    Pulls a public company's latest 10-K or 10-Q figures and analyst consensus from SEC EDGAR and Yahoo Finance, then cross-checks the two sources.

    1.2k GitHub stars~1.1k tokensUpdated 5 mo ago
    Auto-check passed
  • Vendor Pricing Tracker

    firecrawl/web-agent

    Extracts every pricing tier from a SaaS, API, cloud or LLM vendor's pricing page and normalizes it into one structure, with optional price monitoring.

    1.2k GitHub stars~1.2k tokensUpdated 5 mo ago
    Auto-check passed
  • Plans how to pull data from websites into an exact JSON schema, with separate approaches for single facts, one-entity research, item lists and whole sites.

    1.2k GitHub stars~760 tokensUpdated 5 mo ago
    Auto-check passed
  • Deep Research

    firecrawl/web-agent

    Runs multi-source web research with a search plan, targeted extraction and cross-checking, rating confidence by how many sources agree and organizing results by subtopic.

    1.2k GitHub stars~278 tokensUpdated 5 mo ago
    Auto-check passed

Questions about E-commerce Product Extraction

What does E-commerce Product Extraction do?

Playbook for scraping product names, prices, variants, stock and categories from online stores, including paginated listings and JavaScript-rendered storefronts. A short playbook for pulling product data out of online stores.json or /api/products before parsing HTML.

When should I use E-commerce Product Extraction?

E-commerce Product Extraction fits situations like: collecting a store's full catalogue with prices and stock status; extracting variants with per-variant price and availability; scraping a paginated or infinite-scroll product listing; pulling product data from a JavaScript-rendered storefront.

How do I install E-commerce Product Extraction in Claude Code?

Run `npx skills add firecrawl/web-agent --skill e-commerce -a claude-code`. Or copy the skill folder (agent-core/src/skills/definitions/e-commerce in firecrawl/web-agent) into .claude/skills/e-commerce in your project. Claude Code loads it when a task matches its description.

How do I install E-commerce Product Extraction in Codex?

Run `npx skills add firecrawl/web-agent --skill e-commerce -a codex`. Or copy the skill folder (agent-core/src/skills/definitions/e-commerce in firecrawl/web-agent) into .agents/skills/e-commerce in your project. Codex loads it when a task matches its description.

Can I use E-commerce Product Extraction in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add firecrawl/web-agent --skill e-commerce -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/e-commerce, .gemini/skills/e-commerce, .github/skills/e-commerce and .opencode/skills/e-commerce in your project.

What does E-commerce Product Extraction need to run?

SKILL.md names no scripts, command-line tools or credentials: E-commerce Product Extraction is instructions for the agent only. Our summary lists: Network access to the store being scraped.

Does E-commerce Product Extraction access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is E-commerce Product Extraction safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does E-commerce Product Extraction use?

E-commerce Product Extraction is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does E-commerce Product Extraction use?

About 344 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to E-commerce Product Extraction?

Skills that share tags, products or a category with E-commerce Product Extraction: Amazon Best Sellers Finder (browser-act/skills, 6.1k stars), Amazon Product Search Extractor (browser-act/skills, 6.1k stars), Amazon Product Search Extractor (browser-act/skills, 6.1k stars) and Amazon Reviews Extractor (browser-act/skills, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains E-commerce Product Extraction?

firecrawl (a GitHub organization) maintains it in firecrawl/web-agent, which has 1,240 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on April 19, 2026.

Source: firecrawl/web-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.