krogerSearch 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 Kro...
Install via ClawdBot CLI:
clawdbot install tongyanli-hash/krogerSearch products, add to cart, and find store locations via the Kroger public API.
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 availabilityhttp://localhost:8888/callbackRun 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:
AUTH_URL printed by scripts/kroger.sh authcode parameter and run:scripts/kroger.sh exchange <code>
Tokens auto-refresh. Re-auth only needed if refresh token expires.
scripts/kroger.sh search "cannellini beans"
Returns up to 5 results with product IDs, descriptions, and brands.
scripts/kroger.sh add <productId> [quantity]
Requires prior OAuth login. Quantity defaults to 1.
scripts/kroger.sh locations <zipcode>
Returns up to 5 stores with location IDs. Set KROGER_LOCATION_ID to filter product search by store.
scripts/kroger.sh token
Typical flow for adding a grocery list to Kroger:
scripts/kroger.sh search "- "
scripts/kroger.sh add When adding many items, batch all searches first, then confirm selections with the user, then add all to cart.
Generated Mar 1, 2026
A user wants to quickly add items from a recipe or shopping list to their Kroger cart without manually browsing the website. They use the skill to search for each item, select the correct product, and add it to their cart, streamlining their online grocery order preparation.
A home cook or meal prep service uses the skill to search for ingredients needed for weekly meals, check product availability at a specific store location, and add items to their cart in bulk. This helps in planning purchases and managing grocery budgets efficiently.
A user needs to find the nearest Kroger store for pickup or delivery services. They use the skill to search for stores by zip code, retrieve location IDs, and set their preferred store to ensure product searches show accurate availability for that location.
A small cafe or restaurant uses the skill to search for bulk grocery items like coffee beans or canned goods, add them to a cart, and manage orders through the Kroger API. This automates procurement and reduces time spent on manual order entry.
Develop a mobile or web app that integrates this skill to offer automated grocery list management and cart filling for a monthly fee. Users benefit from time savings and personalized shopping recommendations, generating recurring revenue.
Partner with meal kit companies to embed this skill into their platforms, allowing customers to directly add required ingredients to their Kroger carts. Revenue comes from licensing fees or commissions on grocery sales driven through the integration.
Offer a free tool that uses this skill for basic product searches and cart additions, with premium features like price comparison, bulk ordering, and advanced analytics. Monetize through in-app purchases or ads.
💬 Integration Tip
Ensure OAuth tokens are securely stored and refreshed automatically to maintain seamless user access without frequent re-authentication.
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
Create, search, and manage Bear notes via grizzly CLI.
Track water and sleep with JSON file storage
Notion API for creating and managing pages, databases, and blocks.
Smart ClawdBot documentation access with local search index, cached snippets, and on-demand fetch. Token-efficient and freshness-aware.
Work with Obsidian vaults as a knowledge base. Features: fuzzy/phonetic search across all notes, auto-folder detection for new notes, create/read/edit notes with frontmatter, manage tags and wikilinks. Use when: querying knowledge base, saving notes/documents, editing existing notes by user instructions.