rc-resilience

rc-resilience is a skill for Claude Code from rodolfochicone/rc-project. It costs 89 tokens per session (543 once invoked), scanned A, original, MIT.

A set of Portuguese-language guides for making distributed, event-driven systems handle failure safely. These systems use services and message queues, where delays, duplicate messages, and failed consumers are normal possibilities.

In plain words
What is it for?
Use it when designing or reviewing producers and consumers with tools such as EventBridge or SQS, especially for retries, timeouts, duplicate handling, dead-letter queues, and circuit breakers.
Why use it?
It helps prevent lost data, overloaded services, and stuck messages when networks or workers fail.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Part of the rc plugin — 32 skills, 2 commands, 4 agents, 5 hooks shipped together

Good fit Use it when designing or reviewing producers and consumers with tools such as EventBridge or SQS, especially for retries, timeouts, duplicate handling, dead-letter queues, and circuit breakers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rodolfochicone/rc-project/rc-resilience
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 rodolfochicone/rc-project --skill rc-resilience
Clone the repo
git clone --depth 1 https://github.com/rodolfochicone/rc-project

Made for: Claude Code.

Or install rc, the plugin that ships this one along with the rest of its 32 skills, 2 commands, 4 agents, 5 hooks.

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 rc-resilience

README.md
[![agentmods](https://agentmods.dev/badge/skills/rodolfochicone/rc-project/rc-resilience/github.svg)](https://agentmods.dev/skills/rodolfochicone/rc-project/rc-resilience)
Your own site
<a href="https://agentmods.dev/skills/rodolfochicone/rc-project/rc-resilience"><img src="https://agentmods.dev/badge/skills/rodolfochicone/rc-project/rc-resilience/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 rc-resilience

Your own site · 80×15
<a href="https://agentmods.dev/skills/rodolfochicone/rc-project/rc-resilience"><img src="https://agentmods.dev/badge/skills/rodolfochicone/rc-project/rc-resilience.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 543 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 original No closer match found 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.00089 $0.00543
Opus 5 $0.00044 $0.00271
Sonnet 5 $0.00018 $0.00109
Haiku 4.5 $0.00009 $0.00054

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

Security

Grade A, and why

rc-resilience 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.

skills/misc/rc-resilience/SKILL.md · 38 lines

What it actually says

Resiliência (event-driven) — guias por tarefa

Leia o guia da tarefa em references/ antes de agir. A premissa de todo guia aqui é a mesma: falha de rede, entrega duplicada e consumidor morto não são exceção — são o caso normal em sistemas distribuídos (Lambda, ECS, EventBridge, SQS). Projete para isso, não para o caminho feliz.

Roteamento

Tarefa Guia
Idempotência, deduplicação e "exactly-once" references/idempotency.md
Timeout, retry com backoff/jitter, circuit breaker, bulkhead references/retries-timeouts.md
Poison message, DLQ, redrive, partial batch failure references/dlq-poison.md

Princípios sempre válidos

  • Assuma at-least-once. Todo consumidor precisa ser idempotente — a mensagem duplicada vai chegar.
  • Toda chamada remota tem timeout. E é retryable ou não — decida explicitamente, nunca por padrão implícito da lib.
  • Falha precisa ter destino. DLQ, não log-e-segue. Se a falha não vai a lugar nenhum, ela vira perda silenciosa de dado.
  • Retry sem backoff+jitter é ataque DDoS ao próprio sistema. Retry ingênuo em massa derruba o serviço que já está degradado.

Error Handling

Sem acesso à infra real (fila, tabela de idempotência, alarmes), projete a resiliência no código e no IaC (Terraform/CDK/SAM) e diga explicitamente que a validação em runtime — redrive de DLQ, teste de duplicata em ambiente real, disparo do circuit breaker sob carga — ficou pendente. Para ver o efeito de uma falha em produção (logs, métricas, alarme de profundidade de DLQ), use rc-observability.

Files

What ships with it

3 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 First seen · 38 lines · 89 tokens per session scan A 319c69988a03

Subscribe to this mod's changes

rc-resilience is a skill published in the GitHub repository rodolfochicone/rc-project (19 stars, last pushed 1mo ago), licensed MIT. It adds 89 tokens to every session and 543 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

opensrc

Fetch dependency source code to give AI agents deeper implementation context. Use when the agent needs to understand how a library works internally, read source code for a package, fetch implementation details for a dependency, or explore how an npm/PyPI/crates.io package is built. Triggers include "fetch source for"…

vercel-labs/opensrc · 103 tokens

multi-tenant-architecture

Designs tenant isolation, hostname routing, custom-domain lifecycle, and plan limits on Cloudflare or Vercel. Use when asked to "isolate tenant data", "support custom domains", "build a white-label platform", or assess PSL registration. For general module structure use codebase-architecture; for SEO content use seo.

mblode/agent-skills · 72 tokens

inbound-email

Handle email arriving at a ServiceNow instance — inbound email action ordering and stop-processing, the real syseventinemailaction column names, and reading sysemail when a message created no record.

serac-labs/serac · 43 tokens

mcp-tool-discovery

Find and call tools on this ServiceNow MCP server — the two meta-tools it starts with, why a missing session id makes every other tool unreachable, which queries actually match, and which advertised tools are not on the server at all.

serac-labs/serac · 53 tokens

background-script-execution

What actually happens when you call snowexecutescript — the Scripted REST endpoint Serac auto-deploys on first use, the scheduled-job fallback, what scheduledjobpending means, and how to get output back when the call comes home empty.

serac-labs/serac · 54 tokens

csdm-modeling

Pick the right ServiceNow service class under the Common Service Data Model — business service, service offering, application service, business application — and point the CMDB tools at it without creating the records CSDM tells customers to migrate away from.

serac-labs/serac · 53 tokens