Citation Check 标志

Citation Check

社区
scdenney
citation-check

Audits a manuscript's citations for fabricated or nonexistent sources, DOIs that resolve to a different work, mismatches between in-text citations and the reference list, APA 7 or journal style, and whether each source supports the claim it is attached to. Checks entries against Crossref, OpenAlex, and DataCite and labels anything it could not verify NOT CHECKED. Use to check citations, references, a .bib file, or DOIs, or when a source may be AI-invented. Figures and tables go to figure-table-audit.

概览

发布者scdenney
代码仓库open-science-skills
技能名称citation-check
星标数
69
复刻数
3
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 scdenney 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Citation Check AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scdenney/open-science-skills/tree/main/plugin/skills/citation-check
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scdenney/open-science-skills.git /tmp/open-science-skills
mkdir -p .claude/skills
cp -r /tmp/open-science-skills/plugin/skills/citation-check .claude/skills/citation-check
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Citation Check,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Citation Check。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Citation Check 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Citation Integrity Auditor

Checks that every cited work exists, that its identifier points to that work, that the text and the reference list agree, and that each source can bear the claim attached to it. Verification comes from bibliographic indexes, not from model memory: a lookup that was not run is reported as NOT CHECKED, never filled in by plausibility.

Adapted for social science from the source-verification workflow in Cheng-I Wu's Academic Research Skills for Claude Code (CC BY-NC 4.0), in particular its separation of formatting, existence, DOI, and uncertainty checks. Credit ARS when reusing this structure elsewhere, and keep its prose out of reports.

Instructions

1. Orient before checking

Identify the inputs and constraints:

  • Manuscript source: LaTeX, Markdown, Word export, PDF text, or pasted prose.
  • Bibliography source: .bib, CSL JSON, Zotero export, reference section, footnotes, or mixed.
  • Target style: default to APA 7 unless the user names a journal or style.
  • Scope: whole manuscript, one section, bibliography only, or DOI-only pass.
  • Tool availability: if web lookup, Crossref, DataCite, DOI.org, Semantic Scholar, or OpenAlex are unavailable, mark verification status as NOT CHECKED rather than guessing.
  • For LaTeX/BibTeX, drive the audit off the keys actually \cited in the manuscript (follow \input/\include), not every entry in a master .bib. Only cited keys reach the printed reference list, which is what readers and critics actually check.
  • Note the bibliography style. Many common styles (apalike, plain, unsrt) do not render the doi field, so a wrong or dead DOI is invisible in the compiled PDF and ranks as source-hygiene unless the style prints it. Author, year, title, volume, issue, and pages do render — prioritize those for any artifact that is already public.

2. Build the citation inventory

Create two inventories before judging errors:

  • In-text inventory: every author-year, parenthetical, narrative, footnote, or numeric citation appearing in the manuscript.
  • Reference inventory: every bibliography entry, including entry key if present, authors, year, title, outlet, DOI/URL, publication status, and notes.

Normalize cautiously:

  • Treat spelling variants, diacritics, hyphenated surnames, particles (de, van, von), and organizational authors as possible matches until checked.
  • For multiple works by the same author-year, verify a/b/c suffixes are assigned consistently.
  • For BibTeX, preserve the entry key and report it with every finding.

3. Run structural checks

Report:

  • Cited in text but missing from references.
  • In references but never cited.
  • Author-year mismatch between in-text citation and reference entry.
  • Duplicate bibliography entries for the same work.
  • Ambiguous citations where two reference entries could satisfy one in-text citation.
  • Broken cross-references caused by LaTeX/BibTeX key drift.

List the likely match and the evidence for ambiguous cases rather than resolving them silently.

4. Verify source existence and identifiers

This is the highest-stakes check. The two common fabrication patterns are a real author attached to a plausible but nonexistent title, and a DOI that resolves to a different real paper. Query the programmatic indexes first: their answers are deterministic and do not depend on what the model remembers.

