Agent skill · AI & Agents

circuit-breaker

Agent hata toleransi ve devre kesici pattern. Ust uste hata yapan agent'i durdur, cooldown uygula, fallback'e gec. Kaskatli hatalari ve sonsuz retry dongularini onler.

vibeevalgithub.com/vibeevalGitHub ↗
claude-codeMIT
Install
npx skills add vibeeval/vibecosystem --skill circuit-breaker --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/circuit-breaker/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 521
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Circuit Breaker for Agents Agent'lar da servisler gibi basarisiz olabilir. Ayni hatayi tekrar tekrar denemek token israf eder ve sorunu cozmez. Circuit breaker bunu onler. ## 3 Durum ``` CLOSED (Normal) Agent calisir, hatalar sayilir. Hata esigi asilirsa → OPEN'a gec. OPEN (Devre Kesik) Agent CALISTIRILMAZ. Cooldown suresi boyunca bekle. Cooldown bitince → HALF-OPEN'a gec. HALF-OPEN (Test) Tek bir istek gonder. Basarili → CLOSED'a don. Basarisiz → OPEN'a geri don (cooldown uzat). ``` ``` basarili hata esigi ┌──────────┐ ┌───────────┐ │ │ │ │ ▼ │ ▼ │ CLOSED ──────┼── OPEN ────── HALF-OPEN ▲ │ │ │ │ │ │ │ └──────────┘ └───────────┘ normal cooldown bitti ``` ## Konfigrasyon ```typescript interface CircuitBreakerConfig { failureThreshold: number // Kac hata sonrasi OPEN (default: 3) cooldownMs: number // OPEN'da bekleme suresi (default: 60000 = 1 dk) halfOpenMaxAttempts: number // HALF-OPEN'da max deneme (default: 1) resetAfterMs: number // Hata sayacini sifirla (default: 300000 = 5 dk) onOpen?: () => void // OPEN'a gecince cagrilir onClose?: () => void // CLOSED'a donunce cagrilir } const DEFAULT_CONFIG: CircuitBreakerConfig = { failureThreshold: 3, cooldownMs: 60000, halfOpenMaxAtt

What's inside
Steps it walks through
  1. 3 Durum
  2. Konfigrasyon
  3. Uygulama
  4. Agent Seviyesinde
  5. Kullanim Ornegi
  6. Fallback Zinciri
  7. Hata Tipleri
  8. Monitoring
  9. Status Dashboard
  10. Alert Kurallari
  11. Exponential Backoff
  12. Anti-Pattern'ler
  13. vibecosystem Entegrasyonu
Commands it runs
scripts/circuit-status.sh
echo "=== Agent Circuit Breaker Status ==="
echo ""
printf "%-25s %-10s %-10s\n" "Agent" "State" "Failures"
echo "-------------------------------------------"
Canavar skill-matrix'ten oku
if [ -f ~/.claude/canavar/skill-matrix.json ]; then
cat ~/.claude/canavar/skill-matrix.json | \
jq -r '.agents | to_entries[] | "\(.key) \(.value.failures // 0) \(.value.state // "CLOSED")"' | \
while read name failures state; do
More from vibecosystem
All skills →
About this skill
What does the circuit-breaker skill do?

Agent hata toleransi ve devre kesici pattern. Ust uste hata yapan agent'i durdur, cooldown uygula, fallback'e gec. Kaskatli hatalari ve sonsuz retry dongularini onler.

How do I install it?

Run `npx skills add vibeeval/vibecosystem --skill circuit-breaker --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going