rseng-citation-hygiene
Skill20 starsChanged 4 months agoMITView on GitHub
Covers verifying that every citation is real, correct and current: checking references in manuscripts, READMEs, references files and code metadata against Crossref and OpenAlex, screening cited DOIs against the Retraction Watch database, catching fabricated or mis-attributed citations (a documented AI failure mode), and keeping bibliographies and CITATION.cff files resolvable. Use PROACTIVELY before any bibliography, reference list or citation metadata is finalized or published, whenever the agent itself has produced citations, and when the user asks to check references, mentions broken DOIs, retracted papers or citation verification, or prepares a manuscript, README or software paper with references. (Making your own software citable is rseng-citation-metadata.)
In this repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rseng-agent-securitySkill
- rseng-ai-declarationSkill
- rseng-archivingSkill
- rseng-big-data-processingSkill
- rseng-ci-cdSkill
- rseng-citation-metadataSkill
- rseng-code-qualitySkill
- rseng-code-reviewSkill
- rseng-community-governanceSkill
- rseng-community-metricsSkill
- rseng-contributor-onboardingSkill
- rseng-data-management-plansSkill
- rseng-data-managementSkill
- rseng-debuggingSkill
- rseng-defensive-codingSkill
- rseng-dependency-managementSkill
- rseng-discoverySkill
- rseng-documentationSkill
- rseng-fact-checkingSkill
- rseng-fairguardSkill
- rseng-fair-mlSkill
- rseng-fair-softwareSkill
- rseng-gpu-computingSkill
- rseng-green-computingSkill
- rseng-honestySkill
- rseng-hpc-computingSkill
- rseng-human-verificationSkill
- rseng-language-guidesSkill
- rseng-legacy-codeSkill
- rseng-lessons-learnedSkill
- rseng-license-complianceSkill
- rseng-licensingSkill
- rseng-maintenance-sustainabilitySkill
- rseng-management-planningSkill
- rseng-notebooksSkill
- rseng-numerical-accuracySkill
- rseng-open-science-practicesSkill
- rseng-open-source-migrationSkill
- rseng-pair-programmingSkill
- rseng-performance-profilingSkill
- rseng-project-kickoffSkill
- rseng-project-scaffoldingSkill
- rseng-project-trackingSkill
- rseng-provenanceSkill
- rseng-publishing-releasingSkill
- rseng-quality-frameworkSkill
- rseng-regulatory-complianceSkill
- rseng-reproducibilitySkill
- rseng-reproducible-environmentsSkill
- rseng-research-integritySkill
- rseng-science-communicationSkill
- rseng-scientific-file-formatsSkill
- rseng-scientific-visualizationSkill
- rseng-securitySkill
- rseng-software-designSkill
- rseng-software-metricsSkill
- rseng-software-peer-reviewSkill
- rseng-software-publishingSkill
- rseng-software-reuseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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 90
Prefer the DOI form of a reference.
- Very specific: line 95
Keep bibliographies regenerable: store references as structured data (BibTeX/CSL/CFF) and render from it (rseng-documentation).
- Distinctive: line 123
Check whether any of these applies before moving on:
≈ “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
Citation hygiene
A citation is a checkable claim: this work exists, says what I say it says, and stands unretracted. All three parts fail routinely - and AI assistance has made the first failure mode systematic: language models fabricate plausible references with confident DOIs. An agent that produces or touches citations therefore has a special duty here, stated plainly: VERIFY EVERY CITATION YOU GENERATE against an authoritative source before handing it to the user, and say which were verified. No unverified reference should survive to a published artifact. rseng-citation-metadata covers making YOUR software citable; this skill covers the references you cite.
Verify existence and metadata (Crossref, OpenAlex)
For each reference with a DOI:
- Resolve it:
curl -sI https://doi.org/<DOI>- a failing DOI is either a typo or a fabrication; both are findings. - Fetch the registered metadata and compare with the citation as
written:
https://api.crossref.org/works/<DOI>(or the OpenAlex record athttps://api.openalex.org/works/doi:<DOI>- open, keyless APIs). Title, authors, venue and year must match; a DOI that resolves to a DIFFERENT paper than the citation claims is the classic fabrication signature and worse than a dead link. - References without DOIs: search Crossref/OpenAlex by title and authors; if nothing plausible exists, flag it - books and grey literature can be legitimate, but only a human can vouch for them.
- Batch the work: extract all references (BibTeX, CSL JSON, CITATION.cff references, markdown bibliographies), verify each, and report a table: verified / metadata-mismatch / unresolvable / no-DOI-needs-human.
Screen for retractions (Retraction Watch)
The Retraction Watch database is public, CC-BY, updated every working day, and Crossref-distributed - screening is one step:
- Per DOI: query Crossref and inspect
message.updated-by, keeping entries whosetypeis retraction, correction or expression_of_concern. Mind the direction:update-topoints the opposite way, from a notice to the work it corrects, so querying it against a retracted paper returns nothing and the paper reads as clean. Or check against the full CSV (public git repository at gitlab.com/crossref/retraction-watch-data). - Screen at these moments: finalizing a bibliography, submitting a manuscript (rseng-research-integrity runs the fuller pre-submission battery), and citing a paper as the FOUNDATION of a method - building on a retracted result is the costliest citation failure.
- A retraction hit is information, not automatic removal: report it with the retraction reason and let the author decide - citing retracted work knowingly (e.g. to discuss the retraction) is legitimate; citing it unknowingly is the failure.
Where citations hide in code projects
Manuscripts are not the only bibliography. Check:
- CITATION.cff
referencesandpreferred-citationentries (rseng-citation-metadata), codemeta.json referencePublication. - README "please cite" blocks and papers listed in docs.
- Algorithm-source comments ("implements the method of Smith 2019") - a wrong citation here misdirects future maintainers.
- Dependency citation duties: software the project builds on that requests citation (rseng-software-reuse's cite-what-you-adopt) - verify those entries like any other.
Currency and completeness
- Prefer the DOI form of a reference; preprint-vs-published drift is common - when a cited preprint has a published version, OpenAlex links the two; offer the update while preserving intent (sometimes the preprint IS the cited artifact - rseng-open-science-practices).
- Keep bibliographies regenerable: store references as structured data (BibTeX/CSL/CFF) and render from it (rseng-documentation); hand-maintained duplicated reference lists drift apart.
- Wire a lightweight check into CI where the project's references are load-bearing (rseng-ci-cd): DOI resolution plus retraction screen on the reference files - the citation analogue of a link checker.
Working with this skill
This skill is source-independent: its authority is the Crossref, OpenAlex and Retraction Watch services linked below. It is the verification counterpart to rseng-citation-metadata and feeds rseng-research-integrity's pre-submission checks.
Learn more (verified):
- https://api.crossref.org/swagger-ui/index.html - Crossref REST API
- https://help.openalex.org - OpenAlex API (open, keyless)
- https://www.crossref.org/documentation/retrieve-metadata/retraction-watch/ - Retraction Watch data via Crossref
- https://gitlab.com/crossref/retraction-watch-data - Retraction Watch database, public daily-updated repository
<!-- related-skills:begin -->Related skills
Check whether any of these applies before moving on:
- rseng-ci-cd - reference resolution checks in CI
- rseng-citation-metadata - making own software citable
- rseng-discovery - verifying surveyed literature leads
- rseng-fact-checking - verifying non-citation claims
- rseng-open-science-practices - preprint-to-published version links
- rseng-research-integrity - pre-submission verification battery
<!-- related-skills:end -->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.

