bib-search-citation
Installation
SKILL.md
Bib Search Citation
Overview
Use this skill when the user provides a .bib file and wants research-oriented retrieval rather than just a single citation key lookup. This skill is designed for large bibliographies with mixed standard and custom fields, including fields such as shorttitle, annotation, keywords, abstract, and file.
Follow this workflow:
- Identify the
.bibfile to use. - If
rtkis available, prefer it for exploratory steps such as locating.bibfiles and inspecting representative fields. - Translate the user's request into either a JSON search spec or a compact query expression.
- Run
scripts/search_bib.pyon the.bibfile and keep its JSON output uncompressed. - Optionally pipe the JSON into
scripts/preview_bib_search.pyfor a compact human-readable summary. - Review the results and present the best matches clearly.
- Include LaTeX and/or Typst citation snippets whenever the user asks for them or would benefit from them.
Input expectations
The typical input is: