Agent ops recovery

From diegosouzapw/awesome-omni-skill · View interactive version

Agent ops recovery is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Handle failures and errors during workflow. Use when build breaks, tests fail unexpectedly, or agent gets stuck. Semi-automatic recovery with user confirmation for destructive actions.

How to use this skill

Skill file

Error Recovery workflow

Trigger conditions

Use this skill when:

Recovery procedure

Step 1: Diagnose (invoke debugging)

For non-trivial failures, invoke agent-ops-debugging:

  1. Apply systematic debugging process:
  1. Use debugging output to inform recovery decision
  2. If root cause unclear after initial analysis, continue debugging before recovery

Step 2: Assess rollback options

Step 3: Propose action

Present options to user with:

Step 4: Execute (with confirmation)

Destructive actions (require confirmation)

Non-destructive actions (can proceed)

Post-recovery

  1. Update .agent/focus.md with what happened
  2. Invoke agent-ops-tasks to create issue for root cause investigation
  3. Update .agent/memory.md with "pitfall to avoid" if applicable
  4. Re-run baseline comparison before continuing

Issue Discovery After Recovery

After recovery, invoke agent-ops-tasks discovery procedure:

1) Create issue for the incident:

```

📋 Recovery completed. Create issue to track root cause?

Suggested:

Create this issue? [Y]es / [N]o

```

2) If pattern detected, create prevention issue:

```

This failure pattern has occurred before. Create improvement issue?

Create these? [A]ll / [S]elect / [N]one

```

3) After creating issues:

```

Created {N} issues for tracking. What's next?

1. Investigate root cause now (BUG-0024@abc123)

2. Continue with original work (defer investigation)

3. Review recovery actions

```

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.