Use this skill to run a global same-product price scan and output a USD-normalized comparison.
# 1) Create a starter CSV template
python scripts/global_price_compare.py template --out /tmp/offers.csv
# 2) (Optional) discover candidate links by country/source type
# Uses Brave and Tavily when available (BRAVE_API_KEY / TAVILY_API_KEY)
python scripts/global_price_compare.py discover \
--product "iPhone 16 Pro 256GB" \
--countries US,JP,DE,UK \
--source-types official_store,marketplace,electronics_retailer \
--engine all \
--out /tmp/discover.json
# 3) Fill /tmp/offers.csv with verified offers, then compare
python scripts/global_price_compare.py compare \
--input /tmp/offers.csv \
--format markdown
discover to get candidate URLs by market and source type.product,country,currency,source_type,source_name,price,url).compare to normalize all prices to USD and rank best/worst.python scripts/global_price_compare.py template --out /tmp/offers.csv
python scripts/global_price_compare.py discover \
--product "PlayStation 5 Slim" \
--countries US,JP,DE \
--source-types official_store,marketplace,electronics_retailer \
--engine all \
--count 3 \
--format markdown
Notes:
discover supports --engine brave|tavily|all (default all).all, it uses Brave first and only falls back to Tavily when Brave fails or returns no results.BRAVE_API_KEY, TAVILY_API_KEY.python scripts/global_price_compare.py compare \
--input /tmp/offers.csv \
--format markdown \
--out /tmp/comparison.csv
Outputs include:
Default country set:
US, UK, JP, DE, FR, CA, AU, SG, HK, TWDefault source types:
official_storemarketplaceelectronics_retailergeneral_retailerBefore finalizing recommendations:
Detailed schema + guardrails:
references/data-shape-and-source-types.mdscripts/global_price_compare.pyreferences/data-shape-and-source-types.md共 1 个版本