Impasse Detector
БесплатноЗапускает вложенные скриптыНе проверенDetects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns.
Об этом скилле
SKILL-017: Impasse Detector
Overview
Critical meta-cognitive skill that acts as a circuit breaker for unproductive loops. It analyzes recent conversation history and tool outputs to detect "stuck" states, preventing token wastage on failing paths and forcing escalation or delegation.
Trigger Phrases
check logicam i stuckdetect loopimpasse check
Inputs
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
--TranscriptPath |
string | No | $null | Path to conversation log/json |
--Content |
string | No | $null | Direct string content to analyze |
--Lookback |
int | No | 10 | Number of recent turns to analyze |
Outputs
1. Analysis Result (JSON)
{
"status": "IMPASSE",
"confidence": 0.95,
"reasons": [
"Apology loop detected (4 occurrences)",
"High frequency of file reads (6 in window)"
],
"recommendation": "ESCALATE_TO_USER",
"score": 80
}
2. Status Codes
CLEAR: No issues detected.IMPASSE: Significant loop/blockage detected.UNKNOWN: Insufficient data.
Preconditions
- Access to conversation history OR a provided transcript string.
- PowerShell 5.1+ or Core 7+.
Safety/QA Checks
- Read-Only: This skill only analyzes text; it does not modify state.
- Fail-Safe: If input is missing/malformed, defaults to "UNKNOWN" rather than crashing.
Stop Conditions
| Condition | Action |
|---|---|
| No input provided | Return status "UNKNOWN" (0 confidence) |
| File not found | Return error JSON |
Implementation
See scripts/detect_impasse.ps1.
Integration with Other Skills
All agent loops should:
- Call SKILL-017 every 5-10 turns.
- If status is
IMPASSE, trigger SKILL-020 (Failure Postmortem) AND SKILL-010 (Async Feedback). - If score > 90, stop execution and warn user.
Установить Impasse Detector в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Impasse Detector?
Detects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns.
Как установить скилл Impasse Detector?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Impasse Detector запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic