Agent repair

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

Agent repair is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. A two-phase repair skill that analyzes errors and suggests fixes before executing repairs. Phase one: user describes error, agent analyzes and proposes solution. Phase two: upon approval, executes the repair action.

How to use this skill

Skill file

Agent Network Repair

Overview

[TODO: 1-2 sentences explaining what this skill enables]

Agent Network Repair Skill

Overview

This skill provides a two-phase approach to diagnosing and repairing system errors, service failures, and configuration issues.

Workflow

Phase 1: Analysis and Discussion

When the user reports an error or issue:

  1. Gather Information
  1. Diagnose the Problem
  1. Present Initial Analysis
  1. Iterative Discussion Loop

Discussion continues until user says: "proceed", "do it", "approved", "go ahead", or similar confirmation

Phase 2: Repair (Only After Explicit Approval)

Once the user approves the proposed solution:

  1. Execute Repair Actions
  1. Verify the Fix
  1. Document

Common Repair Scenarios

Safety Guidelines

Example Usage

User: "The image generation service is failing with a NoneType error"

Agent Phase 1 Response:

"I've analyzed the error. The issue appears to be that the image generation API is not properly configured or the API key is missing. The error 'NoneType object is not subscriptable' suggests the service is returning None instead of expected data.

Proposed solution: Check the environment variables or configuration file for the image generation API key and endpoint. We may need to add or update the API credentials.

Shall I proceed with checking the configuration files?"

User: "Yes, proceed"

Agent Phase 2: Executes the approved repair actions and reports results.

Resources

This skill includes example resource directories:

scripts/

Executable code (Python/Bash/etc.) that can be run directly.

references/

Documentation and reference material to be loaded into context as needed.

assets/

Files used within the output Claude produces (templates, images, fonts, etc.).

Any unneeded directories can be deleted.

Extended Example with Discussion Loop

User: "The image generation service is failing with a NoneType error"

Agent Initial Analysis:

"I've analyzed the error. The issue appears to be that the image generation API is not properly configured or the API key is missing. The error 'NoneType object is not subscriptable' suggests the service is returning None instead of expected data.

Proposed solutions:

  1. Check environment variables for missing API credentials
  2. Verify the image generation service configuration file
  3. Test the API endpoint directly to confirm it's accessible

What would you like to know more about, or would you like me to proceed with one of these approaches?"

User: "What are the risks of option one?"

Agent: "Checking environment variables is read-only and has no risk. However, if we need to add or update credentials, we would be modifying the environment configuration. The main risk is if we set incorrect credentials, the service might be locked out temporarily. I can show you the current values first before making any changes."

User: "Can you check what's currently configured first?"

Agent: "Absolutely. I will examine the current configuration and show you what's set. This is just a read operation, no changes yet."

User: "Okay, proceed with that"

Agent Phase 2: Executes the approved investigation, reports findings, and awaits further instruction or approval for actual repairs.

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.