{
  "schemaVersion": "1.0",
  "item": {
    "slug": "skill-spapi",
    "name": "SP-API Skill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Zero2Ai-hub/skill-spapi",
    "canonicalUrl": "https://clawhub.ai/Zero2Ai-hub/skill-spapi",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/skill-spapi",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-spapi",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/auth.js",
      "scripts/inventory.js",
      "scripts/listings.js",
      "scripts/orders.js"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "skill-spapi",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-08T09:19:27.133Z",
      "expiresAt": "2026-05-15T09:19:27.133Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-spapi",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-spapi",
        "contentDisposition": "attachment; filename=\"skill-spapi-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "skill-spapi"
      },
      "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/skill-spapi"
    },
    "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/skill-spapi",
    "agentPageUrl": "https://openagent3.xyz/skills/skill-spapi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/skill-spapi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/skill-spapi/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Amazon SP-API Skill",
        "body": "Fetch orders, check FBA inventory, and manage listings — plug-and-play for any OpenClaw agent."
      },
      {
        "title": "1. Install dependency",
        "body": "npm install amazon-sp-api"
      },
      {
        "title": "2. Create credentials file",
        "body": "{\n  \"lwaClientId\": \"amzn1.application-oa2-client.YOUR_CLIENT_ID\",\n  \"lwaClientSecret\": \"YOUR_CLIENT_SECRET\",\n  \"refreshToken\": \"Atzr|YOUR_REFRESH_TOKEN\",\n  \"region\": \"eu\",\n  \"marketplace\": \"YOUR_MARKETPLACE_ID\",\n  \"sellerId\": \"YOUR_SELLER_ID\"\n}\n\nSave as amazon-sp-api.json. Set AMAZON_SPAPI_PATH env var to point to it (default: ./amazon-sp-api.json).\n\nRegions: na | eu | fe\nMarketplace IDs: Full list"
      },
      {
        "title": "auth.js — Test Connection",
        "body": "node scripts/auth.js"
      },
      {
        "title": "orders.js — Orders",
        "body": "node scripts/orders.js --list                          # last 7 days\nnode scripts/orders.js --list --days 30\nnode scripts/orders.js --list --status Unshipped\nnode scripts/orders.js --list --out orders.json\nnode scripts/orders.js --get ORDER-ID"
      },
      {
        "title": "inventory.js — FBA Inventory",
        "body": "node scripts/inventory.js\nnode scripts/inventory.js --sku \"MY-SKU\"\nnode scripts/inventory.js --out inventory.json"
      },
      {
        "title": "listings.js — Listings & Pricing",
        "body": "node scripts/listings.js --get \"MY-SKU\"\nnode scripts/listings.js --update \"MY-SKU\" --price 99.00\nnode scripts/listings.js --update \"MY-SKU\" --price 99.00 --currency USD"
      },
      {
        "title": "Notes",
        "body": "Tokens auto-refresh via LWA — no manual management\nKeep credential files at chmod 600\nRespect SP-API rate limits per endpoint"
      },
      {
        "title": "Related",
        "body": "skill-amazon-ads — Campaign & bid management"
      }
    ],
    "body": "Amazon SP-API Skill\n\nFetch orders, check FBA inventory, and manage listings — plug-and-play for any OpenClaw agent.\n\nSetup\n1. Install dependency\nnpm install amazon-sp-api\n\n2. Create credentials file\n{\n  \"lwaClientId\": \"amzn1.application-oa2-client.YOUR_CLIENT_ID\",\n  \"lwaClientSecret\": \"YOUR_CLIENT_SECRET\",\n  \"refreshToken\": \"Atzr|YOUR_REFRESH_TOKEN\",\n  \"region\": \"eu\",\n  \"marketplace\": \"YOUR_MARKETPLACE_ID\",\n  \"sellerId\": \"YOUR_SELLER_ID\"\n}\n\n\nSave as amazon-sp-api.json. Set AMAZON_SPAPI_PATH env var to point to it (default: ./amazon-sp-api.json).\n\nRegions: na | eu | fe Marketplace IDs: Full list\n\nScripts\nauth.js — Test Connection\nnode scripts/auth.js\n\norders.js — Orders\nnode scripts/orders.js --list                          # last 7 days\nnode scripts/orders.js --list --days 30\nnode scripts/orders.js --list --status Unshipped\nnode scripts/orders.js --list --out orders.json\nnode scripts/orders.js --get ORDER-ID\n\ninventory.js — FBA Inventory\nnode scripts/inventory.js\nnode scripts/inventory.js --sku \"MY-SKU\"\nnode scripts/inventory.js --out inventory.json\n\nlistings.js — Listings & Pricing\nnode scripts/listings.js --get \"MY-SKU\"\nnode scripts/listings.js --update \"MY-SKU\" --price 99.00\nnode scripts/listings.js --update \"MY-SKU\" --price 99.00 --currency USD\n\nNotes\nTokens auto-refresh via LWA — no manual management\nKeep credential files at chmod 600\nRespect SP-API rate limits per endpoint\nRelated\nskill-amazon-ads — Campaign & bid management"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Zero2Ai-hub/skill-spapi",
    "publisherUrl": "https://clawhub.ai/Zero2Ai-hub/skill-spapi",
    "owner": "Zero2Ai-hub",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/skill-spapi",
    "downloadUrl": "https://openagent3.xyz/downloads/skill-spapi",
    "agentUrl": "https://openagent3.xyz/skills/skill-spapi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/skill-spapi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/skill-spapi/agent.md"
  }
}