ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

commit-push

commit and push all local changes to remote repo

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/anderskev/commit-push
Or

What 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

  1. "Commit and push all my current changes, it's a new feature for the user authentication module."
  2. "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."
  3. "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

Author@anderskev
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-anderskev-commit-push": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#git#version-control#automation#development#productivity
Safety Score: 3/5

Flags: file-read, file-write, code-execution, network-access