Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Manages deployment, rollback, and version tracking for OpenClaw skills using git. Each skill directory gets its own git repo with tagged snapshots taken before and after updates. When an update breaks something, any previous snapshot can be restored by tag.
Automates git-based snapshotting and rollback so you can recover from a bad skill update in one command instead of manually reverting files.
When to use it
- Rolling back a skill update that broke agent behavior
- Tagging a stable skill version before applying a security patch
- Reviewing the full update history of a deployed skill
- Running pre-deploy checks before pushing a skill change
- Tracking current versions across all installed skills at once
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Update my summarizer skill to v1.2 and roll back if something breaks
- 1Run the deploy command with --tag v1.2 to snapshot the current state and commit the update
- 2Run the check command to validate the updated skill via pre-deploy gates
- 3Run status to confirm the new version is active across all tracked skills
- 4If issues appear, run rollback with the pre-update tag to restore the previous snapshot
Skill is either running at v1.2 or restored to the pre-update snapshot, with full tagged history recorded in ~/.openclaw/gitops/