/aldine:latex-bibliographyfrom Aldine
Adds and cites references in an Aldine LaTeX project by resolving DOIs, arXiv IDs, or OpenAlex IDs to BibTeX entries, checking for duplicates, and inserting \cite commands.
Ships in Aldine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Tools come from the plugin's aldine server — they appear as
mcp__plugin_aldine_aldine__<tool> (or mcp__aldine__<tool> if you added the
server yourself with claude mcp add). Every project
tool takes project and branch (default main).
If the user's files are local — a path on disk, a .tex in the working
directory, a git checkout in cwd — stop: this skill is for papers that live
in an Aldine project. Say so and work on the local files with the usual
tools instead. Do not compile whatever list_projects happens to return.
list_citations {project, branch} → citations[{key, title, author, year, file}].
Look for the paper by title, first author and year. If it is there, use
that key and skip the lookup — a second entry for the same paper is a
duplicate the user has to clean up.references_add {project, branch, query, bibFile?}
query is an identifier: a DOI (10.1038/nature14539), a doi.org URL,
an arXiv id (2301.12345 or arXiv:2301.12345) or an OpenAlex id (W…).
A title is not a lookup: for a paper you only know by name, ask the user
for its DOI or arXiv id — do not guess an identifier.bibFile defaults to references.bib beside the root file; pass the
project's actual .bib (from list_citations[].file or
project_structure) when it has one under another name. A missing file
is created, folders included (created:true).{key, bibFile, duplicate, created, note?}. Keys are
surname2021; duplicate:true means the entry was already there and
nothing was appended — cite the returned key.note present: no .tex on the branch loads that .bib, so the citation
stays undefined until the preamble has \addbibresource{…} (biblatex) or
the file is in \bibliography{…} (bibtex). Say so, and only add that line
when the user agrees — it changes the bibliography setup.edit_file
{project, branch, path, edits: [{quote, replacement}], base_version, message}
after a read_file of the paragraph: quote is the sentence end the
citation attaches to (verbatim, at least 8 characters, matching once),
replacement the same text with ~\cite{key} before the full stop.
message: "Cite Vaswani et al. for attention". Use the paper's citation
command (\citep, \autocite, \parencite) when the preamble or the
neighbouring text uses one.| Result | Meaning | Do |
|---|---|---|
No reference found for "…" | The id is well-formed but the upstream does not know it (or it is a title). | Check the id with the user; do not retry the same query. |
Reference lookup failed: <service> lookup failed (HTTP nnn) | The upstream (doi.org, arXiv, OpenAlex) answered with an error other than not-found. | Relay the status. 5xx: try once more later if asked. 429: wait, one query at a time. Another 4xx: the id is malformed for that service — check it with the user. |
The reference service … could not be reached from your Aldine server | Network from the server. | Relay; the server operator fixes it. |
Reference lookup budget reached | Rate limit on lookups. | Wait a few seconds; one query at a time. |
bibFile must be a .bib file | Wrong target path. | Pass a .bib path. |
Decide from the sources, not from habit:
\usepackage[…]{biblatex} + \addbibresource{refs.bib} + \printbibliography
→ biblatex with biber. Extension included in \addbibresource.\bibliographystyle{…} + \bibliography{refs} → bibtex (or natbib on top).
No extension in \bibliography.compile rows carry source:"biber" or source:"bibtex" and name the
.bib file and its line — the fix is in that entry, not in the .tex.engine from project_structure/list_projects is the TeX engine
(pdflatex, xelatex, lualatex), not the bibliography backend.Do not mix the two: adding \addbibresource to a natbib paper, or
\bibliography to a biblatex one, breaks the build.
compile warning "Citation 'x' undefined": list_citations — the key is
misspelt, or the entry is missing (add it with references_add), or the
.bib is not loaded (see note above).Unicode character … (U+…) hint on a pdflatex project after adding a
reference: the character is in the .bib entry; the row names the .tex
line that prints the bibliography. read_file the .bib, replace the
character with its TeX escape via edit_file.pdfUrl.references_add fetches the record.write_file the .bib to add or fix one entry — edit_file, or
references_add.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins ship this exact skill · first indexed Sep 19, 2026
3 skills in this plugin
/latex-draft-sectionDraft a new section, subsection or appendix into an existing LaTeX paper in an Aldine project — read the paper first, reuse its labels, citation keys and macros, write the section into its own file wired in with \input, compile once, report the commit and the deep link. Use only when the paper lives in an Aldine project (the user names an Aldine project or instance, or the aldine MCP server is connected and the file is not on local disk) and the user asks to write, draft or add a section, related work, discussion, appendix or similar prose. For a local LaTeX checkout do not use this skill. Do not use for fixing a broken build (latex-fix-build) or adding references (latex-bibliography)./latex-fix-buildRepair a LaTeX build in an Aldine project — compile, read the parsed errors, fix the failing line with a quote-anchored edit, recompile, at most 3 attempts. Use only when the paper lives in an Aldine project (the user names an Aldine project or instance, or the aldine MCP server is connected and the file is not on local disk) and the user asks to fix, debug or "make it compile", a compile result has errors, or the PDF is missing after an edit. For a local LaTeX checkout do not use this skill. Do not use for drafting new text (latex-draft-section) or for citations (latex-bibliography).npx claudepluginhub trahloff/aldine --plugin aldineOther plugins' skills for the same job