- Home
- Skills
- APIs & Backend
- Outbound Circuit Breaker Kit
Outbound Circuit Breaker Kit
Fail-closed outbound gate for agent fleets: write allowlist, approval queue, signup/auth block, one-strike breaker.
$2
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
| Component | Status | Details |
|---|---|---|
| Active Breakers | 0 Tripped | All hosts are currently reachable. |
| Last Intercept | Blocked | POST to api.example.com/api/v1/update |
| Queue Size | 1 Item | Awaiting manual confirmation via submit_approved.py. |
| Redaction | Active | Authorization 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
- Run
python submit_approved.pyto view the full sanitized payload. - Type
req_8829awhen prompted if you wish to execute this specific write. - Add
api.example.com/api/v1/updateto 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
/signupor/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
- Initialize the
GuardedTransportadapter within your agent's HTTP client or request runner. - Define the minimal required endpoints in the allowlist configuration to authorize specific write operations.
- Review
pending_approvals.jsonwhen the agent attempts a write outside the permitted scope. - Execute approved writes via the
submit_approved.pyutility, 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
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 13 days ago
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
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.