Audit Citations and References
SkillDev toolsCross-checks citation keys in index.qmd against references.bib, reporting missing, orphaned, and duplicate entries. Use when verifying citations.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Audit Citations and References skill
What this skill tells your AI
The instructions your AI receives, as published by brycewang-stanford/auto-empirical-research-skills in skills/29-quarcs-lab-project20XXy/dot-claude/skills/bib-check/SKILL.md and read by ahel’s review.
Cross-check all citation keys in the manuscript against references.bib and report mismatches.
Steps
-
Read
index.qmdand extract every citation key:- Narrative citations:
@key - Parenthetical citations:
[@key],[@key1; @key2] - Ignore email addresses and
@sec-,@fig-,@tbl-cross-references
- Narrative citations:
-
Read
references.biband extract every entry key (the identifier after@article{,@book{, etc.) -
Check for duplicate keys within
references.bib(same key defined more than once) -
Report three categories:
Errors — cited in manuscript but missing from
.bib:- List each missing key with the line number in
index.qmdwhere it appears - For each, suggest running
/project:cite <key>to add the entry
Orphaned — in
.bibbut never cited in manuscript:- List each unused key (informational, not necessarily a problem)
Duplicates — same key appears multiple times in
.bib:- List each duplicate with line numbers in
references.bib
- List each missing key with the line number in
-
Print a summary: total cited keys, total
.bibentries, errors, orphaned, duplicates
Error handling
- If
references.bibdoes not exist, report the error and stop. - If
index.qmdcontains no citations, report "No citations found" and stop.
Signals
- GitHub stars
- 4k
- Forks
- 531
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
bib-check- Source
- github.com/brycewang-stanford/auto-empirical-research-skills
github.com/brycewang-stanford/auto-empirical-research-skills
Related picks
Skill · k-dense-ai
The pick for LaTeXlatex-drawing-guide
Skill · brycewang-stanford
The pick for LaTeXobsidian-markdown
Skill · agricidaniel
The pick for Markdownmarkdown-formatter
Skill · nvidia
The pick for Markdownteach
Skill · mattpocock
More in Dev toolsimplement
Skill · mattpocock
More in Dev tools