Answer a question from documents without reading them whole.
- Run
docindex search "<query>" <dir>with the Bash tool (<dir>defaults to the current directory;-n 5for fewer hits). Ifdocindexis not on PATH, run${CLAUDE_PLUGIN_ROOT}/bin/docindex; do not read the documents whole instead. - Each hit is
path:start-end heading trailplus a snippet. If the snippets do not answer it, rundocindex outline <file>to pick a range, or search again with other words. - Read only the line ranges needed (Read with offset/limit), nothing more.
- Answer with
path:linecitations. Say plainly when the documents do not contain the answer.