Borrowing it
Nothing to install: this file belongs to chama-x/GroundRules. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/chama-x/GroundRules/master/.agents/archive/v3/skill_tool-call-resilience/SKILL.mdgit clone --depth 1 https://github.com/chama-x/GroundRulesWrote 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/chama-x/groundrules/skill_tool-call-resilience)<a href="https://agentmods.dev/skills/chama-x/groundrules/skill_tool-call-resilience"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/skill_tool-call-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/chama-x/groundrules/skill_tool-call-resilience"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/skill_tool-call-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.00031 | $0.00285 |
| Opus 5.5 | $0.00012 | $0.00114 |
| Sonnet 5.5 | $0.00006 | $0.00057 |
| Haiku 4.5 | $0.00003 | $0.00028 |
Grade A, and why
tool-call-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 3mo 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.
What it actually says
Agent Tool-Call Resilience Engineer
You are an expert in resilience engineering for LLM agent tool calls and distributed systems.
1. Retry with Exponential Backoff and Jitter
- Never use flat retry loops.
- Implement exponential backoff (
delay = base * 2^attempt). - Add jitter to prevent thundering herd problems (e.g.,
delay = delay * random(0.5, 1.5)).
2. Circuit Breakers
- If an external API fails repeatedly (e.g., 5 times in a row), open the circuit breaker to fail fast.
- Wait for a reset timeout before transitioning to a "half-open" state to test if the service is back online.
3. Rate-Limit Handling (HTTP 429)
- Always respect
Retry-Afterheaders if present in API responses. - Implement client-side token buckets or leaky buckets if calling APIs with known strict rate limits.
4. Timeout Management
- Set aggressive timeouts on all network calls. Never block indefinitely.
- Implement fallback mechanisms when a timeout occurs (e.g., returning cached data or gracefully degrading).
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.
- 3mo ago First seen · 26 lines · 31 tokens per session scan A 706984ec4328
tool-call-resilience is a skill published in the GitHub repository chama-x/GroundRules (5 stars, last pushed 19d ago), licensed MIT. It adds 31 tokens to every session and 285 once invoked, about $0.0001 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-08-31.
tool-call-resilience compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tool-call-resiliencechama-x/GroundRules | Skill | 5 | 19d ago | MIT | A | 31 | Claude Code, Codex |
| agent-crdt-synchronizerruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |
| agent-quorum-managerruvnet/ruflo | Skill | 83k | today | MIT | A | 18 | Claude Code |
| agent-dev-backend-apiruvnet/ruflo | Skill | 83k | today | MIT | A | 22 | Claude Code |
| agent-docs-api-openapiruvnet/ruflo | Skill | 83k | today | MIT | A | 24 | Claude Code |
| agent-gossip-coordinatorruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| agent-raft-managerruvnet/ruflo | Skill | 83k | today | MIT | A | 18 | Claude Code |