Price Watch
A fork of source-watch where the "item" is a product and "interesting" means
cheaper than it has ever been. It shows the shape worth copying: memory holds a
running extreme, not just a list of things already seen.
Configure
- Products — a list of product URLs the user cares about.
- Memory key —
price:<product-slug>, one per product.
- Floor (optional) — alert only below this price regardless of history.
Memory key
price-floor:<product-slug>.
Procedure
Pick the path that matches the user's message.
Watch — the user's message states a price
"Watch this, the lowest I've seen is $949" sets a baseline; it does not ask
for a check. Save exactly the user's number and confirm. Do not fetch the
page: recording today's price here would replace the user's baseline, and the
next check would compare the page against itself.
- lowest seen or current price →
remember(fact="price:<product-slug>: <amount> <currency> on <YYYY-MM-DD> (stated by the user) — <url>", category="fact")
- target price →
remember(fact="price-floor:<product-slug>: <amount> <currency> — <url>", category="fact")
Never save a price the user did not state. If they also ask for a check in
the same message, save first, then run the check below.
Check — the user asks for the current price
- Recall the baseline.
recall(query="price:<product-slug>", limit=20)
and take the lowest price recorded. Also
recall(query="price-floor:<product-slug>") for a target.
- Fetch the page.
fetch_page(url).
- Extract the current price. Pull the number and its currency. Watch for
the traps: a struck-through list price next to the real one, a subscription
price next to the one-time price, and a per-unit price on a multipack. If
you cannot find a price with confidence, say so — do not guess.
- Report the comparison. A new low is a current price below the recorded
low (or below the floor); report it in the format below. Otherwise give the
current price, the standing low, and the delta in one line. Report before
any memory write.
- Update the low — only if it is lower, or if no price is recorded yet.
remember(fact="price:<product-slug>: <amount> <currency> on <YYYY-MM-DD> — <url>", category="fact").
With no history, the first price you read becomes the baseline. Otherwise
never record a price that is not a new low, and never a guessed one: a
wrong low poisons every future comparison.
A refused or failed remember never replaces the report. Give the report
anyway and say in one line that the price was not saved. Do not stop to ask
about saving instead of answering.
Report format
— now , previously (). Down
.
Honest limits
- Runs on demand, not on a schedule — the scheduler cannot run skills yet
(see
source-watch for the detail).
- Many retailers vary price by region, login state, or bot detection. The price
a fetched page shows may not be the price the user is offered. Say which page
you read.
- Needs memory enabled for the history to survive between runs.
Fork this
Swap "lowest price" for any running extreme — highest rating, largest discount,
shortest lead time — and the same three steps (recall the extreme, extract the
current value, alert on a new record) carry over unchanged.
1---2name: price-watch3description: Check product pages for a price drop, comparing against the lowest price seen before and alerting only on a new low. Use when the user asks to watch a price, track a deal, or tell them when something gets cheaper.4license: MIT5version: 1.0.26metadata:7 gaia:8 security_tier: community9 permissions:10 - network:read11 tools_required:12 - fetch_page13 - recall14 - remember15 provenance:16 source: https://skillmd.com/skills/amd/price-watch17 upstream: starter-pack18---1920# Price Watch2122A fork of `source-watch` where the "item" is a product and "interesting" means23cheaper than it has ever been. It shows the shape worth copying: memory holds a24running extreme, not just a list of things already seen.2526## Configure2728- **Products** — a list of product URLs the user cares about.29- **Memory key** — `price:<product-slug>`, one per product.30- **Floor** (optional) — alert only below this price regardless of history.31 Memory key `price-floor:<product-slug>`.3233## Procedure3435Pick the path that matches the user's message.3637### Watch — the user's message states a price3839"Watch this, the lowest I've seen is $949" sets a baseline; it does not ask40for a check. Save exactly the user's number and confirm. Do **not** fetch the41page: recording today's price here would replace the user's baseline, and the42next check would compare the page against itself.4344- lowest seen or current price →45 `remember(fact="price:<product-slug>: <amount> <currency> on <YYYY-MM-DD> (stated by the user) — <url>", category="fact")`46- target price →47 `remember(fact="price-floor:<product-slug>: <amount> <currency> — <url>", category="fact")`4849Never save a price the user did not state. If they also ask for a check in50the same message, save first, then run the check below.5152### Check — the user asks for the current price53541. **Recall the baseline.** `recall(query="price:<product-slug>", limit=20)`55 and take the lowest price recorded. Also56 `recall(query="price-floor:<product-slug>")` for a target.572. **Fetch the page.** `fetch_page(url)`.583. **Extract the current price.** Pull the number and its currency. Watch for59 the traps: a struck-through list price next to the real one, a subscription60 price next to the one-time price, and a per-unit price on a multipack. If61 you cannot find a price with confidence, say so — do **not** guess.624. **Report the comparison.** A new low is a current price below the recorded63 low (or below the floor); report it in the format below. Otherwise give the64 current price, the standing low, and the delta in one line. Report before65 any memory write.665. **Update the low — only if it is lower, or if no price is recorded yet.**67 `remember(fact="price:<product-slug>: <amount> <currency> on <YYYY-MM-DD> — <url>", category="fact")`.68 With no history, the first price you read becomes the baseline. Otherwise69 never record a price that is not a new low, and never a guessed one: a70 wrong low poisons every future comparison.7172A refused or failed `remember` never replaces the report. Give the report73anyway and say in one line that the price was not saved. Do not stop to ask74about saving instead of answering.7576## Report format7778> **<product>** — now **<price>**, previously **<old low>** (<date>). Down79> <delta>. <url>8081## Honest limits8283- Runs on demand, not on a schedule — the scheduler cannot run skills yet84 (see `source-watch` for the detail).85- Many retailers vary price by region, login state, or bot detection. The price86 a fetched page shows may not be the price the user is offered. Say which page87 you read.88- Needs memory enabled for the history to survive between runs.8990## Fork this9192Swap "lowest price" for any running extreme — highest rating, largest discount,93shortest lead time — and the same three steps (recall the extreme, extract the94current value, alert on a new record) carry over unchanged.