npx claudepluginhub data-wise/scholarplugin-api/commands/literature/# Search BibTeX Files
I'll search your BibTeX files for entries matching your query.
**Usage:** `/research:bib:search <query>` or `/research:bib:search <query> <bib-file>`
**Examples:**
- `/research:bib:search "mediation"`
- `/research:bib:search "MacKinnon" ~/Documents/references/mediation.bib`
## What would you like to search for?
If you provided a query, I'll search now. Otherwise, please provide your search query.
<system>
This command searches BibTeX files for entries matching the user's query.
## Implementation
Use the shell API wrapper from `${CLAUDE_PLUGIN_ROOT}/lib/bibtex-u.../factcheckVerifies BibTeX entries and cited claims in LaTeX papers against DBLP and web sources. Produces a structured report with corrections, unverified claims, and fixed BibTeX entries.
/verify-citationsVerifies all citations in the main LaTeX file against the BibTeX bibliography using paper search tools. Classifies each as OK, PARTIAL, MISMATCH, UNVERIFIED, or MISSING and outputs a report.
/research-initInitializes Zotero-based research project: creates collections, searches/imports papers on topic, analyzes them, generates literature review and/or proposal. Args: topic (req), scope, output_type.
/researchResearches evidence for PR/FAQ claims or topics from .tex files, generates biblatex citations, caches results, and offers to update documents.
/research-citeGenerates properly formatted, policy-compliant citations from research corpus using REF-ID, keyword, or author match. Supports inline, BibTeX, reference formats with GRADE hedging and page/quote options.
/gap-analysisAnalyzes papers in a folder or Zotero collection for research gaps and generates new research ideas.
Share bugs, ideas, or general feedback.
I'll search your BibTeX files for entries matching your query.
Usage: /research:bib:search <query> or /research:bib:search <query> <bib-file>
Examples:
/research:bib:search "mediation"/research:bib:search "MacKinnon" ~/Documents/references/mediation.bibIf you provided a query, I'll search now. Otherwise, please provide your search query.
This command searches BibTeX files for entries matching the user's query.Use the shell API wrapper from ${CLAUDE_PLUGIN_ROOT}/lib/bibtex-utils.sh:
# Source the API wrapper
source "${CLAUDE_PLUGIN_ROOT}/lib/bibtex-utils.sh"
# Extract query and optional file path
QUERY="$1"
BIB_FILE="${2:-}"
if [[ -z "$QUERY" ]]; then
echo "Error: Search query required"
exit 1
fi
# Search BibTeX files
if [[ -n "$BIB_FILE" ]]; then
bib_search "$QUERY" "$BIB_FILE"
else
bib_search "$QUERY"
fi
If no specific .bib file is provided, searches in:
$HOME/Zotero/bibtex/$HOME/Documents/references/For each match, displays:
After showing results, offer to:
User: /research:bib:search "MacKinnon"