kroger
由 tongyanli-hash 提供
Search & Research简介
Search Kroger products and add items to a Kroger cart via the Kroger API.
描述
该技能的功能
Connects to the Kroger public API to search products by keyword, add items to a cart, and find nearby store locations by zip code. Requires a registered Kroger developer app and OAuth authentication.
Handles OAuth token refresh automatically, so repeated grocery runs don't require re-authentication.
何时使用
- Adding a weekly grocery list to a Kroger cart
- Finding which nearby Kroger carries a specific product
- Building a cart from a recipe's ingredient list
- Looking up store location IDs before filtering product searches
- Checking product availability at a specific store
示例工作流
User asks: Add milk, eggs, and bread to my Kroger cart
- 1
Search for each item using scripts/kroger.sh search
- 2
Present top results to the user for confirmation
- 3
Run scripts/kroger.sh add for each confirmed product ID
- 4
Confirm all items were added to the cart
Three items added to the user's Kroger cart with correct quantities
前置要求
- Kroger developer account at developer.kroger.com
- Registered Kroger application with Product and Cart API access enabled
- KROGER_CLIENT_ID environment variable
- KROGER_CLIENT_SECRET environment variable
安装
clawhub install tongyanli-hash/kroger运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。