# git-stats

> Generate comprehensive repository analytics and contributor insights from your git history.

git-stats is a paid AI agent skill on Agensi by Kevin Cline, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Kevin Cline](https://www.agensi.io/creators/kevin-cline)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Version: 1.0
- Last updated: 2026-04-10
- Security: scan passed (2026-04-10); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/git-stats
- Tags: documentation, git, repo-health

## About this skill

### What it does

Git Stats is a comprehensive repository mining tool that transforms raw git history into a deep analytical report. It automates the complex process of parsing git logs, calculating contribution metrics, and identifying repository hotspots. Instead of manually running multiple terminal commands, the skill scrapes high-fidelity data to generate a centralized `GIT_STATS.md` report.

### Why use this skill

Manually auditing a repository's health or contributor activity is time-consuming and prone to human error. This skill provides values that standard git commands don't show natively, such as commit streaks, language distribution by file count, and activity heatmaps by hour or day of the week. It identifies "hot files" that change most frequently, helping developers pinpoint technical debt or areas requiring refactoring.

### Supported tools

The skill utilizes standard `git` CLI tools combined with `bash` for data processing. It works on any local git repository regardless of the programming language or framework used.

### Output

The skill produces a rich Markdown report featuring ASCII bar charts, formatted tables, and a high-level summary. It details top contributors, monthly activity trends, commit size averages, and peak productivity periods.

## Known limitations

- Only analyzes the current branch history.
- Performance may lag on repos with 10k+ commits.
- Uses git email for deduplication; unlinked aliases may split stats.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the git-stats skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does git-stats differ from standard git log commands?

This skill automates the parsing of git logs to identify 'hot files' (frequently changed areas), contributor commit streaks, and peak activity times, helping teams pinpoint technical debt and productivity patterns that standard git commands overlook.

### Is any special setup or API key required to analyze a repository?

No complex configuration is required; simply point your AI agent to a local repository directory. The skill handles the data extraction and formatting automatically, generating a comprehensive GIT_STATS.md file in the root directory.

### Does this skill work with any programming language?

Yes, because the skill analyzes raw git history via the command line, it is language-agnostic and works perfectly with repositories written in JavaScript, Python, C++, Rust, or any other programming language.

### What is included in the purchase of this skill?

You receive the full skill logic ready for deployment, documentation for integration, and lifetime access to any future updates or performance optimizations released for the git-stats package.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
