bib-read
Read and display bibliography entries in a human-readable format.
Usage
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/read.ts input.bib [--id=<id>]
Options
--id=<string>- Show only entry with this ID
Examples
Display all entries:
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/read.ts refs.bib
Display specific entry:
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/read.ts refs.bib --id=smith2024
Output Format
Each entry is displayed with key information:
[smith2024] article-journal
Authors: Smith, John
Title: Machine Learning in Biology
Year: 2024
[jones2023] book
Authors: Jones, Jane
Title: Introduction to AI
Year: 2023
Total: 2 entries
Use Cases
Quick lookup:
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/read.ts refs.bib --id=important2024
Browse all entries:
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/read.ts refs.bib | less
Count entries:
npx tsx ${CLAUDE_PLUGIN_ROOT}/scripts/read.ts refs.bib | grep "Total:"
Notes
- Format is auto-detected
- Output is human-readable (not machine-parseable)
- For filtering by author/year, use
bib-filterinstead - For full entry details, open file in editor or convert to JSON