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…
от bahayonghang★ 575 звёзд на GitHubОб этом скилле
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/.typproject (use the writing skill's bibliography module) - compiling, formatting, or diagnosing manuscript source trees
- rewriting related-work prose
- online discovery with no local
.bibfile (use a research workflow and verify external metadata first) - inventing bibliographic metadata missing from the
.bibfile
Module Router
| Module | Best for | Command |
|---|---|---|
query |
one-shot compact search with inline filters | uv run python -B $SKILL_DIR/scripts/search_bib.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 $SKILL_DIR/scripts/search_bib.py --bib references.bib --spec-json '{"query":"mamba forecasting","filters":{"year_min":2024},"citation_mode":"both"}' |
spec-file |
repeatable saved search workflow | uv run python -B $SKILL_DIR/scripts/search_bib.py --bib references.bib --spec-file search.json |
preview |
compact human-readable summary after JSON search output exists | uv run python -B $SKILL_DIR/scripts/preview_bib_search.py --input results.json |
search_bib.py is the source of truth for parsing, filtering, scoring, sorting,
raw BibTeX preservation, and citations; preview_bib_search.py renders only.
Required Inputs
- path to one local
.bibfile - one of compact
--query, inline--spec-json, or saved--spec-file - optional sort, limit, citation-mode, raw BibTeX, or returned-field preferences
Common spec fields: query; filters.year_min/year_max/years_in/exclude_years,
filters.author_contains/author_excludes, filters.type_in/exclude_type_in,
filters.has/exclude_has, filters.field_contains/field_excludes;
sort (relevance, year_desc, year_asc, title); limit (default 5);
return_fields; include_raw_bib (true only for original entries or exact
export); citation_mode (latex, typst, both, none). Defaults and
compact operator syntax: references/search-planning.md.
Output Contract
Presentation order:
- State how many matches were found and which filters were applied.
- List top matches with requested research fields.
- Include LaTeX and/or Typst snippets when requested or useful.
- Include raw BibTeX only when requested or materially needed.
- If no entries match, suggest specific filter relaxations.
- Surface
meta.recencywhen recency matters, and the per-resultclaim_supportblock when--claimwas supplied — always repeating its caveat: lexical overlap is not proof of support.
Per entry, usually include: citation key; title (and shorttitle); authors; year
and venue/journal/booktitle; DOI/eprint when present; the supporting fields that
made it relevant; and when useful a provenance note — local .bib matches and
cite snippets are bibliography evidence, not proof of claim support. Echo the
interpreted filters when negation, field filters, or mixed options could be
ambiguous.
Workflow
- Identify the
.bibpath; ask one concise clarification only if choosing among candidates would be risky. - Translate the request into a compact query or JSON search spec.
- Run
search_bib.pywithuv run python -B; preserve the JSON outpu
Установить bib-search-citation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBash(uv *)Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл bib-search-citation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bib-search-citation запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic