circuit-breaker
Prevents system-wide failures by stopping requests to failing services. It helps maintain stability in distributed architectures.
Install
mkdir -p .claude/skills/circuit-breaker && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7320" && unzip -o skill.zip -d .claude/skills/circuit-breaker && rm skill.zipInstalls to .claude/skills/circuit-breaker
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Implement the circuit breaker pattern to prevent cascade failures in distributed systems. Use when adding resilience to API clients, external service calls, or any operation that can fail and should fail fast.Key capabilities
- →Implement circuit breaker state logic
- →Manage failure and success thresholds
- →Provide fallback mechanisms
- →Integrate with observability metrics
How it works
The skill manages service health by tracking failures and automatically switching between CLOSED, OPEN, and HALF_OPEN states to prevent cascading failures.
Inputs & outputs
When to use circuit-breaker
- →Wrap API client requests
- →Implement resilience in microservices
- →Manage external service timeouts
About circuit-breaker
This skill implements the circuit breaker pattern to monitor and manage external service calls. It detects failures and automatically trips the circuit to fail fast, preventing system-wide cascading errors.
Implement the circuit breaker pattern to prevent cascade failures in distributed systems. Use when adding resilience to API clients, external service calls, or any operation that can fail and should fail fast.
When not to use it
- →When calling local, reliable functions
- →When latency is not a concern
Limitations
- →Requires handling of CircuitOpenError in calling code
- →Requires separate circuit instances for unrelated services
How it compares
It provides automated state management and fail-fast behavior instead of manual error handling for every external call.
Compared to similar skills
circuit-breaker side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| circuit-breaker (this skill) | 1 | 6mo | Review | Intermediate |
| telegram-bot-builder | 106 | 6mo | Review | Intermediate |
| workflow-orchestration-patterns | 10 | 2mo | No flags | Advanced |
| bullmq-specialist | 25 | 6mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by dadbodgeoff
View all by dadbodgeoff →You might also like
telegram-bot-builder
davila7
Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.
workflow-orchestration-patterns
wshobson
Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running processes, distributed transactions, or microservice orchestration.
bullmq-specialist
davila7
BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications. Use when: bullmq, bull queue, redis queue, background job, job queue.
unity-mcp-orchestrator
CoplayDev
Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for effective Unity-MCP integration.
async-python-patterns
wshobson
Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.
modal
davila7
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.