Skip to content
Back to skills

Openclaw Git

BSecurity

"Git automation for OpenClaw workspace. Use when user needs to

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
documentationbashgitdocumentation

Security analysis

B85/100
  • highContains patterns that look like hardcoded API keys

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-git --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Git?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Git
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-git/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-git)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-git
description: "Git automation for OpenClaw workspace. Use when user needs to
  commit and push changes from /home/roger/.openclaw to the remote repository.
  Triggers on: git commit, git push, save changes, backup openclaw."
---


# OpenClaw Git

Automated git commit and push for the OpenClaw workspace.

## Quick Start

### Commit and Push Changes

```bash
# Default commit message
~/.openclaw/workspace/skills/openclaw-git/scripts/git-push.sh

# Custom commit message
~/.openclaw/workspace/skills/openclaw-git/scripts/git-push.sh "Your commit message"
```

## What It Does

1. Changes to `/home/roger/.openclaw`
2. Stages all changes (`git add .`)
3. Commits with message (default: "update: $(date)")
4. Pushes to origin main

## Usage in Skill Upload Workflow

When uploading skills to ClawHub, use OpenClaw Git to backup all workspace changes:

### Skill Upload Complete Workflow

```bash
# Step 1: Upload skill to ClawHub (manual or scripted)
cd ~/.openclaw/workspace/skills/<skill-name>
clawhub publish . --version <version> --changelog "description"

# Step 2: Commit and push all workspace changes using OpenClaw Git
~/.openclaw/workspace/skills/openclaw-git/scripts/git-push.sh "Upload <skill-name> v<version> and sync workspace"

# Alternative: Use default timestamp message
~/.openclaw/workspace/skills/openclaw-git/scripts/git-push.sh
```

### What Gets Backed Up

- Skill code changes
- Documentation updates (SKILL.md, TOOLS.md, MEMORY.md)
- Configuration files
- Learning records (.learnings/)
- Daily memory files

### Integration Points

This script is automatically called at the end of the "skill upload" workflow to ensure all changes are persisted to Git before finishing.

---

## Prerequisites

- Git repository initialized at `/home/roger/.openclaw`
- Remote origin configured
- Credentials configured (or use SSH key)

## Credentials

GitHub:
- Username: Roger0808
- Token: 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

## Script Reference

See [scripts/git-push.sh](scripts/git-push.sh) for the automation script.

Files in this skill

  • SKILL.md2.1 KB
  • scripts/git-credential-helper.sh138 B
  • scripts/git-push.sh1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…