commit
Create a git commit with a contextual message based on current changes, then push the branch.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/brennerspear/commitWhat 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
- "I'm done with the authentication module changes, please commit everything and push my current branch."
- "Can you bundle up all my recent bug fixes in the styles directory and push them to the server?"
- "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.gitignoreproperly 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
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-brennerspear-commit": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution
Related Skills
amazon
Buy and return items on Amazon using browser automation. Use for purchasing, reordering, checking order history, and processing returns.
flights
Search flights via Google Flights. Find nonstop/connecting flights, filter by time and cabin class, get booking links. Supports city names (NYC, London, Tokyo) with automatic multi-airport search. No API key required.
gog-safety
Build and deploy safety-profiled gogcli binaries with compile-time command removal. Use when setting up gog for an AI agent with restricted permissions — choosing between L1 (draft only), L2 (collaborate), or L3 (standard write). Covers building from PR
dev-serve
Start and manage tmux-backed dev servers exposed through Caddy at wildcard subdomains.
domain-check
Check domain availability via Vercel and buy/manage domains via Vercel CLI