Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Repair Circuit Breaker State Drift

    1

    Repair duplicate breaker ownership, state drift, half-open probe storms, retry amplification, reset races, and failure-classification mismatches.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Circuit Breaker State Drift

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files

    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.

    Listed3 months ago
    Updated21 days ago

    What's inside

    Frequently Asked Questions

    This skill enables your AI agent to identify and fix complex synchronization issues where multiple circuit breaker wrappers disagree, preventing cascading failures caused by retry amplification or 'probe storms' during recovery.

    The skill is compatible with leading AI coding agents (such as GitHub Copilot Workspace, Cursor, or specialized autonomous agents) that have repository-level file access and the ability to execute unit tests.

    You receive a set of specialized agent instructions, a standardized state-machine schema, and a suite of fake-clock test templates used to verify that state transitions are durable and race-condition free.

    No, this skill focuses on logic and state-machine integrity within your codebase; it uses fake-clock testing to validate timing logic without ever interacting with your live production environment.

    The skill is designed to work with any standard circuit breaker implementation (like Hystrix, Resilience4j, or custom wrappers) by unifying their ownership logic and normalizing how they handle retries.

    New in Agents & Orchestration