circuit-breaker

Official

Prevent infinite loops and token overruns in AI sessions.

Authorsemicolon-devteam
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill acts as a safety mechanism to detect and interrupt inefficient AI agent behaviors, such as infinite loops, repetitive errors, or prolonged sessions, protecting against wasted resources and improving session efficiency.

Core Features & Use Cases

  • Recursion Depth Monitoring: Detects when an agent is stuck in a deep, repetitive call stack.
  • Error Repetition Detection: Identifies and flags when the same error occurs multiple times consecutively.
  • Repetitive File Modification: Warns when an agent repeatedly attempts to modify the same file without progress.
  • Session Time Monitoring: Alerts users when a single AI session exceeds a predefined duration.
  • Use Case: If your AI agent is repeatedly trying to fix the same bug in a file without success, this skill will intervene, alert you, and ask for guidance, preventing endless cycles.

Quick Start

This skill is automatically triggered by detected inefficiencies. Example alert: "⚠️ 작업 중단: 무한 루프가 감지되었습니다. 계속 진행하시겠습니까? (y/n)"

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: circuit-breaker
Download link: https://github.com/semicolon-devteam/semo/archive/main.zip#circuit-breaker

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository