retry-safety

retry-safety is a skill for Claude Code from escoffier-labs/skillet. It costs 84 tokens per session (1,599 once invoked), scanned A, a copy of retry-safety, MIT.

A review guide for checking whether operations remain safe when run more than once. It focuses on side effects such as database changes, file updates, network requests, payments, and messages sent through queues.

In plain words
What is it for?
It is for reviewing retry logic, crash recovery, scheduled jobs, and code that changes data or communicates with outside systems.
Why use it?
Retries can happen after timeouts, crashes, or duplicate queue deliveries, and may create duplicate data or repeat an action. This guide helps identify those risks before code is shipped.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skillet plugin — 39 skills, 1 hook shipped together

Good fit It is for reviewing retry logic, crash recovery, scheduled jobs, and code that changes data or communicates with outside systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/escoffier-labs/skillet/retry-safety
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add escoffier-labs/skillet --skill retry-safety
Clone the repo
git clone --depth 1 https://github.com/escoffier-labs/skillet

Made for: Claude Code.

Or install skillet, the plugin that ships this one along with the rest of its 39 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for retry-safety

README.md
[![agentmods](https://agentmods.dev/badge/skills/escoffier-labs/skillet/retry-safety/github.svg)](https://agentmods.dev/skills/escoffier-labs/skillet/retry-safety)
Your own site
<a href="https://agentmods.dev/skills/escoffier-labs/skillet/retry-safety"><img src="https://agentmods.dev/badge/skills/escoffier-labs/skillet/retry-safety/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for retry-safety

Your own site · 80×15
<a href="https://agentmods.dev/skills/escoffier-labs/skillet/retry-safety"><img src="https://agentmods.dev/badge/skills/escoffier-labs/skillet/retry-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,599 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.01599
Opus 5.5 $0.00034 $0.00640
Sonnet 5.5 $0.00017 $0.00320
Haiku 4.5 $0.00008 $0.00160

Measured 10d ago against content hash 790512fd2cfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

retry-safety scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to retry-safety — 39 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skillet/skills/retry-safety/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

retry-safety

Fire the same ticket twice and the kitchen must not charge the table twice. Timeouts, crashes, queue redeliveries, and impatient callers re-run operations constantly. The only question is whether the second run finishes the remainder or doubles the damage.

Core principle: the standard is idempotent read-modify-write at the side-effecting edge. The operation reads current state before writing, so a re-run over work already done completes the remainder and changes nothing else. Anything short of that needs a named reason it is still safe.

Read-only. This is a review lens. Fixing is a separate engagement: hand the finished report to fix-findings, which works the backlog in leverage order. When the diff touches no side-effecting surface, say so in one line and stop.

The sweep

For each side-effecting edge in the diff, simulate two failure shapes: the whole operation retried after a timeout, and a crash halfway followed by a re-run.

Surface The double-run hazard
Database writes duplicate rows, double-applied increments, constraint violations on the second pass
Migrations re-running a completed step corrupts or aborts (see the migration section)
File and data writes appends that double, partial files clobbered, temp files orphaned, readers seeing a half-written file
Network mutations the remote applied the first call and the retry applies it again (no idempotency key)
Payments and external calls double charge, double email, double webhook - the ones users notice
Queues and events redelivery is at-least-once almost everywhere, and consumers assume exactly-once
Caches and counters increments and TTL refreshes that drift under replay

A transaction is not an answer by itself: the transaction makes one attempt atomic, and then the caller retries the whole transaction.

Leftovers: the stale test

Read the full file on GitHub · 94 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +1 lines 790512fd2cfd
  2. 26d ago Changed · +2 tokens per session 7d9c2c3c3e5d
  3. 1mo ago Changed · +13 lines 1a1229667aa0
  4. 3mo ago First seen · 80 lines · 82 tokens per session scan A 948114cb8e19

Subscribe to this mod's changes

retry-safety is a skill published in the GitHub repository escoffier-labs/skillet (4 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 1,599 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to retry-safety, differing in 39 lines, and is treated as a copy.

Related

retry-safety compared with skills from other repositories

retry-safety next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
retry-safetyescoffier-labs/skilletSkill4yesterdayMITA84Claude Code
craft-auditgul-labs/craftsman-marketplaceSkill128d agoMITA197Claude Code
craft-backendgul-labs/craftsman-marketplaceSkill128d agoMITA138Claude Code
production-auditapoorvjain25/production-auditSkill195mo agoMITA63Claude Code
pr-summaryscenario-labs/skillsSkill4.3ktodayMITA42Codex
refactor-advisorlaolaoshiren/claude-code-skills-zhSkill927yesterdayMITA104Claude Code
review-workcode-yeongyu/oh-my-openagentSkill71ktodaynoneA63Claude Code, Codex