一键导入
impasse-detector
Detects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
A QA gate that validates potentially destructive or irreversible actions before execution.
Detect and prevent state-visibility violations across execution contexts within a single transaction.
Convert mixed terminal output and instructions into safe, paste-ready command blocks.
Prepares isolated sub-workspaces for parallel agent execution. Copies context and generates specific mission instructions for "Worker" agents.
Structured logging and analysis of execution failures to prevent recurrence.
Generates a 'Red Team' critique of recent code or plans to identify weak assumptions and edge cases.
基于 SOC 职业分类
| 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-16T00:00:00.000Z" |
| leverage_score | 5/5 |
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.
check logicam i stuckdetect loopimpasse check| 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 |
{
"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
}
CLEAR: No issues detected.IMPASSE: Significant loop/blockage detected.UNKNOWN: Insufficient data.| Condition | Action |
|---|---|
| No input provided | Return status "UNKNOWN" (0 confidence) |
| File not found | Return error JSON |
See scripts/detect_impasse.ps1.
All agent loops should:
IMPASSE, trigger SKILL-020 (Failure Postmortem) AND SKILL-010 (Async Feedback).