More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Repair Retry-After Header & Backoff Handling Bugs

    1

    Diagnose or review Retry-After parsing, delta-seconds versus HTTP-date, clock skew, maximum backoff, retry budgets, 429/503 policy, jitter, cancellation, and deterministic tests. Works from repositories/workspaces or supplied evidence and produces concrete findings, bounded repairs or readiness gates, and deterministic validation while preserving public behavior, authorization, security boundaries, and evidence honesty.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Retry-After Header & Backoff Handling Bugs

    Repair Retry-After Header & Backoff Handling Bugs

    Example session with this skill installed

    An API client respects Retry-After after 429 responses. Numeric values work, but an HTTP-date value is parsed in local time and can become negative on machines outside UTC. Negative delays are treated as zero, causing an immediate retry burst. The client also ignores its 30-second overall retry budget when the header requests 120 seconds.

    • Read your context and instructions
    • Compiled the repair retry-after header

    FAULT BOUNDARY IDENTIFIED

    Case analyzed

    An API client respects Retry-After after 429 responses. Numeric values work, but an HTTP-date value is parsed in local time and can become negative on machines outside UTC. Negative delays are treated as zero, causing an immediate retry burst. The client also ignores its 30-second overall retry budget when the header requests 120 seconds.

    The supplied facts are sufficient to perform a concrete repair diagnosis for this case. No repository, production, vendor, or legal access is assumed.

    Verified evidence

    • VERIFIED: Numeric Retry-After works.
    • VERIFIED: HTTP-date is incorrectly parsed using local time.
    • VERIFIED: Negative computed delays trigger immediate retries.
    • VERIFIED: A 30-second overall retry budget exists but a 120-second header can override it.

    Concrete findings

    1. HTTP-date must be parsed as an absolute UTC instant; local-time parsing explains the negative delay outside UTC.
    2. A negative computed delay must not become an immediate synchronized retry; route it through bounded retry policy.
    3. Retry-After is server guidance, not authority to exceed the client's 30-second total retry budget.
    4. For 503 Retry-After: 15, preserve the minimum wait but add bounded positive jitter so hundreds of workers do not wake together.
    5. The sleep must observe cancellation.

    The canonical acceptance rule is

    Retry-After handling is safe only when both legal formats are parsed consistently, negative or extreme values are bounded, retry budgets and cancellation remain authoritative, and server guidance does not create synchronized retry storms.

    The current result is based on that invariant, not on a generic success banner or a reusable checklist.

    Required actions

    1. Delta-Seconds Parsing: repair the ownin

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Repair Retry-After Header & Backoff Handling Bugs is a ToolForge Labs workflow for Retry-After parsing, delta-seconds versus HTTP-date, clock skew, maximum backoff, retry budgets, 429/503 policy, jitter, cancellation, and deterministic tests. It performs the supplied case instead of returning a generic template, separates verified evidence from hypotheses, and produces bounded repair or readiness actions with deterministic validation.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Does not modify infrastructure-level rate limiters like Nginx or Cloudflare. Focuses strictly on client-side parsing and handling logic.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Use a clean branch or controlled review workspace. Supply relevant files, logs, traces, configuration, documents, sample data, or policy evidence. Review changes and owner decisions before merge or operational action.

    Listed1 month ago
    Updated6 days ago

    What's inside

    Frequently Asked Questions

    This skill fixes common API integration failures by auditing how your application interprets Retry-After headers and manages exponential backoff, specifically addressing issues like clock skew, incorrect date parsing, and missing jitter.

    The skill is optimized for TypeScript and backend environments; it requires access to your repository or specific error logs to analyze your current 429 and 503 error handling logic.

    Yes, the skill is designed to produce deterministic tests that simulate rate-limiting scenarios, ensuring your retry logic works reliably before you deploy to production.

    You receive a comprehensive diagnostic report, concrete code repairs for parsing and backoff logic, and a set of validation gates to prevent future regression of HTTP-RFC compliance.

    Unlike generic templates, this skill performs deep analysis of your actual codebase to separate verified evidence from hypotheses, ensuring repairs preserve your specific security and authorization boundaries.

    New in APIs & Backend