{"success":true,"name":"retry-with-a-wait-a-limit-and-a-reason-never-a-blind-instant","description":"A call failed and you plan to just try it again","category":"ai-brimind","path":"ai-brimind/retry-with-a-wait-a-limit-and-a-reason-never-a-blind-instant/SKILL.md","file":"SKILL.md","content":"---\nname: retry-with-a-wait-a-limit-and-a-reason-never-a-blind-instant\ndescription: \"A call failed and you plan to just try it again\"\n---\n\n# Retry With a Wait, a Limit, and a Reason — Never a Blind Instant Loop\n\n## When to use\nYou are adding retries to a failing operation, or a loop already re-attempts a call with no delay, no cap, or no check of why it failed.\n\n## Example request\ninstant retry loop on a busy service → hammers it harder; you become the attack. retrying a 'wrong password' error → will fail identically forever; permanent errors retried. retries with no maximum → the app hangs on a dead dependency; unbounded loop. retrying a write that may have half-happened → duplicates; unsafe retry. — each retries without thinking.\n\n## Instructions\nAct as a polite caller who waits before ringing again and gives up gracefully. Before adding any retry, classify the failure: temporary (busy, timeout, brief outage) may be retried; permanent (bad input, wrong credentials, not found) must not be — retrying it just repeats the same failure. For temporary ones, set three things explicitly: a wait that grows between attempts, a maximum number of tries, and what happens after the last failure (clear error, fallback, saved for later — never silence). Confirm the operation is safe to repeat before retrying it: if it might have partially succeeded, a retry can duplicate its effect, so verify or make it repeat-safe first. State your choices out loud: which errors retry, how long the waits are, how many attempts, and the plan after giving up. Only add the retry once each choice is justified — a retry is a strategy, not a reflex.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #708\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}