360 Secure SkillHub
360 安全技能中心

Supermarket Deals (DE)

通过 Marktguru 检索 Aldi、Lidl、REWE、EDEKA、Kaufland 等德国超市的当周促销传单,支持多关键词合并去重、按门店过滤、按 EUR/L 排序,可输出表格或 JSON;API 密钥运行时自动获取并缓存,需 Node 环境与 npm 构建,筛选与通知格式化由调用方 Agent 完成。

benmillerat
benmillerat
热度 65.89
最近更新 2026-05-11 17:27:50
分类:生活依赖:代码执行 / 第三方 API / 读写文件应用场景:购物 / 推荐 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add supermarket-deals
Metadata
name
supermarket-deals
description
Search German supermarket flyers (Aldi, Lidl, REWE, EDEKA, Kaufland) for product deals via Marktguru. Results ranked by best price per litre (EUR/L). No API key needed.

supermarket-deals

Search German supermarket flyers for product deals via the Marktguru API. Results are ranked by best price per litre.

What this skill does

  • Fetches Marktguru API keys automatically from the homepage (no registration needed, keys are cached 6h)
  • Searches current Prospekte (flyers) by product query + ZIP code
  • Supports multiple search terms in one call (merged + deduplicated)
  • Filters by store, ranks by EUR/L
  • Returns a direct Marktguru link for each deal
  • The skill is intentionally "dumb" — it fetches and formats data. Your agent applies smart filtering and formatting for notifications.

Setup

cd path/to/supermarket-deals
npm install
npm run build

Optionally set your defaults:

node dist/index.js config set zip 85540
node dist/index.js config set stores "Lidl,REWE,EDEKA,ALDI SÜD,Kaufland"

Usage

# Single search term
node dist/index.js search "Cola Zero" --zip 85540

# Multiple terms (merged + deduped, useful for product aliases)
node dist/index.js search "Cola Zero" "Coke Zero" --zip 85540

# Broad search — let your agent do the filtering
node dist/index.js search "Cola" --zip 85540

# Filter by specific stores
node dist/index.js search "Monster Energy" --zip 80331 --stores "Lidl,ALDI SÜD"

# JSON output for agent/cron use
node dist/index.js search "Cola" --zip 85540 --json

# Show config
node dist/index.js config

Agent pattern (recommended)

Use a broad search term and let your agent filter intelligently:

node dist/index.js search "Cola" --zip 85540 --json

Then instruct your agent to:

  • Include deals where description says "versch. Sorten" (these bundle all variants incl. Zero)
  • Include deals that explicitly mention Coca-Cola, Coke Zero, etc.
  • Exclude deals that only mention Powerade, Fuze Tea, Sprite-only, etc.
  • Rank by EUR/L and highlight the best deal

This approach catches deals that Marktguru lists as generic "Cola category" without naming every variant.

Output columns

Column Description
Description Product description from flyer
Store Retailer name
Size Volume × quantity (e.g. 6×0.33l, 1.5l)
Price Total price
EUR/L Price per litre (calculated or from API reference price)
Valid Deal validity dates
URL Direct link to Marktguru offer page

Notes

  • Prospekte refresh on Mondays and Thursdays
  • Results are cached by Marktguru for ~15 minutes
  • Some regional store branches may not submit flyers to Marktguru — broad queries catch more
  • API keys rotate and are fetched fresh at runtime (cached 6h in ~/.supermarket-deals/keys.json)