# Skill Surgeon: Find and Fix Skill Problems

> Review agent skills for structure, references and security, with traceable findings and proposed fixes.

Skill Surgeon: Find and Fix Skill Problems is a paid AI agent skill on Agensi by Mattia Dragone, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Mattia Dragone](https://www.agensi.io/creators/mattia-dragone)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/skill-surgeon-find-and-fix-skill-problems
- Tags: ai-agents, prompt-engineering, code-review, markdown, qa, skill, validation, security

## About this skill

Skill Surgeon is a single instruction skill for an AI agent that can read SKILL.md and work with user-supplied context. Place the skill in your agent's documented skill location after checking its format requirements. Installation compatibility has not been tested.

The instructions guide the agent through a structured review or planning workflow. This draft package contains the skill document, not a standalone application. Its source marks the release as NOT READY FOR RELEASE.

### The problem
Unstructured requests can hide missing requirements, weak evidence and unsafe assumptions. This skill specifies what the agent should examine, how to report uncertainty and what the output should contain.

### What you get
| Part | Included |
|---|---|
| Instruction skill | 1 SKILL.md |
| Bundled scripts | 0 |
| Reference files | 0 |
| Plugin manifest | None found |
| License | Not supplied |

### How it works
The agent follows the instructions using its own available tools. The package does not supply an executable engine. Every conclusion still needs evidence from the user's input.

### Uses

**Review YAML frontmatter.** Request a focused deliverable with evidence and stated limitations.
Try: "Review YAML frontmatter for the supplied input. State assumptions and identify what needs verification."

**Check referenced files.** Request a focused deliverable with evidence and stated limitations.
Try: "Check referenced files for the supplied input. State assumptions and identify what needs verification."

**Review activation conditions.** Request a focused deliverable with evidence and stated limitations.
Try: "Review activation conditions for the supplied input. State assumptions and identify what needs verification."

**Find contradictory instructions.** Request a focused deliverable with evidence and stated limitations.
Try: "Find contradictory instructions for the supplied input. State assumptions and identify what needs verification."

**Review unsafe command patterns.** Request a focused deliverable with evidence and stated limitations.
Try: "Review unsafe command patterns for the supplied input. State assumptions and identify what needs verification."

**Explain weighted scoring.** Request a focused deliverable with evidence and stated limitations.
Try: "Explain weighted scoring for the supplied input. State assumptions and identify what needs verification."

**Suggest reversible patches.** Request a focused deliverable with evidence and stated limitations.
Try: "Suggest reversible patches for the supplied input. State assumptions and identify what needs verification."

**Revalidate approved changes.** Request a focused deliverable with evidence and stated limitations.
Try: "Revalidate approved changes for the supplied input. State assumptions and identify what needs verification."

### Guardrails
Do not claim tests passed, changes were applied or external actions completed without evidence. Review permissions and uncertainty before acting. The underlying agent determines actual access and data handling.

### Who it is for
People who want structured assistance for this domain and can review the result. The current draft is not for buyers expecting tested software, a complete command-line tool or verified platform integrations.

### Safe handling
Only provide inputs you are authorized to process. The package has no bundled executable scripts, network client or credentials. This does not make the host AI agent offline: its provider and tool settings determine how data is processed.

## Known limitations

Validation profiles and deterministic scoring rules must be pre-defined. The current version requires manual review of repairs and does not support automatic execution of referenced scripts.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Skill Surgeon: Find and Fix Skill Problems skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific issues does the AI Skill Doctor identify during an audit?

The skill identifies broken metadata, ambiguous instructions, and critical security risks like hardcoded credentials or dangerous shell commands, providing a 0-100 readiness score and automated repair patches.

### Which AI agent frameworks and editors are compatible with this skill?

It is optimized for Claude Code, Cursor, and Agensi publishers, focusing on the Markdown and YAML standards common in these agentic environments.

### How does this skill differ from simply asking an LLM to review my code?

Unlike a standard prompt that can be manipulated by the data it reads, this skill treats target files as untrusted data and uses a deterministic scoring system for objective results.

### Can the AI Skill Doctor automatically fix the errors it finds?

Yes, the skill offers three modes: audit-only for reports, suggest changes for review, and active fix mode which generates and applies patches upon your approval.

### What exactly is included in the purchase of this skill?

You receive the full audit and repair skill package, including the scoring logic, security scanning modules, and the automated diff-generation system for local use.

### Are there any limitations to what the security audit can detect?

While highly effective at catching structural and common security flaws, it is not a replacement for a full penetration test and requires developer oversight for final patch approval.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
