- Home
- Skills
- Productivity
- GitArchaeology: Commit Forensics & Code Context
GitArchaeology: Commit Forensics & Code Context
Reconstructs why strange legacy code exists by pulling the original PR discussion, commit chain and linked tickets behind a line, so you know what it was working around before you delete it.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
About this skill
GitArchaeology: Git Commit Forensics & Context Archaeologist Every codebase has a function nobody will touch. Usually it is guarding against something real that nobody wrote down anywhere except a pull request comment in 2019.
Built for developers inheriting a codebase, and for anyone about to refactor code whose purpose is unclear. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.
What's included:
- Line-to-origin tracing: from the line in front of you back through the commits that produced it.
- Pull request excavation: the review discussion that accompanied the change, which is almost always where the reasoning is - commit messages record what, review threads record why.
- Linked ticket context: the issue or incident the change was responding to, pulled in alongside.
- Plain-language synthesis: the history assembled into an answer to "why is this here", rather than a wall of chronological output.
- Local git CLI and the GitHub public API do the retrieval; one small model does the summarising. Credentials come from environment variables and are never printed or stored.
Know what blame actually tells you. git blame attributes each line to the last commit that touched it, so a whole-file reformat, a lint autofix, an import reorder or a file move reassigns authorship of code nobody in that commit wrote. When the trail leads to a commit titled "run prettier", keep going - git log -L on the line range and --follow across renames get past it, and a .git-blame-ignore-revs file in the repository makes the problem go away permanently for everyone.
A note on the output: it names people, because the history does. What you are looking for is the reasoning, not the author. Code that looks inexplicable usually reflects a constraint that was real at the time and may still be - an upstream bug, a customer commitment, a platform quirk since fixed. Finding out which it is before you delete it is the entire value here, and "someone wrote this badly" is the least likely answer.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Accounts
Anthropic
GitHub
Permissions
Allowed Hosts
This skill calls Anthropic Claude 3.5 Haiku (paid), GitHub Public API (free). 1 of these is billed by its provider, not by us; you supply the account. It reads ANTHROPIC_API_KEY, GITHUB_TOKEN from your environment; credentials are never hardcoded, stored, logged or echoed. It also expects these installed locally: Local Git CLI. Please note: the description on this listing states that no API keys or paid services are needed. That is incorrect - the services above are required. Listing text cannot be edited after approval, so treat this permissions block as the authoritative statement of what the skill needs.
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.