# Pwn AI Httpretry

> Drive PWN::AI::HttpRetry from pwn_eval.

- Skill: `0dayinc/pwn-ai-httpretry` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add 0dayinc/pwn-ai-httpretry`
- Raw SKILL.md: https://api.skillmd.com/api/skills/0dayinc/pwn-ai-httpretry/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: 0dayInc (https://skillmd.com/u/0dayinc)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/0dayinc/pwn-ai-httpretry

---


# PWN::AI::HttpRetry

Shared REST timeout / 429 / ReadTimeout policy for every AI provider. Default wall clock per attempt is 180s with up to 5 attempts (≈900s total). Short quiet sidecar hops stay single-shot.

## When to use

Call `PWN::AI::HttpRetry` from `pwn_eval` when the task needs this module.
Do not reimplement it in shell.

## Methodologies

Generated from `pwn/ai/http_retry.rb`. Prefer the public class methods below.
Class methods take `(opts = {})` and read `opts`.

## How to call

```ruby
PWN::AI::HttpRetry.help
PWN::AI::HttpRetry.timeout_s(opts)
```

## Public methods

- `timeout_s`
- `max_attempts`
- `provider_config`
- `retryable`
- `retry_after_s`
- `quota_exhausted`
- `quota_message`
- `report_event`
- `authors`
- `help`
- `quota_exhausted?`
- `retryable?`

## References

- `references/urls.md` — URLs from source

## Source

`pwn/ai/http_retry.rb`

## Verification

`PWN::AI::HttpRetry.respond_to?(:timeout_s)` after the
module is loaded. Read the source for parameter names.