Concrete lookups (via web fetch):

  • Crossref bibliographic search: https://api.crossref.org/works?rows=5&query.bibliographic=<URL-encoded "title first-author year">. Compare returned title/authors/year/DOI. Append &mailto=<email> for the polite pool. On HTTP 429, fall back to OpenAlex.
  • DOI resolution: https://api.crossref.org/works/<doi> (or https://doi.org/<doi>). Confirm the resolved title and authors match this entry. A DOI that resolves to a different real work is the most common LLM-fabrication signature, so a DOI that resolves is not thereby correct.
  • OpenAlex: https://api.openalex.org/works?search=<URL-encoded title> or ?filter=doi:<doi>. Independent index; use when Crossref is rate-limited or for abstracts.
  • Exact-title test: search the title in quotation marks. Zero hits anywhere is a strong fabrication signal.
  • Author-corpus cross-check (catches the "fabricated title grafted onto a real author" pattern): query the real author's works (...query.author=<name>) and confirm the cited title appears in their corpus. A real author + nonexistent title + invented co-authors/venue is the classic hallucination.

Tiered fallback by source type:

  • Journal articles → Crossref / OpenAlex / DOI resolution.
  • Books and chapters → publisher page, WorldCat, Google Books, OpenAlex. Book DOIs are spotty and frequently 404 even for real books; a dead book DOI is usually source-hygiene, not a missing source.
  • Datasets and official statistics → the issuing archive (ISSP, V-Dem, ANES, KGSS, national election studies, government statistical catalogues). Verify the catalogue/series number resolves to the cited title — a real catalogue number attached to the wrong title is a fabrication tell.
  • Grey literature / government / internal reports → the issuing agency's own site (site: search). If untraceable, classify as NEEDS AUTHOR VERIFICATION, not fabricated — an insider or co-author may be citing a real internal document.
  • News / web items → confirm the named outlet actually ran the piece.
  • Preprints / "forthcoming" → SSRN, arXiv, SocArXiv, OSF, author pages/CVs, conference programs. A forthcoming item's year is inherently uncertain; prefer the authors' own current listing.

Labels:

  • MISSING DOI: likely DOI exists but is absent.
  • NO DOI FOUND: searched, none found; not necessarily an error.
  • DEAD DOI: the identifier 404s (common for real book DOIs).
  • DOI RESOLVES TO DIFFERENT WORK: DOI is live but points to another paper — high-signal hallucination tell.
  • METADATA MISMATCH: real work, wrong year/volume/issue/pages/author names.
  • TITLE DRIFT: cited title differs materially from the indexed title.
  • STATUS UPDATE: working paper/preprint now has a journal/book version.
  • NEEDS AUTHOR VERIFICATION: no programmatic match, but plausibly real grey literature.
  • LIKELY FABRICATED: no trace after identifier, exact-title, and author-corpus searches. Reserve for genuine non-existence, but do not shy away from it when the evidence is clear.

Not fabrications:

  • Double-blind anonymization placeholders (e.g. title={Article withheld for review}, author {Author}) — intentional blinding stubs, not citations.
  • The author's own work (self-citations). Flag metadata conflicts between their CV and the published record for the author to reconcile; the author is the authority on their own paper.

High-stakes audits (publication or public posting): run a second, independent verification pass with different framing, treating any suspect as fabricated until independently confirmed. A single pass misses real problems, and independent passes catch each other's gaps. If no second pass was run, say so in the report. When remediating rather than only reporting, substitute only a real, verified source (ideally the one the author intended), confirm any new DOI resolves to the right work before writing it, and check that the fix renders in the compiled output.

5. Check style and completeness

For APA 7 and most social-science journal styles:

  • DOI should be a URL form when available: https://doi.org/....
  • Do not add a period after DOI or URL.
  • Journal articles need article title, journal title, volume, issue when available, pages or article number, and DOI when available.
  • Books need publisher; edited chapters need editors, book title, page range, publisher.
  • Reports and datasets need institutional author, date, title, publisher/archive, version if relevant, and URL/DOI.
  • Data, code, and materials should be cited as research products, not buried only in availability statements.

When target style is not APA, apply the target style but still keep the integrity checks above.

6. Audit evidentiary use

