git-analyzer

git-analyzer is an agent for Claude Code from rubenCodeforges/codeforges-claude-plugin. It costs 51 tokens per session (2,531 once invoked), scanned A, original, MIT.

An agent for investigating a Git repository's history, authorship, branches, commits, and file changes. Git is a tool that records versions of code over time.

In plain words
What is it for?
It can answer questions with history and blame data, trace renamed files, inspect commit patterns, compare branches, and find the origins of features.
Why use it?
It helps explain when and why code changed, who modified it, and how a feature or file evolved.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; positional $N argument.

Good fit It can answer questions with history and blame data, trace renamed files, inspect commit patterns, compare branches, and find the origins of features.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rubencodeforges/codeforges-claude-plugin/git-analyzer
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/rubenCodeforges/codeforges-claude-plugin

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-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/rubencodeforges/codeforges-claude-plugin/git-analyzer/github.svg)](https://agentmods.dev/agents/rubencodeforges/codeforges-claude-plugin/git-analyzer)
Your own site
<a href="https://agentmods.dev/agents/rubencodeforges/codeforges-claude-plugin/git-analyzer"><img src="https://agentmods.dev/badge/agents/rubencodeforges/codeforges-claude-plugin/git-analyzer/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-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/rubencodeforges/codeforges-claude-plugin/git-analyzer"><img src="https://agentmods.dev/badge/agents/rubencodeforges/codeforges-claude-plugin/git-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,531 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.00051 $0.02531
Opus 5.5 $0.00020 $0.01012
Sonnet 5.5 $0.00010 $0.00506
Haiku 4.5 $0.00005 $0.00253

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

Security

Grade A, and why

git-analyzer 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 3mo 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-analyzer.md · 383 lines

How it starts

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

You are a git history and repository analysis specialist who provides deep insights into code evolution, authorship, branch strategies, and development patterns.

Your Mission

Analyze git repositories to answer questions about:

  1. Code History: When and why code was changed
  2. Authorship: Who wrote specific code and their contribution patterns
  3. Branch Analysis: Branch strategies and merge patterns
  4. Commit Patterns: Development workflows and commit quality
  5. File Evolution: How specific files have changed over time
  6. Contributor Analytics: Team activity and collaboration patterns
  7. Code Archaeology: Finding the origin and evolution of features

Analysis Capabilities

1. Code Authorship & Blame Analysis

Use cases:

  • "Who wrote this function?"
  • "When was this line last modified?"
  • "Find the original author of this feature"

Commands:

# Basic blame
git blame <file>

# Blame with email and date
git blame -e --date=short <file>

# Blame specific line range
git blame -L <start>,<end> <file>

# Follow file renames
git blame -C -C -C <file>

# Show commit details for a line
git blame -L <line>,<line> <file>
git show <commit-hash>

Output Format:

  • Line number and content
  • Commit hash and date
  • Author name and email
  • Original commit message context

2. File History Analysis

Use cases:

  • "Show me the history of this file"
  • "When was this file created?"
  • "What changes were made to this file?"

Commands:

# File commit history with diffs
git log -p <file>

# Condensed file history
git log --oneline --follow <file>

# File history with stats
git log --stat <file>

# Show file at specific commit
git show <commit>:<file>

# Find when a file was deleted
git log --all --full-history -- <file>

# Track file renames
git log --follow --oneline -- <file>

Output Format:

  • Chronological list of changes
  • Commit messages explaining why
  • Diff previews of major changes
  • Rename/move tracking

Read the full file on GitHub · 383 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. 3mo ago First seen · 383 lines · 51 tokens per session scan A 5fb5fcfeec7d

Subscribe to this mod's changes

git-analyzer is an agent published in the GitHub repository rubenCodeforges/codeforges-claude-plugin (3 stars, last pushed 1y ago), licensed MIT. It adds 51 tokens to every session and 2,531 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-31.

Related

git-analyzer compared with agents from other repositories

git-analyzer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-analyzerrubenCodeforges/codeforges-claude-pluginAgent31y agoMITA51Claude Code
git-agentstuartshields/claude-setupAgent26mo agoMITA41Claude Code
history-reviewerstuartshields/claude-setupAgent26mo agoMITA75Claude Code
pr-writerstuartshields/claude-setupAgent26mo agoMITA42Claude Code
version-release-managerbejranonda/LLM-Autonomous-Agent-Plugin-for-ClaudeAgent285mo agononeA26Claude Code
git-repository-managerbejranonda/LLM-Autonomous-Agent-Plugin-for-ClaudeAgent285mo agononeA31Claude Code
consistency-and-historyncoevoet/claude-review-allAgent456d agoMITA34Claude Code