Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

kroger

bởi tongyanli-hash

Search & Research
468Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Search Kroger products and add items to a Kroger cart via the Kroger API.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Add milk, eggs, and bread to my Kroger cart

AGENT
  1. 1

    Search for each item using scripts/kroger.sh search

  2. 2

    Present top results to the user for confirmation

  3. 3

    Run scripts/kroger.sh add for each confirmed product ID

  4. 4

    Confirm all items were added to the cart

ĐẦU RA

Three items added to the user's Kroger cart with correct quantities

Yêu cầu

  • 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

Cài đặt

clawhub install tongyanli-hash/kroger

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết