/research:archaeologyfrom research
Answers 'why did this change?' questions by mining git history — reconstructing intent from commit messages, diffs, and authorship for deleted code, renames, and reverted changes.
Ships in research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Archaeology answers "why did this change?" questions by mining git history. It reconstructs intent from commit messages, diffs, and authorship rather than from current code state.
Do NOT use for questions about current codebase structure (use codebase), or about dependency origins (use dependencies).
git show to read diffs and messages.Before executing any git search, generate variants of each search term:
remove → delete, drop, strip; add → introduce, create, implementmyFunction, my_function, my-function, MyFunctionsrc/auth/login.ts, auth/login, loginRun each variant independently and union the results.
# Trace a file through renames
git log --all --oneline --follow -- <path>
# Find commits that added or removed a string (pickaxe)
git log -S "search term" --oneline
# Find commits where the diff matches a regex
git log -G "regex" --oneline
# Search commit messages
git log --grep "pattern" --oneline
# Inspect a commit
git show <hash>
# Line-by-line authorship
git blame <file>
# Visualize branch topology
git log --oneline --graph --all
# Binary search for the introducing commit
git bisect start
git bisect bad HEAD
git bisect good <known-good-ref>
Write findings to .ailly/research/YYYY-MM-DD-A-<topic>/archaeology.md, unless the caller provides a task-scoped research folder such as .ailly/developer/<session-slug>/research/; in that case write archaeology.md there.
Structure:
# Archaeology: <question>
## Findings
<narrative summary of what the history shows>
## Timeline
- <hash> <date> — <what changed and why>
## Sources
- Commits consulted: <hashes>
- Commands run: <list of git commands with variants>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub davidsouther/domain-driven-design --plugin research9 skills in this plugin
/booksUse when a research question targets a citable book — ISBN-keyed editions, public-domain full text, technical reference content (O'Reilly), the user's own library (Kindle, Apple Books, Calibre, Zotero), or aggregated public-domain digital libraries. Applies every time a research question targets books./codebaseUse when performing research on the current codebase — finding where a symbol is defined, discovering all call sites of a function, understanding a type's structure, tracing interface implementations, or answering any question about what the code does right now at the checked-out commit./dependenciesUse when answering questions about a project's declared dependencies, library versions, package constraints, module requirements, or third-party imports — and the dependency source is not already loaded in context./domainUse when a research question is about the conceptual model of the problem space — entities, bounded contexts, ubiquitous language, invariants, or DDD maturity — rather than how code implements those concepts. Applies when `domain:` skills are loaded or when domain artifacts exist in the codebase. Does not apply to implementation questions (use `research:codebase`) or to questions answerable only from external sources (use `research:public`)./internalUse when research requires searching internal organizational documents, communication channels, wikis, tickets, or any non-public source — Slack threads, Confluence pages, ADRs, Linear issues, Notion docs, Google Drive files, GitHub issues/PRs. Not for public internet or codebase searches./papersUse when a research question targets an academic paper, preprint, or citation — DOI lookup, DOI→OA-PDF retrieval, topic search across OpenAlex / Semantic Scholar / DBLP, citation graphs, ArXiv preprints, PubMed biomedical literature, or Wiley journal content. Applies every time a research question targets academic papers, preprints, or citations.2 plugins ship this exact skill · first indexed Aug 15, 2026
Other plugins' skills for the same job