Agent skill · research science · bahayonghang
bib-search-citation
Search and cite from local BibTeX/BibLaTeX .bib libraries, including Zotero exports. Use to find, filter, preview, export, or generate LaTeX/Typst citation snippets by topic, author, year, venue, DOI, arXiv ID, keywords, abstract, fields, recency, or claim support. Do not use for manuscript writing or polishing.
Why this skill is useful
Adds specific commands for searching and filtering local BibTeX libraries that the AI wouldn't reliably generate on its own.
What it needs
Requires python installed locally. About 4k tokens when loaded. Last updated 2026-08-05. 406 stars on the source repository.
What this skill does
Bib Search Citation Capability Summary Research-oriented retrieval over a local .bib file (BibTeX/BibLaTeX, including Zotero exports with fields like shorttitle, annotation, keywords, abstract, file, DOI, URL, eprint). Searches by topic and field filters, returns stable JSON, renders compact previews, emits LaTeX/Typst citation snippets, and returns raw BibTeX only when exact export or manual verification requires it. Triggering Requests such as: "Search my .bib file for recent Mamba forecasting papers", "Find entries by Cheng after 2024 that have code and return cite snippets", "Show the raw BibTeX for the best match", "Filter Zotero-exported entries whose annotation mentions CodeAvailable", "Preview the JSON output from a saved search". For a natural-language request, infer a conservative search spec and state the assumptions. If the user gives a compact filter expression, preserve it closely instead of translating it into vague prose. Do Not Use validating citations already used inside a .tex/.typ project (use the writing skill's bibliography module) compiling, formatting, or diagnosing manuscript source trees rewriting related-work prose online discovery with no local .bib file (use a research workflow and verify external metadata first) inventing bibliographic metadata missing from the .bib file Module Router Module Best for Command ----------- -------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- query one-shot compact search with inline filters uv run python -B $SKILLDIR/scripts/searchbib.py --bib references.bib --query 'mamba forecasting author:Cheng year>=2024 has:code cite:both limit:5' spec-json structured search spec generated from a complex request uv run python -B $SKILLDIR/scripts/searchbib.py --bib references.bib --spec-json '{"query":"mamba forecasting","filters":{"yearmin":2 …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills bahayonghang/bib-search-citation