jabref/jabref/pdf-to-bibtex
- community
Checking that the SKILL.md file is still in the repository.
Turns a PDF paper into a BibTeX entry describing that paper, using JabRef's jabkit CLI - merges XMP, embedded BibTeX, GROBID, and text heuristics, then enriches the result via DOI/arXiv/ISBN lookup; builds a bibliography from a whole folder of papers. Not for extracting the reference list cited by a paper.
Install
npx vskill@latest install jabref/jabref/pdf-to-bibtexSKILL.md
PDF to BibTeX
Produce a BibTeX entry describing a PDF paper (its own title, authors, year, ...) using jabkit, JabRef's command-line toolkit.
This skill is about metadata of the PDF. Extracting the entries a paper cites (its "References" section) is a different task, not covered by this skill.
Setup
jabkit runs via JBang — no JDK setup needed. Install JBang if missing:
Then install jabkit on the PATH (the same command also updates it):
One-off run without installation:
Basic usage
Omit --output to print BibTeX to stdout. Add --porcelain before the subcommand for script-friendly output:
PDF importer formats
Pass one of these as --input-format:
| Format id | Strategy | |
|---|---|---|
pdfMerged | Merges results of the other importers into one best-effort entry — use this by default | |
pdfXmp | Reads XMP metadata stored in the PDF | |
pdfEmbeddedBibFile | Reads a BibTeX file embedded as PDF attachment | |
pdfVerbatimBibtex | Parses BibTeX printed verbatim on the first page | |
pdfContent | Heuristic extraction from the text of the first page | |
pdfGrobid | Sends the PDF to a GROBID service (requires GROBID to be enabled/reachable) |
--input-format "*" auto-detects the format (also works for non-PDF inputs).
Recommended workflow
- Run with
pdfMergedfirst. Besides merging the other importers' results, it looks up any DOI, arXiv eprint, or ISBN found in the PDF online and merges the fetched metadata into the entry — no separate DOI lookup is needed. - Validate the resulting library:
``bash jabkit check paper.bib ``
Batch conversion
Afterwards generate citation keys for all entries:
Related
- Extract the works a paper cites (its "References" section): the
pdf-extract-referencesskill. - Write metadata back into PDFs (reverse direction):
jabkit pdf update --citation-key <key> --input library.bib --input-format bibtex - Full CLI reference: the
jabkitskill in this repository.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/users/pdf-to-bibtex/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jabref/jabref/pdf-to-bibtex)