{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/kroger",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kroger",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/kroger.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/kroger",
    "agentPageUrl": "https://openagent3.xyz/skills/kroger/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kroger/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kroger/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Kroger",
        "body": "Search products, add to cart, and find store locations via the Kroger public API."
      },
      {
        "title": "Prerequisites",
        "body": "Kroger developer account at https://developer.kroger.com\nRegistered application with Product and Cart API access\nOAuth redirect URI configured in the Kroger app settings"
      },
      {
        "title": "Environment Variables",
        "body": "Set these before using:\n\nexport KROGER_CLIENT_ID=\"your-client-id\"\nexport KROGER_CLIENT_SECRET=\"your-client-secret\"\n\nOptional:\n\nKROGER_TOKEN_FILE — token storage path (default: ~/.kroger-tokens.json)\nKROGER_REDIRECT_URI — OAuth callback URL (default: http://localhost:8888/callback)\nKROGER_LOCATION_ID — store ID for location-specific product availability"
      },
      {
        "title": "1. Register a Kroger Developer App",
        "body": "Go to https://developer.kroger.com\nCreate an application\nEnable Product and Cart scopes\nSet redirect URI to http://localhost:8888/callback\nNote Client ID and Client Secret"
      },
      {
        "title": "2. Authenticate",
        "body": "Run the auth flow — opens a browser for Kroger login:\n\nscripts/kroger.sh auth\n\nIf the redirect URI isn't localhost (e.g., cloud-hosted), use the manual flow:\n\nOpen the AUTH_URL printed by scripts/kroger.sh auth\nLog in at Kroger\nCopy the redirected URL (even if the page errors)\nExtract the code parameter and run:\n\nscripts/kroger.sh exchange <code>\n\nTokens auto-refresh. Re-auth only needed if refresh token expires."
      },
      {
        "title": "Search products",
        "body": "scripts/kroger.sh search \"cannellini beans\"\n\nReturns up to 5 results with product IDs, descriptions, and brands."
      },
      {
        "title": "Add to cart",
        "body": "scripts/kroger.sh add <productId> [quantity]\n\nRequires prior OAuth login. Quantity defaults to 1."
      },
      {
        "title": "Find nearby stores",
        "body": "scripts/kroger.sh locations <zipcode>\n\nReturns up to 5 stores with location IDs. Set KROGER_LOCATION_ID to filter product search by store."
      },
      {
        "title": "Check auth status",
        "body": "scripts/kroger.sh token"
      },
      {
        "title": "Workflow: Grocery List → Cart",
        "body": "Typical flow for adding a grocery list to Kroger:\n\nSearch each item: scripts/kroger.sh search \"<item>\"\nPick the best match from results\nAdd to cart: scripts/kroger.sh add <productId> <qty>\nRepeat for all items\n\nWhen adding many items, batch all searches first, then confirm selections with the user, then add all to cart."
      }
    ],
    "body": "Kroger\n\nSearch products, add to cart, and find store locations via the Kroger public API.\n\nPrerequisites\nKroger developer account at https://developer.kroger.com\nRegistered application with Product and Cart API access\nOAuth redirect URI configured in the Kroger app settings\nEnvironment Variables\n\nSet these before using:\n\nexport KROGER_CLIENT_ID=\"your-client-id\"\nexport KROGER_CLIENT_SECRET=\"your-client-secret\"\n\n\nOptional:\n\nKROGER_TOKEN_FILE — token storage path (default: ~/.kroger-tokens.json)\nKROGER_REDIRECT_URI — OAuth callback URL (default: http://localhost:8888/callback)\nKROGER_LOCATION_ID — store ID for location-specific product availability\nSetup (One-Time)\n1. Register a Kroger Developer App\nGo to https://developer.kroger.com\nCreate an application\nEnable Product and Cart scopes\nSet redirect URI to http://localhost:8888/callback\nNote Client ID and Client Secret\n2. Authenticate\n\nRun the auth flow — opens a browser for Kroger login:\n\nscripts/kroger.sh auth\n\n\nIf the redirect URI isn't localhost (e.g., cloud-hosted), use the manual flow:\n\nOpen the AUTH_URL printed by scripts/kroger.sh auth\nLog in at Kroger\nCopy the redirected URL (even if the page errors)\nExtract the code parameter and run:\nscripts/kroger.sh exchange <code>\n\n\nTokens auto-refresh. Re-auth only needed if refresh token expires.\n\nActions\nSearch products\nscripts/kroger.sh search \"cannellini beans\"\n\n\nReturns up to 5 results with product IDs, descriptions, and brands.\n\nAdd to cart\nscripts/kroger.sh add <productId> [quantity]\n\n\nRequires prior OAuth login. Quantity defaults to 1.\n\nFind nearby stores\nscripts/kroger.sh locations <zipcode>\n\n\nReturns up to 5 stores with location IDs. Set KROGER_LOCATION_ID to filter product search by store.\n\nCheck auth status\nscripts/kroger.sh token\n\nWorkflow: Grocery List → Cart\n\nTypical flow for adding a grocery list to Kroger:\n\nSearch each item: scripts/kroger.sh search \"<item>\"\nPick the best match from results\nAdd to cart: scripts/kroger.sh add <productId> <qty>\nRepeat for all items\n\nWhen adding many items, batch all searches first, then confirm selections with the user, then add all to cart."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tongyanli-hash/kroger",
    "publisherUrl": "https://clawhub.ai/tongyanli-hash/kroger",
    "owner": "tongyanli-hash",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}