dongzhigang13305312738-art/paper-skills / bib-search-citation
bib-search-citation
VerifiedSearch 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.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.0 KB |
| agents/openai.yaml | config | 400 B |
| evals/evals.json | config | 4.4 KB |
| evals/trigger_eval.json | config | 2.9 KB |
| examples/compact-query.md | markdown | 830 B |
| examples/preview-summary.md | markdown | 717 B |
| examples/raw-bib-export.md | markdown | 666 B |
| references/limitations-and-errors.md | markdown | 2.6 KB |
| references/query-syntax.md | markdown | 8.9 KB |
| references/search-planning.md | markdown | 1.3 KB |
| scripts/preview_bib_search.py | script | 8.3 KB |
| scripts/search_bib.py | script | 48.7 KB |
| tests/fixtures/biblatex.bib | other | 464 B |
| tests/fixtures/broken.bib | other | 421 B |
| tests/fixtures/library.bib | other | 1.6 KB |
| tests/fixtures/phantom.bib | other | 514 B |
| tests/fixtures/preview_input.json | config | 1.5 KB |
| tests/fixtures/quote_trap.bib | other | 438 B |
| tests/test_bib_search.py | script | 21.0 KB |
evals/evals.json
View on GitHub{
"skill_name": "bib-search-citation",
"evals": [
{
"id": 1,
"prompt": "Search references.bib for Cheng papers after 2024 on Mamba forecasting and return both LaTeX and Typst citations.",
"expected_output": "Route to the query module, use compact filters for author, year, has:code, cite:both, and return matched entries with LaTeX and Typst citation snippets without inventing metadata.",
"files": ["tests/fixtures/library.bib"],
"assertions": [
{
"type": "regex",
"pattern": "(author:Cheng|Cheng)",
"description": "author filter preserved"
},
{
"type": "regex",
"pattern": "(cite:both|LaTeX.*Typst|Typst.*LaTeX)",
"description": "both citation modes requested"
},
{
"type": "regex",
"pattern": "(\\\\cite\\{|#cite\\(|@[A-Za-z])",
"description": "an actual citation snippet is emitted"
}
]
},
{
"id": 2,
"prompt": "Find the best TimeMachine match in library.bib and return one raw BibTeX entry plus cite snippets.",
"expected_output": "Route to the query module with raw:true, cite:both, and limit:1, preserve the raw BibTeX exactly, and include citation snippets only for the matched entry.",
"files": ["tests/fixtures/library.bib"],
"assertions": [
{
"type": "contains",
"text": "raw:true",
"description": "raw export requested"
},
{
"type": "regex",
"pattern": "(limit:1|one raw)",
"description": "single-entry limit preserved"
},
{
"type": "regex",
"pattern": "@(article|inproceedings|misc|book)\\{",
"description": "raw BibTeX entry preserved verbatim"
}
]
},
{
"id": 3,
"prompt": "Show entries whose annotation contains CodeAvailable and whose abstract mentions photovoltaic, but do not include raw BibTeX.",
"expected_output": "Use field filters for annotation and abstract, keep raw BibTeX disabled, and report matches with only the requested research fields.",
"files": ["tests/fixtures/library.bib"],
"assertions": [
{
"type": "regex",
"pattern": "(annotation:CodeAvailable|field_contains)",
"description": "annotation filter used"
},
{
"type": "contains",
"text": "photovoltaic",
"description": "abstract/topic term preserved"
},
{
"type": "not_contains",
"text": "raw_bib",
"description": "raw BibTeX not exposed"
}
]
},
{
"id": 4,
"prompt": "List the newest article entries in references.bib even if I provide only filters and no topic words.",
"expected_output": "Handle the filter-only query by using type:article with sort:year_desc, explain that equal relevance scores are expected, and order results by year.",
"files": ["tests/fixtures/library.bib"],
"assertions": [
{
"type": "contains",
"text": "sort:year_desc",
"description": "newest-first sort used"
},
{
"type": "regex",
"pattern": "(filter-only|only filters|no topic)",
"description": "filter-only behavior explained"
},
{
"type": "contains",
"text": "type:article",
"description": "entry type filter used"
}
]
},
{
"id": 5,
"prompt": "My query author:Nonexistent year>=2030 returns nothing. Tell me how to recover without making up references.",
"expected_output": "Report the empty result, avoid fabricating references, and suggest relaxing has constraints, widening years, shortening topic terms, or checking author spelling.",
"files": ["tests/fixtures/library.bib"],
"assertions": [
{
"type": "regex",
"pattern": "(empty|zero|no entries|no matches)",
"description": "empty result stated"
},
{
"type": "regex",
"pattern": "(widen|relax|spelling|broaden)",
"description": "recovery advice given"
},
{
"type": "regex",
"pattern": "(verify|do not.*(invent|fabricat)|without.*(invent|fabricat)|only.*local)",
"description": "explicitly refuses to fabricate references"
}
]
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |