gitbackup

Web & Frontend Development
v0.1.0
Benign

Create a local Git bundle backup of the OpenClaw workspace repository.

851 downloads851 installsby @trumppo

Setup & Installation

Install command

clawhub install trumppo/gitbackup

If the CLI is not installed:

Install command

npx clawhub@latest install trumppo/gitbackup

Or install with OpenClaw CLI:

Install command

openclaw skills install trumppo/gitbackup

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/trumppo/gitbackup

What This Skill Does

Creates a self-contained Git bundle of the OpenClaw workspace repository and saves it to `/root/.openclaw/backups`. The bundle filename includes a UTC timestamp. Older backups are not deleted.

A Git bundle is fully self-contained and portable, so the backup works without network access or a remote host.

When to Use It

  • Backing up Git history before a risky rebase
  • Preserving workspace state before a major refactor
  • Creating a point-in-time snapshot before deploying changes
  • Archiving project history for offline access
  • Safeguarding all refs and commits before a destructive branch operation
View original SKILL.md file
# Git Backup (local bundle)

## Overview
Create a self-contained Git bundle of the workspace repo and store it in `/root/.openclaw/backups`.

## Quick start
Run the bundled script:
```bash
bash /root/.openclaw/workspace/skills/gitbackup/scripts/git-backup.sh
```

## Output
Print the bundle path and size. The bundle filename includes UTC timestamp.

## Notes
- If the workspace is not a Git repo, exit with a clear error.
- Do not delete older bundles.

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Backing up Git history before a risky rebase

AGENT
  1. 1Backing up Git history before a risky rebase
  2. 2Preserving workspace state before a major refactor
  3. 3Creating a point-in-time snapshot before deploying changes
  4. 4Archiving project history for offline access
  5. 5Safeguarding all refs and commits before a destructive branch operation
OUTPUT
Create a local Git bundle backup of the OpenClaw workspace repository.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedFeb 28, 2026