/basemind:basemind-documentsfrom basemind
Semantic search over documents (PDFs, Office, HTML, email, Jupyter notebooks, images with OCR) using basemind's RAG store with cross-encoder reranking, keyword/NER filters, and per-document summaries.
Ships in basemind. 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.
basemind extracts PDFs, Office files, spreadsheets, email, HTML and notebooks (and, in a build with
OCR, raster images and scanned PDFs) into a LanceDB vector
store and answers meaning-based queries with cross-encoder reranking. For exact text in markdown,
config and data files use code_grep (see basemind-code-search): semantic results cannot
establish that a string is absent.
Prefer docs_search over opening PDFs/Office/HTML by hand. The tools are always loaded: call them
directly, no tool search needed. For source code use basemind-code-search instead; this skill is
for prose and documents.
docs_search needs a build with --features documents (or full); memory_save and
memory_search need --features memory. Without the feature the tool answers with an error
result naming it. The release binary includes both.documents-ocr Cargo feature
and named-entity recognition is documents-ner. The published binary has both. On a build
without OCR, images are not indexed and a scanned PDF (no text layer) is indexed with no text; on
a build without NER, an entity filter returns an error, not an empty result..zip, .tar, ...) are never extracted, so their contents are not searchable.basemind scan with the documents feature extracts and embeds
them into the machine-global cache (Linux ~/.local/share/basemind/, macOS
~/Library/Application Support/basemind/; override BASEMIND_DATA_HOME). See the
basemind-scan skill.| Question | MCP call | CLI |
|---|---|---|
| "Search the docs by meaning?" | docs_search {"query":"how releases are versioned"} | basemind memory documents "how releases are versioned" |
| "Search Jupyter notebooks by meaning?" | docs_search {"query":"…","mime_type":"application/x-ipynb+json"} | basemind memory documents "…" --mime-type application/x-ipynb+json |
| "Filter by file type?" | docs_search {"query":"…","mime_type":"application/pdf"} | basemind memory documents "…" --mime-type application/pdf |
"Narrow to docs naming an entity category?" (needs a build with documents-ner) | docs_search {"query":"…","entity":"PERSON"} | basemind memory documents "…" --entity PERSON |
| "Narrow to docs with a keyword?" | docs_search {"query":"…","keywords":"rate limit"} | basemind memory documents "…" --keywords "rate limit" |
| "Remember this for future sessions?" | memory_save {"key":"decision/auth-tokens","value":"Tokens rotate every 24h.","tags":["auth"]} | basemind memory put decision/auth-tokens "Tokens rotate every 24h." --tag auth |
| "Recall a note by meaning?" | memory_search {"query":"token rotation"} | basemind memory search "token rotation" |
| "Read one note by key?" | memory_search {"key":"decision/auth-tokens"} | basemind memory get decision/auth-tokens |
| "List notes under a key prefix?" | memory_search {"prefix":"decision/"} | basemind memory list --prefix decision/ |
| "Delete a note?" | CLI only | basemind memory delete decision/auth-tokens |
docs_search returns passage hits.
Each carries its path (and also_at, other paths holding the same content), mime_type, the
document title when it has one, chunk (which chunks of the document), cite (pages, section heading trail, source lines and byte range, each when the
format has it), the matched text with its neighbouring chunks (context), the fused score,
its rank in each lane (lanes) and, when the reranker scored it, rerank_score. The page reports
lanes_ran, lanes_unavailable with the reason, and rerank. entity and keywords keep the
documents whose parent carries a matching entity category or keyword (AND-combined when both are
set); format filters by document format and path by a glob over document paths.
docs_search {"query":"how is the index schema versioned","limit":5}
→ {"query":"how is the index schema versioned",
"hits":[{"path":"docs/ARCHITECTURE.md","mime_type":"text/markdown",
"cite":{"section":["Index"],"line_start":120,"line_end":134,…},
"text":"…","score":0.03,"rerank_score":0.91,…}, …],
"lanes_ran":["vector","lexical"],…}
docs_search {"query":"…","format":"pdf","path":"docs/**"}
memory_search takes one selector: query (by meaning, ranked, no cursor), key (one note)
or prefix (list by key prefix); with none it lists everything. tags (any of them) filters a
search or a list. A list pages by next_cursor; truncated with truncated_reason: "scan_cap"
means its total stopped counting and is a lower bound. Saving an existing key replaces the note.origin); another clone, a moved repository or an
origin that normalises differently does not see them, and a re-clone at the same path with
the same origin does.
"visibility":"individual" keeps a note to this agent.docs_search returns 10 hits by default; lists take limit and page with next_cursor ->
cursor. An argument a tool does not take is rejected with a did-you-mean and the accepted list.For code structure see basemind-code-search; for git history see basemind-git-history; for agent
coordination see basemind-comms.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub goldziher/basemind --plugin basemind10 skills in this plugin
/basemindNavigate large or unfamiliar codebases via the basemind MCP server — outlines, symbol search, reference/caller lookups, commit history, blame, and diffs without reading source files. Reach for it whenever the user asks "where is X defined", "what calls Y", "what changed recently in Z", or whenever you're about to grep or open many files to find structural information./basemind-cliNavigate codebases and manage caches via the basemind CLI — outlines, symbol search, reference/caller lookups, git history, blame, and diffs. For headless scripting, CI, or when driving the CLI more efficiently than interactive MCP calls. Shares the same index as the MCP server./basemind-code-searchFind where code is defined and used without reading files — symbol search, file outlines, references, callers, implementations, dependents, and indexed regex over content. Reach for it whenever the user asks "where is X defined", "what calls Y", "what implements Z", "what's the shape of this file", or whenever you're about to grep or open files to learn structure./basemind-commsCoordinate with other agents working the same repo through basemind's agent_post, agent_inbox and agent_threads tools — threads, a per-actor read position, bodies inline. Reach for it whenever you start, finish, or hit a decision while collaborating, or to check whether another agent is already touching the code you're about to change./basemind-doctorDiagnose and recover basemind when it isn't working — MCP tools missing or erroring, "no index" / "no indexed files", empty results that shouldn't be empty, or the MCP server seems dead. Runs CLI checks (no MCP server required) and gives the client-specific way to reconnect the server./basemind-git-historyExplore git history without shelling out to git — recent commits, commits touching a path, per-line and per-symbol blame, structural diffs across revisions, churn ranking, and a symbol's history over time. Reach for it whenever the user asks "what changed recently", "who last touched this", "when did this symbol change", "what's the diff between these revs", or "where's the churn".2 plugins in one repository ship this exact skill · first indexed Nov 29, 2026
Other plugins' skills for the same job