Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By pvliesdonkv1.0.0MITIn 1 marketplace
Work out what happened and why, from what a project left behind. Establishes ground truth before trusting any history query, walks the line-to-commit-to-PR-to-issue chain through the places each hop breaks, and refuses to fill a gap with a plausible reconstruction. Assumes only git.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
git, history, archaeology, git-blame, investigation, postmortem, onboarding, rationale
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Working out what happened and why, from what a project left behind — before a refactor or a removal, during a postmortem, while onboarding, or when a decision nobody remembers making is being questioned again.
/plugin marketplace add pvliesdonk/claude-plugins
/plugin install code-archaeology
Two agents were asked real questions about a real repository — why does this tool
return empty instead of waiting, and what happened to this environment variable —
using only git and gh. Both produced excellent answers: the right commits, the
right pull requests, the rejected alternatives, a careful verified-versus-inferred
split. One even found that a breaking-change entry had been silently destroyed by a
later mechanical changelog regeneration.
Both were also working in a shallow clone, and neither noticed.
Every key commit they cited was unreachable from HEAD — present only because tags
held the objects. The effect reproduces on any shallow clone: git clone --depth 50 of
that repository reaches 305 commits from HEAD against 1269 from --all, and
git log -S'READY_TIMEOUT_S' returns 5 hits one way and 10 the other — four of those
ten being boundary artifacts that never touched the variable at all. Nothing errors. The
answers happened to be right, and would have been reported with identical confidence
had they been wrong.
That is the gap this skill fills. Not "cite your evidence" — good investigators already do. Establish that your search space is complete before you trust what you didn't find.
Ground truth first. A shallow clone lies about its own shape: the graft boundary is
parentless, so git rev-list --max-parents=0 HEAD reports a mid-history refactor as the
project's first commit. Check, unshallow, fetch tags, and choose scope deliberately.
Finding versus proving absence. "I found X" is safe on partial history. "X never happened", "X was introduced in Y", "X is the only case" are claims about everything you did not find, and are worthless without a search space you have proven complete.
The chain, and where each hop breaks:
-w -C -C -C,
--ignore-rev, and content search over path search, because paths break on renames
and content survives them.Refs #1055 returns zero from closingIssuesReferences, because Refs
is not a closing keyword, while the issue's timeline shows that PR among 21
cross-references.When the trail is cold — tests as the surviving record of intent, docs read at the
tag rather than at HEAD, sibling repositories, and the deleted code itself. Removal is
the hardest case because there is no code left to blame. Where nothing was written down,
"not recorded" is the answer; a plausible reconstruction is worse than a gap, because it
gets repeated as fact.
Authorship is not authority. A post under a maintainer's name may have been written by an agent holding their token, and a maintainer-filed issue often restates an outside contributor's words.
Close the loop. An answer that lives only in a chat log has not been recorded, and the next person pays for it again.
Richer tools — a forge API, a code-intelligence server, decision records — are used when present and named as optional where they appear. Where a project has something that answers a question directly, use it; this is what to do when it does not.
Archaeology is only possible if someone deposited the record. The companion
github-issues plugin is the deposit side: what belongs in an issue and a pull request
description so that this skill has anything to find — the motivating problem, who
reported it, the alternative rejected, and why something was removed, none of which any
diff can reconstruct.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub pvliesdonk/claude-plugins --plugin code-archaeologyPlugins from other owners that cover similar ground