Fix Skill Documentation
Version: 2.1.0 | Last Updated: 2025-01-27
Check and fix missing reference files in dynamic skills.
Usage
Arguments:
crate_name: Specific crate to check (optional, defaults to all)--check-only: Only report issues, don't fix--remove-invalid: Remove invalid references instead of creating files
Execution Mode Detection
CRITICAL: Check if agent infrastructure is available.
This skill can run in two modes:
- Agent Mode: Uses background agents for documentation fetching
- Inline Mode: Executes directly using agent-browser CLI or WebFetch
Agent Mode (Plugin Install)
When agent infrastructure is available, use background agents for fetching:
Instructions
1. Scan Skills Directory
2. Parse SKILL.md for References
Extract referenced files from Documentation section:
3. Check File Existence
4. Report Status
5. Fix Missing Files (Agent Mode)
Launch background agent to fetch documentation:
Inline Mode (Skills-only Install)
When agent infrastructure is NOT available, execute directly:
Step 1: Scan Skills Directory
Step 2: Parse SKILL.md for References
Read SKILL.md and extract all ./references/*.md patterns:
Step 3: Check File Existence
Step 4: Report Status
Output format:
Step 5: Fix Missing Files (Inline)
For each missing file:
Using agent-browser CLI:
Using WebFetch fallback:
Then write the content:
Step 6: Update SKILL.md (if --remove-invalid)
If --remove-invalid flag is set and file cannot be fetched:
Tool Priority
- agent-browser CLI - Primary tool for fetching documentation
- WebFetch - Fallback if agent-browser unavailable
- Edit SKILL.md - For removing invalid references (--remove-invalid only)


