{
  "schemaVersion": "1.0",
  "item": {
    "slug": "simplehttpskill",
    "name": "SimpleHttpSkill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/stephen-standridge/simplehttpskill",
    "canonicalUrl": "https://clawhub.ai/stephen-standridge/simplehttpskill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/simplehttpskill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=simplehttpskill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "clawhub.json",
      "src/http-client.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. 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": "simplehttpskill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-08T20:40:48.274Z",
      "expiresAt": "2026-05-15T20:40:48.274Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=simplehttpskill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=simplehttpskill",
        "contentDisposition": "attachment; filename=\"simplehttpskill-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "simplehttpskill"
      },
      "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/simplehttpskill"
    },
    "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/simplehttpskill",
    "agentPageUrl": "https://openagent3.xyz/skills/simplehttpskill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/simplehttpskill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/simplehttpskill/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": "Simple HTTP Skill",
        "body": "Make HTTP requests using only Node.js built-in modules. Supports all standard\nmethods, arbitrary headers, automatic retries with exponential backoff, and\nnever throws on failure — always resolves with an inspectable response object."
      },
      {
        "title": "Required Inputs",
        "body": "url (string): Fully qualified URL to request.\nmethod (string, optional): HTTP method. Default GET.\nheaders (object, optional): Request headers.\nbody (string | Buffer | object, optional): Request body. Objects are auto-serialized to JSON.\nmaxRetries (number, optional): Retry attempts for transient failures. Default 3.\ntimeout (number, optional): Socket timeout in ms. Default 30000."
      },
      {
        "title": "Step-by-Step Workflow",
        "body": "Import the client from src/http-client.js:\n\nconst { HttpClient } = require(\"./src/http-client\");\n\nCreate a client instance (optionally set default headers shared across calls):\n\nconst client = new HttpClient({\n  defaultHeaders: { Authorization: \"Bearer <token>\" },\n  maxRetries: 3,\n});\n\nMake requests using convenience methods or the generic request():\n\n// GET\nconst resp = await client.get(\"https://api.example.com/items\");\n\n// POST with JSON body\nconst resp = await client.post(\"https://api.example.com/items\", {\n  body: { name: \"widget\" },\n});\n\n// PUT with custom headers\nconst resp = await client.put(\"https://api.example.com/items/1\", {\n  headers: { \"X-Request-Id\": \"abc123\" },\n  body: { name: \"updated\" },\n});\n\n// DELETE\nconst resp = await client.delete(\"https://api.example.com/items/1\");\n\n// Generic form — any method\nconst resp = await client.request(\"PATCH\", \"https://api.example.com/items/1\", {\n  body: { qty: 5 },\n});\n\nInspect the response:\n\nif (resp.ok) {\n  console.log(resp.body);      // parsed JSON or raw string\n  console.log(resp.status);    // e.g. 200\n  console.log(resp.headers);   // response headers object\n} else {\n  console.log(resp.error);     // human-readable error (null if HTTP error with status)\n  console.log(resp.status);    // HTTP status code or null for network errors\n}"
      },
      {
        "title": "Output Format",
        "body": "Every call resolves with an object containing:\n\nKeyTypeDescriptionokbooleantrue if status is 2xxstatusnumber | nullHTTP status code; null for network-level errorsheadersobjectResponse headersbodyanyParsed JSON (if content-type is JSON), else stringerrorstring | nullError description on failure; null on success"
      },
      {
        "title": "Error Handling & Retry Behavior",
        "body": "Retried automatically: Connection errors, timeouts, and HTTP 429 / 5xx responses.\nNot retried: 4xx errors (except 429) — returned immediately.\nBackoff: Exponential with jitter (base 500ms, capped at 30s).\nGraceful failure: The client never throws. After exhausting retries, it resolves with the last error response so the caller can always inspect resp.ok and resp.error."
      },
      {
        "title": "Configuration Options",
        "body": "All options can be set at the client level (constructor) and overridden per-request:\n\nOptionDefaultDescriptiondefaultHeaders{}Headers applied to every requestmaxRetries3Max retry attemptstimeout30000Socket timeout in msbackoffBase500Base delay (ms) for exponential backoffbackoffMax30000Maximum backoff delay cap (ms)"
      },
      {
        "title": "Dependencies",
        "body": "None — uses only Node.js built-in modules (http, https, url)."
      }
    ],
    "body": "Simple HTTP Skill\n\nMake HTTP requests using only Node.js built-in modules. Supports all standard methods, arbitrary headers, automatic retries with exponential backoff, and never throws on failure — always resolves with an inspectable response object.\n\nRequired Inputs\nurl (string): Fully qualified URL to request.\nmethod (string, optional): HTTP method. Default GET.\nheaders (object, optional): Request headers.\nbody (string | Buffer | object, optional): Request body. Objects are auto-serialized to JSON.\nmaxRetries (number, optional): Retry attempts for transient failures. Default 3.\ntimeout (number, optional): Socket timeout in ms. Default 30000.\nStep-by-Step Workflow\nImport the client from src/http-client.js:\nconst { HttpClient } = require(\"./src/http-client\");\n\nCreate a client instance (optionally set default headers shared across calls):\nconst client = new HttpClient({\n  defaultHeaders: { Authorization: \"Bearer <token>\" },\n  maxRetries: 3,\n});\n\nMake requests using convenience methods or the generic request():\n// GET\nconst resp = await client.get(\"https://api.example.com/items\");\n\n// POST with JSON body\nconst resp = await client.post(\"https://api.example.com/items\", {\n  body: { name: \"widget\" },\n});\n\n// PUT with custom headers\nconst resp = await client.put(\"https://api.example.com/items/1\", {\n  headers: { \"X-Request-Id\": \"abc123\" },\n  body: { name: \"updated\" },\n});\n\n// DELETE\nconst resp = await client.delete(\"https://api.example.com/items/1\");\n\n// Generic form — any method\nconst resp = await client.request(\"PATCH\", \"https://api.example.com/items/1\", {\n  body: { qty: 5 },\n});\n\nInspect the response:\nif (resp.ok) {\n  console.log(resp.body);      // parsed JSON or raw string\n  console.log(resp.status);    // e.g. 200\n  console.log(resp.headers);   // response headers object\n} else {\n  console.log(resp.error);     // human-readable error (null if HTTP error with status)\n  console.log(resp.status);    // HTTP status code or null for network errors\n}\n\nOutput Format\n\nEvery call resolves with an object containing:\n\nKey\tType\tDescription\nok\tboolean\ttrue if status is 2xx\nstatus\tnumber | null\tHTTP status code; null for network-level errors\nheaders\tobject\tResponse headers\nbody\tany\tParsed JSON (if content-type is JSON), else string\nerror\tstring | null\tError description on failure; null on success\nError Handling & Retry Behavior\nRetried automatically: Connection errors, timeouts, and HTTP 429 / 5xx responses.\nNot retried: 4xx errors (except 429) — returned immediately.\nBackoff: Exponential with jitter (base 500ms, capped at 30s).\nGraceful failure: The client never throws. After exhausting retries, it resolves with the last error response so the caller can always inspect resp.ok and resp.error.\nConfiguration Options\n\nAll options can be set at the client level (constructor) and overridden per-request:\n\nOption\tDefault\tDescription\ndefaultHeaders\t{}\tHeaders applied to every request\nmaxRetries\t3\tMax retry attempts\ntimeout\t30000\tSocket timeout in ms\nbackoffBase\t500\tBase delay (ms) for exponential backoff\nbackoffMax\t30000\tMaximum backoff delay cap (ms)\nDependencies\n\nNone — uses only Node.js built-in modules (http, https, url)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/stephen-standridge/simplehttpskill",
    "publisherUrl": "https://clawhub.ai/stephen-standridge/simplehttpskill",
    "owner": "stephen-standridge",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/simplehttpskill",
    "downloadUrl": "https://openagent3.xyz/downloads/simplehttpskill",
    "agentUrl": "https://openagent3.xyz/skills/simplehttpskill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/simplehttpskill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/simplehttpskill/agent.md"
  }
}