Git Manager for Openclaw

An advanced Git orchestration skill designed to automate complex repository maintenance and history management with built-in safety protocols.

ppopen
v1.0.1
Mar 10, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install openclaw-skill-git-manager

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 openclaw-skill-git-manager 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 Git Manager?

The git-manager skill for Openclaw Skills is a sophisticated tool designed to handle high-stakes Git operations. It goes beyond basic commits by orchestrating advanced workflows like bisecting regressions, cleaning up stale branches, and organizing complex stash histories. By integrating safety prompts and verification steps, it ensures that even destructive commands are executed with full context and backup options.

This skill serves as a technical companion for developers who need to perform repository maintenance without the risk of data loss. Whether you are hunting down a bug using git bisect or reorganizing a cluttered set of local branches, this Openclaw Skills integration provides the guardrails and command sequences necessary for professional-grade version control management.

Git Manager Use Cases

  • Automating the git bisect process to identify the exact commit where a regression was introduced.
  • Performing bulk branch cleanup by identifying merged versus non-merged branches safely.
  • Recovering and organizing work-in-progress via advanced stash management and naming conventions.
  • Analyzing repository history and reflogs to understand the sequence of recent operations.
  • Executing history-rewriting commands like rebase or force-push with multi-step safety verification.

How Git Manager Works

  1. The skill begins by assessing repository health, checking the current status, and verifying the active branch or tag to establish a baseline.
  2. For troubleshooting, it initiates a managed bisect session, guiding the user through testing good and bad commits iteratively while protecting open work.
  3. It identifies stale branches using specific merge-state filters and suggests deletion only after a secondary safety confirmation.
  4. Stash entries are cataloged, named, and verified to prevent the loss of uncommitted work during complex transitions.
  5. Detailed log analysis is provided using graph decorations and reflog inspection to map out the repository history and recent changes.
  6. A mandatory two-step destructive confirmation protocol is triggered before any high-risk command to prevent accidental data loss.

Git Manager Setup

To get started with the git-manager skill within Openclaw Skills, ensure your local environment is configured with Git. You can activate the skill by adding the definition to your agent skill library.

# Trigger git-manager through your agent
openclaw run git-manager

No additional external dependencies are required beyond a standard Git installation (v2.x or higher recommended).

Git Manager Data Schema & Taxonomy

The git-manager skill interacts primarily with the .git directory and local configuration. It maintains a logical flow during bisecting and cleanup operations.

Data Component Description Persistence
Repository Status Current branch, HEAD hash, and staging area state. Session-based
Bisect State Tracks good and bad commit progress during debugging. Git Native
Stash Index Metadata and descriptions for stashed local changes. Git Native
Safety Checkpoints Temporary tags or branches created as pre-command backups. Optional
Log History Reflog and graph data used for state analysis. Git Native

Git Manager Advanced Features

  • Multi-step destructive confirmation protocol requiring explicit textual YES for high-risk operations.
  • Support for force-with-lease as a safer alternative to standard force pushing.
  • Automated backup suggestions (tags or temporary branches) before performing rebases or history rewrites.
  • Integrated reflog analysis to recover lost commits or accidentally deleted branches.
  • Context-aware suggestions for stash organization using descriptive naming to avoid stash pile-up.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*