skill-repair

Fixes broken agent skills and updates manifest.json status after repair.

Updated Aug 11, 2026
One-click install
npx skills add https://github.com/Yashyasik/zexca-api --skill skill-repair-yashyasik
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-repair
Source: https://github.com/Yashyasik/zexca-api/tree/main/.gemini/skills/skill-repair
Command: npx skills add https://github.com/Yashyasik/zexca-api --skill skill-repair-yashyasik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agent skills can fail installation due to malformed SKILL.md files, missing resources, or broken sub-scripts, leaving them stuck in an error state. This Skill provides the procedure to diagnose the failure, fix the installed files, and correctly update the manifest.json so the skill is marked as installed again. ## Core Features & Use Cases - Error Diagnosis: Analyzes the reported installation error and inspects all files in the skill directory collectively to find the root cause. - Surgical Repair: Guides fixes to the installed skill files, including malformed SKILL.md frontmatter, missing resources, or incorrect sub-scripts. - Manifest Synchronization: Updates the skill's entry in manifest.json by setting status to "installed" and clearing the error field so the UI refreshes automatically. - Use Case: A skill named "data-fetcher" fails to install because its SKILL.md has invalid YAML frontmatter. Use this Skill to fix the frontmatter at the installed path, then update manifest.json to clear the error and restore the skill. ## Quick Start Fix the broken skill 'data-fetcher' at its installed path and update the manifest.json to mark it as installed.

Frequently Asked Questions about skill-repair

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix an agent skill that failed installation?▼

Analyze the reported error, then list all files in the skill's installed directory and inspect them collectively to find the root cause, such as malformed SKILL.md or missing resources. After fixing every affected file, update manifest.json to set the skill's status to installed and clear the error field.

How do I update manifest.json after repairing a skill?▼

Locate the skill's entry by its ID inside the skills object in manifest.json. Set the status field to "installed" and set the error field to null or remove it entirely. The UI detects this change automatically and refreshes.

What causes agent skill installation to fail?▼

Common causes include malformed SKILL.md frontmatter, missing resource files referenced by the skill, and incorrect or broken sub-scripts. Because skills can contain multiple files, all files in the directory should be analyzed together to identify the root cause.

Why is my repaired skill still showing an error status?▼

The error persists if manifest.json was not updated after the fix was applied. The skill's entry must have status set to "installed" and the error field cleared to null, otherwise the UI continues displaying the failed state.

Do I need to fix all files in a broken skill or just one?▼

All relevant files must be fixed, not just the one mentioned in the error message. Skills often span multiple files, so the repair procedure requires listing every file in the skill directory and analyzing them collectively before updating the manifest.