← Back to Skills Marketplace
zijinoier

skill git - version control for your skills

by Wen Licheng · GitHub ↗ · v0.2.2 · MIT-0
cross-platform ✓ Security Clean
243
Downloads
1
Stars
1
Active Installs
6
Versions
Install in OpenClaw
/install skill-git
Description
Manage AI agent skills with version control to initialize tracking, commit changes with semantic versioning, and revert to previous skill versions.
Usage Guidance
This skill appears to do what it says: local version control and merging of skill folders. Before using it, review these points: (1) The SKILL.md expects git and jq but the registry metadata does not list them — install git and jq first. (2) Inspect scripts/sg-init.sh (included in the bundle) before running the init command — it will be executed by the skill. (3) The tool will create .git repositories, perform commits/tags/resets, and may delete tags during reverts; destructive actions require explicit confirmation but will modify your skill folders and ~/.skill-git/config.json. Back up your skills (or let the tool create the /tmp backup) before performing multi-version reverts or merges. (4) The skill reads many local config and plugin files and may read untracked file contents only if you consent; sensitive filenames are blocklisted in many places but double-check for secrets in your skill folders. If those behaviors are acceptable, this skill is coherent with its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: skill-git Version: 0.2.2 This skill bundle implements a local version control system for AI agent skills using Git. It demonstrates strong security awareness by including sensitive filename blocklists (e.g., for .env, .ssh, and credentials) in commit.md, merge.md, and scan.md to prevent accidental data exposure. Additionally, check.md includes a security scanning step specifically designed to detect prompt injection and data exfiltration patterns in other skills. All destructive operations, such as deleting merged folders or reverting to previous versions, require explicit user confirmation, and the logic is strictly aligned with the stated purpose of skill management.
Capability Assessment
Purpose & Capability
The name/description (version control for skills: init, commit, revert, scan, merge, check) match the actions the SKILL.md describes: creating git repos, committing, tagging, reverting, scanning skill markdown, and synthesizing merges. The commands operate on local skill folders and update a local ~/.skill-git/config.json — that aligns with the stated purpose. Minor note: the skill claims no required binaries in the registry metadata, but the runtime instructions explicitly require git and jq.
Instruction Scope
Instructions are detailed and confined to the stated domain: they read SKILL.md and other top-level *.md files, extract rules, run git operations (init/commit/reset/tag/diff), manipulate a local ~/.skill-git cache and config, and prompt the user for destructive actions. They also auto-detect agent via parent process and config files. The tool reads many local config files and may read untracked file contents only with explicit user consent; sensitive filename blocklists are applied in many places. Overall, the steps stay within the version-control/analysis scope.
Install Mechanism
There is no remote install or downloader; this is an instruction-only skill with one included script (scripts/sg-init.sh) that will be executed locally. No external URLs or archive extraction are used. The primary install risk is running the included shell script on the user's machine — you should review its content before execution (it is present in the bundle).
Credentials
The skill does not declare required environment variables in the registry, but the runtime docs require git and jq and reference environment context variables (e.g., CLAUDE_PLUGIN_ROOT, $ARGUMENTS, $PPID). The tool reads and writes many local files under ~/.skill-git and user agent directories (~/.claude, ~/.gemini, ~/.openclaw, etc.). It does not request external API keys or unrelated credentials. The omission of declared binaries/vars is a metadata mismatch but not a functional mismatch with purpose.
Persistence & Privilege
The skill is not always-on and runs only when invoked. It writes to ~/.skill-git (config, cache), may create .git folders and perform git init/commit/tag/reset operations inside users' skill directories, and can copy backups to /tmp. Those privileges are necessary for a local VCS tool, but you should expect it to modify your skill folders and config.json when you confirm operations. Autonomous invocation is allowed by platform default but not an additional flagged privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-git
  3. After installation, invoke the skill by name or use /skill-git
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.2
Version 0.2.2 of skill-git --- Fix 1 — scan.md: Auto-deletion of missing skills → explicit confirmation Before: On path not found, immediately ran jq del(...) and displayed a post-hoc warning. After: Collects all missing skills, displays the list, prompts [y/n] once. Deletion only runs if user confirms. Fix 2 — commit.md: Same pattern, same fix Before: Auto-removed missing skill directories from config.json without asking. After: Same gate — show the list, ask [y/n], only delete on explicit confirmation. Fix 3 — merge.md Step 7b: No sensitive-filename blocklist when copying files Before: Copied all non-_meta.json, non-backup files (including .env, .key, .pem, etc.) from source skill folders, with no credential check. After: Added the same comprehensive blocklist used in commit.md as filter 0 (highest priority, applied before _meta.json or conflict checks). Any blocked file is listed in the Output Summary under Skipped (sensitive filename).
v0.2.1
skill-git 0.2.1 — safety fix
v0.2.0
New commands for advanced skill QA and consolidation: - Added three new commands: check (for conflicts/security), scan (for semantic overlap), and merge (combine similar skills).
v0.1.2
safety-enhanced in this version .
v0.1.1
- Added a Prerequisites section outlining required tools (git and jq) and installation hints for macOS/Linux. - Clarified that `init` checks for git, while `commit` and `revert` require jq for updating config.json.
v0.1.0
skill-git 0.1.0 — Initial release - Introduces version control for AI agent skills with independent git histories per skill folder. - Supports three main commands: init, commit, and revert, each triggered by keywords or natural language. - Commits are tagged with semantic versions for easy rollback and recovery. - Displays a command menu if user intent is unclear. - Designed for flexible natural language interaction and clear intent routing.
Metadata
Slug skill-git
Version 0.2.2
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 6
Frequently Asked Questions

What is skill git - version control for your skills?

Manage AI agent skills with version control to initialize tracking, commit changes with semantic versioning, and revert to previous skill versions. It is an AI Agent Skill for Claude Code / OpenClaw, with 243 downloads so far.

How do I install skill git - version control for your skills?

Run "/install skill-git" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is skill git - version control for your skills free?

Yes, skill git - version control for your skills is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does skill git - version control for your skills support?

skill git - version control for your skills is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created skill git - version control for your skills?

It is built and maintained by Wen Licheng (@zijinoier); the current version is v0.2.2.

💬 Comments