{
  "schemaVersion": "1.0",
  "item": {
    "slug": "shipstation-orders",
    "name": "ShipStation Orders",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/cprice70/shipstation-orders",
    "canonicalUrl": "https://clawhub.ai/cprice70/shipstation-orders",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/shipstation-orders",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=shipstation-orders",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "check-orders.js",
      "check-shipping.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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/shipstation-orders"
    },
    "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/shipstation-orders",
    "agentPageUrl": "https://openagent3.xyz/skills/shipstation-orders/agent",
    "manifestUrl": "https://openagent3.xyz/skills/shipstation-orders/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/shipstation-orders/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": "ShipStation Order Monitor",
        "body": "Monitor ShipStation for new orders and issues. Perfect for e-commerce businesses using ShipStation to aggregate orders from multiple marketplaces."
      },
      {
        "title": "Features",
        "body": "✅ New order notifications\n⚠️ Alert for orders stuck in processing (>48h)\n🛑 Flag orders on hold\n🚚 Immediate alert for expedited/2-day/priority orders\n📊 Daily summary reports\n🔄 Automatic state tracking (avoids duplicate alerts)"
      },
      {
        "title": "Requirements",
        "body": "ShipStation account with API access\nNode.js (included with OpenClaw)"
      },
      {
        "title": "1. Get ShipStation API Credentials",
        "body": "Log into ShipStation\nGo to Settings → Account → API Settings\nUse Legacy API (V1) - generate API Key + API Secret"
      },
      {
        "title": "2. Configure Credentials",
        "body": "Create .env file in your workspace:\n\nSHIPSTATION_API_KEY=your_api_key_here\nSHIPSTATION_API_SECRET=your_api_secret_here"
      },
      {
        "title": "3. Test the Monitor",
        "body": "node check-orders.js\n\nOutput shows:\n\nTotal orders in last 24h\nNew orders detected\nAny alerts\n\nExit codes:\n\n0 - Success, no alerts\n1 - Success, alerts found\n2 - Error (API failure, bad credentials)"
      },
      {
        "title": "4. Set Up Heartbeat Monitoring (Optional)",
        "body": "Add to your agent's HEARTBEAT.md:\n\n## Check Orders\n\nEvery 15 minutes:\n\n1. Run: `node check-orders.js`\n2. Parse results\n3. If new orders or alerts → notify via sessions_send\n4. If nothing → HEARTBEAT_OK\n\nOr use a cron job for scheduled checks."
      },
      {
        "title": "Manual Check",
        "body": "node check-orders.js"
      },
      {
        "title": "In Agent Heartbeat",
        "body": "const { exec } = require('child_process');\n\nexec('node check-orders.js', (error, stdout, stderr) => {\n  const results = JSON.parse(stdout);\n  \n  if (results.newOrdersList.length > 0) {\n    // Notify about new orders\n  }\n  \n  if (results.alerts.length > 0) {\n    // Notify about issues\n  }\n});"
      },
      {
        "title": "Alert Conditions",
        "body": "New Orders:\n\nAny order in awaiting_shipment or awaiting_payment status\n\nIssues Flagged:\n\nOrders awaiting shipment > 48 hours\nOrders on hold (payment verification, address issues, etc.)\n\nAPI Errors:\n\nAuthentication failures\nRate limit exceeded\nNetwork issues"
      },
      {
        "title": "State Management",
        "body": "The script maintains state.json to track:\n\nLast check timestamp\nProcessed order IDs (prevents duplicate alerts)\nPending alerts\nInventory warnings (future feature)\n\nState file auto-prunes to last 1000 orders."
      },
      {
        "title": "Customization",
        "body": "Edit check-orders.js to adjust:\n\nAlert Thresholds:\n\n// Line ~70: Change from 48 hours to 24 hours\nif (order.orderStatus === 'awaiting_shipment' && ageHours > 24) {\n\nTime Window:\n\n// Line ~60: Change from 24 hours to 12 hours\nconst yesterday = new Date(Date.now() - 12 * 60 * 60 * 1000).toISOString();\n\nAdditional Checks:\nAdd custom logic for your business needs (high-value orders, specific products, etc.)"
      },
      {
        "title": "API Reference",
        "body": "Uses ShipStation API V1\n\nRate Limits:\n\n40 requests per minute\nScript uses 1 request per check\n\nKey Endpoints Used:\n\nGET /orders?modifyDateStart={date}&pageSize=100"
      },
      {
        "title": "Troubleshooting",
        "body": "Error: \"API credentials not configured\"\n\nCheck .env file exists in same directory\nVerify credentials don't contain placeholder text\n\nError: \"ShipStation API error: 401\"\n\nCredentials are incorrect\nRegenerate API key in ShipStation\n\nError: \"ShipStation API error: 429\"\n\nRate limit exceeded\nReduce check frequency\n\nNo new orders detected but they exist:\n\nCheck modifyDateStart window (default: 24h)\nVerify orders have been modified recently in ShipStation\nCheck state.json - might already be processed"
      },
      {
        "title": "Files",
        "body": "check-orders.js - Main order monitoring script\ncheck-shipping.js - Expedited shipping alert monitor\nstate.json - Auto-generated order state tracking\nshipping-state.json - Auto-generated shipping state tracking\n.env - Your credentials (add to .gitignore!)"
      },
      {
        "title": "License",
        "body": "MIT"
      },
      {
        "title": "Author",
        "body": "Built for OpenClaw multi-agent systems."
      }
    ],
    "body": "ShipStation Order Monitor\n\nMonitor ShipStation for new orders and issues. Perfect for e-commerce businesses using ShipStation to aggregate orders from multiple marketplaces.\n\nFeatures\n✅ New order notifications\n⚠️ Alert for orders stuck in processing (>48h)\n🛑 Flag orders on hold\n🚚 Immediate alert for expedited/2-day/priority orders\n📊 Daily summary reports\n🔄 Automatic state tracking (avoids duplicate alerts)\nRequirements\nShipStation account with API access\nNode.js (included with OpenClaw)\nSetup\n1. Get ShipStation API Credentials\nLog into ShipStation\nGo to Settings → Account → API Settings\nUse Legacy API (V1) - generate API Key + API Secret\n2. Configure Credentials\n\nCreate .env file in your workspace:\n\nSHIPSTATION_API_KEY=your_api_key_here\nSHIPSTATION_API_SECRET=your_api_secret_here\n\n3. Test the Monitor\nnode check-orders.js\n\n\nOutput shows:\n\nTotal orders in last 24h\nNew orders detected\nAny alerts\n\nExit codes:\n\n0 - Success, no alerts\n1 - Success, alerts found\n2 - Error (API failure, bad credentials)\n4. Set Up Heartbeat Monitoring (Optional)\n\nAdd to your agent's HEARTBEAT.md:\n\n## Check Orders\n\nEvery 15 minutes:\n\n1. Run: `node check-orders.js`\n2. Parse results\n3. If new orders or alerts → notify via sessions_send\n4. If nothing → HEARTBEAT_OK\n\n\nOr use a cron job for scheduled checks.\n\nUsage\nManual Check\nnode check-orders.js\n\nIn Agent Heartbeat\nconst { exec } = require('child_process');\n\nexec('node check-orders.js', (error, stdout, stderr) => {\n  const results = JSON.parse(stdout);\n  \n  if (results.newOrdersList.length > 0) {\n    // Notify about new orders\n  }\n  \n  if (results.alerts.length > 0) {\n    // Notify about issues\n  }\n});\n\nAlert Conditions\n\nNew Orders:\n\nAny order in awaiting_shipment or awaiting_payment status\n\nIssues Flagged:\n\nOrders awaiting shipment > 48 hours\nOrders on hold (payment verification, address issues, etc.)\n\nAPI Errors:\n\nAuthentication failures\nRate limit exceeded\nNetwork issues\nState Management\n\nThe script maintains state.json to track:\n\nLast check timestamp\nProcessed order IDs (prevents duplicate alerts)\nPending alerts\nInventory warnings (future feature)\n\nState file auto-prunes to last 1000 orders.\n\nCustomization\n\nEdit check-orders.js to adjust:\n\nAlert Thresholds:\n\n// Line ~70: Change from 48 hours to 24 hours\nif (order.orderStatus === 'awaiting_shipment' && ageHours > 24) {\n\n\nTime Window:\n\n// Line ~60: Change from 24 hours to 12 hours\nconst yesterday = new Date(Date.now() - 12 * 60 * 60 * 1000).toISOString();\n\n\nAdditional Checks: Add custom logic for your business needs (high-value orders, specific products, etc.)\n\nAPI Reference\n\nUses ShipStation API V1\n\nRate Limits:\n\n40 requests per minute\nScript uses 1 request per check\n\nKey Endpoints Used:\n\nGET /orders?modifyDateStart={date}&pageSize=100\nTroubleshooting\n\nError: \"API credentials not configured\"\n\nCheck .env file exists in same directory\nVerify credentials don't contain placeholder text\n\nError: \"ShipStation API error: 401\"\n\nCredentials are incorrect\nRegenerate API key in ShipStation\n\nError: \"ShipStation API error: 429\"\n\nRate limit exceeded\nReduce check frequency\n\nNo new orders detected but they exist:\n\nCheck modifyDateStart window (default: 24h)\nVerify orders have been modified recently in ShipStation\nCheck state.json - might already be processed\nFiles\ncheck-orders.js - Main order monitoring script\ncheck-shipping.js - Expedited shipping alert monitor\nstate.json - Auto-generated order state tracking\nshipping-state.json - Auto-generated shipping state tracking\n.env - Your credentials (add to .gitignore!)\nLicense\n\nMIT\n\nAuthor\n\nBuilt for OpenClaw multi-agent systems."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/cprice70/shipstation-orders",
    "publisherUrl": "https://clawhub.ai/cprice70/shipstation-orders",
    "owner": "cprice70",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/shipstation-orders",
    "downloadUrl": "https://openagent3.xyz/downloads/shipstation-orders",
    "agentUrl": "https://openagent3.xyz/skills/shipstation-orders/agent",
    "manifestUrl": "https://openagent3.xyz/skills/shipstation-orders/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/shipstation-orders/agent.md"
  }
}