verify-refs
Skill42 starsChanged 2 months agoMITView on GitHub
Use when checking BibTeX reference records for missing fields, malformed identifiers, duplicate keys, or metadata mismatches before submission.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Check reference records for missing required fields, duplicate keys, malformed DOI values, malformed arXiv identifiers, and invalid URLs.
- Distinctive: line 36
Use CrossRef for DOI metadata, Semantic Scholar as a secondary metadata source, and arXiv for preprint identifiers.
- Distinctive: line 45
Do not import project-specific reference rules from other repositories.
- Distinctive: line 46
Do not auto-fix reference records without user approval.
- Distinctive: line 47
Keep output plain Markdown with no emoji.
- Distinctive: line 48
Treat CrossRef, Semantic Scholar, and arXiv as verification sources, not as citation style authorities.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/verify-refs — Reference Authenticity Check
Running Python helpers
Choose the interpreter before running the examples. For a globally installed
copy, use the private runtime recorded by its installer. In a checkout or linked
workspace, use AWT_PYTHON when set, otherwise the toolkit's .venv (follow the
skill directory link back to the toolkit): Scripts/python.exe on Windows,
bin/python on macOS/Linux. Without that environment, check that python
(Windows) or python3 (macOS/Linux) actually runs and has the helper's dependencies.
Replace the example's python3 with that executable. In PowerShell, prefix a
quoted executable with &; keep commands on one line and quote file paths.
Purpose
Check reference records for missing required fields, duplicate keys, malformed DOI values, malformed arXiv identifiers, and invalid URLs. The default mode is offline and deterministic.
Trigger Words
This skill activates on: verify refs, verify references, reference check, /verify-refs.
Workflow
- Identify the target Markdown or
.bibfile. If the user does not specify one, ask. - Run:
python3 .claude/skills/verify-refs/scripts/verify-refs.py --bib "{path}" --json - Report issues by entry key and severity.
- For explicit metadata verification, run:
python3 .claude/skills/verify-refs/scripts/verify-refs.py --bib "{path}" --json --online - Use CrossRef for DOI metadata, Semantic Scholar as a secondary metadata source, and arXiv for preprint identifiers. Online checks must be explicit because they depend on network availability.
- In tests or offline review, use
--metadata-dir "{dir}"to read CrossRef JSON, Semantic Scholar JSON, and arXiv Atom fixtures instead of live network calls. - For a LaTeX manuscript, reconcile its citations with the
.bibfile both ways:python3 .claude/skills/verify-refs/scripts/reconcile-cites.py --bib "{bib}" --root "{repo}" --json "{main.tex}" ...It follows\input,\includeand\subfile, reports keys cited but not defined and entries defined but cited nowhere, and treats\nocite{*}as citing everything. Exit 2 when nothing could be read.
Constraints
- Do not import project-specific reference rules from other repositories.
- Do not auto-fix reference records without user approval.
- Keep output plain Markdown with no emoji.
- Treat CrossRef, Semantic Scholar, and arXiv as verification sources, not as citation style authorities.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

