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.
npx skills add d-padmanabhan/agent-engineering-handbook --skill service-resiliencegit clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbookWrote 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.
[](https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/service-resilience)<a href="https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/service-resilience"><img src="https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/service-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.
<a href="https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/service-resilience"><img src="https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/service-resilience.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.01585 |
| Opus 5.5 | $0.00031 | $0.00634 |
| Sonnet 5.5 | $0.00015 | $0.00317 |
| Haiku 4.5 | $0.00008 | $0.00159 |
Grade A, and why
service-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.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Service Resilience
Design resilience as a bounded failure policy, not a collection of decorators. Every mechanism must protect a stated critical journey without creating retry storms, stale success, hidden data loss, or fragmented capacity.
Resilience Contract
- Begin with critical journeys, SLOs, dependency budgets, and acceptable degraded outcomes.
- Put one end-to-end deadline around the operation. Allocate smaller attempt timeouts within it.
- Retry only classified transient failures for idempotent operations or operations protected by stable idempotency keys.
- Bound attempts, elapsed time, concurrency, queues, memory, and retry amplification.
- Isolate unrelated workloads with bulkheads sized from capacity and priority.
- Shed excess work before saturation destroys useful throughput.
- Use circuit breakers only when rejecting likely failures is cheaper and safer than attempting them.
- Treat fallbacks as alternate correctness contracts. Never return stale or fabricated success silently.
- Make ambiguous mutation outcomes reconcilable.
- Test failure, overload, recovery, and control-plane behavior with measurable acceptance criteria.
Design Workflow
1. Define the critical journey
State:
- caller and business outcome;
- availability and latency SLO;
- synchronous dependencies;
- consistency and freshness requirements;
- acceptable partial or degraded result;
- operations that must fail closed;
- recovery owner and escalation path.
Do not apply one resilience policy to every endpoint or workload.
2. Allocate time and failure budgets
For each synchronous dependency, define:
- end-to-end deadline contribution;
- connect, request, and response timeout;
- retry owner and maximum attempts;
- transient failure classification;
- idempotency or reconciliation contract;
- concurrency and queue budget;
- fallback or explicit failure behavior.
Account for DNS, connection pools, proxies, SDK retries, service meshes, and gateways. Hidden retries consume the same caller deadline and multiply load.
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.
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.
- 10d ago Changed · +12 lines 878c84d56167
- 3mo ago First seen · 162 lines · 77 tokens per session scan A 2ddd81d89d5e
service-resilience is a skill published in the GitHub repository d-padmanabhan/agent-engineering-handbook (21 stars, last pushed 9d ago), licensed MIT. It adds 77 tokens to every session and 1,585 once invoked, about $0.0003 per session on Opus 5.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-09-03.
service-resilience compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| service-resilienced-padmanabhan/agent-engineering-handbook | Skill | 21 | 9d ago | MIT | A | 77 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.4k | yesterday | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | 2d ago | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.3k | 2d ago | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 709 | 3d ago | MIT | A | 105 | Claude Code, Codex |