- Home
- Skills
- Agents & Orchestration
- Repair Circuit Breaker State Drift
Works with the AI Agents you already use
Repair Circuit Breaker State Drift
Repair duplicate breaker ownership, state drift, half-open probe storms, retry amplification, reset races, and failure-classification mismatches.
$1
Repair Circuit Breaker State Drift
Example session with this skill installed
Our Node/TypeScript worker uses one circuit breaker around a partner API, but each Kubernetes replica has independent state. The breaker opens after failures and waits 20 seconds, then half-open allows every waiting worker to probe at once. We also have an SDK retry inside the breaker and a queue retry outside it. After the partner recovers, the probe burst sometimes knocks it back down. Repair the repository locally with fake clocks and a scripted dependency. Preserve existing threshold values. Do not call production, change provider limits, or decide that breaker state must be globally shared.
- Read your context and instructions
- Compiled the repair circuit breaker
Breaker drift found. Half-open permits too many probes, retry exists both inside and outside the breaker, and per-instance ownership is undocumented. The repair bounds half-open recovery, normalizes retry ownership, fences stale timers, preserves existing thresholds, and adds deterministic state tests. Production recovery capacity and shared-vs-local state policy remain unverified.
Connects securely to your tools. The creator never sees your data.
About this skill
Circuit breakers can become a failure source when multiple wrappers disagree about state, retries multiply inside and outside the breaker, half-open recovery admits too much traffic, or stale timers reopen/close the wrong generation.
Repair Circuit Breaker State Drift gives an AI coding agent a repository workflow for reconstructing breaker state machines, unifying ownership and failure classification, bounding half-open probes, fencing reset timers, normalizing retry interaction, and proving transitions with fake-clock tests.
It preserves supplied thresholds, does not call production dependencies, and does not assume breaker state must be globally shared across instances.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.
Repairs repository-level breaker lifecycle only. It cannot choose production thresholds, determine provider recovery capacity, decide whether breaker state should be globally shared, operate live breakers, or prove production recovery from local fixtures.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 months ago
Permissions
Run on a clean branch. Use scripted fake dependencies and fake clocks. Keep production credentials, live endpoints, customer data, and production breaker controls out of scope.