cameronbracken/waterology-research/bib-validate
Claude Code and agent skill by cameronbracken/waterology-research
- community
Checking that the SKILL.md file is still in the repository.
Validate citation keys and bibliography metadata, suggest likely key typos, and optionally verify DOI or title metadata through OpenAlex and Crossref. Use before rendering or releasing a Quarto or LaTeX document.
Install
npx vskill@latest install cameronbracken/waterology-research/bib-validateSKILL.md
The same SKILL.md was published earlier as cameronbracken/waterology-research/bib-validate.
Bibliography Validation
Validate local references before rendering a paper. The included script uses only the Python standard library:
Resolve the directory containing this SKILL.md, then run:
Add --verify-doi to query OpenAlex for present DOIs and Crossref for entries without one. Add --fix to correct only unambiguous citation key typos at edit distance 1. The script never rewrites bibliography metadata automatically.
Local checks
- Extract citation keys from
.tex,.qmd, and Markdown sources. - Compare them with keys declared in each
.bibfile. - Report an edit distance 1 candidate as a likely typo and distance 2 as a possible typo.
- Treat an ambiguous match as unresolved. Do not guess.
- Report uncited bibliography entries separately. They do not fail the check.
DOI and fabrication checks
With --verify-doi, apply this evidence order:
- DOI present and OpenAlex resolves it: PASS.
- DOI present but OpenAlex returns not found: FAIL because the DOI may be wrong or fabricated.
- DOI absent and the closest Crossref title has similarity at least 0.95: WARN and show the candidate DOI. Do not insert it.
- DOI absent and no credible match is found: WARN HIGH and retain the entry as unverified.
For each Crossref candidate, report the fabrication matrix across normalized title, first author, and year. A title match alone does not prove the record is the intended work. A network failure is UNVERIFIED, not FAIL.
Fix boundary
--fix changes a source citation only when exactly one bibliography key is at edit distance 1. It preserves the .bib file and makes no DOI or metadata change. Review the diff and rerun without --fix before accepting the result.
Report
Return PASS only when all cited keys exist and every requested DOI check passes. List likely and possible key typos, unused entries, DOI dispositions, network limitations, changed files, and the exact verification command.
Security
- Security scanPassed, 95 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/bib-validate/SKILL.md
Popularity
- 7-day trend score
- 5
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/cameronbracken/waterology-research/bib-validate)