validate-bib

validate-bib is a skill for Claude Code from clearsmog/claude-skills. It costs 30 tokens per session (496 once invoked), scanned A, a copy of validate-bib, MIT.

A bibliography checker for document files that compares cited references with entries in a bibliography file.

In plain words
What is it for?
It checks citations in LaTeX, Quarto, and Typst files, including BibTeX and Hayagriva bibliography references, and reports missing or unused entries.
Why use it?
It finds citations with no matching reference, references that are never cited, possible key typos, and problems in bibliography fields.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It checks citations in LaTeX, Quarto, and Typst files, including BibTeX and Hayagriva bibliography references, and reports missing or unused entries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clearsmog/claude-skills/validate-bib
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add clearsmog/claude-skills --skill validate-bib
Clone the repo
git clone --depth 1 https://github.com/clearsmog/claude-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for validate-bib

README.md
[![agentmods](https://agentmods.dev/badge/skills/clearsmog/claude-skills/validate-bib/github.svg)](https://agentmods.dev/skills/clearsmog/claude-skills/validate-bib)
Your own site
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/validate-bib"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/validate-bib/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for validate-bib

Your own site · 80×15
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/validate-bib"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/validate-bib.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00496
Opus 5.5 $0.00012 $0.00198
Sonnet 5.5 $0.00006 $0.00099
Haiku 4.5 $0.00003 $0.00050

Measured 24d ago against content hash ab1783838a90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate-bib scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to validate-bib — 22 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

validate-bib/SKILL.md · 45 lines

What it actually says

Validate Bibliography

Cross-reference all citations in lecture files against bibliography entries.

Steps

  1. Read the bibliography file and extract all citation keys

  2. Scan all document files for citation keys:

    • .tex files: look for \cite{, \citet{, \citep{, \citeauthor{, \citeyear{
    • .qmd files: look for @key, [@key], [@key1; @key2]
    • .typ files: look for @key references (Typst uses @key syntax, no \citet/\citep distinction)
    • Also check for #bibliography("refs.bib") or #bibliography("refs.yml") (Hayagriva format) in .typ files
    • Note: some Typst projects use inline links instead of bibliography — detect and report
    • Extract all unique citation keys used
  3. Cross-reference:

    • Missing entries: Citations used in lectures but NOT in bibliography
    • Unused entries: Entries in bibliography not cited anywhere
    • Potential typos: Similar-but-not-matching keys
  4. Check entry quality for each bib entry:

    • Required fields present (author, title, year, journal/booktitle)
    • Author field properly formatted
    • Year is reasonable
    • No malformed characters or encoding issues
  5. Report findings:

    • List of missing bibliography entries (CRITICAL)
    • List of unused entries (informational)
    • List of potential typos in citation keys
    • List of quality issues

Files to scan

All .tex, .qmd, and .typ files in the project.

Bibliography location

Whatever the documents reference: \bibliography{} / \addbibresource{}, bibliography: in Quarto YAML, or #bibliography(...) in Typst. If nothing is referenced and several .bib/.yml files exist, ask which one.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 24d ago Changed · -6 lines ab1783838a90
  2. 1mo ago First seen · 51 lines · 30 tokens per session scan A 99aec3643e6f

Subscribe to this mod's changes

validate-bib is a skill published in the GitHub repository clearsmog/claude-skills (2 stars, last pushed 24d ago), licensed MIT. It adds 30 tokens to every session and 496 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to validate-bib, differing in 22 lines, and is treated as a copy.

Related

Other skills, from other repositories

author-contribution-audit

Audit the manuscript's Author Contributions section against ICMJE's four authorship criteria and CRediT's 14 contributor roles. Flag what's missing per author, suggest how to map who-did-what to canonical CRediT roles, and (when targetvenue is set) compare against journal-specific variants. Operates on the declared…

seandavi/scriptorium · 184 tokens

md-to-latex

Convert Markdown to LaTeX source via Pandoc.

fabioc-aloha/Alex_Skill_Mall · 16 tokens

faostat-analytical-brief

Use when the user wants a short, FAOSTAT-style analytical brief — a multi-page PDF policy document in the FAOSTAT house visual style, with a HIGHLIGHTS box, global/regional/country sections, numbered figures with source lines, explanatory notes, and a data appendix. Use when the user asks for "an analytical brief on…

berba-q/faostat-skills · 183 tokens

latex-writer

Author and compile LaTeX documents — academic papers, theses, mathematical equations, bibliographies, and Beamer presentations.

inbharatai/claude-skills · 28 tokens

clinical-case-report

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds"…

nexu-io/open-design · 73 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens