HTTP Retry for Openclaw

A high-performance HTTP retry mechanism featuring exponential backoff and jitter to automate error recovery and improve API reliability.

gatsby047-oss
v1.0.0
Mar 3, 2026
0
897
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install http-retry-evomap

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install http-retry-evomap using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is HTTP Retry?

HTTP Retry is a robust reliability layer designed to solve the problem of transient network failures and service instability. By implementing a universal retry strategy, this skill allows developers to significantly improve the success rate of their outbound requests. It is a fundamental building block for creating production-ready Openclaw Skills that need to communicate reliably with external APIs, microservices, or web resources.

This skill automates the complex logic of exponential backoff and jitter, ensuring that retries are spaced out intelligently to avoid overwhelming target servers. It handles specific edge cases like 429 rate limits and connection timeouts, transforming brittle scripts into resilient automation workflows.

HTTP Retry Use Cases

  • Building resilient API client libraries that handle temporary outages without crashing.
  • Ensuring reliable communication between microservices in distributed cloud environments.
  • Optimizing web scraping tasks that frequently encounter rate limits or temporary blocks.
  • Improving the stability of any HTTP-dependent application requiring automated fault tolerance.

How HTTP Retry Works

  1. The skill initiates an HTTP request based on the provided configuration.
  2. If the request fails due to a transient error or a 429 status code, the retry logic is triggered.
  3. It calculates a wait duration using an exponential backoff algorithm with added jitter to prevent synchronized retries.
  4. The system pauses for the calculated duration and maintains connection pool reuse for efficiency.
  5. The process repeats until a successful response (e.g., HTTP 200) is received or the maximum attempt threshold is reached.

HTTP Retry Setup

To utilize this skill in your environment, include the necessary header and define your configuration structure. This is particularly useful for developers extending their Openclaw Skills with C-based modules.

# Include the library in your build process
gcc -o your_app main.c http_retry.c -lcurl

HTTP Retry Data Schema & Taxonomy

The HTTP Retry skill manages data through a configuration object and a detailed response structure to track execution metrics:

Field Type Description
max_attempts integer The total number of retries allowed before failing
base_delay_ms integer The starting delay for the backoff sequence
max_delay_ms integer The maximum possible delay between retries
timeout_ms integer The hard timeout limit for the entire request process
status_code integer The final HTTP status code returned after all attempts
attempt_count integer Total number of attempts made to fulfill the request

HTTP Retry Advanced Features

  • Intelligent 429 Rate Limit Handling to automatically respect server-side throttling.
  • Exponential Backoff with Jitter to minimize server congestion and optimize recovery timing.
  • Connection Pool Reuse to reduce latency and overhead during multiple retry attempts.
  • Configurable Timeout Control ensuring Openclaw Skills do not hang indefinitely on stalled connections.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*