kroger
Search Kroger products and add items to a Kroger cart via the Kroger API. Use when a user asks to find groceries, add items to their Kroger cart, look up Kroger store locations, or manage a Kroger shopping list. Supports product search, cart management, and store lookup by zip code.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- kroger
- description
- Search Kroger products and add items to a Kroger cart via the Kroger API. Use when a user asks to find groceries, add items to their Kroger cart, look up Kroger store locations, or manage a Kroger shopping list. Supports product search, cart management, and store lookup by zip code.
03 SKILL.md 正文
Kroger
Search products, add to cart, and find store locations via the Kroger public API.
Prerequisites
- Kroger developer account at https://developer.kroger.com
- Registered application with Product and Cart API access
- OAuth redirect URI configured in the Kroger app settings
Environment Variables
Set these before using:
export KROGER_CLIENT_ID="your-client-id"
export KROGER_CLIENT_SECRET="your-client-secret"
Optional:
KROGER_TOKEN_FILE— token storage path (default:~/.kroger-tokens.json)KROGER_REDIRECT_URI— OAuth callback URL (default:http://localhost:8888/callback)KROGER_LOCATION_ID— store ID for location-specific product availability
Setup (One-Time)
1. Register a Kroger Developer App
- Go to https://developer.kroger.com
- Create an application
- Enable Product and Cart scopes
- Set redirect URI to
http://localhost:8888/callback - Note Client ID and Client Secret
2. Authenticate
Run the auth flow — opens a browser for Kroger login:
scripts/kroger.sh auth
If the redirect URI isn't localhost (e.g., cloud-hosted), use the manual flow:
- Open the
AUTH_URLprinted byscripts/kroger.sh auth - Log in at Kroger
- Copy the redirected URL (even if the page errors)
- Extract the
codeparameter and run:
scripts/kroger.sh exchange <code>
Tokens auto-refresh. Re-auth only needed if refresh token expires.
Actions
Search products
scripts/kroger.sh search "cannellini beans"
Returns up to 5 results with product IDs, descriptions, and brands.
Add to cart
scripts/kroger.sh add <productId> [quantity]
Requires prior OAuth login. Quantity defaults to 1.
Find nearby stores
scripts/kroger.sh locations <zipcode>
Returns up to 5 stores with location IDs. Set KROGER_LOCATION_ID to filter product search by store.
Check auth status
scripts/kroger.sh token
Workflow: Grocery List → Cart
Typical flow for adding a grocery list to Kroger:
- Search each item:
scripts/kroger.sh search "<item>" - Pick the best match from results
- Add to cart:
scripts/kroger.sh add <productId> <qty> - Repeat for all items
When adding many items, batch all searches first, then confirm selections with the user, then add all to cart.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.