Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keeping the library healthy

carrel doctor

carrel doctor            # problems, each with the command that fixes it
carrel doctor --all      # also each paper without a PDF and each arXiv preprint
carrel doctor --json     # for scripts (and the MCP tool `doctor`)
CheckLevelMeaning
brokenerrora .bib that is missing, invalid, or whose key differs from its folder
fieldswarningmissing title, author, year, or the journal/booktitle its type needs
markupwarningHTML tags left in a field
macrowarningan @string macro, undefined outside its original .bib
duplicatewarningthe same DOI, arXiv id or title as another paper
textwarninga PDF whose text couldn’t be extracted, so an AI can’t read it
projectwarninga project listing a paper that isn’t in the library
pdfinfono PDF
preprintinfoan arXiv preprint that may have been published since

carrel update

carrel update girshick2013rich          # fetch the metadata again
carrel update --all
carrel update smith2020 10.1145/123456  # say which paper it is (DOI, arXiv id or title)

Fetched fields replace those whose text changed; your keywords and own fields stay, and so does the key. An arXiv preprint switches to its published version when one is known. Every change is printed, and if the key template would now give a different key, carrel says so without renaming.