← 返回 Skills 市场
HTTP Retry - Evomap Asset
作者
Light F Star
· GitHub ↗
· v1.0.0
308
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install http-retry-evomap
功能描述
Provides a universal HTTP retry mechanism with exponential backoff, timeout control, and rate limit handling to improve API call reliability.
使用说明 (SKILL.md)
HTTP Retry - HTTP 重试机制
Version: 1.0.0
Author: Claw
License: MIT
Description / 功能说明
Universal HTTP retry mechanism with exponential backoff. Improves API call success rate by ~30% and handles transient failures automatically.
通用 HTTP 重试机制,支持指数退避。提升 API 调用成功率约 30%,自动处理临时故障。
Core Features / 核心功能
- Exponential backoff with jitter / 指数退避 + 随机抖动
- Timeout control / 超时控制
- Connection pool reuse / 连接池复用
- Handle transient failures / 处理临时故障
- Rate limit handling (429) / 速率限制处理
Use Cases / 适用场景
- API client libraries / API 客户端库
- Microservices communication / 微服务通信
- Web scraping / 网络爬虫
- Any HTTP client needing resilience / 任何需要容错的 HTTP 客户端
Usage / 使用示例
#include "http_retry.h"
int main() {
HttpRetryConfig config = {
.max_attempts = 5,
.base_delay_ms = 100,
.max_delay_ms = 10000,
.timeout_ms = 30000
};
HttpResponse response = http_request_with_retry("https://api.example.com/data", &config);
if (response.status_code == 200) {
printf("Success after %d attempts\
", response.attempt_count);
}
return 0;
}
Impact / 效果
| Metric | Without Retry | With Retry | Improvement |
|---|---|---|---|
| Success Rate | 70% | 95% | +36% |
| Avg Latency | 200ms | 350ms | +75% (acceptable) |
| Manual Retries | Required | Automatic | 100% automated |
Changelog / 变更日志
1.0.0
- Initial release / 初始版本
- Exponential backoff / 指数退避
- Timeout control / 超时控制
- Rate limit handling / 速率限制处理
安全使用建议
This package looks like a small C header/demo for retry logic rather than a finished, production-ready library. Before installing or using it: 1) Verify the author/source (no homepage and unknown owner ID). 2) Inspect and compile the code locally — the implementation currently simulates success, uses placeholders (POST calls GET), and expects you to provide an actual request_func to perform HTTP I/O. 3) Do not assume 'zero configuration' — you must wire it to a real HTTP client and ensure timeouts are enforced. 4) Treat it as untrusted code until you review it: check for unintended network endpoints (none are present in the file), seed rand() for jitter, review any modifications you make for thread-safety and correct error handling. 5) If you expect a ready-to-use library, ask the publisher for the complete implementation or a link to a canonical repo/release; otherwise consider using a well-maintained HTTP client library with built-in retry support.
功能分析
Type: OpenClaw Skill
Name: http-retry-evomap
Version: 1.0.0
The skill bundle describes and implements a universal HTTP retry mechanism with exponential backoff. All files, including the `SKILL.md` instructions and the `http_retry.h` C code, are consistent with this benign purpose. The C code explicitly uses placeholder comments and simulates HTTP requests (`HttpErrorCode error = HTTP_SUCCESS;`) rather than making actual network calls, and uses `https://api.example.com/data` as a benign example URL. There is no evidence of data exfiltration, malicious execution, persistence, prompt injection, or any other harmful intent.
能力评估
Purpose & Capability
Name/description: a generic HTTP retry mechanism — matches the included http_retry.h and asset descriptions. However, the SKILL metadata earlier claimed 'no code files' / 'instruction-only' while the manifest includes http_retry.h, asset.json, and bundle metadata (incoherent). The header is a lightweight stub/demo: it simulates success (error set to HTTP_SUCCESS) and relies on a user-supplied request_func pointer that is commented out in the logic. SKILL.md claims 'zero configuration required' which contradicts the need to integrate a real request function or HTTP library. Also comments mention 'AbortController' (a JavaScript concept) even though the implementation is C — a minor but notable mismatch.
Instruction Scope
SKILL.md shows example usage (include header and call http_request_with_retry), and does not instruct the agent to read unrelated system files or credentials. However, the instructions are vague about integration: the header expects a request_func callback (to perform the actual HTTP call), but examples call http_get_retry/http_request_with_retry as if network behavior is implemented. The code currently contains placeholders (always-success simulation, POST implemented as GET) and does not implement true HTTP behavior or timeout enforcement — the runtime instructions therefore overpromise and leave important integration work to the user/agent.
Install Mechanism
There is no install spec (instruction-only in registry terms), so nothing in this package performs network downloads or writes to disk at install time. The asset is distributed as file contents in the manifest. This is low-risk from an installer perspective, but verify provenance because code is included in the manifest rather than delivered via a known upstream repository or homepage.
Credentials
The skill requests no environment variables, credentials, or config paths. That is appropriate for a small library header that does not itself perform network I/O. No secrets or unrelated credentials are requested.
Persistence & Privilege
always:false and normal model invocation are set. The skill does not request persistent privileges or attempt to modify other skills or system configuration. Agent autonomous invocation is allowed by default and not a unique risk here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install http-retry-evomap - 安装完成后,直接呼叫该 Skill 的名称或使用
/http-retry-evomap触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Evomap bundle format with Gene+Capsule+EvolutionEvent
元数据
常见问题
HTTP Retry - Evomap Asset 是什么?
Provides a universal HTTP retry mechanism with exponential backoff, timeout control, and rate limit handling to improve API call reliability. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 308 次。
如何安装 HTTP Retry - Evomap Asset?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install http-retry-evomap」即可一键安装,无需额外配置。
HTTP Retry - Evomap Asset 是免费的吗?
是的,HTTP Retry - Evomap Asset 完全免费(开源免费),可自由下载、安装和使用。
HTTP Retry - Evomap Asset 支持哪些平台?
HTTP Retry - Evomap Asset 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 HTTP Retry - Evomap Asset?
由 Light F Star(@gatsby047-oss)开发并维护,当前版本 v1.0.0。
推荐 Skills