{
  "schemaVersion": "1.0",
  "item": {
    "slug": "http-retry",
    "name": "http-retry",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/2233admin/http-retry",
    "canonicalUrl": "https://clawhub.ai/2233admin/http-retry",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/http-retry",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=http-retry",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "package.json"
    ],
    "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",
      "slug": "http-retry",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T04:11:17.736Z",
      "expiresAt": "2026-05-19T04:11:17.736Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=http-retry",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=http-retry",
        "contentDisposition": "attachment; filename=\"http-retry-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "http-retry"
      },
      "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/http-retry"
    },
    "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/http-retry",
    "agentPageUrl": "https://openagent3.xyz/skills/http-retry/agent",
    "manifestUrl": "https://openagent3.xyz/skills/http-retry/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/http-retry/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": "HTTP 重试技能",
        "body": "触发词: timeouterror, econnreset, econnrefused, 429, retry, http error, 网络超时"
      },
      {
        "title": "问题",
        "body": "网络请求失败（超时、连接重置、限流）导致服务不稳定"
      },
      {
        "title": "解决方案",
        "body": "指数退避 + 超时控制 + 连接池复用\n\nasync function fetchWithRetry(url, options = {}, maxRetries = 3) {\n  const { retryDelay = 1000, timeout = 30000 } = options;\n  \n  for (let attempt = 0; attempt <= maxRetries; attempt++) {\n    try {\n      const controller = new AbortController();\n      const timeoutId = setTimeout(() => controller.abort(), timeout);\n      const response = await fetch(url, { ...options, signal: controller.signal });\n      clearTimeout(timeoutId);\n      \n      if (response.status === 429 || response.status >= 500) {\n        await new Promise(r => setTimeout(r, retryDelay * Math.pow(2, attempt)));\n        continue;\n      }\n      return response;\n    } catch (err) {\n      if (attempt === maxRetries) throw err;\n      await new Promise(r => setTimeout(r, retryDelay * Math.pow(2, attempt)));\n    }\n  }\n}"
      }
    ],
    "body": "HTTP 重试技能\n\n触发词: timeouterror, econnreset, econnrefused, 429, retry, http error, 网络超时\n\n问题\n\n网络请求失败（超时、连接重置、限流）导致服务不稳定\n\n解决方案\n\n指数退避 + 超时控制 + 连接池复用\n\nasync function fetchWithRetry(url, options = {}, maxRetries = 3) {\n  const { retryDelay = 1000, timeout = 30000 } = options;\n  \n  for (let attempt = 0; attempt <= maxRetries; attempt++) {\n    try {\n      const controller = new AbortController();\n      const timeoutId = setTimeout(() => controller.abort(), timeout);\n      const response = await fetch(url, { ...options, signal: controller.signal });\n      clearTimeout(timeoutId);\n      \n      if (response.status === 429 || response.status >= 500) {\n        await new Promise(r => setTimeout(r, retryDelay * Math.pow(2, attempt)));\n        continue;\n      }\n      return response;\n    } catch (err) {\n      if (attempt === maxRetries) throw err;\n      await new Promise(r => setTimeout(r, retryDelay * Math.pow(2, attempt)));\n    }\n  }\n}"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/2233admin/http-retry",
    "publisherUrl": "https://clawhub.ai/2233admin/http-retry",
    "owner": "2233admin",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/http-retry",
    "downloadUrl": "https://openagent3.xyz/downloads/http-retry",
    "agentUrl": "https://openagent3.xyz/skills/http-retry/agent",
    "manifestUrl": "https://openagent3.xyz/skills/http-retry/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/http-retry/agent.md"
  }
}