agentleFS
HumanleapHumanleap/agent-skills/skills/ecommerce-scraper/SKILL.md

ecommerce-scraper

Skill0 starsChanged 41 days agoMITView on GitHub

Scrape product pages and search marketplace listings through ToolRouter's MCP server - product title, price, variants, images and specs from any store URL (Shopify detected automatically), plus listings from eBay, Facebook Marketplace, Vinted, Gumtree, Craigslist, Mercado Libre, OLX, Rakuten, Carousell, Trade Me and Google Shopping. Use for competitor pricing, product research, resale price checks and listing monitoring.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call these through use_tool with tool, skill and input.

    line 46
  2. Very specific:

    Sourcing: search by model number across regions, then open the cheapest listings with listing_details.

    line 52
  3. Very specific:

    Monitoring: run watchlist_snapshot on a schedule and diff against the last snapshot the user saved.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

E-commerce Scraper

Turn store pages and marketplace searches into structured product data from one MCP connection. No scraper to host and no marketplace developer accounts.

Installation

Install with pnpm dlx skills add Humanleap/agent-skills --skill ecommerce-scraper. Connect the client's remote MCP server to https://api.toolrouter.com/mcp (Claude: Customize → Connectors → Add custom connector; Claude Code: claude mcp add toolrouter -- npx -y toolrouter-mcp). Setup: https://toolrouter.com/docs/markdown/quickstart.

Hard Rules

  1. One URL, one product. scrape_product takes a direct product page, not a category or search page. Use web-scraper for anything else.
  2. Use the exact operation. Pick the tool and skill below, or call discover. Never invent an input field.
  3. Prices are a snapshot. Report the currency and when you pulled it. Marketplace prices come from indexed listing text and can be stale; open the listing before relying on a price.
  4. Respect site terms. Marketplace search uses search-engine indexes, not logins. Do not try to bypass sign-in walls.

Authentication and Cost

The server provisions an anonymous account on first use. Paid calls need credits: if use_tool returns a claim link, give it to the user so they can sign in and add credits. discover shows the live price for each operation; listing_details and source_coverage are free.

Core Workflow

  1. Search the market. marketplace-search/search_listings with the item, region and condition.
  2. Inspect listings. marketplace-search/listing_details on the URLs worth a closer look (free).
  3. Scrape the stores. product-scraper/scrape_product on competitor product pages for price, variants, specs and images.
  4. Read the rest of the site. web-scraper/scrape_page for pricing pages, shipping and returns policies or category pages.
  5. Summarise. Table of source, title, price, currency, condition and URL, with the low, median and high price.

Essential Operations

JobtoolskillInput
Full product details from a store pageproduct-scraperscrape_product{"url":"https://store.example.com/products/item","include_images":false}
Search marketplaces for an itemmarketplace-searchsearch_listings{"query":"sony wh-1000xm5","regions":["UK"],"condition":"used","limit":10}
One marketplace onlymarketplace-searchsearch_listings{"query":"herman miller aeron","source":"ebay","country":"gb"}
Preview one listingmarketplace-searchlisting_details{"url":"<listing url>"}
Compact price snapshot to track over timemarketplace-searchwatchlist_snapshot{"query":"steam deck oled","regions":["UK"]}
Which marketplaces cover a regionmarketplace-searchsource_coverage{"regions":["EU"]}
Any other page as markdownweb-scraperscrape_page{"url":"https://example.com/pricing"}

Call these through use_tool with tool, skill and input. Sources: shopping_index, ebay, facebook_marketplace, craigslist, gumtree, trademe, mercadolibre, olx, rakuten, vinted, carousell.

Common Patterns

  • Competitor price check: scrape the same product on 3 to 5 competitor stores and line up price, variants and stock.
  • Resale value: search_listings with condition:"used" across eBay, Vinted and Facebook Marketplace; quote the price range, not one listing.
  • Sourcing: search by model number across regions, then open the cheapest listings with listing_details.
  • Monitoring: run watchlist_snapshot on a schedule and diff against the last snapshot the user saved; the tool does not store state.
  • Ad + product research: pair with ad-library-scraper to see which products a competitor advertises, then scrape those product pages.

Gotchas

  • Shopify stores are detected automatically. Other stores use AI extraction, so check odd fields against the page.
  • scrape_product saves images to the user's file space by default; set include_images:false when only data is needed.
  • Marketplace coverage depends on the search index for that market. Run source_coverage before promising a country.
  • Results can include search or category pages and other regions. Keep rows whose source_region matches the user's market and whose snippet names the exact item.
  • Listing prices may be missing or in local currency; never convert currencies without saying so.

Quick Reference

Connect → search listings → inspect → scrape product pages → price table with sources and dates.

More: https://toolrouter.com/tools/product-scraper · https://toolrouter.com/tools/marketplace-search · https://toolrouter.com/tools/web-scraper

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.