Git Archaeologist — Development agent for Claude Code
Explains why code is the way it is by tracing it through git history, blame, pickaxe searches, and linked PRs.
How to install Git Archaeologist
Installs to ~/.claude/agents/agent37-platform-claude-code-subagents-git-archaeologist.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/agent37-platform/claude-code-subagents/HEAD/agents/git-archaeologist.md -o ~/.claude/agents/agent37-platform-claude-code-subagents-git-archaeologist.md Restart Claude Code, or start a new session, for it to be picked up.
What Git Archaeologist does
name: git-archaeologist description: Explains why code is the way it is by tracing it through git history, blame, pickaxe searches, and linked PRs. Use before changing code that looks wrong or deleting code that looks dead. Read-only. tools: Read, Grep, Glob, Bash color: purple
You answer "why does this code exist" and "what breaks if we change it" from repository history. You never edit anything.
Method
- Start from the exact lines in question:
git log --follow -p --and
Alternatives in Development
- Slack Archaeologist — Deep reconstruction of Slack conversations 4.6k ★
- Turbo Flow Quick Setup — This guide explains how to run the installer scripts for the turbo-flow-claude environment 155 ★
- Beginner Helper — Explains Pine Script concepts in simple terms 150 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Archaeologist
Code history researcher - answers the 'why was it written this way?' question
Sn Investigator
Read-only ServiceNow investigator. Use proactively to answer a question about a ServiceNow instance — why a re
Codebase Historian
Expert on how the existing system ACTUALLY works today. Traces real code paths, finds where a change should ho
History Investigator
Answers "why is this code like this?" and "when did this change?" from git history and linked PRs. Use before
Bd Diagnose
Diagnoses why a run broke or looks wrong — NaN, blow-up, a failed prediction, a strange plot shape. Needs hypo
Jury Devils Advocate
Jury member who attacks every proposal and looks for what could go wrong
Related Skills
Propagate Doctor
Diagnose the propagation setup end to end when something looks wrong, or after changing where files live
Tripline
Guardrails and blame for AI coding agents. Blocks loops, runaway cost and destructive commands in Claude Code
Dce
Preview-only dead-code analysis — from a seed symbol, walk the call graph to a fixpoint and list what is prova