| 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_url metadata.
- 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 <skill_name>"
Workflow 1: Check for Updates
- Run Scanner: The agent runs
scripts/scan_and_check.py to 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)..."
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.
- Refactor:
- The agent rewrites
SKILL.md to reflect the new capabilities.
- The agent updates the
github_hash in the frontmatter.
- The agent (optionally) attempts to update the
wrapper.py if CLI args have changed.
- 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.
Skill Synergy Examples
Working with github-to-skills
python github-to-skills/scripts/fetch_github_info.py https://github.com/username/repo.git
python skill-manager/scripts/scan_and_check.py .
Working with skill-evolution-manager
python skill-manager/scripts/scan_and_check.py .
python skill-evolution-manager/scripts/smart_stitch.py updated-skill-name
Working with update-readme
python skill-manager/scripts/list_skills.py .
python update-readme/scripts/analyze_project.py .
使用示例
示例1:列出所有技能
python scripts/list_skills.py .
示例2:检查技能更新
python scripts/scan_and_check.py .
示例3:删除不需要的技能
python scripts/delete_skill.py old-skill-name
python scripts/list_skills.py .
示例4:批量管理技能
python scripts/list_skills.py . --detailed
python scripts/scan_and_check.py . --verbose
python scripts/list_skills.py .
示例5:与其他技能协同工作
python github-to-skills/scripts/fetch_github_info.py https://github.com/new/tool.git
python scripts/scan_and_check.py .
python scripts/scan_and_check.py .
python skill-evolution-manager/scripts/align_all.py
python scripts/list_skills.py .
python update-readme/scripts/analyze_project.py .
User-Learned Best Practices & Constraints
Auto-Generated Section: This section is maintained by skill-evolution-manager. Do not edit manually.
User Preferences
- 技能应按照功能分类展示
- 建立完整的技能生命周期管理系统
- 新技能集成后需要更新所有相关文档
Known Fixes & Workarounds
- 技能总数统计需要实时更新
- 项目结构图必须包含所有技能目录
Custom Instruction Injection
管理技能时:1) 维护技能分类系统 2) 跟踪技能总数变化 3) 确保文档同步 4) 验证技能生态系统完整性