/research:using-researchfrom research
Bootstrap skill that routes research questions to the correct specialized research skill (archaeology, codebase, dependencies, domain, internal, public, books, papers) and configures source stacks.
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.
Read when SKILL.md points to them.
You are working in a project with structured research skills. When asked a research question, select the appropriate skill based on the nature of the question.
| Question type | Invoke |
|---|---|
| Why did this code change? Who introduced it? When was it added or removed? | research:archaeology |
| What does this code do right now? Where is a symbol defined or used? | research:codebase |
| What version of a dependency is used? What does a package provide or require? | research:dependencies |
| What does this concept mean in the domain? How are domain terms defined? | research:domain |
| What do internal documents (Slack, Confluence, Linear, Notion) say about this? | research:internal |
| What does the public internet say? What do official docs or forums say? | research:public |
| What book covers this topic? Find an ISBN? Quote from a book? | research:books |
| What paper says X? Cite this DOI? What cites this paper? | research:papers |
Source wiring is a once-per-environment setup task, not a per-query research move, so it lives as on-demand references rather than always-on skills. When bootstrapping or revising a source stack on a fresh checkout — probing MCP servers, falling back to HTTP, installing marketplace plugins, completing OAuth/SSO handshakes, setting auth env vars and contact details, and smoke-testing each capability against its published contract — read the matching setup reference and follow it. Each reference publishes the capability contract the per-query skill above consumes. Do NOT run these inside a research session.
| Setting up sources for | Read |
|---|---|
| Books (ISBN lookup, full text, O'Reilly, personal libraries) | references/configuring/books.md |
| Codebase language servers (pyright/pylsp, rust-analyzer, tsserver) | references/configuring/codebase.md |
| Internal authenticated sources (Slack, Notion, Linear, GitHub, Drive) | references/configuring/internal.md |
| Academic papers (Crossref, OpenAlex, ArXiv, PubMed, Wiley) | references/configuring/papers.md |
| Public web (WebSearch/WebFetch policy, augmentation provider) | references/configuring/public.md |
Every research skill applies Jeopardy! search: before issuing any query, generate 3–5 variants (synonyms, different phrasings, casing variants, related concepts) and run each. See research/references/jeopardy.md for background.
When a claim is load-bearing, when the user asks "are you sure?", or when the evidence so far is entirely confirming, run a falsification pass before reporting a conclusion. Restate the claim as a universal, negate it into 3 to 5 concrete falsifiable hypotheses, and dispatch a subagent per hypothesis to search specifically for the negation. A single counterexample refutes the original; absence of counterexamples only fails to refute it. See research/references/falsify.md for procedure and limits.
When a fetched source is a discussion thread — a GitHub/PR comment thread, a Slack thread, a Reddit/HN thread, a mailing-list thread — read the full thread (body plus every comment) and always run it through the three-pass digest (fetch, organize, refine) before treating it as scoped, regardless of thread size. See research/references/thread-digest.md for the source-type gate, the procedure, and the untrusted-content rules for handling attacker-reachable comment text.
Before dispatching search subagents, choose the research note folder:
.ailly/research/YYYY-MM-DD-A-<topic>/..ailly/developer/<session-slug>/research/ folder when the caller provides it.Create that folder before dispatching. Each skill writes its findings to <skill-name>.md in that folder, with a **Sources** section listing every resource consulted. In text references to sources should use a loose IEEE style. See references/citations.md when formatting those sections for more details.
Most research questions benefit from more than one skill. Dispatch them in parallel and synthesize the findings:
dependencies + archaeologydomain + codebaseinternal + publicUnder pi, dispatch through the research_dispatch tool (.pi/extensions/research-subagent/) instead of assembling Task calls and notes-folder paths by hand. It models everything downstream of skill selection as code: it computes the YYYY-MM-DD-<letter>-<topic> notes folder deterministically, runs each dispatched skill in its own isolated subprocess reading only that skill's SKILL.md, fans multiple skills out concurrently in one call for the Combining Skills pattern above, and verifies each skill's promised <skill>.md file actually landed in the notes folder rather than trusting the subagent's self-report. Skill selection — which row of the table above fits the question — stays your call; pass the chosen skill name(s) straight through.
research_dispatch({
skills: ["dependencies", "archaeology"],
question: "Why does this dependency exist and what does it actually do?",
model: "<the model general/skills/dispatching-agents/model-selection.md recommends>"
})
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub davidsouther/ailly --plugin research9 skills in this plugin
/archaeologyUse when a research question asks why code changed over time, who introduced a behavior, when a feature was added or removed, or what motivated a past decision. Applies to questions about deleted code, renamed files, reverted changes, or the historical rationale behind current implementation. Does not apply to questions about current codebase state or dependency structure./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.2 plugins ship this exact skill · first indexed Aug 15, 2026
Other plugins' skills for the same job