Compare prices and produce normalized pricing findings
编程
price-predator
试用Track product prices across time and stores, alert on price drops, and predict the best time to buy.
它能做什么
Track product prices across time and stores, alert on price drops, and predict the best time to buy.
技能文档
Price Predator
Track product prices across time and stores, get alerts on price drops, and predict the best time to buy.
Quick Start
# Track a product with its current price
python3 scripts/price_predator.py track --name "Sony WH-1000XM5" --price 350.00 --category electronics
# Record a new price observation
python3 scripts/price_predator.py update --price 299.99
# View ASCII sparkline price history
python3 scripts/price_predator.py history
# Check for price drop alerts (all products)
python3 scripts/price_predator.py alert
# Check best time to buy by category
python3 scripts/price_predator.py best-time --category electronics
# Full report
python3 scripts/price_predator.py report
Commands
| Command | Description |
|---|---|
track | Add a product to track (name + price + category + optional URL/target) |
update | Record a new price observation for a tracked product |
history | Show price history with ASCII sparkline chart |
alert | Check for price drops exceeding threshold (>10% below median by default) |
best-time | Predict best time to buy based on seasonal patterns by category |
report | Full summary report of all tracked products |
list | List all tracked products |
remove | Remove a tracked product |
info | Show detailed info about a product |
How It Works
- Database: JSON file (
~/.price_predator_db.jsonby default). Override with--db. - Price tracking: Each
updaterecords price + timestamp + source. Build a history over time. - Alerts: When the latest price drops more than the threshold (default 10%) below the median of all recorded prices, an alert fires.
- Seasonal prediction: Uses a built-in calendar of best months to buy each category (see
references/seasonal-buying-calendar.md). - Depreciation: Category-aware annual depreciation rates provide a rough price prediction model.
Category-Aware Patterns
Price Predator knows seasonal discount windows for 15+ categories:
- Electronics / TVs / Laptops → Black Friday (Nov), Cyber Monday
- Mattresses → May (Memorial Day), February (Presidents' Day)
- Appliances → September (Labor Day), May (Memorial Day)
- Smartphones → September (new model launches), November (Black Friday)
- Furniture → January & July (inventory clearance)
- See
references/seasonal-buying-calendar.mdfor the full calendar.
Options
--db— Use a custom database file (global flag, before subcommand)--target— Set a target buy price when tracking--threshold— Set alert threshold as a fraction (0.15 = 15%)--category— Set product category for seasonal predictions
Files
scripts/price_predator.py— Main script (Python stdlib only, no dependencies)references/seasonal-buying-calendar.md— Best months to buy each categoryreferences/price-tracking-strategies.md— Strategies for effective price tracking
相关技能
Researches products, prices, sellers, and reviews across 28 major online marketplaces and big-box/specialty retailers (Amazon, eBay, Shopify stores, Shop.app, Target, Costco, Walmart, Nike, Zara, Adidas, Best Buy, Home Depot, Sephora, SHEIN, IKEA, Chewy, and more) using the Crawlora API, returning clean JSON. Use when the user asks to find a product, compare prices or sellers, track listings, or pull marketplace/retailer reviews — instead of scraping store pages.
Design and evaluate A/B tests for different price points, discount levels, and bundle combinations to find the highest-converting offer structure.
AI agent marketplace for product discovery and affiliate commerce. Routes product queries to agents with affiliate network access.
输入一个或多个 ASIN,自动定位叶子类目,输出 RAISE/HOLD/LOWER 调价信号与三档利润模拟。
按昨日快照汇总 Amazon 价格、BSR、竞品和评论变化,并输出分级提醒。