# Ajouter un produit
python monitor.py add "https://www.amazon.fr/dp/B0BN..." --name "PS5" --target-price 400
# Vérifier tous les prix
python monitor.py check --all
# Historique
python monitor.py history abc12345
# Alertes en JSON
python monitor.py --json alerts
Technique
Python stdlib uniquement (urllib, json, re)
User-Agent Chrome réaliste
Timeout 10s par requête
Voir references/extractors.md pour ajouter des sites
1---2name: price-monitor-fr3description: Price Monitor4---5# Price Monitor67Surveille les prix de produits sur des sites e-commerce et alerte quand ils baissent.89## Usage1011```bash12python skills/price-monitor/scripts/monitor.py <command> [options]13```1415## Commands1617| Commande | Description |18|---|---|19| `add <url> [--name "Nom"] [--target-price 50]` | Ajouter un produit à surveiller |20| `list` | Lister les produits surveillés |21| `check [--all] [id]` | Vérifier les prix (un ou tous) |22| `remove <id>` | Supprimer un produit |23| `history <id>` | Historique des prix d'un produit |24| `alerts` | Voir les alertes de baisse de prix |2526## Options globales2728- `--json` — Output JSON au lieu du texte formaté2930## Sites supportés3132- **Amazon.fr** — `a-offscreen`, `data-a-color="price"`33- **Fnac.com** — meta tags, `f-priceBox-price`34- **Cdiscount** — `c-product__price`, itemprop35- **Boulanger** — `class="price"`, itemprop36- **Générique** — og:price → JSON-LD → itemprop → regex €3738## Extracteur générique (ordre de priorité)39401. `<meta property="og:price:amount">`412. JSON-LD schema.org (`"price":"XX.XX"`)423. `itemprop="price"`434. Regex fallback sur patterns `XX,XX €`4445## Alertes4647- **Prix cible atteint** : prix actuel ≤ target-price → 🎯48- **Baisse > 5%** par rapport au dernier check → 🔥49- Format : `Amazon PS5 : 449€ → 399€ (-11%) 🔥`5051## Stockage5253- `~/.price-monitor/products.json` — Liste des produits54- `~/.price-monitor/history/<id>.json` — Historique par produit55- `~/.price-monitor/alerts.json` — Alertes enregistrées5657## Exemples5859```bash60# Ajouter un produit61python monitor.py add "https://www.amazon.fr/dp/B0BN..." --name "PS5" --target-price 4006263# Vérifier tous les prix64python monitor.py check --all6566# Historique67python monitor.py history abc123456869# Alertes en JSON70python monitor.py --json alerts71```7273## Technique7475- Python stdlib uniquement (urllib, json, re)76- User-Agent Chrome réaliste77- Timeout 10s par requête78- Voir `references/extractors.md` pour ajouter des sites
Run npx skillmds@latest add demerzels-lab/price-monitor-fr in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Price Monitor It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Demerzels-lab (@demerzels-lab) published this skill. Their other Agent Skills are listed on their SkillMD profile.