- Home
- Skills
- Productivity
- Retry Wait — Paste Base Delay and Tries, Get Each Wait
Retry Wait — Paste Base Delay and Tries, Get Each Wait
Paste one retry policy per CSV row and get each wait between attempts plus the total, using exponential backoff with an optional cap.
$5
Works with the AI Agents you already use
Retry Wait — Paste Base Delay and Tries, Get Each Wait
Example session with this skill installed
python3 scripts/retry_wait.py examples/policies.csv
- Read your context and instructions
- Compiled the retry wait
Policy Tries Cap Waits Total
Deploy API 4 none 500.0ms, 1000.0ms, 2000.0ms 3500.0ms
Database retry 5 3.0s 1.0s, 1.5s, 2.3s, 3.0s 7.8s
2 readable rows; 0 unreadable lines.
Connects securely to your tools. The creator never sees your data.
About this skill
Paste one retry policy per CSV row. The command returns each wait between attempts and the sum for that policy. It applies exponential backoff with an optional cap, shows each cap (or none) in every output format, uses the stated unit, and does not add jitter or recommend settings.
Input
The CSV header is label,base,factor,tries,cap. Each row has a label, a positive base such as 500ms or 1.5s, a factor of at least 1, tries from 1 through 1000, and an optional positive cap with the same unit as base. A blank cap means no cap. Only ms and s are accepted.
Calculation
For tries n, the tool returns n − 1 waits. Wait k is min(base × factor^(k−1), cap) when a cap is present, otherwise base × factor^(k−1). Total is the sum of the unrounded waits. Displayed values use one decimal place (ROUND_HALF_UP).
Output
Choose --format text (default), markdown, csv, or json. Use - as input for standard input. --output PATH writes UTF-8 to a new file and refuses to overwrite. A row that cannot be read is marked unreadable and later rows continue.
Quick start
python3 scripts/retry_wait.py examples/policies.csv
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.
The tool calculates the arithmetic sequence only. It does not model jitter, network timing, retry budgets, policy selection, or whether a retry strategy is appropriate for a service. It accepts CSV rather than free-form prose. Blank cap cells mean no cap; unsupported or mismatched units are unreadable.
How to use
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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 7 days ago
- Software
Python 3.9+