Overview
Git tools let the agent inspect and modify version control state. All tools check for git availability at startup and report a helpful error if git is not installed. Operations run in the conversation’sworkdir, or a custom path you specify.
Git tools are config-gated: they check for
git binary availability at startup and mark themselves unavailable if git is not found. This prevents confusing errors when profClaw runs in containers without git.Tools
git_status
Show working tree status.
Security level: safe | Tier: Essential
Repository path. Defaults to workdir.
Show short format output.
git_diff
Show changes between commits, working tree, and staging area.
Security level: safe | Tier: Standard
Repository path.
Diff a specific file only.
Show staged (cached) changes.
Compare against a specific commit hash or ref.
git_log
Show commit history.
Security level: safe | Tier: Standard
Repository path.
Number of commits to show.
Show one-line format (hash + subject).
Filter commits by author name or email.
Show commits since a date (e.g.,
"2 weeks ago", "2026-01-01").git_commit
Stage and commit changes.
Security level: moderate | Tier: Standard
Commit message.
Repository path.
Stage all modified tracked files (
git commit -a).Amend the previous commit.
git_branch
List, create, delete, or checkout branches.
Security level: moderate | Tier: Standard
Repository path.
List all local branches.
Create a new branch with this name.
Delete a branch by name.
Switch to a branch by name.
git_stash
Manage the git stash.
Security level: moderate | Tier: Full
Action to perform:
push, pop, list, show, drop, clear.Stash description (for
push action).Stash index for
pop, show, or drop.Repository path.
git_remote
Fetch, pull, or push to a remote.
Security level: moderate | Tier: Full
Remote action:
fetch, pull, push.Remote name.
Branch name.
Force push. Use with extreme caution - never against protected branches.
Safety Rules
The git tools follow these safety rules automatically:git_remotewithforce: truewill warn before executing- The
git_committool never commits.env,*.key, or*.pemfiles - Branch deletions require an explicit
deleteparameter - no accidental deletes