
impasse-detector
by Sounder25
Operational capabilities for high-leverage AI coding agents. Features deterministic execution, 100% tested safety gates, impasse detection, and adversarial review. Includes 'Gold Standard' meta-skills like Pre-Action Guard and Failure Postmortem to prevent loops and data loss.
SKILL.md
name: Impasse Detector description: Detects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns. version: 1.0.0 author: Antigravity Skills Library created: 2026-01-16 leverage_score: 5/5
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.
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です