skill-git plugin
Version control system for Claude Code agent skills — git for SKILL.md files.
How to install the skill-git plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add KnowledgeXLab/skill-git
/plugin install skill-git@knowledgexlabWhat's inside skill-git
12 parts read from the plugin's own files.
Commands 10
Run as /skill-git:name- /skill-git:check<skill-name> [-a <agent>]
Check a skill for internal rule conflicts, agent config conflicts, and security issues. Usage: /skill-git:check <skill-name> [-a <agent>]
- /skill-git:commit[-a <agent>]
Use when the user wants to snapshot, save, or version their skills. Triggers on "commit my skills", "save skill changes", "new version of my skill", or after editing any SKILL.md file.
- /skill-git:delete[<skill-name>] [-a <agent>]
Permanently delete a registered skill from disk and remove it from config.json. Triggers on "delete skill", "remove skill", "uninstall skill", or "delete my <skill-name> skill".
- /skill-git:init[-a <agent>] [--project]
Initialize version tracking for your skills. Creates an independent git repo inside each skill folder and tags it v1.0.0. Run once before using any other skill-git commands. Supports -a <agent> (claude/gemini/codex/openclaw) and --project flags.
- /skill-git:installskillhub:<owner/repo@skill> | clawhub:<slug> [-a <agent>]
Install a skill from SkillHub (skills.sh) or ClawHub (clawhub.ai). Triggers on "install skill", "download skill from", or when called from /skill-git:search after the user confirms an install. Usage: /skill-git:install skillhub:<owner/repo@skill> or /skill-git:install clawhub:<slug>.
- /skill-git:list[-a <agent>] [-v] [<filter>]
List all registered skills with their versions and descriptions. Triggers on "list my skills", "show skills", "what skills do I have", "skill list", or "list skill-git skills".
- /skill-git:merge<skill-a> <skill-b> [<skill-c> ...] [-a <agent>]
Merge two or more similar skills into one stronger, more complete skill. Triggers on "merge skills", "combine skills", "consolidate skills", or after running /skill-git:scan. Usage: /skill-git:merge [skill-name skill-name ...]
- /skill-git:revert[<skill-name>] [-a <agent>]
Roll back one or more skills to a previous version. Use when the user wants to undo skill changes, discard uncommitted edits, restore an older version, or recover from a bad commit. Triggers on "revert my skill", "roll back skill", "restore skill to v1.0.0", "undo my skill changes", or similar.
- /skill-git:scan[<skill-name> ...] [-a <agent>] [-f]
Scan registered skills for semantic overlap and get merge suggestions. Triggers on "scan my skills", "find overlapping skills", "which skills can I merge", or before running /skill-git:merge.
- /skill-git:search<query or natural language description>
Discover skills from SkillHub (skills.sh) and ClawHub (clawhub.ai). Supports semantic search and finding online skills similar to a local skill. Triggers on "search for skills", "find a skill", "look for skill online", or "find something like my <skill>".
Skills 2
Claude loads it when the task matches- conflict-patterns
Identify direct contradictions, semantic incompatibilities, and rule overlaps between two sets of extracted instructions.
- rule-extraction
Extracts a structured JSON list of behavioral rules from markdown files within a skill directory for conflict checking and merging.
Using skill-git in Claude Code
Type a command in a Claude Code session:
/skill-git:check <skill-name> [-a <agent>]
/skill-git:commit [-a <agent>]
/skill-git:delete [<skill-name>] [-a <agent>]Skills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update skill-git@knowledgexlab
- Refresh the marketplace
- /plugin marketplace update knowledgexlab
- Turn it off for now
- /plugin disable skill-git@knowledgexlab
- Remove it
- /plugin uninstall skill-git@knowledgexlab
Skills in skill-git
- Conflict PatternsKnowledgeXLab/skill-git
Identify direct contradictions, semantic incompatibilities, and rule overlaps between two sets of extracted instructions.
42stars - Rule ExtractionKnowledgeXLab/skill-git
Extracts a structured JSON list of behavioral rules from markdown files within a skill directory for conflict checking and merging.
42stars
skill-git plugin questions
How do I install the skill-git plugin?
In Claude Code run /plugin marketplace add KnowledgeXLab/skill-git, then /plugin install skill-git@knowledgexlab.
What does the skill-git plugin include?
skill-git bundles 10 commands, 2 skills.
What commands does the skill-git plugin add?
It adds /skill-git:check, /skill-git:commit, /skill-git:delete, /skill-git:init, /skill-git:install, /skill-git:list +4. Run them in Claude Code with the plugin prefix, for example /skill-git:check.
How do I update or remove the skill-git plugin?
Update it with claude plugin update skill-git@knowledgexlab in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall skill-git@knowledgexlab.