返回 Skill 列表
extension
分类: 营销与增长无需 API Key

price-hunter

搜索并追踪柏林超市(Rewe、Lidl、Aldi)的食品杂货价格。将最优价格存储在本地数据库中。触发条件包括:/prices search <item>, /prices best <item>, /prices list, 'X的价格是多少', '柏林最便宜的X', '查找...的价格',或者在为膳食计划查找食品成本时。

person作者: jakexiaohubgithub

Price Hunter

Find and track the best grocery prices in Berlin.

Setup

bash skills/price-hunter/scripts/init-db.sh

Commands

/prices search <item>

  1. Web search: "[item] price supermarket Berlin Germany Rewe Lidl Aldi 2025"
  2. Extract prices for 2–3 stores. See references/berlin-prices.md for typical ranges.
  3. Save results:
    bash skills/price-hunter/scripts/save-price.sh '[item]' '[store]' [price] '[unit]'
    
  4. Display sorted cheapest first:
    Prices for pasta (500g):
    • Aldi:  €0.89
    • Lidl:  €0.99
    • Rewe:  €1.29
    Cheapest: Aldi
    

/prices best <item>

sqlite3 /data/workspace/pantry.db "SELECT store, price, unit FROM prices WHERE item='[item]' ORDER BY price ASC LIMIT 1;"

Reply: "Best price for [item]: €[price] [unit] at [store]"

/prices list

sqlite3 /data/workspace/pantry.db "SELECT item, store, MIN(price) as price, unit FROM prices GROUP BY item ORDER BY item;"

Display as a table grouped by item.

Notes

  • Aldi/Lidl are typically 20–30% cheaper than Rewe
  • Data is shared with shopping-agent for budget optimization
  • See references/berlin-prices.md for typical price ranges