AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Impasse Detector

skill-sounder25-foundational-agent-skills-17-impasse-detector · by Sounder25

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

No reviews yet
0 installs
20 views
0.0% view→install

Install

$ agentstack add skill-sounder25-foundational-agent-skills-17-impasse-detector

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-sounder25-foundational-agent-skills-17-impasse-detector)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Impasse Detector? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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

| 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

  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

| 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:

  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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.