/investigate:deepfrom Investigate toolkit
The full investigation of a service, module, or feature, with a deterministic brief and two redundant parallel passes synthesised by intersection. Use when asked to investigate, audit, or deeply understand code, or when conclusions about callers, blast radius, or reachability will drive a decision; this is the default when someone asks for "the investigate skill". Accepts a path or a free-text subject. Not for quick single-fact lookups; for a spec or ticket use investigate:spec; for the brief alone use investigate:brief.
Ships in Investigate toolkit. 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.
A single pass fabricates and omits callers: roughly a third to half of what one run surfaces is run-dependent, as measured in the author's controlled runs. Run two passes with the same prompt and treat the intersection as trusted.
Redundancy does not catch third-party recall errors; the brief's doc-source gate and the
evidence ladder (${CLAUDE_PLUGIN_ROOT}/skills/brief/references/evidence-ladder.md) cover
that mode.
Resolve the argument to at most four module directories before anything else.
git grep -lw <term>, codegraph explore, or
gitnexus query when available. Ask the user only if the result is genuinely
ambiguous.Invoke the investigate:brief skill once per module directory. Concatenate the outputs
under per-module headers.
If a brief fails, that module's structure is UNRESOLVED. Say so in the report; never investigate silently without the brief.
Build one prompt from references/agent-prompt.md using the Module investigation
question. Fill <BRIEF> with the concatenated briefs.
In the pasted block, write the resolution.md path out in full:
${CLAUDE_PLUGIN_ROOT}/skills/brief/references/resolution.md.
Fill <DOC SOURCES> with one condensed verdict line for each of the 2 to 4 packages whose
semantics the target leans on, in the form investigate:brief shows under "Doc-source
verdicts". Take each id from the brief's FETCH BEFORE CLAIMING list, including the pinned
id of a PIN to verdict. A chosen package with no id in that list gets a line that says to
read its installed source instead. Most first-party investigations need none; then write
none handed over.
Send the two passes in one message with identical prompts. In Claude Code that is two
Agent tool uses; in OpenCode it is two foreground subagent calls with
agent: "general" and no background.
INFERRED FROM RECALL claims agreeing are one guess counted twice. Promote one only
by resolving it at the installed source or a gate-approved doc id, or carry it into the
report still labelled.${CLAUDE_PLUGIN_ROOT}/skills/brief/SKILL.md, "Read the Tools section first".When the user wants a quick look, run Steps 0 and 1, then investigate inline with the brief in hand. State in the report that it was a single pass and which claims are single-source. The evidence ladder still applies: redundancy is what you dropped, not rigour.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub noppu-labs/ai-toolkit --plugin investigate3 skills in this plugin
/briefGenerate a deterministic structural brief for a path before anyone reads code, covering callers, wiring, blast radius, installed third-party versions, and version-checked doc sources. Use when asked for a brief, a blast radius, who calls this, or a pre-computation for an investigation or review; the deep and spec skills call it first. Not an investigation by itself: for the full two-pass investigation use investigate:deep./specClaim-by-claim review of a spec, ticket, plan, or design document against the codebase, using a deterministic brief and two redundant passes. Use when asked to review a spec or ticket against the code, check whether a plan's assumptions hold, or find the callers a proposed change forgot. Accepts a file path, a ticket or document id, or pasted text.