git-sync
Automatically syncs local workspace changes to the remote GitHub repository. Use after significant changes or periodically.
Why use this skill?
Automate your GitHub workflow with the git-sync skill. Seamlessly commit and push your local workspace changes directly from your OpenClaw agent for efficient development.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bobdevibecoder/bobagent-git-syncWhat This Skill Does
The git-sync skill serves as an automated bridge between your local development workspace and remote GitHub repositories. Rather than forcing you to context-switch between your code editor and a terminal to manually run git commands, this skill orchestrates the entire synchronization workflow. It intelligently stages your modified files, creates a commit with a relevant message, and pushes your changes to the configured remote branch. Designed for integration with OpenClaw's autonomous loops, this skill ensures that your code evolution is consistently backed up without requiring manual intervention, effectively acting as an automated DevOps engineer for your local projects.
Installation
To integrate this skill into your environment, use the OpenClaw management CLI. Open your terminal or the OpenClaw command interface and execute the following command:
clawhub install openclaw/skills/skills/bobdevibecoder/bobagent-git-sync
Ensure that your environment has valid Git credentials configured (SSH keys or a personal access token) so that the skill can authenticate with GitHub without prompting for passwords during execution.
Use Cases
This skill is ideal for several scenarios:
- Long-Running Agentic Tasks: During extended coding sessions, use this skill to capture milestones so you can revert to a stable state if the agent encounters an error.
- Routine Maintenance: Schedule this skill to run at the end of every PCEC cycle to guarantee no code is lost due to workspace resets or power failure.
- Quick Iterations: When you are rapidly experimenting with code snippets, let the agent handle the commit history so you can focus purely on logic rather than git syntax.
Example Prompts
- "Perform a git-sync and include a message that I have finished the authentication module implementation."
- "After you finish refactoring the database schema, make sure to run a git-sync to push the changes."
- "Run a git-sync to backup all current work before we start the new feature branch migration."
Tips & Limitations
To maximize effectiveness, ensure a .gitignore file is properly configured in your root directory to prevent sensitive files from being pushed. Note that the skill currently assumes a standard repository structure and requires pre-existing remote connectivity. It will skip actions if no changes are detected, which helps keep your commit history clean. Always verify your branch status periodically if you are working in a multi-collaborator environment, as the skill may attempt to push to the primary tracking branch.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bobdevibecoder-bobagent-git-sync": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-write, file-read, external-api
Related Skills
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.
Eternalmemory Sync
Securely backup and restore Openclaw agent memory from remote URLs using AES-256-GCM encryption.
git-mender
git-mender — Automatically fix GitHub issues end-to-end: reads the issue, analyzes repository code, implements a fix, and submits a pull request. Use when the user provides a GitHub issue URL, mentions fixing a GitHub issue, or uses the /fix-issue command. Supports URLs in the format https://github.com/{owner}/{repo}/issues/{number}.
issue-to-pr
issue-to-pr — Automatically fix GitHub issues end-to-end: reads the issue, analyzes repository code, implements a fix, and submits a pull request. Use when the user provides a GitHub issue URL, mentions fixing a GitHub issue, or uses the /fix-issue command. Supports URLs in the format https://github.com/{owner}/{repo}/issues/{number}.
obsidian-sync-syncthing
Obsidian 跨平台同步方案(Mac ↔ iPhone),基于 Syncthing 实现零插件、零成本、离线优先的双向同步,支持智能大文件过滤。