Skill Manager
When & Why to Use This Skill
The Skill Lifecycle Manager is a specialized utility designed to maintain and optimize a library of GitHub-wrapped Claude skills. It automates the detection of updates, manages local inventories, and streamlines the refactoring process for skill wrappers, ensuring your AI agent's capabilities remain current, secure, and fully functional with the latest upstream changes.
Use Cases
- Automated Update Monitoring: Periodically scan local skill directories to identify 'stale' tools by comparing local commit hashes against the latest remote HEAD on GitHub.
- Guided Skill Refactoring: Assist the agent in upgrading skill wrappers by fetching new documentation, performing diff analysis on README files, and updating metadata and wrapper logic to match new CLI arguments.
- Skill Inventory Management: Maintain a clean development environment by listing all installed skills with their versions and performing permanent deletions of unused or deprecated tools.
| name | skill-manager |
|---|---|
| description | Lifecycle manager for GitHub-based skills. Use this to batch scan your skills directory, check for updates on GitHub, and perform guided upgrades of your skill wrappers. |
| license | MIT |
Skill Lifecycle Manager
This skill helps you maintain your library of GitHub-wrapped skills by automating the detection of updates and assisting in the refactoring process.
Core Capabilities
- Audit: Scans your local skills folder for skills with
github_urlmetadata. - Check: Queries GitHub (via
git ls-remote) to compare local commit hashes against the latest remote HEAD. - Report: Generates a status report identifying which skills are "Stale" or "Current".
- Update Workflow: Provides a structured process for the Agent to upgrade a skill.
- Inventory Management: Lists all local skills and provides deletion capabilities.
Usage
Trigger: /skill-manager check or "Scan my skills for updates"
Trigger: /skill-manager list or "List my skills"
Trigger: /skill-manager delete <skill_name> or "Delete skill
Workflow 1: Check for Updates
- Run Scanner: The agent runs
scripts/scan_and_check.pyto analyze all skills. - Review Report: The script outputs a JSON summary. The Agent presents this to the user.
- Example: "Found 3 outdated skills:
yt-dlp(behind 50 commits),ffmpeg-tool(behind 2 commits)..."
- Example: "Found 3 outdated skills:
Workflow 2: Update a Skill
Trigger: "Update [Skill Name]" (after a check)
- Fetch New Context: The agent fetches the new README from the remote repo.
- Diff Analysis:
- The agent compares the new README with the old
SKILL.md. - Identifies new features, deprecated flags, or usage changes.
- The agent compares the new README with the old
- Refactor:
- The agent rewrites
SKILL.mdto reflect the new capabilities. - The agent updates the
github_hashin the frontmatter. - The agent (optionally) attempts to update the
wrapper.pyif CLI args have changed.
- The agent rewrites
- Verify: Runs a quick validation (if available).
Scripts
scripts/scan_and_check.py: The workhorse. Scans directories, parses Frontmatter, fetches remote tags, returns status.scripts/update_helper.py: (Optional) Helper to backup files before update.scripts/list_skills.py: Lists all installed skills with type and version.scripts/delete_skill.py: Permanently removes a skill folder.
Metadata Requirements
This manager relies on the github-to-skills metadata standard:
github_url: Source of truth.github_hash: State of truth.
