---
name: price-research
category: research
description: Use for prices from idealo, Geizhals, manufacturer shops.
version: 1.0.0
author: Hermes Agent
license: MIT
metadata:
  hermes:
    tags: [research, price-comparison, idealo, geizhals, german-market]
    related_skills: []
---
# Price Research Skill

## When to Use

- User asks for current price of a specific product model
- User wants price comparison across idealo, Geizhals, manufacturer shops
- User requests "cheapest price" or "best deal" for a product
- User asks whether prices will drop (Black Friday, seasonal sales)

## Procedure

1. **Clarify the exact product** — model series, sub-models, color variants if relevant.
2. **Search both idealo and Geizhals** in parallel:
   - `web_search` with `site:idealo.de <model>` and `site:geizhals.de <model>`
   - Include model numbers (EP5547/90, EP5543/80, etc.)
3. **Extract detail pages** for each model found:
   - `web_extract` on idealo product pages (`OffersOfProduct/...`) and Geizhals model pages (`philips-epXXXX...html`)
   - Look for "Günstigster Gesamtpreis inkl. Versand" (idealo) and "GRATISVERSAND" badges (Geizhals)
4. **Build comparison table** with columns:
   - Modell, Farbe, Bester Preis (inkl. Versand), Quelle (Bestpreis), Link
   - Sort by price ascending
5. **Note availability/delivery time** if shown ("1-2 Werktage", "lagernd")
6. **If user asks for forecast** (Black Friday, etc.): give structured probability assessment with scenarios, not a single prediction.

## Pitfalls & Rules

- **Geizhals rate-limits (HTTP 429)** on rapid sequential requests. Space requests ≥12 s, batch ≤3 URLs per `web_search` call, implement exponential backoff (12 s → 24 s → 48 s) and retry until price found.
- **idealo blocks automated requests (HTTP 403)**. Use `web_search` snippets only; avoid `web_extract` on product pages.
- **LLM-agent cron jobs need explicit wait instructions in the prompt** — the model has no built-in rate awareness. Add prompt rules: "Nach JEDEM web_search-Call mind. 12 s warten", "Max 3 URLs pro web_search-Call", "Bei 429/403: exponentielles Backoff, Call wiederholen, bis Preis da". Without these, the agent fires rapid parallel calls → 429/403 → missing prices → silent warnings instead of full table.
- **Always verify "inkl. Versand"** — both sites show base price + shipping separately; the "gesamtpreis" / "GRATISVERSAND" line is the real total.
- **Manufacturer direct shops (philips.de)** often have free shipping above €40 — include them as a source. **But: not all sub-models have active product pages** — verify URL returns 200 before using.
- **Philips direct shows UVP crossed out** — extract the *sale price* (smaller number), not the UVP.
- **Sub-models differ** (EP5541, 5543, 5544, 5545, 5547, 5549) in color, display, SilentBrew, drink count. Always list model number + color.
- **Prices are snapshots** — note date/time of search in output.
- **Refurbished/B-Ware** (e.g. EP5543/80R1) can be €50+ cheaper with full warranty — mention as alternative.
- **For cron/automated runs: use no_agent Python script** (deterministic, ~3s, 0€) instead of LLM agent. LLM agents in cron make tool calls but produce no final text response — the cron system sends empty output.

## Output Format

- Primary deliverable: **Markdown table** sorted by price (incl. shipping)
- Secondary: bullet summary of cheapest option per source
- If forecast requested: scenario table with probabilities

## Automation (Cron/Scheduled)

- **Use `no_agent: true` with a Python script** — deterministic, fast, free, guaranteed output
- Script template: `scripts/price-check-template.py` (handles rate limits, retries, fallbacks) — **not yet created; DuckDuckGo scraping unreliable for idealo/Geizhals**
- Schedule via `hermes-cron` skill with `no_agent: true` and `interpreter: /opt/hermes/tools/python-3.14.9+.../bin/python`
- Telegram delivery via `hermes send --to telegram` (works from script stdout)

**Working approach for idealo/Geizhals:** LLM-agent (`no_agent: false`) with `enabled_toolsets: ["web"]` and explicit rate-limit rules in the prompt (see Pitfalls). The no_agent script path is blocked by anti-bot measures on these sites.

- **If LLM agent is required** (complex extraction, judgment calls): use `no_agent: false` with `enabled_toolsets: ["web"]` and inject **explicit rate-limit rules into the prompt** (see Pitfalls). The prompt must enforce: wait ≥12 s after each `web_search`, batch ≤3 URLs/call, exponential backoff on 429/403, retry until every model has a price. Without these rules, parallel rapid calls hit limits and the table has gaps.

## References

- `references/german-price-sites.md` — idealo/Geizhals/philips.de quirks, selectors, typical price patterns
- `scripts/price-check-template.py` — ready-to-use no_agent script for scheduled price checks