← Back to Skills Marketplace
mupengi-bot

Git Auto

by mupengi-bot · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
785
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install git-auto
Description
Git workspace automation (status/commit/push/log/diff)
README (SKILL.md)

git-auto

Git Workspace Automation — Streamline daily Git operations with intelligent defaults. Status checks, smart commits, safe pushes, and diff analysis in one skill.

When to Use

  • Check workspace status across multiple repos
  • Generate meaningful commit messages from staged changes
  • Push with safety checks (branch protection, conflict detection)
  • View formatted logs and diffs
  • Batch operations across monorepo subdirectories

Commands

status

# Show concise workspace status
git-auto status
# Multi-repo status scan
git-auto status --all

Returns: modified files, untracked files, branch info, ahead/behind count.

commit

# Auto-generate commit message from diff
git-auto commit
# With explicit message
git-auto commit -m "feat: add user auth"
# Commit specific files
git-auto commit -f "src/auth.ts,src/types.ts"

Behavior:

  1. Runs git diff --staged to analyze changes
  2. Generates conventional commit message (feat/fix/refactor/docs/chore)
  3. Validates message format before committing
  4. Shows commit hash and summary

push

# Push current branch with safety checks
git-auto push
# Force push (with confirmation)
git-auto push --force

Safety checks:

  • Warns if pushing to main/master directly
  • Checks for upstream conflicts
  • Verifies remote exists

log

# Last 10 commits, formatted
git-auto log
# Last N commits
git-auto log -n 20
# Filter by author
git-auto log --author "name"

diff

# Staged changes
git-auto diff
# Working directory changes
git-auto diff --unstaged
# Between branches
git-auto diff main..feature-branch

Smart Commit Message Format

Uses Conventional Commits:

  • feat: — New feature
  • fix: — Bug fix
  • refactor: — Code restructuring
  • docs: — Documentation only
  • chore: — Maintenance tasks
  • test: — Adding/updating tests

Integration

Works with any Git repository. No configuration needed — auto-detects .git directory and current branch. Pairs well with code-review skill for pre-commit analysis.

Error Handling

Situation Behavior
Not a git repo Clear error message with suggestion
Merge conflicts Shows conflict files, suggests resolution
No staged changes Prompts to stage or shows unstaged changes
Auth failure Suggests credential refresh
Detached HEAD Warns and suggests creating branch
Usage Guidance
This skill is coherent with a git automation tool, but its documentation over-promises and the script will automatically stage (git add -A), commit, and push without the safety checks promised in the docs. Before installing/using: (1) inspect run.sh yourself and test it in a throwaway repo; (2) set WORKSPACE explicitly to a safe test directory (do not rely on the default); (3) be aware it will use your local git credentials to push; (4) avoid running it in repos that might contain secrets (.env, .secrets) because the script does not actually block or scan for them; (5) if you need the promised safety checks (conflict detection, force-push confirmation, multi-repo behavior), request or implement those features before using it on important repositories.
Capability Analysis
Type: OpenClaw Skill Name: git-auto Version: 1.0.0 The skill is classified as suspicious due to critical vulnerabilities stemming from discrepancies between its described safety features and its implementation. The `run.sh` script's `commit` action uses `git add -A` unconditionally, risking the accidental staging and committing of sensitive files, which directly contradicts safety instructions in `GUIDE.md` to prevent this. Additionally, the `push` action in `run.sh` lacks the safety checks (e.g., warnings for pushing to main/master, conflict detection) explicitly described in `SKILL.md`. The `GUIDE.md` also attempts to instruct the AI agent to perform safety checks that are not implemented in `run.sh`, creating a false sense of security and potential for unintended data exposure or repository corruption.
Capability Assessment
Purpose & Capability
The skill name and description claim multi-repo scans, conventional-commit generation/validation, branch-protection and conflict checks, and a force-push confirmation flow. The included run.sh implements only a single-workspace script that cd's to $WORKSPACE and supports basic status/commit/push/log/diff actions. Several claimed features (multi-repo, detailed message generation/validation, conflict detection, force-push confirmation) are not implemented in run.sh — the capability claims exceed the actual code.
Instruction Scope
SKILL.md promises safety checks and sensitive-file protections, but run.sh will run git add -A and git commit -m with automatically generated messages and then git push origin <branch> with no checks for .env/.secrets, no conflict verification, and no --force confirmation handling. The script also relies on a WORKSPACE path (defaulting to $HOME/.openclaw/workspace) and blindly operates there, which could cause unintended commits/pushes if that directory contains important repos or sensitive files.
Install Mechanism
Instruction-only with a small shell script included; there is no install spec or external downloads. Nothing is written to disk by an installer step beyond the provided files.
Credentials
The skill declares no required env vars or credentials, which is consistent. However, run.sh uses $WORKSPACE (defaulting to $HOME/.openclaw/workspace) and will invoke git push, which will use whatever local git credentials/config are present. That implicit use of the user's git credentials is expected for a git tool but is worth noting because pushes will act with the agent's Git identity and auth.
Persistence & Privilege
The skill does not request always:true, has no install actions that modify other skills or system-wide settings, and is user-invocable only by default. It does perform repository writes (add/commit/push) when run, which is normal for a git utility but means it can change user repos when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install git-auto
  3. After installation, invoke the skill by name or use /git-auto
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of git-auto — automate and simplify common Git tasks with smart defaults. - Provides commands for status, commit (with message generation), push (with branch safety), log, and diff. - Supports batch and multi-repo operations. - Auto-detects git repositories and integrates with conventional commit standards. - Includes built-in safety checks for push, branch protection, and conflict detection. - User-friendly error handling for common git issues.
Metadata
Slug git-auto
Version 1.0.0
License
All-time Installs 3
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Git Auto?

Git workspace automation (status/commit/push/log/diff). It is an AI Agent Skill for Claude Code / OpenClaw, with 785 downloads so far.

How do I install Git Auto?

Run "/install git-auto" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Git Auto free?

Yes, Git Auto is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Git Auto support?

Git Auto is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Git Auto?

It is built and maintained by mupengi-bot (@mupengi-bot); the current version is v1.0.0.

💬 Comments