来源信息
- 仓库
- brycewang-stanford/Auto-Empirical-Research-Skills
- 最近来源活动
- 2026年4月3日 02:07
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 3,291
- 分支
- 432
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
菜单
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills --skill zotero-better-bibtex-guide命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | zotero-better-bibtex-guide |
| description | Guide to Better BibTeX for Zotero for LaTeX and BibTeX workflows |
| metadata | {"openclaw":{"emoji":"📚","category":"writing","subcategory":"citation","keywords":["zotero","bibtex","latex","citation-keys","better-bibtex","bibliography"],"source":"https://github.com/retorquere/zotero-better-bibtex"}} |
Better BibTeX (BBT) is an essential Zotero plugin for any researcher who uses LaTeX, BibTeX, or BibLaTeX for academic writing. With over 6,000 GitHub stars, it bridges the gap between Zotero's powerful reference management and the precise citation requirements of LaTeX-based document preparation systems.
The core problem BBT solves is citation key management. Standard Zotero export generates citation keys that can change unpredictably when library items are modified, breaking references in LaTeX documents. Better BibTeX provides stable, customizable citation keys that remain consistent across exports, ensuring your LaTeX documents always compile correctly with up-to-date bibliographic data.
Beyond citation keys, BBT offers superior BibTeX and BibLaTeX export with fine-grained control over field mapping, character encoding, and format compliance. It supports automatic export that keeps your .bib files synchronized with your Zotero library in real time, eliminating the manual export step from the writing workflow entirely.
Install Better BibTeX through Zotero's add-on mechanism:
.xpi file from https://github.com/retorquere/zotero-better-bibtex/releases.xpi file and restart ZoteroConfigure citation key generation:
auth.lower + year):
auth.lower + year produces keys like smith2024authEtal2.lower + year produces smithjones2024 or smithetal2024auth.lower + shorttitle(3,3) + year produces smith.wor.thr.2024Configure export settings:
.bib files synchronizedStable Citation Keys: BBT generates predictable citation keys based on configurable patterns. Once a key is assigned, it remains stable even when you edit item metadata. You can also pin specific citation keys to override the automatic generation when needed.
Citation Key Formulas: The formula system is highly flexible:
| Formula | Example Output | Use Case |
|---|---|---|
auth.lower + year | smith2024 | Simple, common convention |
auth.lower + journal.abbr + year | smithnature2024 | Disambiguate by journal |
auth.lower + shorttitle(1,1) + year | smith.deep.2024 | Include title fragment |
auth(2).lower + year | smjo2024 | Short keys, multiple authors |
Automatic Export: Set up a Zotero collection or your entire library to automatically export to a .bib file whenever changes are made. This means your LaTeX project always has access to the latest bibliography data without manual intervention.
To set up automatic export:
Pull Export via HTTP: BBT runs a local HTTP server that serves your bibliography on demand. Configure your LaTeX build system to pull the latest .bib file from http://127.0.0.1:23119/better-bibtex/export/collection?... before each compilation.
Quality Reports: BBT checks your bibliography entries for common issues such as missing fields, encoding problems, and duplicate entries. Review the quality report to ensure your bibliography meets journal submission standards.
Drag-and-Drop Citations: Drag items from Zotero into your text editor to insert formatted citation commands. BBT supports multiple formats including \cite{key}, \autocite{key}, \textcite{key}, and Pandoc-style [@key].
Project Setup:
.bib file in your LaTeX project directory\bibliography{references} or \addbibresource{references.bib} to your LaTeX document\cite{citekey} commands throughout your documentWorking with Overleaf: If using Overleaf, set up a periodic manual export or use the pull export feature with a build script that fetches the latest bibliography before uploading. Some researchers maintain a Git repository that includes both the LaTeX source and the auto-exported .bib file.
Multi-Author Projects: For collaborative projects, establish a shared Zotero group library with BBT configured consistently across all collaborators. Agree on a citation key formula so that keys are predictable regardless of who adds the reference.
Handling Key Conflicts: When two papers produce the same citation key (e.g., two Smith 2024 papers), BBT automatically appends a disambiguation suffix. You can manually pin a specific key by right-clicking an item and selecting "Better BibTeX > Pin citation key."
Integration with Reference Checkers: Use BBT's quality reports alongside tools like biber --validate-datamodel to ensure your bibliography is complete and well-formed before journal submission.
Export File Not Updating: Verify that automatic export is enabled for the collection. Check the BBT debug log (Help > Better BibTeX Debug Log) for export errors. Ensure the target directory is writable.
Unicode Characters in Keys: If citation keys contain unexpected characters, review your key formula. Use .fold in the formula to transliterate Unicode characters to ASCII equivalents.
Large Library Performance: For libraries with thousands of items, the initial citation key generation may take several minutes. Subsequent operations are incremental and fast. Consider disabling automatic export for very large collections and using scheduled exports instead.