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

commit

Create a git commit with a contextual message based on current changes, then push the branch.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/brennerspear/commit
Or

What This Skill Does

The commit skill for OpenClaw is an automated developer utility designed to streamline the version control workflow by eliminating repetitive manual git tasks. It acts as an autonomous git wrapper that evaluates your current repository state—including staged changes, unstaged modifications, and branch context—to perform a full sync cycle. By invoking this skill, OpenClaw automatically executes git add . to stage all modifications, crafts a descriptive and context-aware commit message based on your specific changes, and performs a git push to your origin repository, handling upstream tracking if necessary. It ensures your repository remains up-to-date with minimal friction, allowing you to focus on coding logic rather than maintenance.

Installation

To integrate this skill into your OpenClaw agent, execute the following command in your terminal: clawhub install openclaw/skills/skills/brennerspear/commit Ensure you have your git credentials configured locally (SSH keys or git-credential-cache) so that the agent can push to your remote repository without requiring interactive password input.

Use Cases

This skill is perfect for developers working in fast-paced environments where frequent commits are required for continuous integration. Use it after finishing a modular feature to rapidly push your progress to a remote branch. It is also highly effective during refactoring sessions where you want to secure small, iterative snapshots of your code state. Furthermore, it helps maintain clean project history by automatically generating context-rich messages that document precisely what was altered in the file system before pushing to the cloud.

Example Prompts

  1. "I'm done with the authentication module changes, please commit everything and push my current branch."
  2. "Can you bundle up all my recent bug fixes in the styles directory and push them to the server?"
  3. "Everything looks stable now; please stage all changes, commit with a descriptive message about the latest UI improvements, and push the branch to origin."

Tips & Limitations

  • Safety First: Since this skill performs git add ., it will stage all tracked and untracked files within the repository. Ensure you have your .gitignore properly configured to avoid committing sensitive local configuration files, API keys, or large build artifacts.
  • Authentication: The skill relies on your local environment's git configuration. If your remote repository requires MFA or a specific token, ensure the shell executing OpenClaw has the correct environment variables or ssh-agent access.
  • Scope: The skill is designed for single-branch workflows. If you have complex branching strategies, double-check your current branch status before execution.

Metadata

Stars4190
Views0
Updated2026-04-18
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-brennerspear-commit": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

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

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