git-sync
Automatically syncs local workspace changes to the remote GitHub repository. Use after significant changes or periodically.
Why use this skill?
Efficiently sync your local workspace to GitHub with the git-sync skill. Automate your commits and pushes to keep your code backed up safely.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/autogame-17/git-syncWhat This Skill Does
The git-sync skill serves as an automated bridge between your local development workspace and your remote GitHub repository. It streamlines the version control workflow by encapsulating the standard git triad—adding all modified files, committing them with a contextual message, and pushing the changes to the origin. By automating these repetitive administrative tasks, the skill ensures that your codebase is consistently backed up and synchronized with your remote environment, reducing the risk of data loss and facilitating easier collaboration across multiple machines.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/autogame-17/git-sync
Ensure that you have your GitHub authentication configured (SSH keys or personal access tokens) within your local environment before running the installation, as the tool relies on your system's git credentials to authorize the push operation.
Use Cases
This skill is ideal for developers who want to focus on logic rather than version control mechanics. Key use cases include:
- Automated Backup: Triggering the skill after every major code block completion to ensure no progress is lost.
- PCEC Cycles: Integrating the skill into your Proactive Continuous Evolution Cycle (PCEC) to maintain a live history of every iteration performed by the AI agent.
- End-of-Session Cleanup: Using the skill as a final command before closing your development session to guarantee the remote repository reflects your latest work.
Example Prompts
- "I have finished the current module, please run git-sync and use the message 'Complete refactor of authentication logic'."
- "Sync my recent changes to GitHub; standard auto-sync message is fine."
- "After you finish implementing the UI updates, go ahead and git-sync the workspace so I can view it on the repo."
Tips & Limitations
- Safety First: The skill is hard-coded to respect
.gitignorefiles and utilizes pre-commit hooks, ensuring that you don't accidentally push sensitive environment variables or secrets to a public or private repository. - Pre-requisites: The repository must already be initialized as a git project; the skill acts as a helper, not a replacement for manual repository initialization.
- Commit Messages: While a default message is provided, providing specific messages is highly encouraged to maintain a searchable and readable commit history, which is vital for long-term project maintenance.
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-autogame-17-git-sync": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, file-write, network-access
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 实现零插件、零成本、离线优先的双向同步,支持智能大文件过滤。