CI

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

Installs 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.
209 chars✓ has a “when” trigger
Intermediate

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

You give it
External service call or API request
You get back
Resilient execution with failure handling

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.

SkillInstallsUpdatedSafetyDifficulty
circuit-breaker (this skill)16moReviewIntermediate
telegram-bot-builder1066moReviewIntermediate
workflow-orchestration-patterns102moNo flagsAdvanced
bullmq-specialist256moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

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.

106130

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.

10117

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.

2595

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.

1795

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.

1299

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.

587

Search skills

Search the agent skills registry