# Git History Investigator

> Investigate a codebase through its Git history — find when a bug was introduced, summarize changes between commits, and write clear commit messages.

Git History Investigator is a paid AI agent skill on Agensi by Rahmatullah Afghan. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Rahmatullah Afghan](https://www.agensi.io/creators/rahmatullah-afghan)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/git-history-investigator
- Tags: coding-assistance

## About this skill

- Use `git log`, `git show`, `git blame`, and `git bisect` to answer questions about the code, and quote the exact commit hash and file path for every finding.

- To find when a line or a bug was introduced, start with `git blame` on the file, then narrow with `git log -S` or `git log -G` for the exact text, and use `git bisect` when the breakage point is unknown. Say which commit introduced it and what that commit changed.

- To summarize what changed between two points, compare the commits, branches, or tags with `git log` and `git diff`, and write the summary in plain words: what was added, what was removed, and what behaviour changed. Do not paste the whole diff unless the user asks for it.

- Explain a commit's purpose from its diff, not only from its message. If the message and the diff disagree, say so and trust the diff.

## Requires

- Git repository
- Git

## 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 History Investigator 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

### What does Git History Investigator do?

Investigate a codebase through its Git history — find when a bug was introduced, summarize changes between commits, and write clear commit messages.

### Which AI agents support Git History Investigator?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Git History Investigator?

Connect your AI agent to Agensi through MCP, then ask it to use Git History Investigator on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

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.
