Windows Git Ops for Openclaw

A specialized skill for executing safe, PowerShell-compatible Git operations within Windows environments.

zhangchaoqing5
v1.0.0
Apr 14, 2026
0
728
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install windows-git-ops

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 windows-git-ops 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 Windows Git Ops?

The Windows Git Ops skill is a dedicated utility for Openclaw Skills designed to streamline version control within PowerShell. It focuses on executing reliable Git commands while avoiding common pitfalls associated with bash-to-Windows translation. By using this tool within the Openclaw Skills ecosystem, agents can perform staging, committing, and branching with high technical accuracy and auditable results. It enforces a strict non-interactive approach, ensuring that operations never stall for manual input while maintaining repository integrity.

Windows Git Ops Use Cases

  • Managing Git branches and commits within a Windows PowerShell workspace.
  • Preventing syntax errors when translating bash-centric Git commands to Windows environments.
  • Automating feature branch creation with required codex/ naming conventions.
  • Ensuring only specific files are staged in complex or dirty worktrees.
  • Performing safe merges and status inspections without interactive prompts or editors.

How Windows Git Ops Works

  1. Initial State Inspection: The skill audits the current branch and status using status --short and branch tracking commands to establish a baseline.
  2. Environment Validation: It confirms the use of PowerShell-safe quoting and syntax for all subsequent Git calls, avoiding POSIX-specific operators.
  3. Targeted Staging: Files are added explicitly via specific paths to avoid broad or accidental changes to the index.
  4. Non-Interactive Execution: Commits and merges are executed with predefined messages, bypassing internal editors like Notepad or Vim.
  5. Verification: Every operation concludes with a final inspection of the worktree and current branch state to report success.

Windows Git Ops Setup

To use this skill within Openclaw Skills, ensure your environment is configured for PowerShell. No specific installation is required beyond the standard framework setup. Verify your Git installation with:

git --version

Windows Git Ops Data Schema & Taxonomy

The skill organizes its operations by tracking current repository states and ensuring metadata consistency.

Action Data Tracked Metadata Taxonomy
Branching Current & New Branch Name Uses codex/ prefix for tracking
Staging List of staged files Explicit path targeting
Commits Commit message and Hash Non-interactive logs
Merges Merge strategy and result Auditable state transitions

Windows Git Ops Advanced Features

  • Native PowerShell environment variable handling using $env syntax for command-specific configurations.
  • Enforcement of codex/ naming prefixes for structured branch management within Openclaw Skills workflows.
  • Multi-step verification cycles to prevent dirty commits in repositories with unrelated changes.
  • Automated failure recovery by detecting shell-specific syntax errors and rewriting them for native Windows compatibility.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*