# Send kroger to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kroger",
    "name": "kroger",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tongyanli-hash/kroger",
    "canonicalUrl": "https://clawhub.ai/tongyanli-hash/kroger",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/kroger",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kroger",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/kroger.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "kroger",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T05:42:03.072Z",
      "expiresAt": "2026-05-19T05:42:03.072Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kroger",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kroger",
        "contentDisposition": "attachment; filename=\"kroger-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "kroger"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kroger"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kroger",
    "downloadUrl": "https://openagent3.xyz/downloads/kroger",
    "agentUrl": "https://openagent3.xyz/skills/kroger/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kroger/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kroger/agent.md"
  }
}
```
## Documentation

### 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

### 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_URL printed by scripts/kroger.sh auth
Log in at Kroger
Copy the redirected URL (even if the page errors)
Extract the code parameter and run:

scripts/kroger.sh exchange <code>

Tokens auto-refresh. Re-auth only needed if refresh token expires.

### 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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: tongyanli-hash
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-12T05:42:03.072Z
- Expires at: 2026-05-19T05:42:03.072Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/kroger)
- [Send to Agent page](https://openagent3.xyz/skills/kroger/agent)
- [JSON manifest](https://openagent3.xyz/skills/kroger/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/kroger/agent.md)
- [Download page](https://openagent3.xyz/downloads/kroger)