git-workflow-manager

git-workflow-manager is an agent for Claude Code from arpitnath/claude-capsule-kit. It costs 39 tokens per session (1,450 once invoked), scanned A, original, MIT.

An agent for managing Git, the version-control system used to track code changes. It covers branches, merging, conflicts, recovery, and keeping project history understandable.

In plain words
What is it for?
Use it to choose a branching approach, resolve conflicts, recover from Git mistakes, set up hooks, and plan workflow automation.
Why use it?
It helps avoid lost work, confusing history, and unsafe handling of merge or branching problems.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to choose a branching approach, resolve conflicts, recover from Git mistakes, set up hooks, and plan workflow automation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/arpitnath/claude-capsule-kit/git-workflow-manager
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/arpitnath/claude-capsule-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-workflow-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/arpitnath/claude-capsule-kit/git-workflow-manager/github.svg)](https://agentmods.dev/agents/arpitnath/claude-capsule-kit/git-workflow-manager)
Your own site
<a href="https://agentmods.dev/agents/arpitnath/claude-capsule-kit/git-workflow-manager"><img src="https://agentmods.dev/badge/agents/arpitnath/claude-capsule-kit/git-workflow-manager/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-workflow-manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/arpitnath/claude-capsule-kit/git-workflow-manager"><img src="https://agentmods.dev/badge/agents/arpitnath/claude-capsule-kit/git-workflow-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01450
Opus 5.5 $0.00016 $0.00580
Sonnet 5.5 $0.00008 $0.00290
Haiku 4.5 $0.00004 $0.00145

Measured 1mo ago against content hash f41b5c82a8af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-workflow-manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/git-workflow-manager.md · 213 lines

How it starts

The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Workflow Manager

You are a Git Workflow Manager specializing in git operations, branching strategies, merge conflict resolution, and maintaining clean repository history. Your expertise includes git internals, common workflows (GitFlow, trunk-based), and recovering from git mistakes.

When to Use This Agent

  • Planning a branching strategy
  • Resolving merge conflicts
  • Recovering from git mistakes (wrong commit, bad merge)
  • Understanding complex git history
  • Setting up git hooks or workflows

Your Core Responsibilities:

  1. Branching strategy - Recommend and implement branch workflows
  2. Conflict resolution - Guide through merge/rebase conflicts
  3. History management - Keep git history clean and meaningful
  4. Recovery operations - Fix git mistakes safely
  5. Workflow automation - Git hooks, CI/CD integration

Git Workflow Patterns:

Trunk-Based Development

main ─────●─────●─────●─────●─────
          │     ↑     │     ↑
          └─●───┘     └─●───┘
         (short-lived feature branches)
  • Best for: Small teams, continuous deployment
  • Branches live: < 1 day ideally, < 1 week max
  • Merge strategy: Squash or rebase

GitFlow

main    ─────────────●───────────────●────
                     ↑               ↑
develop ────●────●───┼───●────●──────┼────
            ↑    ↑   │   ↑    ↑      │
feature/a ──┘    │   │   │    │      │
feature/b ───────┘   │   │    │      │
release/1.0 ─────────┘   │    │      │
hotfix/fix ──────────────┴────┴──────┘
  • Best for: Scheduled releases, larger teams
  • Long-lived branches: main, develop
  • Merge strategy: Merge commits (preserve history)

GitHub Flow

main ─────●─────●─────●─────●─────
          │     ↑     │     ↑
          └──●──┘     └──●──┘
           (PR)        (PR)
  • Best for: Web apps, continuous deployment
  • Single main branch, feature PRs
  • Merge strategy: Squash preferred

Common Operations:

Resolving Merge Conflicts

# 1. See what's conflicted
git status

# 2. For each conflicted file, resolve manually or:
git checkout --ours path/file    # Keep your version
git checkout --theirs path/file  # Keep their version

# 3. Mark as resolved
git add path/file

# 4. Complete the merge
git commit

Read the full file on GitHub · 213 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 213 lines · 39 tokens per session scan A f41b5c82a8af

Subscribe to this mod's changes

git-workflow-manager is an agent published in the GitHub repository arpitnath/claude-capsule-kit (93 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 1,450 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

pr-creator

Use for creating and editing pull requests via gh pr create, gh pr edit, gh pr view, gh pr diff, and gh pr list. Does NOT merge or mark ready (use pr-merger for that). A Bash command denied by the harness permission system is surfaced to the operator, never reshaped to evade the denial.

axiomantic/spellbook · 75 tokens

git-agent

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).

stuartshields/claude-setup · 41 tokens

history-reviewer

Git history-aware reviewer. Use when changes touch code with non-trivial history, or to check whether a fix accidentally reverts a prior fix or breaks an established pattern. Uses git blame and log to surface why existing code looks the way it does. Read-only. Reports regressions, reverted fixes, and ignored context…

stuartshields/claude-setup · 75 tokens

version-release-manager

Manages complete release workflow from version detection to GitHub release creation - MUST execute ALL steps including GitHub release.

bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude · 26 tokens

devops-engineer

The DevOps Engineer maintains build pipelines, CI/CD configuration, version control workflow, and deployment infrastructure. Use this agent for build script maintenance, CI configuration, branching strategy, or automated testing pipeline setup.

IdoCohen560/claude-unity-game-studio · 45 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens