Ecommerce Price Watcher
by @pbalajiips
Track product prices across ecommerce sites and alert on offers or target-price hits. Use when a user wants to monitor one or many product URLs or item queries, compare current vs previous prices, detect discounts, and generate alert-ready summaries with product name, old/new price, percent drop, and direct link.
clawhub install ecommerce-price-watcherπ About This Skill
name: ecommerce-price-watcher description: Track product prices across ecommerce sites and alert on offers or target-price hits. Use when a user wants to monitor one or many product URLs or item queries, compare current vs previous prices, detect discounts, and generate alert-ready summaries with product name, old/new price, percent drop, and direct link.
Ecommerce Price Watcher
Monitor product URLs, keep price history, detect offers, and output alert-ready JSON.
Quick start
Use scripts/price_watch.py.
# URL mode
python3 skills/ecommerce-price-watcher/scripts/price_watch.py add \
--url "https://example.com/product" \
--target-price 399990 \
--currency CLPItem mode (discover URLs from query)
python3 skills/ecommerce-price-watcher/scripts/price_watch.py add-item \
--query "iPhone 13 128GB Chile" \
--target-price 349990 \
--currency CLP \
--trusted-only \
--max-results 5python3 skills/ecommerce-price-watcher/scripts/price_watch.py check --all
Commands
add: add a single product URLadd-item: discover product URLs from an item query, then add watcheslist: list watched productscheck --id : check one product nowcheck --all: check all products nowremove --id : delete watcherhistory --id : print full price historyAlert behavior
A check produces alerts when at least one condition matches:
1. price_drop: current price < previous price
2. target_hit: current price <= target price
Alert payload includes:
Item-query mode details
add-item uses a lightweight search discovery flow to find candidate product links.
--trusted-only restricts discovered URLs to a curated trusted domain list.--max-results controls how many links are added.This gives users natural language entry ("track iPhone 13 128GB") instead of forcing direct URLs.
Parsing strategy
Use a layered parser:
1. JSON-LD offers.price
2. Open Graph/meta price fields
3. Generic HTML regex fallback
When multiple prices are found, choose the lowest positive value as the current offer candidate.
Security standards
http/https URLs.Limits and operational notes
check --all on schedule and forward only non-empty alerts.Suggested scheduled usage
Run every 30β120 minutes via cron, then send each alert to Telegram/WhatsApp/Discord.
π‘ Examples
Use scripts/price_watch.py.
# URL mode
python3 skills/ecommerce-price-watcher/scripts/price_watch.py add \
--url "https://example.com/product" \
--target-price 399990 \
--currency CLPItem mode (discover URLs from query)
python3 skills/ecommerce-price-watcher/scripts/price_watch.py add-item \
--query "iPhone 13 128GB Chile" \
--target-price 349990 \
--currency CLP \
--trusted-only \
--max-results 5python3 skills/ecommerce-price-watcher/scripts/price_watch.py check --all