Agent GitOps for Openclaw

Automated deployment, rollback, and version management for AI agent workflows and skills.

trypto1019
v1.1.0
Feb 17, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install arc-skill-gitops

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install arc-skill-gitops using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Agent GitOps?

Agent GitOps provides a professional-grade DevOps workflow for managing Openclaw Skills. As AI agents frequently update or modify their own capabilities, the risk of breaking changes increases. This skill mitigates that risk by implementing a Git-based tracking system that records every state change, allowing for seamless rollbacks and stable versioning of your agent logic. It ensures that every modification to your Openclaw Skills is tracked, reversible, and verifiable.

Agent GitOps Use Cases

  • Version control for rapidly evolving AI agent capabilities
  • Rapid recovery from breaking skill updates or configuration errors
  • Auditing changes made to Openclaw Skills over time
  • Implementing CI/CD-like gates for local agent development and testing

How Agent GitOps Works

  1. The init command initializes a local repository within the skill directory to begin tracking the codebase.
  2. Developers or agents create snapshots to tag the current stable state of the workflow.
  3. The deploy command automates the process of snapshotting before applying updates to ensure a fallback exists.
  4. Users can list the history of all changes to identify specific points for restoration.
  5. The rollback command utilizes Git checkout logic to instantly revert the skill to a previous snapshot.

Agent GitOps Setup

To get started with Agent GitOps for your Openclaw Skills, ensure you have python3 and git installed on your system. Run the following commands:

# Initialize tracking for a specific skill
python3 {baseDir}/scripts/gitops.py init --skill ~/.openclaw/skills/my-skill/

# Snapshot the state before a major change
python3 {baseDir}/scripts/gitops.py snapshot --skill ~/.openclaw/skills/my-skill/ --tag "stable-v1"

# Check the status of all tracked skills
python3 {baseDir}/scripts/gitops.py status

Agent GitOps Data Schema & Taxonomy

Agent GitOps manages data through a combination of local git repositories and a centralized manifest:

Component Location/Format Description
Metadata Store ~/.openclaw/gitops/ Stores the global tracking manifest for all Openclaw Skills.
Skill Repositories ~/.openclaw/skills/[skill-name]/ Contains the actual git history for the specific skill.
Snapshots Git Tags Named markers for specific versions like v1.1 or pre-update.

Agent GitOps Advanced Features

  • Integrated security checks via arc-skill-scanner for safe deployments within Openclaw Skills environments
  • Automated pre-update snapshotting to eliminate manual backup steps during maintenance
  • Detailed history logging providing a transparent audit trail of all skill modifications
  • Support for custom tagging strategies to align with production release cycles and stable versions

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3git
Github Stars: 0
forks: 0

Featured*