# Send SimpleHttpSkill to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/simplehttpskill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=simplehttpskill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "clawhub.json",
      "src/http-client.js"
    ],
    "downloadMode": "redirect",
    "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Simple HTTP Skill

Make 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.

### Required Inputs

url (string): Fully qualified URL to request.
method (string, optional): HTTP method. Default GET.
headers (object, optional): Request headers.
body (string | Buffer | object, optional): Request body. Objects are auto-serialized to JSON.
maxRetries (number, optional): Retry attempts for transient failures. Default 3.
timeout (number, optional): Socket timeout in ms. Default 30000.

### Step-by-Step Workflow

Import the client from src/http-client.js:

const { HttpClient } = require("./src/http-client");

Create a client instance (optionally set default headers shared across calls):

const client = new HttpClient({
  defaultHeaders: { Authorization: "Bearer <token>" },
  maxRetries: 3,
});

Make requests using convenience methods or the generic request():

// GET
const resp = await client.get("https://api.example.com/items");

// POST with JSON body
const resp = await client.post("https://api.example.com/items", {
  body: { name: "widget" },
});

// PUT with custom headers
const resp = await client.put("https://api.example.com/items/1", {
  headers: { "X-Request-Id": "abc123" },
  body: { name: "updated" },
});

// DELETE
const resp = await client.delete("https://api.example.com/items/1");

// Generic form — any method
const resp = await client.request("PATCH", "https://api.example.com/items/1", {
  body: { qty: 5 },
});

Inspect the response:

if (resp.ok) {
  console.log(resp.body);      // parsed JSON or raw string
  console.log(resp.status);    // e.g. 200
  console.log(resp.headers);   // response headers object
} else {
  console.log(resp.error);     // human-readable error (null if HTTP error with status)
  console.log(resp.status);    // HTTP status code or null for network errors
}

### Output Format

Every call resolves with an object containing:

KeyTypeDescriptionokbooleantrue 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

### Error Handling & Retry Behavior

Retried automatically: Connection errors, timeouts, and HTTP 429 / 5xx responses.
Not retried: 4xx errors (except 429) — returned immediately.
Backoff: Exponential with jitter (base 500ms, capped at 30s).
Graceful 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.

### Configuration Options

All options can be set at the client level (constructor) and overridden per-request:

OptionDefaultDescriptiondefaultHeaders{}Headers applied to every requestmaxRetries3Max retry attemptstimeout30000Socket timeout in msbackoffBase500Base delay (ms) for exponential backoffbackoffMax30000Maximum backoff delay cap (ms)

### Dependencies

None — uses only Node.js built-in modules (http, https, url).
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: stephen-standridge
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-08T20:40:48.274Z
- Expires at: 2026-05-15T20:40:48.274Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/simplehttpskill)
- [Send to Agent page](https://openagent3.xyz/skills/simplehttpskill/agent)
- [JSON manifest](https://openagent3.xyz/skills/simplehttpskill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/simplehttpskill/agent.md)
- [Download page](https://openagent3.xyz/downloads/simplehttpskill)