/query:queryfrom query
Performs ranked keyword search on extracted Markdown or text files. Use when you don't know exact wording or grep returns too many matches.
Ships in query. 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.
grep -n -i -C2 "term" file | head.query when you do not know the exact wording or a plain search returns too many matches.-k 1 or -k 2 for a single fact. Add --language <lang> to match related word forms.--emit-index only when you expect several queries over the same file.Search an extracted Markdown or text file and return the most relevant line ranges. The command reads the local file; it does not parse PDFs.
pdf-to-markdown — converts a PDF to structured Markdown.pdf-to-text — converts a PDF to plain text while preserving columns and spacing.Set SKILL_DIR to the absolute path of the directory containing this file. Use $SKILL_DIR/bin/query in the commands below.
The wrapper downloads the CLI from Nutrient's CDN on first use and stores it in ~/.local/share/nutrient/cli/. It checks for updates every six hours.
$SKILL_DIR/bin/query text INPUT.md "your question" [-k N] [-e N]
INPUT.md — an extracted Markdown or text file, or a saved query index."your question" — the words to rank. Include several specific terms when useful.-k N — the maximum number of result windows. The default is 8; use 1–3 for most questions.-e N — the number of surrounding lines. The default is 5; use 0 to return only matching lines.Each result starts with a 1-based Lines A-B range. Use that range for a focused follow-up read when needed.
Create an index when you expect several questions about the same file:
$SKILL_DIR/bin/query text INPUT.md "first question" --emit-index INPUT.idx
$SKILL_DIR/bin/query text INPUT.idx "second question"
The index contains the source lines, so later queries need only the index file.
pdf-to-markdown or pdf-to-text.-k value.--language en, or another ISO language code, to match inflected forms.-e for more context. Increase -k only when you expect several separate answers.No relevant matches found: Try a more specific term, a synonym, or --mode lenient. The message is not document content.query does not perform OCR.--mode strict.query is free to use. It runs locally, requires no account, reports no usage, and uses no Vision pages.
Use is subject to the Nutrient PDF to Markdown License and Nutrient's Privacy Policy. Redistribution, OEM, embedded, and white-label use require a separate agreement with Nutrient.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pspdfkit-labs/nutrient-skills --plugin queryOther plugins' skills for the same job