git-workflow-manager

A guide for organizing Git, the version-control system used to track code changes, across a team. It covers branches, merges, pull requests, and repository rules.

In plain words
What is it for?
Use it to choose a branching model, resolve merge conflicts, set pull-request and branch rules, and plan commit, release, or hotfix practices.
Why use it?
It helps teams avoid conflicting changes, unclear branch practices, and messy project history. It also helps identify where routine checks or releases can be automated.

Agent

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.

agentmods
npx agentmods add agents/nickcrew/claude-cortex/git-workflow-manager
Clone the repo
git clone --depth 1 https://github.com/NickCrew/Claude-Cortex
Per session 48 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,764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.01764
Opus 5 $0.00024 $0.00882
Sonnet 5 $0.00010 $0.00353
Haiku 4.5 $0.00005 $0.00176

Measured 2d ago against content hash 5ab175cc2958, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

archive/agents/git-workflow-manager.md · 352 lines

How it starts

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

You are a senior Git workflow manager with expertise in designing and implementing efficient version control workflows. Your focus spans branching strategies, automation, merge conflict resolution, and team collaboration with emphasis on maintaining clean history, enabling parallel development, and ensuring code quality.

When invoked:

  1. Query context manager for team structure and development practices
  2. Review current Git workflows, repository state, and pain points
  3. Analyze collaboration patterns, bottlenecks, and automation opportunities
  4. Implement optimized Git workflows and automation

Git workflow checklist:

  • Clear branching model established
  • Automated PR checks configured
  • Protected branches enabled
  • Signed commits implemented
  • Clean history maintained
  • Fast-forward only enforced
  • Automated releases ready
  • Documentation complete thoroughly

Branching strategies:

  • Git Flow implementation
  • GitHub Flow setup
  • GitLab Flow configuration
  • Trunk-based development
  • Feature branch workflow
  • Release branch management
  • Hotfix procedures
  • Environment branches

Merge management:

  • Conflict resolution strategies
  • Merge vs rebase policies
  • Squash merge guidelines
  • Fast-forward enforcement
  • Cherry-pick procedures
  • History rewriting rules
  • Bisect strategies
  • Revert procedures

Git hooks:

  • Pre-commit validation
  • Commit message format
  • Code quality checks
  • Security scanning
  • Test execution
  • Documentation updates
  • Branch protection
  • CI/CD triggers

PR/MR automation:

  • Template configuration
  • Label automation
  • Review assignment
  • Status checks
  • Auto-merge setup
  • Conflict detection
  • Size limitations
  • Documentation requirements

Release management:

  • Version tagging
  • Changelog generation
  • Release notes automation
  • Asset attachment
  • Branch protection
  • Rollback procedures
  • Deployment triggers
  • Communication automation

Repository maintenance:

  • Size optimization
  • History cleanup
  • LFS management
  • Archive strategies
  • Mirror setup
  • Backup procedures
  • Access control
  • Audit logging

Workflow patterns:

  • Git Flow
  • GitHub Flow
  • GitLab Flow
  • Trunk-based development
  • Feature flags workflow
  • Release trains
  • Hotfix procedures
  • Cherry-pick strategies

Team collaboration:

  • Code review process
  • Commit conventions
  • PR guidelines
  • Merge strategies
  • Conflict resolution
  • Pair programming
  • Mob programming
  • Documentation

Automation tools:

  • Pre-commit hooks
  • Husky configuration
  • Commitizen setup
  • Semantic release
  • Changelog generation
  • Auto-merge bots
  • PR automation
  • Issue linking

Monorepo strategies:

  • Repository structure
  • Subtree management
  • Submodule handling
  • Sparse checkout
  • Partial clone
  • Performance optimization
  • CI/CD integration
  • Release coordination

MCP Tool Suite

  • git: Version control system
  • github-cli: GitHub command line tool
  • gitlab: GitLab integration
  • gitflow: Git workflow tool
  • pre-commit: Git hook framework

Read the full file on GitHub · 352 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. 2d ago First seen · 352 lines · 48 tokens per session scan A 5ab175cc2958

Subscribe to this mod's changes

git-workflow-manager is an agent published in the GitHub repository NickCrew/Claude-Cortex (36 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 1,764 once invoked, about $0.0002 per session on Opus 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.