cap_http_request

cap_http_request is a skill for Claude Code, Codex from espressif/esp-claw. It costs 29 tokens per session (698 once invoked), scanned A, original, Apache-2.0.

A guarded tool for sending HTTP or HTTPS requests to approved web addresses and receiving their response.

In plain words
What is it for?
It helps call approved endpoints with methods, headers, and request bodies, then return the response or save it to a device file.
Why use it?
It removes the need to build a separate network client for fetching data from a known API or downloading a file.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps call approved endpoints with methods, headers, and request bodies, then return the response or save it to a device file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/espressif/esp-claw/cap_http_request
About the project

ESP-Claw is an AI agent framework that runs on Espressif IoT chips and lets people define device behavior through conversation. It handles local sensing, decision-making, and execution for connected devices, with support for event-driven actions, structured memory, and MCP communication.

espressif/esp-claw · 2,260 stars · on GitHub · esp-claw.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add espressif/esp-claw --skill cap_http_request
Clone the repo
git clone --depth 1 https://github.com/espressif/esp-claw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cap_http_request

README.md
[![agentmods](https://agentmods.dev/badge/skills/espressif/esp-claw/cap_http_request/github.svg)](https://agentmods.dev/skills/espressif/esp-claw/cap_http_request)
Your own site
<a href="https://agentmods.dev/skills/espressif/esp-claw/cap_http_request"><img src="https://agentmods.dev/badge/skills/espressif/esp-claw/cap_http_request/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cap_http_request

Your own site · 80×15
<a href="https://agentmods.dev/skills/espressif/esp-claw/cap_http_request"><img src="https://agentmods.dev/badge/skills/espressif/esp-claw/cap_http_request.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 32
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 79
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Excessive Agency · line 62
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00698
Opus 5.5 $0.00012 $0.00279
Sonnet 5.5 $0.00006 $0.00140
Haiku 4.5 $0.00003 $0.00070

Measured today against content hash 4546d661833b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cap_http_request scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

components/claw_capabilities/cap_http_request/skills/cap_http_request/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HTTP Request

Use this skill when the task needs a direct HTTP or HTTPS request to a known endpoint instead of search-engine results.

When to use

  • The user needs raw API or file content from a specific URL.
  • A workflow already knows the target endpoint and only needs a guarded fetch.
  • The request should stay inside the device allowlist policy.

Available capability

  • http_request: send standard HTTP requests to allowlisted domains or IPs and return status plus body text, or save the response body directly to a file.

Calling rules

  • Only call http_request when the target host is expected to be in the configured allowlist.
  • Input must be a JSON object:
{
  "url": "https://api.example.com/v1/data",
  "method": "GET",
  "headers": {
    "Authorization": "Bearer <token>"
  },
  "body": "",
  "timeout_ms": 15000,
  "max_body_bytes": 16384,
  "save_path": "/spiffs/download.bin",
  "max_file_bytes": 1048576
}
  • url is required and must start with http:// or https://.
  • method defaults to GET.
  • body is only valid for methods that accept a request body.
  • save_path is optional. When present, the response body is streamed directly to this file and is not returned in memory.
  • max_body_bytes applies only when returning the response body as text.
  • max_file_bytes is optional and applies only when save_path is present.
  • Redirects are allowed only when the redirect target also matches the allowlist.

Output shape

  • The capability returns plain text, not JSON.
  • Success format:
    • HTTP <status>
    • followed by the response body text
  • File-save success format:
    • HTTP <status>
    • Saved response body to <path> (<bytes> bytes)
  • Common error strings include:
    • Error: HTTP allowlist is empty; configure search_http_allowlist first
    • Error: host '...' is not in allowlist
    • Error: method must be GET/POST/PUT/PATCH/DELETE/HEAD
    • Error: save_path must be a non-empty string
    • Error: failed to open save_path
    • Error: http request failed (...)

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -1 lines 4546d661833b
  2. 1mo ago First seen · 95 lines · 29 tokens per session scan A 501a512552ea

Subscribe to this mod's changes

cap_http_request is a skill published in the GitHub repository espressif/esp-claw (2,260 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 698 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens

agui-dotnet-protobuf

Use the protobuf wire transport (instead of the default Server-Sent Events) for an AG-UI connection with the AG-UI .NET SDK — a compact binary event stream negotiated via the Accept header. USE FOR: making an AGUIChatClient prefer protobuf by wiring an AGUIEventStreamHandler with ProtobufEventStreamFormatter (then…

ag-ui-protocol/ag-ui · 162 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

fastapi-router-py

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

microsoft/skills · 46 tokens

dev-runtime

How the Node side of a dev stack runs without haven, and the backend host: pnpm dev (UI built once, backend reloading), pnpm dev:hmr (adds the Vite ui lane), tools/dev-runtime (api + worker in one Node process), backend reload on a file change, the debounce (quiet window + max wait), ports derived from PORT. Use when…

langwatch/langwatch · 172 tokens

migrate-segw-to-rap

Reverse-engineer a SEGW-built OData V2 service (MPC/DPC/MPCEXT/DPCEXT) into a modern RAP V4 service — tables, CDS views (interface + projection), behavior definitions, draft entities, service definition + binding. Use when asked to "migrate this SEGW service to RAP", "convert OData V2 to V4 RAP", "modernize this…

arc-mcp/arc-1 · 106 tokens