← 返回 Skills 市场
johnnywang2001

Jrv Http Client

作者 John Wang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
158
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install jrv-http-client
功能描述
Make HTTP requests from the command line with support for auth (Bearer, Basic, API key), custom headers, JSON/form body, response formatting, timing, and his...
使用说明 (SKILL.md)

jrv-http-client

A developer-friendly HTTP client for agents and scripts. Supports all HTTP methods, authentication, request bodies, pretty-printed responses, timing, and request history — all without needing curl flags memorized.

Quick Start

# Simple GET request
python3 scripts/http_client.py GET https://httpbin.org/get

# POST with JSON body
python3 scripts/http_client.py POST https://httpbin.org/post --json '{"name": "test"}'

# POST with form data
python3 scripts/http_client.py POST https://httpbin.org/post --form "name=test&value=42"

# PUT request
python3 scripts/http_client.py PUT https://api.example.com/users/1 --json '{"role": "admin"}'

# DELETE request
python3 scripts/http_client.py DELETE https://api.example.com/users/1

# Bearer token auth
python3 scripts/http_client.py GET https://api.example.com/me --bearer "mytoken123"

# Basic auth
python3 scripts/http_client.py GET https://api.example.com/data --auth "user:password"

# API key header
python3 scripts/http_client.py GET https://api.example.com/data --api-key "X-API-Key:abc123"

# Custom headers
python3 scripts/http_client.py GET https://api.example.com/ --header "Accept: application/json" --header "X-App: myapp"

# Follow redirects
python3 scripts/http_client.py GET https://example.com/ --follow

# Show only status code
python3 scripts/http_client.py GET https://api.example.com/health --status-only

# Output response to file
python3 scripts/http_client.py GET https://example.com/data.json --output response.json

# Timeout
python3 scripts/http_client.py GET https://slow.api.example.com/ --timeout 10

# Show request timing
python3 scripts/http_client.py GET https://httpbin.org/get --timing

# Output as JSON (for scripting)
python3 scripts/http_client.py GET https://httpbin.org/get --output-json

Commands

Option Description
GET/POST/PUT/DELETE/PATCH/HEAD HTTP method
\x3Curl> Target URL
--json \x3Cbody> JSON request body (sets Content-Type: application/json)
--form \x3Cdata> Form-encoded body (key=value&key2=val2)
--bearer \x3Ctoken> Bearer token Authorization header
--auth \x3Cuser:pass> Basic auth
--api-key \x3CHeader:value> Custom API key header
--header \x3CH: V> Add custom header (repeatable)
--follow Follow redirects (default: no)
--timeout N Request timeout in seconds (default: 30)
--status-only Print only the HTTP status code
--output \x3Cfile> Save response body to file
--output-json Output full response as JSON (status, headers, body, timing)
--timing Show request/response timing
--no-verify Skip TLS certificate verification
--verbose Show request headers sent

Response Format

By default, responses are pretty-printed:

  • JSON responses are syntax-highlighted and indented
  • Other responses show raw text
  • Status line and response headers are always shown

Exit Codes

  • 0 — HTTP 2xx response
  • 1 — HTTP 4xx/5xx response
  • 2 — Network error, timeout, or usage error

Use Cases

  • API testing: Quick endpoint checks without Postman
  • Health monitoring: Check if an API returns 200
  • Auth testing: Test Bearer/Basic/API key auth flows
  • Webhook debugging: Send test payloads to webhook endpoints
  • CI scripts: Trigger API actions or check health in pipelines
安全使用建议
This skill appears to be a normal CLI HTTP client and is coherent with its description. Before installing or using it, consider: (1) The provided script was truncated in the submission so the tail of the code (where history logging or other behavior could live) was not visible — review the full file locally before trusting it. (2) Avoid passing sensitive tokens or passwords on the command line where possible (they can appear in process lists and shell history); if you must, be aware of that exposure. (3) --no-verify disables TLS verification and can enable man-in-the-middle attacks — use only for testing. (4) Output to files may persist sensitive response bodies on disk. If you plan to let an agent invoke this autonomously, ensure the agent's scope and the URLs it may contact are restricted to trusted endpoints.
功能分析
Type: OpenClaw Skill Name: jrv-http-client Version: 1.0.0 The jrv-http-client skill is a functional HTTP client utility implemented using Python's standard library (urllib). It provides standard features such as support for various HTTP methods, authentication headers (Bearer, Basic, API Key), and response formatting. Analysis of scripts/http_client.py and SKILL.md shows no evidence of malicious intent, data exfiltration, or obfuscation; the tool operates strictly on user-provided arguments and aligns with its stated purpose.
能力评估
Purpose & Capability
Name/description and the included Python script align: this is an HTTP client supporting auth, headers, bodies, timing, and formatted output. The SKILL.md mentions 'history logging' which was not visible in the portion of scripts/http_client.py provided (file content was truncated), so that specific claim may not be implemented.
Instruction Scope
Runtime instructions only direct the agent to run the local Python script with URL, headers, and auth arguments. The script performs network requests and can write a response to a local file if requested; it does not read arbitrary local configuration or other system secrets (no required env vars or config paths).
Install Mechanism
No install spec is provided (instruction-only with an included script). Nothing is downloaded or installed during runtime; risk is limited to executing the bundled Python script.
Credentials
The skill requests no environment variables or external credentials. It accepts credentials via CLI flags (--bearer, --auth, --api-key). This is proportionate, but passing secrets on a command line can expose them in process listings and shell history — an operational risk the user should consider.
Persistence & Privilege
The skill does not request persistent presence (always: false) and does not modify other skills or system-wide config. It runs only when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jrv-http-client
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jrv-http-client 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of jrv-http-client — a command-line HTTP client aimed at being a curl replacement with cleaner, agent-friendly output. - Supports all HTTP methods, authentication (Bearer, Basic, API key), custom headers, JSON/form body. - Provides pretty-printed responses, status/timing display, and request history logging. - Flexible output options: save to file, output as JSON, status-only mode. - Features for scripting and automation: exit codes, timeout, TLS skip, verbose mode. - Designed for ease of use in API testing, auth testing, monitoring, and CI scripts.
元数据
Slug jrv-http-client
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Jrv Http Client 是什么?

Make HTTP requests from the command line with support for auth (Bearer, Basic, API key), custom headers, JSON/form body, response formatting, timing, and his... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 158 次。

如何安装 Jrv Http Client?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install jrv-http-client」即可一键安装,无需额外配置。

Jrv Http Client 是免费的吗?

是的,Jrv Http Client 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Jrv Http Client 支持哪些平台?

Jrv Http Client 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Jrv Http Client?

由 John Wang(@johnnywang2001)开发并维护,当前版本 v1.0.0。

💬 留言讨论