skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
archieindian/openclaw-superpowers47 installs

agent-self-recovery

Detects when the agent is stuck in a loop and escapes systematically. Use when you notice repeated failures or loss of direction.

How do I install this agent skill?

npx skills add https://github.com/archieindian/openclaw-superpowers --skill agent-self-recovery
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is a utility designed to help an AI agent recognize and systematically recover from execution loops. It maintains internal state in a dedicated directory within the user's home folder. No security risks or malicious patterns were identified.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Agent Self-Recovery

State file: ~/.openclaw/skill-state/agent-self-recovery/state.yaml

Signs You're Stuck

  • Tried the same approach 3+ times with the same result
  • Making changes that feel random rather than targeted
  • Lost track of the original goal
  • Taking longer than expected on a 'simple' step

Recovery Protocol

Step 1: Stop

Stop making changes. No more quick tries.

Step 2: Write State

Write to the state file:

  • what_trying: what were you trying to do?
  • what_tried: append this latest approach to the list
  • loop_type: name the pattern (see Step 3)
  • attempts: increment by 1
  • status: recovering
  • started_at: current timestamp (first time only)

Step 3: Name the Loop

Pick the loop_type:

  • same-fix-variations — trying the same fix with minor changes
  • cascading-dependencies — each fix reveals a new dependency
  • unclear-error — unclear what the actual error is
  • lost-goal — lost track of original requirement

Step 4: Break the Loop

If loop_type: unclear-error → use systematic-debugging first. If loop_type: lost-goal → re-read the original requirement. If genuinely blocked → document clearly, ask the user. Update state status: escalated. If context too large → use context-window-management. If truly lost → use task-handoff, ask user to redirect. Update state status: escalated.

Step 5: Resume with a New Approach

Choose a genuinely different approach. Update state last_approach, append to what_tried. On success: update state status: recovered.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/archieindian/openclaw-superpowers/agent-self-recovery">View agent-self-recovery on skillZs</a>