SuperAPI AI 工具集

price-hunter

数据与分析

查看项目

更新于 10-16 00:06

技能介绍

Price Hunter 用于查找和跟踪德国柏林超市的食品杂货价格,覆盖 Rewe、Lidl、Aldi。数据保存在本地数据库,并可与 shopping-agent 共享以做预算优化。

主要能力: 搜索某商品的价格,并从 2–3 家商店提取价格,按最便宜优先展示;查询某商品的最优价格;列出已记录商品的最低价清单,按商品分组显示。

使用方式: 先初始化数据库: bash /data/workspace/clawbee/skills/price-hunter/scripts/init-db.sh

搜索价格:/prices search <item>,会进行网络搜索并使用类似“<item> price supermarket Berlin Germany Rewe Lidl Aldi 2025”的查询;典型价格范围见 references/berlin-prices.md。保存结果: bash /data/workspace/clawbee/skills/price-hunter/scripts/save-price.sh '[item]' '[store]' [price] '[unit]'

查询最优价格:/prices best <item>,对应 SQLite 查询: sqlite3 /data/workspace/pantry.db "SELECT store, price, unit FROM prices WHERE item=lower(?) ORDER BY price ASC LIMIT 1;" '[item]'

列出最低价:/prices list,对应 SQL 查询: sqlite3 /data/workspace/pantry.db "SELECT item, store, MIN(price) as price, unit FROM prices GROUP BY item ORDER BY item;"

适用场景:需要比较柏林多家超市日常食品价格、记录历史价格、做采购预算优化的场景。

限制:资料仅说明覆盖 Rewe、Lidl、Aldi,且通常 Aldi/Lidl 比 Rewe 便宜 20–30%;未提供其他地区、其他超市、实时库存、价格保证或收费信息。查询依赖网络搜索,结果准确性未说明。