citation-discipline
Skill0 starsChanged 3 months agoMITView on GitHub
Build a bibliography that survives verification. Use whenever writing references.bib, adding a citation, fixing "?" citation marks, or checking whether cited work actually exists. Prevents invented references, which is the single most common way an agent-written paper is caught.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-cost-controlSkill
- delivery-contractSkill
- env-isolationSkill
- experiment-disciplineSkill
- figure-integritySkill
- latex-compileSkill
- literature-surveySkill
- numbers-traceableSkill
- page-fittingSkill
- paper-machineSkill
- paper-structureSkill
- research-integritySkill
- reviewer-mindsetSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Not a plausible one. Not one you are confident about.
- Distinctive: line 30
Search for the work by title in an academic API: Semantic Scholar,
- Distinctive: line 36
If nothing matches, you have three options and inventing is not among them:
- Distinctive: line 40
keep the claim and mark it explicitly as unsupported
- Distinctive: line 63
If every lookup fails, do not conclude that every reference is fake and delete the bibliography.
- Very specific: line 75
Before the paper is done, take each entry in references.bib, search its title, and confirm it resolves.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Citation Discipline
The one rule
You must never write a BibTeX entry from memory.
Not a plausible one. Not one you are confident about. Not "just the key fields and we will fix it later". Every entry comes from an academic API, or it does not go in the file.
Why this rule is absolute
Language models produce bibliography entries that are almost right. The authors are real, the venue is plausible, the year is close, and the paper does not exist. Audits of agent-written papers have found hallucinated reference rates above 20 percent.
Observed directly: an agent asked to fix missing references wrote nine entries in one edit. Four described no real paper. The draft compiled, the References section looked complete, and nothing flagged it. LaTeX cannot tell you a citation is fictional. Only an academic database can.
How to add a citation
- Search for the work by title in an academic API: Semantic Scholar, DBLP, CrossRef, or arXiv.
- Compare the returned title against what you searched for. Require a close match, not a thematic one. "Roughly about the same topic" is how the wrong paper gets cited.
- Fetch the BibTeX from the API, not from your own text generation.
- If nothing matches, you have three options and inventing is not among
them:
- cite a different, real work that makes the same point
- drop the claim that needed the citation
- keep the claim and mark it explicitly as unsupported
Fixing "?" in a compiled PDF
A ? means the text cites a key that is not in references.bib. Repair in
this order:
- Recompile with the full chain (
pdflatex,bibtex,pdflatex,pdflatex). Roughly half of these are stale-aux artifacts, not missing entries. - For each key still unresolved, search the academic APIs using the key
itself as a hint. A key like
pedregosa2011scikitdecomposes into "pedregosa 2011 scikit", which is usually enough to find the real entry. Re-key the fetched BibTeX to the key the text already uses so existing\citecommands resolve. - Whatever is still unresolved, remove the
\citecommand so the sentence stands without it.
Shipping a PDF containing ? is never acceptable. It tells the reader the
bibliography was never checked.
When the network is down
If every lookup fails, do not conclude that every reference is fake and delete the bibliography. Distinguish "the API said no" from "the API did not answer". If nothing at all verified in a pass, assume the network and change nothing.
This is not hypothetical. A platform env once lost its CA certificate bundle after an unrelated change, so every academic lookup returned empty. Without this guard, an automated cleanup would have deleted every reference in every paper it touched.
Verify before shipping
Before the paper is done, take each entry in references.bib, search its
title, and confirm it resolves. Report the count. "23 of 23 references
verified against Semantic Scholar and DBLP" is a sentence a reviewer can
trust. Silence is not.
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.

