Agent skill

skill-manager

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.

Stars 1,001
Forks 159

Install this agent skill to your Project

npx add-skill https://github.com/KKKKhazix/Khazix-Skills/tree/main/skill-manager

SKILL.md

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

  1. Audit: Scans your local skills folder for skills with github_url metadata.
  2. Check: Queries GitHub (via git ls-remote) to compare local commit hashes against the latest remote HEAD.
  3. Report: Generates a status report identifying which skills are "Stale" or "Current".
  4. Update Workflow: Provides a structured process for the Agent to upgrade a skill.
  5. 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

  1. Run Scanner: The agent runs scripts/scan_and_check.py to analyze all skills.
  2. 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)

  1. Fetch New Context: The agent fetches the new README from the remote repo.
  2. Diff Analysis:
    • The agent compares the new README with the old SKILL.md.
    • Identifies new features, deprecated flags, or usage changes.
  3. 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.
  4. 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.

Expand your agent's capabilities with these related and highly-rated skills.

KKKKhazix/Khazix-Skills

github-to-skills

Automated factory for converting GitHub repositories into specialized AI skills. Use this skill when the user provides a GitHub URL and wants to "package", "wrap", or "create a skill" from it. It automatically fetches repository details, latest commit hashes, and generates a standardized skill structure with enhanced metadata suitable for lifecycle management.

1,001 159
Explore
KKKKhazix/Khazix-Skills

Skill Evolution Manager

专门用于在对话结束时,根据用户反馈和对话内容总结优化并迭代现有 Skills 的核心工具。它通过吸取对话中的“精华”(如成功的解决方案、失败的教训、特定的代码规范)来持续演进 Skills 库。

1,001 159
Explore
mattpocock/skills

handoff

Compact the current conversation into a handoff document for another agent to pick up.

111,310 9,758
Explore
mattpocock/skills

scaffold-exercises

Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.

111,310 9,758
Explore
mattpocock/skills

obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

111,310 9,758
Explore
mattpocock/skills

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

111,310 9,758
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results