💡 摘要
一套包含三个技能的套件,用于从 GitHub 仓库创建、管理和进化 AI 智能体技能。
🎯 适合人群
🤖 AI 吐槽: “这是一个用于管理技能的元技能,要么是精妙的递归,要么是你已经把自己自动化进了死胡同的标志。”
这些技能涉及克隆和执行来自任意 GitHub URL 的代码,存在供应链风险。它们还会读写本地文件系统并可能解析不受信任的 YAML。缓解措施:在处理前,实施可信仓库或用户域名的允许列表。
Khazix-Skills
A collection of AI Skills for managing and evolving your skill library. These tools help you create, maintain, and continuously improve AI skills from GitHub repositories.
Skills Overview
| Skill | Description | |-------|-------------| | github-to-skills | Convert GitHub repos into AI skills automatically | | skill-manager | Manage skill lifecycle - check updates, list, delete | | skill-evolution-manager | Evolve skills based on user feedback and experience |
github-to-skills
Automated factory for converting GitHub repositories into specialized AI skills.
Features
- Fetches repository metadata (README, latest commit hash)
- Creates standardized skill directory structure
- Generates
SKILL.mdwith extended frontmatter for lifecycle management - Creates wrapper scripts for tool invocation
Usage
/github-to-skills <github_url>
Or: "Package this repo into a skill: "
Example
/github-to-skills https://github.com/yt-dlp/yt-dlp
skill-manager
Lifecycle manager for GitHub-based skills.
Features
- Audit: Scan local skills folder for GitHub-based skills
- Check: Compare local commit hashes against remote HEAD
- Report: Generate status report (Stale/Current)
- Update: Guided workflow for upgrading skills
- Inventory: List all skills, delete unwanted ones
Usage
/skill-manager check # Scan for updates
/skill-manager list # List all skills
/skill-manager delete <name> # Remove a skill
Scripts
| Script | Purpose |
|--------|---------|
| scan_and_check.py | Scan directories, parse frontmatter, check remote versions |
| update_helper.py | Backup files before update |
| list_skills.py | List installed skills with metadata |
| delete_skill.py | Permanently remove a skill |
skill-evolution-manager
Continuously improve skills based on user feedback and conversation insights.
Core Concepts
- Session Review: Analyze skill performance after conversations
- Experience Extraction: Convert feedback into structured
evolution.json - Smart Stitching: Persist learned best practices into
SKILL.md
Usage
/evolve
Or: "Save this experience to the skill"
Workflow
- Review: Agent analyzes what worked/didn't work
- Extract: Creates structured JSON with preferences, fixes, custom prompts
- Persist: Merges into
evolution.json - Stitch: Updates
SKILL.mdwith learned best practices
Scripts
| Script | Purpose |
|--------|---------|
| merge_evolution.py | Incrementally merge new experience data |
| smart_stitch.py | Generate/update best practices section in SKILL.md |
| align_all.py | Batch re-stitch all skills after updates |
Installation
- Clone this repository:
git clone https://github.com/KKKKhazix/Khazix-Skills.git
- Copy desired skills to your Claude skills directory:
# Windows copy /E Khazix-Skills\github-to-skills %USERPROFILE%\.claude\skills\ # macOS/Linux cp -r Khazix-Skills/github-to-skills ~/.claude/skills/
- Restart Claude to load the new skills.
Requirements
- Python 3.8+
- Git (for checking remote repositories)
- PyYAML (
pip install pyyaml)
How It Works
+------------------+ +----------------+ +------------------------+
| github-to-skills | --> | skill-manager | --> | skill-evolution-manager|
+------------------+ +----------------+ +------------------------+
| | |
Create new Maintain & Evolve &
skills from update skills improve based
GitHub repos on feedback
The Complete Skill Lifecycle:
- Create: Use
github-to-skillsto wrap a GitHub repo as a skill - Maintain: Use
skill-managerto check for updates and upgrade - Evolve: Use
skill-evolution-managerto capture learnings and improve
License
MIT
Contributing
Contributions are welcome! Feel free to:
- Report issues
- Submit pull requests
- Share your own skills
Author
KKKKhazix
If you find these skills useful, consider giving this repo a star!
优点
- 自动化了从创建到进化的完整技能生命周期。
- 减少了技能库的手动维护开销。
- 封装了技能开发和改进的最佳实践。
缺点
- 需要本地 Git 和 Python 环境,增加了复杂性。
- 主要针对 GitHub 托管的代码,限制了来源灵活性。
- 进化功能依赖于持续的用户反馈才能有效。
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 KKKKhazix.
