Auto-Pilot / 全自动
更新于 a month ago

khazix-skills

KKKKKhazix
0.6k
kkkkhazix/khazix-skills
82
Agent 评分

💡 摘要

一套包含三个技能的套件,用于从 GitHub 仓库创建、管理和进化 AI 智能体技能。

🎯 适合人群

AI 智能体高级用户技能开发者与维护者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.md with 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

  1. Session Review: Analyze skill performance after conversations
  2. Experience Extraction: Convert feedback into structured evolution.json
  3. Smart Stitching: Persist learned best practices into SKILL.md

Usage

/evolve

Or: "Save this experience to the skill"

Workflow

  1. Review: Agent analyzes what worked/didn't work
  2. Extract: Creates structured JSON with preferences, fixes, custom prompts
  3. Persist: Merges into evolution.json
  4. Stitch: Updates SKILL.md with 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

  1. Clone this repository:
git clone https://github.com/KKKKhazix/Khazix-Skills.git
  1. 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/
  1. 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:

  1. Create: Use github-to-skills to wrap a GitHub repo as a skill
  2. Maintain: Use skill-manager to check for updates and upgrade
  3. Evolve: Use skill-evolution-manager to 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!

五维分析
清晰度8/10
创新性7/10
实用性9/10
完整性9/10
可维护性8/10
优缺点分析

优点

  • 自动化了从创建到进化的完整技能生命周期。
  • 减少了技能库的手动维护开销。
  • 封装了技能开发和改进的最佳实践。

缺点

  • 需要本地 Git 和 Python 环境,增加了复杂性。
  • 主要针对 GitHub 托管的代码,限制了来源灵活性。
  • 进化功能依赖于持续的用户反馈才能有效。

相关技能

add-skill-installer

A
toolAuto-Pilot / 全自动
82/ 100

“这是你的 AI 助手的包管理器,这很棒,直到你意识到你现在要为你的非感知同事处理依赖地狱。”

skills-updater

A
toolAuto-Pilot / 全自动
82/ 100

“一个如此彻底的技能管理器,可能会把自己更新到失业,让你无事可管。”

dispatching-parallel-agents

B
toolCo-Pilot / 辅助式
76/ 100

“这不过是你AI小弟们的豪华版任务清单,好在它提醒了它们别踩到彼此的电子脚趾。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 KKKKhazix.