commit-push
commit and push all local changes to remote repo
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anderskev/commit-pushWhat This Skill Does
The commit-push skill automates the version control workflow for OpenClaw users, enabling the agent to analyze local Git changes, generate compliant commit messages, and synchronize code with remote repositories. Instead of manually running shell commands, you can delegate the entire Git lifecycle to your AI agent. It strictly follows Conventional Commits formatting, ensuring that your repository history remains clean, readable, and structured for automated changelog generation. The skill performs a rigorous check of your current environment, including untracked files, staged changes, and previous commit history, before crafting an imperative, descriptive commit message. By integrating this into your workflow, you maintain consistent documentation and history standards across all your projects.
Installation
You can install this skill directly via the OpenClaw skill registry:
clawhub install openclaw/skills/skills/anderskev/commit-push
Ensure that you have Git installed and configured in your local environment, and that your current working directory is a initialized Git repository before triggering this skill.
Use Cases
- Automating routine codebase maintenance: Efficiently stage, commit, and push trivial changes or refactors without manual command entry.
- Standardizing development history: Force team-wide adherence to Conventional Commits (feat, fix, docs, refactor, etc.) by letting the agent enforce the syntax.
- Streamlining CI/CD triggers: Ensure every commit contains necessary metadata and issue references, which prevents fragmented commit histories and improves auditability for automated deployments.
Example Prompts
- "Commit and push all my current changes, it's a new feature for the user authentication module."
- "Review the files I've modified and commit them as a bug fix for the broken header layout, including a note that it closes issue #88."
- "Summarize my recent work and push it to the remote, ensuring it follows the conventional commit standard for a refactor."
Tips & Limitations
- Contextual Awareness: The skill relies on your Git history; if your repository is new or has a sparse log, the agent will rely heavily on file analysis. Ensure your branch is tracking a remote before execution to avoid push errors.
- Selective Staging: While the skill demonstrates staging all files (
git add -A), you can prompt the agent to be selective if you need to exclude configuration files or temporary artifacts. - Security: Because this skill executes shell commands, ensure the environment you are running OpenClaw in has the appropriate SSH keys or authentication tokens configured for your Git provider (e.g., GitHub, GitLab).
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-anderskev-commit-push": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution, network-access
Related Skills
tutorial-docs
Tutorial patterns for documentation - learning-oriented guides that teach through guided doing
fetch-pr-feedback
Fetch review comments from a PR and evaluate with receive-feedback skill
swift-testing-code-review
Reviews Swift Testing code for proper use of
rust-testing-code-review
Reviews Rust test code for unit test patterns, integration test structure, async testing, mocking approaches, and property-based testing. Covers Rust 2024 edition changes including async fn in traits for mocks,
explanation-docs
Explanation documentation patterns for understanding-oriented content - conceptual guides that explain why things work the way they do