price-comparison
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.
What this skill does
# Price Comparison
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.
## Prerequisites
1. Bright Data CLI installed:
```bash
curl -fsSL https://cli.brightdata.com/install.sh | bash
```
2. One-time login completed:
```bash
bdata login # or: bdata login --device (SSH / headless)
```
Verify before collecting:
```bash
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"
fi
```
Halt and route to setup if either check fails.
## Core Workflow
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.
## Data Collection Rules
- **Resolve names to URLs first.** You rarely have clean URLs up front. Use
`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.
- **Prefer pipelines over scraping for supported retailers.** Amazon, Walmart,
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.
- **Always pass `--json`** when you need to parse or compare output.
- **Be cost-efficient** — a standard comparison is ~3–8 `bdata` calls, not 50.
Pull the offers the user asked about, not every seller on the page.
- **Parallelize** independent calls across multiple Bash tool calls in one
response — don't wait for Amazon before starting Walmart.
- **Every price needs a source URL and a collection timestamp.** No
unattributed or undated prices, ever.
- **Never fabricate a price or fill gaps.** If a retailer returns nothing,
report it in "Gaps & caveats".
## Retailer Modules
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.
### Amazon — by URL or ASIN
```bash
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`, …).
### Amazon — discover by keyword (when you only have a name)
```bash
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.
### Walmart / eBay / Best Buy — by product URL
```bash
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
```
### Google Shopping — cross-retailer overview
```bash
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:
```bash
bdata search "iPhone 17 Pro 256GB" --type shopping --country us --json
```
### Unknown / local retailer — scrape the page
```bash
bdata scrape "https://retailer.example/product-page"
```
Then extract price, currency, and stock from the markdown. Use this for local
retailers without a dedicated pipeline (e.g. regional electronics chains).
> **Pipeline names are inconsistent** (`amazon_product` singular,
> `bestbuy_products` plural, `walmart_product`). Confirm with the type list
> before hardcoding — the `data-feeds` skill has the verified list, and
> keyword/multi-arg pipelines (`amazon_product_search`) take
> `<keyword> <domain_url>`, not a single URL.
## Region Handling
- **Country changes everything** — price, currency, stock, and which retailers
exist. Always confirm the region before running; default US only if the user
doesn't say.
- **Pass `--country <code>`** to `bdata search` for localized SERP/shopping
results (e.g. `--country il` for Israel, `de`, `uk`).
- **Use the local Amazon domain** in product URLs. Many regions (e.g. Israel)
buy via `amazon.com` with international shipping *and* via local chains —
cover both and label shipping/import implications.
- **Normalize currencies** to one display currency, state the rate and the date
you used, and keep each offer's original-currency price in the dataset.
## Output
Read [references/output-and-pricing.md](references/output-and-pricing.md) for:
- The **normalized offer record** schema (row shape for both the table and the
dataset output).
- **Total-cost ranking** rules (price + shipping + import/tax where known;
in-stock and condition gates before declaring a winner).
- **Currency normalization** conventions.
- **Output templates** — A (comparison table + recommendation), B (structured
dataset), C (both).
## Output Quality Standards
1. **Every price has a source URL and a timestamp** — no undated, unattributed
prices.
2. **Always show availability next to price** — a cheaper out-of-stock offer is
not the winner. Flag refurbished/used/third-party explicitly.
3. **Name one "Best buy"** — the cheapest *in-stock, comparable-condition*
option, with the runner-up and why someone might pick it instead.
4. **Be honest about gaps** — list retailers that returned nothing or were
gated this run. Note when a price looks stale or is a "from" range.
5. **State currency and region** — "$ USD · region: US" or the rate used for
conversions.
6. **Never estimate a missing price.** Report the gap; don't fill it.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.