kroger-api-skill
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
03 SKILL.md 正文
Kroger/QFC API Skill
Overview
Skill for searching Kroger/QFC products, managing cart, checking pickup availability, and creating pickup orders. Uses official Kroger API. QFC chain ID: 213.
Setup
- Sign up at developer.kroger.com, create app.
- Add redirect URI e.g. http://localhost
- Scopes:
product.compact locations.read fulfillment.readwrite orders.pickup.create - Edit
state.json: addclient_id,client_secret,chain_id: "213" - OAuth:
python3 scripts/client.py --state state.json oauth-url- Visit URL, login, authorize.
- Copy code from redirect (e.g. http://localhost?code=ABC123)
python3 scripts/client.py --state state.json oauth-exchange ABC123
Usage (via exec)
Run from workspace root:
Search products
python3 kroger-api.skill/scripts/client.py search \"milk\" --chain-id 213 --limit 5
Output: JSON products with id (UPC), attributes.description, attributes.brand etc.
Find locations
python3 kroger-api.skill/scripts/client.py locations 98101 --chain-id 213
Output: locations with id, attributes.address.addressLine1 etc.
Cart (local)
python3 kroger-api.skill/scripts/client.py cart-add 0001111101001 2 # UPC qty
python3 kroger-api.skill/scripts/client.py cart-get
python3 kroger-api.skill/scripts/client.py cart-clear
Check availability
python3 kroger-api.skill/scripts/client.py availability LOC123 --items '[{"upc":"UPC","quantity":1}]'
Create order
python3 kroger-api.skill/scripts/client.py order-create LOC123 \"2026-02-14T10:00:00Z\" --items '[{"upc":"UPC","quantity":1}]'
Grocery list integration
Create grocery-list.txt:
milk
bread
eggs
python3 kroger-api.skill/scripts/client.py grocery --zip 98101
Lists items & locations. Agent: for each item search, pick UPC (e.g. first result), add_to_cart, then availability, order.
Agent Workflow Example
- User: "Add milk and eggs to Kroger cart"
- Search "milk", pick UPC1, cart-add
- Search "eggs", pick UPC2, cart-add
- User: "Find QFC near 98101" → locations
- Set location-set LOC
- cart-get → items
- availability → pick slot
- order-create with slot time.
State
state.json: tokens, cart, location_id.
Notes
- Endpoints based on Kroger API docs. Verify at developer.kroger.com/reference
- UPC from products.id
- Pickup datetime: ISO 8601 UTC
- Errors: check API response
- Token auto-refreshes.
Package as kroger-api.skill/
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/.