sounder25/foundational-agent-skills/17-impasse-detector

Claude Code and agent skill by sounder25/foundational-agent-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Detects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns.

Install

npx vskill@latest install sounder25/foundational-agent-skills/17-impasse-detector

SKILL.md

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 logic
  • am i stuck
  • detect loop
  • impasse check

Inputs

ParameterTypeRequiredDefaultDescription
--TranscriptPathstringNo$nullPath to conversation log/json
--ContentstringNo$nullDirect string content to analyze
--LookbackintNo10Number of recent turns to analyze

Outputs

1. Analysis Result (JSON)
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

  1. Access to conversation history OR a provided transcript string.
  2. PowerShell 5.1+ or Core 7+.

Safety/QA Checks

  1. Read-Only: This skill only analyzes text; it does not modify state.
  2. Fail-Safe: If input is missing/malformed, defaults to "UNKNOWN" rather than crashing.

Stop Conditions

ConditionAction
No input providedReturn status "UNKNOWN" (0 confidence)
File not foundReturn error JSON

Implementation

See scripts/detect_impasse.ps1.

Integration with Other Skills

All agent loops should:

  1. Call SKILL-017 every 5-10 turns.
  2. If status is IMPASSE, trigger SKILL-020 (Failure Postmortem) AND SKILL-010 (Async Feedback).
  3. If score > 90, stop execution and warn user.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sounder25/foundational-agent-skills/17-impasse-detector/badge)](https://verified-skill.com/skills/sounder25/foundational-agent-skills/17-impasse-detector)

Something wrong with this skill or its page? Tell us.