/wt-deep-search:deep-searchfrom wt-deep-search
Read this BEFORE searching. It says which engine answers your question, with which parameters, and how to run a DEEP research that takes minutes without blocking your turn. Invoke it when you are about to call WebSearch, when a question needs several sources, when it is about a named library, framework, CLI or API, or when the user asks for a deep search.
Ships in wt-deep-search. 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.
This skill does two things. Read the half you need.
deep-search plugin is installed: a hook
answers WebSearch from the local Claude Code mirror, from context7, or from Brave or Exa,
and falls through to the ordinary web search when no rung fits. You call WebSearch; it
improves underneath. Read Which engine answers what only to know what happened and what it
could not see.Take the FIRST row that matches. Descend a row on any failure — no key, an error, an exhausted quota, an empty result. A rung that answers badly is worse than the rung below it.
| Your question | Engine | Cost |
|---|---|---|
| Claude Code itself — its changelog, hooks, agents, skills, the formatter, a setting, a slash command | the local mirror ~/.claude-code-docs | nil |
| A third-party library, framework, SDK, API or CLI | context7 | nil |
| A simple fact, a page to find, a current event | Brave, else Exa at its cheapest type | free or near nil |
| A question no single query answers | the deep half below | subscription quota, or metered |
| Anything else, or nothing configured | plain WebSearch | free |
Never answer a question about someone else's software from memory, even for React, Vite or
Playwright. Never WebFetch a page over a few kilobytes — its HTML lands in your context; use
ctx_fetch_and_index then ctx_search.
You judge, per question. A lookup table would freeze judgement into keywords, which is the exact defect the mirror's own classifier demonstrated. Ask, in this order:
deep-lite.deep.deep-reasoning.agentic, which is an opencode run driving its own
sub-agents.Climb only when the rung below cannot do it. A deep research is a decided act, never a reflex:
agentic spends the subscription quota other work also needs.
| door | you enter it because | who decided |
|---|---|---|
| difficulty | the question needs an agentic search, one level above deep-reasoning | you, judging above |
| availability | Exa is exhausted, keyless, or refusing | the provider's own answer |
The runner records which door it used. Keep them distinct: collapsing them into "else opencode" deletes the agentic tier the day Exa works well.
From the plugin's own directory — $CLAUDE_PLUGIN_ROOT names it when this skill runs inside the
plugin, and the commands below are relative to it:
node bin/deep.mjs start --mode <deep-lite|deep|deep-reasoning|agentic> --question "<your question>" [--shape prose|structured]
node bin/deep.mjs status <handle>
node bin/deep.mjs result <handle>
node bin/deep.mjs list
start prints a handle and returns at once. Do other work. Come back with status; collect with
result. Never poll in the foreground and never wait on it inside a tool call.
⚠ Choose the shape at START, not at collection. The output schema is sent with the question, so
a run begun for prose has no claims to give you afterwards and says so rather than pretending.
Pass --shape structured when an AGENT will consume the answer; leave it prose for a human.
Measured 2026-09-21 on real runs: deep-lite answers in about 3 seconds and the run reports its own
cost, 0.012 USD. Read that figure; never quote one from a price list.
| mode | send |
|---|---|
Brave, Exa instant and fast | a SHORT keyword query. A long question made the mirror's scorer return the wrong page; the plain one returned the right guide |
Exa deep and deep-reasoning | the question in PROSE, plus an output schema. Without the schema, deep-reasoning returns URLs and no prose — an evening was lost believing the product could not write |
agentic | a FULL brief, as you would write for a lane. It drives sub-agents; a keyword query wastes it |
effort any more, and asking for one is refused. It belonged to Exa's Research
and Agent product, which is RETIRED — measured 2026-09-21, POST https://api.exa.ai/research/v1
answers 410 RESEARCH_RETIRED. The deep rungs go through /search with a research type, in
ONE call. The old 5-USD-per-run auto trap went with the product; auto as a search TYPE is
ordinary and fine.llm/context and chat/completions endpoints answer OPTION_NOT_IN_PLAN.OPTION_NOT_IN_PLAN it
switches to opencode at once. A 5xx or a network error is transient and marks nothing.| who reads it | shape |
|---|---|
| the user, or your own reasoning | prose, with the citation inline after each assertion |
| an SDK-runner agent | the structured object: claim, url, date, and what could not be verified |
For an agent, prose is pure cost — it would have to re-parse it before acting.
⚠ The shape decides whether you get a source per claim — measured 2026-09-21, both ways, same
question. With the claim schema, every claim came back with its own url and date. In prose,
the answer carried [1][2][3] markers and the URLs sat in a separate grounding field, which is
why the prose output now prints the sources underneath: a marker that resolves to nothing is a
citation in appearance only. Treat a missing citation as missing, never as implied by the others.
Name the engine that actually answered, and say what it could not see. "context7 has no docs for this library" and "I searched the web and found nothing" are different claims — a search proves absence only inside the set it was given.
Check first: the hook only exists where deep-search (or wt-deep-search) is loaded, and the
mirror only where magic-claude-docs is. Verify ~/.claude-code-docs/ exists before routing
there; absent, say which source answered instead.
code.claude.com/docs/en/, plus weekly digests and
recent_changes.md. Read ~/.claude-code-docs/<topic>.md directly, or run
/magic-claude-docs:docs <topic>; for what changed, /magic-claude-docs:docs what's new.resolve-library-id with the library's
plain name and read what it returns, since it can name several and you pick. Then run
query-docs with that id and your actual question in prose. Pass the version when the question
is about a version, and topic when the library is large and the question is narrow. Its answer
is documentation, never a verdict about YOUR code — read your own tree before concluding.contents.highlights (start here), contents.maxAgeHours when the answer decays,
output_schema when you will consume it as data, filters only as HARD constraints, and
numResults in one call since there is no pagination.What SKILL.md sets; muted values are Claude Code's defaults
about to call WebSearch · about to call WebFetch on a URL you guessed · a question about a library, framework, SDK, API, CLI or cloud service · a question about what changed in a version or a release · a claim you are about to state from memory about someone else's software · a research question needing several sources or citations · recherche web, recherche profonde, documentation d'une bibliothèque, quelle version, qu'est-ce qui a changé
lowOther plugins' skills for the same job
npx claudepluginhub home-dev-lab/workflow-toolbox --plugin wt-deep-search