validate-bib

validate-bib is a skill for Claude Code from clearsmog/claude-skills. It costs 30 tokens per session (451 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 451 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.00451
Opus 5 $0.00015 $0.00226
Sonnet 5 $0.00006 $0.00090
Haiku 4.5 $0.00003 $0.00045

Measured 9d ago against content hash 99aec3643e6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 — 14 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 · 51 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:

Slides/*.tex
Quarto/*.qmd
**/*.typ

Bibliography location:

Bibliography_base.bib  (repo root)
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. 9d 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 6mo ago), licensed MIT. It adds 30 tokens to every session and 451 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to validate-bib, differing in 14 lines, and is treated as a copy.

Related

Other skills, from other repositories

scholarly-publishing

Use when planning an end-to-end scholarly publishing workflow, including manuscript source-of-truth, submission assets, revision/rebuttal files, camera-ready checks, reproducible build expectations, and publication package structure.

foryourhealth111-pixel/Vibe-Skills · 47 tokens

slides-as-code

Build research slides with text-first source (Slidev/Marp/Reveal/Quarto) and reproducible export (PDF). Includes structure, figure reuse rules, and quality checklist for top-tier scientific presentations.

foryourhealth111-pixel/Vibe-Skills · 46 tokens

release-sync

Syncs latest release content to NotebookLM and HQ Knowledge Base after version tagging. Reads CHANGELOG, CLAUDE.md, and hook README, updates notebook sources, and ingests release digest. Optionally generates podcast from updated knowledge base. Use after tagging a new version to propagate release knowledge.

yonatangross/orchestkit · 62 tokens

taxonomy-vto

A reference guide for diagnosing visual problems in LaTeX research papers. It defines categories such as wasted page space, misplaced figures, inconsistent formatting, overflow, alignment, and template-migration issues.

OpenRaiser/PaperFit · 0 tokens

float-optimizer

A document-layout helper for LaTeX, the system commonly used to typeset research papers. It adjusts how figures and tables are placed near the text that refers to them.

OpenRaiser/PaperFit · 0 tokens

space-util-fixer

A LaTeX layout helper for improving how content fills pages and columns. It addresses issues such as isolated lines, large blank areas, incorrect page counts, and uneven columns in two-column papers.

OpenRaiser/PaperFit · 0 tokens