# Calculate HTTP Retry Delays

Retry logic becomes inconsistent when status codes, backoff attempts, caps, and Retry-After values are handled separately. This skill returns a bounded retry decision and delay through a documented calculator.

## Install

```bash
npx skillstore add requiredtruth/igneos-infra-http-retry-policy
```

## Metadata

- Status: approved
- Slug: requiredtruth-igneos-infra-http-retry-policy
- Skillstore revision: r1
- Version status: missing
- Tree hash: f9fae857b9ed8985378b1cc8e5348cbc9134ee16adb3b16d08b091e3705ecff0
- Author: requiredtruth
- GitHub username: requiredtruth
- Repository: https://github.com/requiredtruth/igneos.systems/tree/269e35454f027590f9a407361acedd6815297764/skills/igneos-infra-http-retry-policy
- Ref: 3ade555a0d4d667043fbccea630ce3e9babcc9f0
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 64
- Public page: https://skillstore.pages.dev/skills/requiredtruth-igneos-infra-http-retry-policy
- Manifest: https://skillstore.pages.dev/api/skills/requiredtruth-igneos-infra-http-retry-policy/manifest

## Capabilities

- Calculates whether an HTTP status is retryable.
- Computes a bounded delay from the attempt number and base delay.
- Applies a configured maximum delay.
- Accounts for a supplied Retry-After value.
- Reports whether the calculated delay exceeds the configured cap.
- Provides HTTP and MCP usage instructions for the Igneos calculator.

## Use Cases

- Tune API Client Backoff: Check retry delays for rate limits and transient server responses before implementing an HTTP client policy.
- Review Incident Retry Behavior: Validate whether a proposed attempt count, cap, and Retry-After value produce an acceptable recovery delay.
- Standardize Service Integrations: Use one documented calculation contract across tools that need consistent retryable-status and delay decisions.

## Prompt Templates

### Check a Basic Retry

```
Calculate the retry policy for HTTP status 429. Use the default attempt, base delay, cap, and Retry-After values. Explain the result in plain language.
```

### Compare Two Attempts

```
Calculate the retry policy for HTTP status 503 at attempt 4 with a base delay of 2 seconds and a cap of 60 seconds. Use a Retry-After value of 0.
```

### Honor Server Timing

```
Evaluate HTTP status 429 at attempt 3 with a base delay of 2 seconds, a 60-second cap, and Retry-After set to 15 seconds. State the final delay and cap result.
```

### Validate a Production Policy

```
Assess HTTP status 503 at attempt 6 using a 1.5-second base delay, a 45-second cap, and Retry-After set to 90 seconds. Explain retryability, final delay, and whether the configured cap is exceeded.
```

## Limitations

- Live calculations require access to the Igneos endpoint.
- Each live request costs 0.003 USDC through x402.
- The service accepts documented string inputs and does not design a complete application retry policy.
- Results depend on the remote service, network availability, and current payment metadata.

## Best Practices

- Provide the HTTP status and every non-default value explicitly.
- Check the recipient, amount, asset, expiry, and spending limit before signing a payment.
- Keep secrets and personal data out of request parameters.

## Anti Patterns

- Do not treat every HTTP failure as retryable.
- Do not ignore Retry-After or configured delay caps.
- Do not sign a payment when the recipient or amount is unexpected.

## Security Audit

- Audited at: 2026-12-05T09:38:34.596\+00:00
- Summary: All 15 static findings are false positives because the cited shell commands, URLs, and reconnaissance signal appear in Markdown examples or ordinary service documentation. A separate medium-confidence finding remains for the skill's paid x402 workflow, which can authorize a real charge and disclose supplied request values to a third-party service.

## Stats

- Views: 0
- Downloads: 1
- Favorites: 0
- Popularity score: 0
