Add Citation
SkillDev toolsFinds a paper by title, author, or DOI, adds BibTeX to references.bib, and shows citation syntax. Use when adding a reference.
Use Add Citation in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Add Citation and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Add Citation skill
Details
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.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
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/cite/SKILL.md and read by ahel’s review.
Find a paper, create a BibTeX entry, add it to references.bib, and provide the citation syntax.
Arguments
$ARGUMENTS— a paper description, title, author name, or DOI (e.g., "Acemoglu 2001 colonial origins" or "10.1257/aer.91.5.1369")
Steps
-
Parse the argument to determine if it is a DOI or a descriptive search query.
-
Search for the paper:
- If a DOI is provided, fetch the metadata directly (use web search or CrossRef)
- If a description is provided, search the web to identify the paper and its DOI/metadata
-
Construct a valid BibTeX entry with these fields (at minimum):
@article{key,(or@book,@incollection, etc. as appropriate)author,title,journal(orbooktitle),year,volume,number,pages,doi- Use a citation key in the format:
lastname_yearword(e.g.,acemoglu2001colonial)
-
Read
references.biband check for duplicate keys:- If the exact key already exists, inform the user and show the existing entry
- If a similar key exists (same author and year), warn the user
-
Append the new entry to
references.bib(add a blank line before the new entry) -
Show the user the citation syntax for use in
index.qmd:- Narrative:
@key→ "Author (Year)" - Parenthetical:
[@key]→ "(Author, Year)" - Multiple:
[@key1; @key2]
- Narrative:
-
Ask if the user wants to create an annotation note in
references/(see/project:literature-note)
Error handling
- If the paper cannot be found, report the search results and ask the user to provide more details or a DOI.
- If
references.bibdoes not exist, create it with the new entry.
Signals
- GitHub stars
- 5k
- Forks
- 536
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
cite-brycewang-stanford- Source
- github.com/brycewang-stanford/auto-empirical-research-skills
github.com/brycewang-stanford/auto-empirical-research-skills
Related picks
Skill · brycewang-stanford
The pick for Academic03-academic-writing
Skill · 24kchengye
The pick for Academiclatex-posters
Skill · k-dense-ai
The pick for LaTeXlatex-drawing-guide
Skill · brycewang-stanford
The pick for LaTeXsearch
Skill · davila7
The pick for Searchteach
Skill · mattpocock
More in Dev tools