Complete reference guide for using the Kroger CLI to search products, manage your cart, and automate grocery shopping at King Sooppers. Use this when you need to understand Kroger CLI commands, syntax, best practices for product selection, or troubleshoot Kroger operations.
This skill provides comprehensive documentation for the Kroger CLI tool, which enables command-line automation of grocery shopping at King Sooppers (a Kroger store).
Use this skill when you need to:
The Kroger CLI is a command-line tool for interacting with King Sooppers for automated shopping. It provides authentication, product search, and cart management capabilities.
kroger command is available in $PATH and executable directlykroger auth # Check current API authentication status
kroger login # Login to your Kroger account (use if auth fails)
kroger logout # Logout from your account
Important Notes:
kroger auth is already valid before starting operationskroger login and wait for the responsekroger store show # Show currently selected store
kroger store set [ID] # Set your default store
kroger stores [ZIP] # Search for stores by ZIP code
Assumptions:
kroger products "search term" # Search for products by name/type
kroger product [ID/UPC] # Get detailed info on a specific product
Examples:
kroger products "organic milk"
kroger products "chicken breast"
kroger product 0001111041700 # Get details for a specific UPC
When searching for products, consider:
Brand Preferences
Default Selection Strategy
Quantity & Size Matching
kroger cart add [UPC] # Add item to cart (single unit)
kroger cart add [UPC] -q 2 # Add item with specific quantity
Examples:
kroger cart add 0001111041700
kroger cart add 0001111041700 -q 2
Requirements:
kroger auth must pass)kroger product [UPC] to verify prices, sizes, and ratings before adding-q flag to add multiple units of the same product in one commandkroger login and complete the login flowkroger store showkroger [command] --help # Get detailed help for any command