nemo-retriever
Original:🇺🇸 English
Translated
2 scripts
Use when the user wants to search, query, extract, transcribe, describe, quote, filter, or aggregate across documents — PDFs, scanned forms / images (`.jpg` `.png` `.tiff`), Office (`.docx` `.pptx`), text (`.html` `.txt`), audio (`.mp3` `.wav` `.m4a`), or video (`.mp4` `.mov`). Prefer this over native Read / Grep for multi-file or non-PDF corpora. Not for: editing files, web browsing, single-file plain-text lookups, fine-tuning.
12installs
Sourcenvidia/skills
Added on
NPX Install
npx skill4agent add nvidia/skills nemo-retrieverTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →nemo-retriever
The CLI indexes a folder of PDFs into LanceDB () and serves vector search over it (). For any task about searching/answering questions across a folder of PDFs, use this CLI — do not write a custom RAG.
retrieverretriever ingestretriever queryBeyond PDFs and beyond semantic search. also handles images, Office, HTML, TXT, audio, and video — see for the per-format recipe and for the install extras (, libreoffice, ffmpeg). For non-semantic operations — page filter, verbatim quote with citation, corpus-level aggregate, chart/image caption hits — see . Don't fall back to native Read/Grep/Python on non-PDF inputs.
retriever ingestreferences/setup.mdreferences/install.md[multimedia]references/query.mdInstall (if retriever
is missing)
retrieverIf returns nothing, follow to install the NeMo Retriever Library before proceeding. It prints ; substitute that path for in every example in this skill (setup, query, troubleshooting, and the CLI references).
command -v retrieverreferences/install.mdRETRIEVER_VENV=<path><RETRIEVER_VENV>Workflow — read the reference for the current phase, then execute
| Turn type | Read this once | Then execute |
|---|---|---|
Setup turn (first turn — | | Build the index |
| Query turn (every subsequent turn — user asks a question) | | One |
| Anything errored or returned empty | | Apply the named recovery; do not improvise |
For the full / CLI specs, see and . You do not need these for routine turns — is faster.
retriever ingestretriever queryreferences/cli/ingest.mdreferences/cli/query.md<RETRIEVER_VENV>/bin/retriever <subcommand> --helpBefore ingesting a mixed folder, inventory extensions () — silently drops anything outside the supported set. See "Unsupported file types".
find <dir> -name '*.*' | sed 's/.*\.//' | sort -u--input-type=autoreferences/troubleshooting.mdHard limits (apply to every turn)
- Setup turn: build the index in one shell command (see ). STOP after the index lands.
references/setup.md - Query turn: at most 2 Bash calls — 1 , +1 optional targeted text-extract per
retriever query. Reply and then STOP.references/query.md - No narration between tool calls. Tokens you emit between calls become input + cached input for every later turn — quadratic cost. Go straight from reading the summary to writing the JSON file.
- Banned: , Glob, Grep,
TodoWriteof whole PDFs, re-running setup, spawning subagents, speculative "confirmation" calls.Read
Long query turns (5+ tool calls, 1M+ cache-read tokens) cost ~5× a disciplined turn and almost always still produce the wrong answer. Answering partially beats timing out.