Outbound Circuit Breaker Kit

    by Enoch Gardiner

    1

    Fail-closed outbound gate for agent fleets: write allowlist, approval queue, signup/auth block, one-strike breaker.

    $2

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Outbound Circuit Breaker Kit

    Example session with this skill installed

    My agent just tried to POST to an unlisted endpoint /api/v1/update. Show me the current breaker status and what is in the approval queue.

    • Read your context and instructions
    • Compiled the outbound circuit breaker

    The request to /api/v1/update was successfully intercepted by the GuardedTransport layer and blocked because it did not match the allowlist. No network traffic was generated. The payload has been sanitized and moved to the pending queue for your review.

    Interception & Breaker Status

    ComponentStatusDetails
    Active Breakers0 TrippedAll hosts are currently reachable.
    Last InterceptBlockedPOST to api.example.com/api/v1/update
    Queue Size1 ItemAwaiting manual confirmation via submit_approved.py.
    RedactionActiveAuthorization and Cookie headers stripped from logs.

    Pending Approvals (pending_approvals.json)

    [
      {
        "id": "req_8829a",
        "timestamp": "2023-10-27T14:30:05Z",
        "method": "POST",
        "host": "api.example.com",
        "path": "/api/v1/update",
        "payload_summary": {
          "status": "active",
          "user_id": 101
        },
        "status": "pending_review"
      }
    ]
    

    Next steps

    1. Run python submit_approved.py to view the full sanitized payload.
    2. Type req_8829a when prompted if you wish to execute this specific write.
    3. Add api.example.com/api/v1/update to your allowlist if this is a recurring safe operation.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Autonomous agents and automated scripts can quickly rack up costs or trigger security lockouts when left to make unmonitored outbound writes. This skill implements a strict guardrail system to prevent unauthorized API calls, identity actions, and rate-limit bans before they hit the wire.

    What it does

    • Default-deny writes blocks any POST, PUT, PATCH, or DELETE request that is not explicitly defined in a method/host/path allowlist.
    • Identity protection permanently prevents autonomous account creation or login by blocking auth-related path segments like /signup or /oauth.
    • Circuit breaking trips a persistent breaker for any host returning 401, 403, or 429 status codes, preventing recursive lockouts.
    • Manual approval queue redirects unlisted write attempts to a local JSON queue for human review and execution.
    • Credential redaction ensures that queued payloads and logs never store sensitive authentication tokens or secrets.

    How it works

    1. Initialize the GuardedTransport adapter within your agent's HTTP client or request runner.
    2. Define the minimal required endpoints in the allowlist configuration to authorize specific write operations.
    3. Review pending_approvals.json when the agent attempts a write outside the permitted scope.
    4. Execute approved writes via the submit_approved.py utility, which requires manual ID confirmation.

    Frameworks & tools

    This skill is designed for Python environments using common HTTP libraries such as Requests or httpx. It relies on a local filesystem state for persistence of breakers and approval queues.

    Why this beats prompting it yourself

    Prompting an agent not to call specific APIs is unreliable under pressure or long context windows. This skill enforces the restriction at the transport layer, ensuring that even if the LLM hallucinatingly attempts a write, the network traffic is physically blocked.

    Use cases

    • Prevent agents from accidentally creating duplicate accounts during testing.
    • Stop automated scripts from hammering an API after receiving a rate-limit error.
    • Review and approve social media posts or database writes before they go live.
    • Audit all outbound write attempts during autonomous research tasks.

    Known limitations

    Requires manual integration into the transport layer of the application code. Persistent state is file-based and must be managed per deployment instance.

    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 13 days ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    api.example.com
    example.org
    Listed13 days ago

    What's inside

    Frequently Asked Questions

    This skill acts as a physical firewall at the transport layer, ensuring that even if an agent hallucinates or ignores system prompts, the outbound network request is blocked and logged before it leaves your server.

    When the agent attempts an unauthorized write, the request is intercepted and saved to a local JSON queue; you can then review the payload and manually authorize or discard the action using the included utility script.

    The Circuit Breaker automatically detects 401, 403, and 429 error codes and instantly blocks all further traffic to that host to prevent your API keys from being permanently banned or your costs from spiraling.

    You receive the core GuardedTransport adapter, a configuration template for your allowlists, the manual approval utility script, and comprehensive integration documentation to get your guardrails running.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.