← Back to Skills Marketplace
OpenClaw Git Backup
by
BlackTor-tor
· GitHub ↗
· v0.1.0
· MIT-0
150
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-git-backup
Description
Create, update, validate, or troubleshoot automated git backup workflows for OpenClaw repositories. Use when a user wants a scheduled commit-and-push backup...
Usage Guidance
This skill appears coherent and reasonably safe for its purpose, but review and test before deploying: 1) Confirm the target remote and branch (the script will fall back to 'main' if detached — verify this to avoid pushing to the wrong branch). 2) Prefer scoped deploy keys or the host credential manager over storing long-lived personal tokens; if you must use an HTTPS token, follow the guidance to store it in a repo-local credential file and restrict token scope, and ensure file permissions are correct. 3) Add BACKUP_EXCLUDES to prevent scheduler self-noise or sensitive runtime files being committed. 4) Run the bundled script manually and force-run the cron job once as recommended to validate commits and pushes. 5) Be aware the script runs with the cron user's filesystem permissions — do not use it to back up repositories that contain secrets you do not want accessible to that user. If you want stronger guarantees, consider using an SSH deploy key or a CI-backed backup with separated credentials.
Capability Analysis
Type: OpenClaw Skill
Name: openclaw-git-backup
Version: 0.1.0
The skill provides a legitimate utility for automating git backups within OpenClaw repositories. The core logic in `scripts/nightly_git_backup.sh` performs standard git operations (add, commit, push) with configurable excludes and detailed commit messages, while the documentation in `SKILL.md` and `references/` correctly guides the agent on setup and credential management, including explicit warnings against insecure practices like embedding tokens in URLs.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md instructions, and the bundled script all focus on creating a nightly commit-and-push backup for a repository. Required config and behavior (excludes, branch, remote, author info, push) match the stated purpose; there are no unrelated environment variables or external services requested.
Instruction Scope
Runtime instructions direct the agent to inspect git state, copy the provided script into a runtime path, configure repo-local HTTPS credential storage only if explicitly provided, create a cron job, and force-run the script. All referenced commands and files are within the backup workflow scope; instructions do not ask the agent to read unrelated system files or send data to unexpected remote endpoints.
Install Mechanism
No install spec is present (instruction-only plus a bundled script). The recommended install step is a simple file copy and a bash -n check. Nothing in the package downloads or extracts arbitrary code from third parties.
Credentials
The skill declares no required secrets and the bundled script uses optional BACKUP_* environment variables to control behavior. The SKILL.md documents credential handling and explicitly advises not to embed tokens in remote URLs and not to store tokens in the skill. The only network activity is git push/pull to the repository's configured remote, which is expected for this purpose.
Persistence & Privilege
always is false and the skill does not request permanent platform-wide privileges or attempt to modify other skills' configs. It simply writes/installs a runtime script into a specified path and configures per-repo credential storage only when the user explicitly supplies a token.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-git-backup - After installation, invoke the skill by name or use
/openclaw-git-backup - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial public release
Metadata
Frequently Asked Questions
What is OpenClaw Git Backup?
Create, update, validate, or troubleshoot automated git backup workflows for OpenClaw repositories. Use when a user wants a scheduled commit-and-push backup... It is an AI Agent Skill for Claude Code / OpenClaw, with 150 downloads so far.
How do I install OpenClaw Git Backup?
Run "/install openclaw-git-backup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OpenClaw Git Backup free?
Yes, OpenClaw Git Backup is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does OpenClaw Git Backup support?
OpenClaw Git Backup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OpenClaw Git Backup?
It is built and maintained by BlackTor-tor (@blacktor-tor); the current version is v0.1.0.
More Skills