agent-onboarding
Onboard an agent to Bright Data. Use when a coding agent first encounters Bright Data — for…
Shopping price comparison using Bright Data's web scraping infrastructure. Finds where a product is sold, for how much, and whether it's in stock — across Amazon, Walmart, eBay, Best Buy, Google Shopping, and any retailer URL — then ranks the offers into a single
$ npx -y skills add brightdata/skills --skill price-comparison --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/price-comparisonContext preview
The summary Claude sees to decide when to auto-load this skill.
Shopping price comparison using Bright Data's web scraping infrastructure. Finds where a product is sold, for how much, and whether it's in stock — across Amazon, Walmart, eBay, Best Buy, Google Shopping, and any retailer URL — then ranks the offers into a single
name: price-comparison description: > Shopping price comparison using Bright Data's web scraping infrastructure. Finds where a product is sold, for how much, and whether it's in stock — across Amazon, Walmart, eBay, Best Buy, Google Shopping, and any retailer URL — then ranks the offers into a single buy-recommendation table. Use this skill when the user wants to compare prices, find the cheapest place to buy something, do a price check, see "how much does X cost on Amazon vs Walmart", track an item's price, or decide where to buy a product. Handles product names, ASINs, and direct URLs, and is region-aware (country affects price, availability, and which retailers apply). This is consumer purchase-decision research — for analyzing a competitor's pricing *strategy*, use competitive-intel instead.
Find the best place to actually buy a product — lowest price, in stock, from a reputable seller — using live retailer data, not stale training knowledge. Combines the Bright Data CLI (`bdata`) for collection with a normalization + ranking layer to deliver a single cited comparison table and a clear buy recommendation.
**Never quote prices from training knowledge.** Prices and stock change hourly. Always pull live data first, then compare. If a source fails, say so — never fill a price gap with a guess.
1. Bright Data CLI installed:
curl -fsSL https://cli.brightdata.com/install.sh | bash
2. One-time login completed:
bdata login # or: bdata login --device (SSH / headless)
Verify before collecting:
if ! command -v bdata >/dev/null 2>&1; then
echo "bdata CLI not installed — see skills/bright-data-best-practices/references/cli-setup.md"
elif ! bdata zones >/dev/null 2>&1; then
echo "bdata not authenticated — run: bdata login"
fiHalt and route to setup if either check fails.
1. **Clarify scope** — *What* product (name, ASIN, or URL)? *Which* retailers (default: Amazon + Google Shopping)? *Which* country/region (default: US — it changes price, currency, availability, and which retailers apply)? What matters beyond price (reviews, shipping/Prime, new vs refurbished)? 2. **Resolve, then collect** — If you only have a product name, use `amazon_product_search` and `bdata search --type shopping` to resolve it to concrete product URLs/offers, *then* pull each retailer's structured data. Parallelize independent calls. 3. **Normalize** — Collapse every result into the single offer schema in [references/output-and-pricing.md](references/output-and-pricing.md) before comparing. Convert all prices to one currency and note the rate + date used. 4. **Rank & flag** — Sort by total landed cost (price + shipping). Flag out-of-stock, refurbished/used, and third-party-seller offers — a lower price that's unavailable or used is not the winner by default. 5. **Deliver** — Produce the comparison table (Output A), then the explicit "Best buy" recommendation. Every report names the cheapest *in-stock* option and any meaningful trade-offs.
`amazon_product_search "<query>" "https://www.amazon.com"` and `bdata search "<product>" --type shopping --json` to find the exact items, *then* feed those URLs to product pipelines.
eBay, Best Buy, Google Shopping all have structured pipelines that return clean price/availability/rating JSON. Never `bdata scrape amazon.com` — Amazon blocks scrapers; the pipeline bypasses that reliably.
Pull the offers the user asked about, not every seller on the page.
response — don't wait for Amazon before starting Walmart.
unattributed or undated prices, ever.
report it in "Gaps & caveats".
Pick the retailers that fit the product and region. US electronics → Amazon + Best Buy + Walmart + Google Shopping; marketplace/used → eBay; non-US → confirm the local Amazon domain and add region-relevant retailers.
bdata pipelines amazon_product "https://www.amazon.com/dp/<ASIN>" --json -o amazon.json
Returns price, `final_price`, title, availability, rating, review count, ASIN, seller, images. Use the right domain for the region (`amazon.com`, `amazon.de`, `amazon.co.uk`, …).
bdata pipelines amazon_product_search "iPhone 17 Pro 256GB" "https://www.amazon.com" --json -o amzn_search.json
Resolve the right ASIN/URL from the results, then call `amazon_product` on it.
bdata pipelines walmart_product "https://www.walmart.com/ip/<ID>" --json -o walmart.json bdata pipelines ebay_product "https://www.ebay.com/itm/<ID>" --json -o ebay.json bdata pipelines bestbuy_products "https://www.bestbuy.com/site/<ID>.p" --json -o bestbuy.json
bdata pipelines google_shopping "<google-shopping-product-url>" --json -o gshopping.json
Best for a fast multi-seller view once you have a Shopping product URL. To *find* that URL (and a quick price spread) from a name, use SERP shopping:
bdata search "iPhone 17 Pro 256GB" --type shopping --country us --json
bdata scrape "https://retailer.example/product-page"
Then extract price, currency, and stock from the markdown. Use
Repo: brightdata/skills
Onboard an agent to Bright Data. Use when a coding agent first encounters Bright Data — for…
Social listening and brand reputation research using Bright Data's web scraping…
Debug Bright Data Scraping Browser sessions using the Browser Sessions API. Use this skill…
Build production-ready Bright Data integrations with best practices baked in. Reference…
Bright Data MCP handles ALL web data operations. Replaces WebFetch, WebSearch, and all…
Guide for using the Bright Data CLI (`brightdata` / `bdata`) to scrape websites, search the…