For literature reviews and theory sections, sample the most important citations and classify how they are used:

  • Background: source establishes context only.
  • Claim support: source is used as evidence for a substantive claim.
  • Method precedent: source justifies a design, estimator, measurement strategy, or reporting practice.
  • Contrast: source is cited as an opposing or incomplete account.

Flag overclaiming when the cited source plausibly cannot support the sentence where it appears. If source text is unavailable, mark SOURCE TEXT NOT CHECKED.

Output

Produce a Citation Audit Report:

# Citation Audit Report

Scope: <files/sections checked>
Target style: <style or journal>
Verification tools used: <Crossref/DataCite/S2/OpenAlex/Web/manual/none>
Summary: <N blocking, N recommended, N minor, N needs-author-verification>

## Blocking Issues
| Location | Entry/key | Issue | Evidence | Fix |

## Recommended Fixes
| Location | Entry/key | Issue | Evidence | Fix |

## Minor Style Issues
| Location | Entry/key | Issue | Fix |

## DOI and Source-Status Table
| Entry/key | Current DOI/URL | Verification status | Suggested action |

## In-text / Reference Parity
| Type | Citation or key | Location | Suggested action |

## Needs Author Verification
| Entry/key | Why unresolved | What author should check |

Severity:

  • Blocking: missing cited reference, wrong DOI, possibly nonexistent source, citation supports a decisive claim but appears wrong, or broken citation build.
  • Recommended: missing likely DOI, stale working paper, author-year mismatch that is fixable, uncited important reference, incomplete metadata.
  • Minor: punctuation, capitalization, inconsistent initials, style-only issues.

Optional Jev verification (--verify)

/oss:citation-check --verify <task> opts into experimental Jev verification; /oss:citation-check --verify jev <task> is identical. Plain /oss:citation-check is unchanged and makes no Jev call. It may assist only with an ambiguity left over after an actual fetched record — work identity, version relationship, or otherwise ambiguous metadata. It never replaces the inventory, DOI resolution, existence and fabrication checks, provider lookups, the style audit, or a report label.

Use it only after the ordinary workflow has retrieved the relevant record, one entry at a time. Do not infer existence or fabrication from model knowledge. A deterministic wrong DOI remains DOI RESOLVES TO DIFFERENT WORK; NOT CHECKED remains NOT CHECKED; a DOI difference alone can be a preprint/publication or other version relationship rather than proof of a wrong work. A lead may manually reuse a prior result only for the same complete evaluation input and model/contract version; there is no automatic cache and no batch mode.

Only on opt-in, read ${JEV_VERIFIER_HOME:-$HOME/.local/share/oss-experiments/jev-verifier/current}/CITATION-CHECK.md and follow it; that shared runtime file is authoritative for the state manifest, the verify.py call, and the disclosure you owe the user before a live call. Installation and credentials are covered by ${JEV_VERIFIER_HOME:-$HOME/.local/share/oss-experiments/jev-verifier/current}/README.md in the same bundle; if that bundle is not present, the runtime is not installed and verification is blocked. Record the entry's report status before reading any Jev result, and treat the result as an advisory annotation only. A missing runtime, an unresolvable TYPESAFE_API_KEY, or a failed call means the requested check is blocked, never verified and never mocked.

常见问题

Citation Check AI 技能有什么作用?

Audits a manuscript's citations for fabricated or nonexistent sources, DOIs that resolve to a different work, mismatches between in-text citations and the reference list, APA 7 or journal style, and whether each source supports the claim it is attached to. Checks entries against Crossref, OpenAlex, and DataCite and labels anything it could not verify NOT CHECKED. Use to check citations, references, a .bib file, or DOIs, or when a source may be AI-invented. Figures and tables go to figure-table-audit.

为什么在 TypingMind 中使用 Citation Check?

因为您只需安装一次,就能搭配任何模型使用。Citation Check 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Citation Check?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scdenney/open-science-skills/tree/main/plugin/skills/citation-check。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Citation Check?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Citation Check 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Citation Check 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Citation Check AI 技能免费吗?

scdenney 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