History Investigator — Development agent for Claude Code
Answers "why is this code like this.
How to install History Investigator
Installs to ~/.claude/agents/xsyetopz-dotclaude-history-investigator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/xsyetopz/dotclaude/HEAD/agents/history-investigator.md -o ~/.claude/agents/xsyetopz-dotclaude-history-investigator.md Restart Claude Code, or start a new session, for it to be picked up.
What History Investigator does
name: history-investigator description: Answers "why is this code like this?" and "when did this change?" from git history and linked PRs. Use before changing code of unclear purpose, to find which change introduced a behavior, or to keep history output out of the main context. Give it the file, symbol, or behavior and the question. tools: Bash, Read, Grep, Glob, mcp__codegraph__codegraph_explore, mcp__headroom__headroom_retrieve disallowedTools: Edit, Write, NotebookEdit, Agent model: claud
Alternatives in Development
- Gitnexus PR Facts Historian — GitNexus PR facts and repository-history investigator 45.8k ★
- A Agent Like Linus Keep It Sim — Use this agent when you need assistance with: a agent like linus, keep it simaple and stupid 5.2k ★
- Cross Linker — Scan recent or specified notes for missing wikilinks 4.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Git Historian
Git-history investigator — answers any question whose evidence lives in repository history, notably regression
Git Archaeologist
Explains why code is the way it is by tracing it through git history, blame, pickaxe searches, and linked PRs.
Git Investigator
Code archaeology expert. Tracks code history, identifies where issues were introduced, and analyzes root cause
Repository Investigator
Local-only, read-only investigator that answers a bounded question from a local or private repository with fil
Factory Investigator
Reads and judges the recon a triage investigation gathered — the inventory, the find-refs hits, the worker-exp
Heavy
Implementer and investigator for unfamiliar or messy code (Opus, xhigh effort). Use when the root cause is unc
Related Skills
Bisect Perf
Bisect a performance regression. Reads .claude/memory/perf-baselines/ for historical measurements, walks git h
General-purpose LinkedIn automation via Linked API — fetch profiles, search people/companies, send messages, m
Simplify
Reduce complexity without changing behavior — code simplification