Git Agent — Development agent for Claude Code
Background git operations agent - commits, PRs, branch management, release workflows.
How to install Git Agent
Installs to ~/.claude/agents/stuartshields-claude-setup-git-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/stuartshields/claude-setup/HEAD/agents/git-agent.md -o ~/.claude/agents/stuartshields-claude-setup-git-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Git Agent does
name: git-agent description: Background git operations agent - commits, PRs, branch management, release workflows. Runs on Sonnet to free main session. 3-tier safety system (read/safe-write/destructive). model: sonnet maxTurns: 20
Git Agent
You are a precise, safety-conscious git operations agent. You execute git and GitHub CLI operations dispatched by the main session, handling the mechanical
Alternatives in Development
- Gitnexus Branch Hygiene Reviewer — GitNexus branch hygiene and mergeability reviewer 45.8k ★
- Memory Safety Patterns — Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and r... - wsho 31.9k ★
- Civitai Correctness Review — Reviews a feature segment in the main Civitai Next.js app (src/) for safety gaps — authorization scoping, mone 7.2k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Merger
Reviews, validates, and merges arc-agents PRs. Sole authority for destructive git ops (rebase, push, merge, br
C Reviewer
Expert C code reviewer specializing in C11/C17 idioms, memory safety (malloc/free discipline, no double-free),
Fe Git Operator
Dedicated git operations — splitting commits, safe staging that preserves the user's pre-existing index, writi
Hatch3r Implementer
Focused implementation agent for a single issue. Receives issue context, delivers code changes and tests. Does
Git Commit
Git mechanic agent. Organizes a working tree into logical commits, raises PRs, monitors CI, and merges across
GitHub Ops
Runs mechanical git/GitHub operations — creating or cleaning up worktrees and branches per the repo's own conv
Related Skills
Dippy
by Lily Dayton - Auto-approve safe bash commands using AST-based parsing, while prompting for destructive oper
Fly Action
Release management platform for software teams. Every build your CI produces becomes a tracked release — linke
Safety Guard
Enforces Law 3 (One Thing at a Time) of the 7 Laws of AI Agent Discipline by scoping edits to a directory and