resilience-flow-control

resilience-flow-control is a skill for Codex from d4rkNinja/arcforge. It costs 81 tokens per session (2,480 once invoked), scanned A, original, MIT.

Guidance for designing and reviewing safeguards that keep software stable under heavy load or dependency failures. It covers mechanisms such as caching, rate limits, retries, timeouts, circuit breakers, queues, and backpressure.

In plain words
What is it for?
Use it when changing or checking resilience controls around external services, quotas, caches, retries, timeouts, degradation, or admission control.
Why use it?
It helps identify how failures can spread, such as retries increasing overload or caches expiring together, and requires each safeguard to have clear limits and tests.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when changing or checking resilience controls around external services, quotas, caches, retries, timeouts, degradation, or admission control.

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

Made for: Codex.

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 resilience-flow-control

README.md
[![agentmods](https://agentmods.dev/badge/skills/d4rkninja/arcforge/resilience-flow-control.svg)](https://agentmods.dev/skills/d4rkninja/arcforge/resilience-flow-control)
Your own site
<a href="https://agentmods.dev/skills/d4rkninja/arcforge/resilience-flow-control"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/resilience-flow-control.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,480 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00081 $0.02480
Opus 5 $0.00041 $0.01240
Sonnet 5 $0.00016 $0.00496
Haiku 4.5 $0.00008 $0.00248

Measured 4d ago against content hash 5a2680f3d735, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

resilience-flow-control 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 4d 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/resilience-flow-control/SKILL.md · 151 lines

How it starts

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

Think Through Resilience & Flow Control

Overview

Production guidance for surviving load and dependency failure. Each reference paper captures the mechanics that separate resilient systems from hopeful ones: retry storms, synchronized expiry, thundering herds, timeouts that compose incorrectly, circuit breakers without fallbacks, and rate limits that fail open exactly when they matter.

Core principle: Every dependency fails, every cache goes stale, and every retry amplifies load. Controls must have explicit semantics (window, scope, fail-open/closed) and the system must stay bounded while capacity is unavailable.

Domain Law

NO RESILIENCE OR FLOW-CONTROL CHANGE WITHOUT:
1. the minimum required primary paper(s) for the control selected from the context table;
2. the failure being defended against named (timeout, overload, staleness,
   provider outage) before choosing a mechanism;
3. "Existing-codebase checks" run when changing existing controls;
4. every applicable MUST mapped to a bounded decision, a test that
   injects the failure, or a documented exception.

When to Use

Use this skill when thinking through, reviewing, changing, or verifying:

  • caches: placement, TTL, eviction, invalidation, warming, negative caching, stampede protection;
  • distributed cache coordination and hot-key handling;
  • rate limiting by IP/user/tenant/endpoint, window algorithms, distributed limiting, fail-open/closed policy;
  • quotas: soft/hard limits, reservation, reset windows, overage;
  • external integrations: provider contracts, outages, degradation, replacement risk;
  • retries: classification, caps, budgets, exponential backoff with jitter, honoring provider pushback;
  • timeouts: per-hop and end-to-end deadlines, cancellation propagation;
  • circuit breakers: trip thresholds, half-open probing, fallback behavior;
  • bulkheads and concurrency limits;
  • graceful degradation and load shedding;
  • backpressure and admission control for queues and workers.

Read the full file on GitHub · 151 lines

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. 4d ago Changed · +5 lines 5a2680f3d735
  2. 8d ago First seen · 146 lines · 81 tokens per session scan A c0d581984a9a

Subscribe to this mod's changes

resilience-flow-control is a skill published in the GitHub repository d4rkNinja/arcforge (16 stars, last pushed 4d ago), licensed MIT. It adds 81 tokens to every session and 2,480 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

architecture-patterns

Architecture validation and patterns for clean architecture, backend structure enforcement, project structure validation, test standards, and context-aware sizing. Use when designing system boundaries, enforcing layered architecture, validating project structure, defining test standards, or choosing the right…

yonatangross/orchestkit · 56 tokens

architecture-decision-record

ADR templates in the Nygard format with context, decision, consequences, and alternatives. Use when writing ADRs, recording an architectural decision, or evaluating options.

yonatangross/orchestkit · 38 tokens

frontmcp-guides

Tutorials, end-to-end walkthroughs, and complete reference projects for FrontMCP. Use when you want a getting-started guide, a full worked example, or to learn best practices by following a step-by-step build rather than a single API reference. Includes a beginner weather-API server (tool plus static resource, Zod…

agentfront/frontmcp · 157 tokens

architecture-paradigm-domain-driven

Models a business in its own language. Use when the domain has real business rules to capture.

athola/claude-night-market · 26 tokens

architecture-paradigm-layered

Applies layered n-tier architecture with enforced boundaries. Use when designing moderate systems needing clear presentation, domain, and persistence layers.

athola/claude-night-market · 32 tokens

architecture-paradigm-microservices

Applies microservices for independent deployment and per-service scaling. Use when teams need autonomous release cycles with distinct capability scaling needs.

athola/claude-night-market · 33 tokens