bew/dotfiles/agent-stuck

Claude Code and agent skill by bew/dotfiles

Trust tier 3
  • community
Source check pending

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

Load when the agent cannot proceed without a human decision or a strategy change. Track consecutive identical failures — load this skill at the third. Also load when the task requires a library that is not yet in the project.

Install

npx vskill@latest install bew/dotfiles/agent-stuck

SKILL.md

Goal

Break the loop or surface decision to user so task can continue.

Steps

1. Classify the situation

If doom loop appears to be caused by missing library, treat as Library needed — skip doom loop branch and address root cause directly.

CaseSignal
Doom loopSame error occurred 3 or more consecutive times
Library neededCode requires external package not yet in project

Doom loop count is per distinct error. Reset count when materially different error appears.

2. Act based on case
Doom loop
  1. Stop retrying immediately.
  2. Summarize: what was attempted, what failed each time, what output was identical.
  3. Try one materially different approach (different tool, different flag, different algorithm).
  4. If that also fails, halt & present full diagnosis to user:
  • All attempted approaches
  • Repeating error
  • Hypotheses for root cause, ranked by likelihood
  1. Ask user how to proceed.
Library needed
  1. Check project's dependency manifest (package.json, pyproject.toml, go.mod,

Cargo.toml, requirements.txt, etc.) to confirm library is truly absent.

  1. State capability gap: what code needs to do that no current dependency covers.
  2. List up to 5 libraries — include what you know; flag if list may be incomplete.

Use web search if you have no knowledge of any library for this need. For each entry: name, one-line description, short install command. Do NOT recommend one.

  1. Ask user which library to use, or whether to proceed without one.
  2. Pause. Wait for user's choice before writing any code.
3. After resolution

Resume original task from step that was blocked.

NOTE: If same block recurs after resolution attempt, re-enter this skill but skip step 3 (no retry). Go directly to halt and ask user.

Rules

  • Never retry doom-loop pattern more than once after classifying it as such.

Single retry in step 3 must be materially different — not just re-running same command.

  • Never silently skip a situation that requires human decision.
  • Never install a library without explicit user approval.
  • Resolve each situation in minimum turns — one ask, wait for user response,

then resume. Do not let resolution consume enough context to lose original task.

Guidelines

  • Prefer simplest diagnosis. Don't over-investigate before asking.
  • Batch multiple questions into single message when more than one needed.
  • Keep each ask short & actionable.
  • For doom loops: hypotheses ranked by likelihood, not exhaustiveness.

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

Repository stars
57
Repository forks
4
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. 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/bew/dotfiles/agent-stuck/badge)](https://verified-skill.com/skills/bew/dotfiles/agent-stuck)

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