New to Claude Skills? Learn how to install them →

huangwb8 on GitHub

Research Citation Check

Free

Ensure your literature citations are accurate and aligned.

Get this skill

Free · Opens the source repo

What Research Citation Check does

Research Citation Check is a skill designed for researchers and academics who need to verify the accuracy of citations in their literature reviews. It analyzes existing LaTeX files, specifically those formatted as {主题}_review.tex, and checks whether the citations correspond correctly to the referenced literature. The skill employs AI to perform semantic checks on each citation, ensuring that only critical errors lead to modifications in the text. This minimizes unnecessary changes and maintains the original structure of the document.

The workflow begins by identifying the necessary files, including the .tex and .bib files. It prepares the context for analysis and generates a structured input file that includes essential citation details. The AI then evaluates each citation against the actual content of the referenced papers, categorizing any discrepancies as critical errors, warnings, or style issues. Only when a citation is confirmed to have a significant error will the skill make minimal adjustments to the corresponding text, ensuring that the integrity of the original writing is preserved.

The output of the skill includes a detailed report that summarizes the findings, highlights critical fixes, and lists any warnings for citations that may need further review. Additionally, it generates updated versions of the original LaTeX file, along with rendered PDF and Word documents, making it a comprehensive tool for maintaining citation accuracy in academic writing.

This skill is particularly useful for those engaged in systematic literature reviews or any academic writing that requires precise citation management. It is not intended for generating new literature reviews or managing BibTeX entries, which should be handled by other specialized tools.

When to use it

Use this skill when you have an existing literature review in LaTeX format and need to verify the accuracy of citations against the original papers.

When not to use it

This skill is not suitable for generating new literature reviews or for managing BibTeX entries; those tasks require different tools.

What you can build with it

Verifying a Literature Review

When preparing a manuscript, use this skill to ensure that all citations in your literature review are accurate and correspond to the correct sources.

Preparing for a Thesis Submission

Before submitting your thesis, run this skill to check the citations in your literature review section for any discrepancies.

Collaborating on Academic Papers

In collaborative projects, use this skill to ensure that all contributors' citations are accurately represented and aligned with the original literature.

How to install Research Citation Check

View source

1. Install with the skills CLI

npx skills add huangwb8/chineseresearchlatex/research-citation-check --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by huangwb8

Research Citation Check

BenszAPI 任务工作区

本 Skill 的新任务中间文件统一写入 ./.bensz-api/task-{yyyymmdd-hhmm}-{简短描述}/{skill名}/input|output|log/。同一任务复用一个任务根目录;多 Skill 协作才创建 shared/。正式交付物不写入该目录,历史隐藏目录只允许显式兼容读取、迁移或清理。

与 bensz-collect-bugs 的协作约定

  • 当用户环境中出现因本 skill 设计缺陷导致的 bug 时,优先使用 bensz-collect-bugs 按规范记录到 ~/.bensz-skills/bugs/,严禁直接修改用户本地 Claude Code / Codex 中已安装的 skill 源码。
  • 若 AI 仍可通过 workaround 继续完成用户任务,应先记录 bug,再继续完成当前任务。
  • 当用户明确要求“report bensz skills bugs”等公开上报动作时,调用本地 ghbensz-collect-bugs,仅上传新增 bug 到 huangwb8/bensz-bugs;不要 pull / clone 整个 bug 仓库。

定位

  • 用于检查已有 {主题}_review.tex 的正文引用是否真的与对应论文内容一致。
  • 只在确认存在致命错误时最小化改写“包含该引用的句子”。
  • 渲染 PDF/Word 优先依赖 research-literature-review;准备结构化输入不依赖该 skill。
  • 兼容旧名 check-review-alignment 的 prompt 触发;.check-review-alignment/ 仍是稳定历史工作区名。

输入

  • work_dir:包含 *_review.tex.bib
  • 可选 --tex:指定 tex 文件名

输出

  • {work_dir}/.check-review-alignment/ai_alignment_report.md
  • {work_dir}/.check-review-alignment/ai_alignment_input.json
  • 修改后的 {主题}_review.tex
  • 新生成的 {主题}_review.pdf
  • 新生成的 {主题}_review.docx

修改边界

  • P0:必须修,允许最小改写或修正错误 bibkey
  • P1:仅警告,不改写
  • P2:完全跳过
  • 禁止:
    • 改写未包含引用的句子
    • 整段重写
    • 引入新 bibkey(除非修复错误 key)
    • 伪造论文内容

工作流

1. 依赖检查

  • 只有执行渲染时才强制检查 research-literature-review,过渡期可 fallback 到 systematic-literature-review
  • 若只是 --prepare,不要求渲染依赖可用

2. 预检与定位

  • 找到 *_review.tex 与对应 .bib
  • 缺任何核心文件时立即停止

3. 结构化上下文抽取

cd /path/to/research-citation-check
python3 scripts/run_ai_alignment.py --work-dir "/path/to/work_dir" --prepare
  • 生成 ai_alignment_input.json
  • 输入中至少包含:句子、bibkey、文献元信息、DOI/URL、PDF 摘要段或 BibTeX 摘要

4. AI 语义核查

  • 证据优先级:PDF 摘要段 > BibTeX abstract/title > 仅从句子推断
  • 每条引用都要判断是否为:
    • fake_citation
    • wrong_citation
    • contradictory_citation
    • weak_support
    • overclaim
    • style_issue
  • 无法确认时保持原样,并记录到 Warnings

5. 报告

  • 报告至少包含:
    • Summary
    • 具体细节
    • Critical Fixes (P0)
    • Warnings (P1)
    • Rendering Result
  • 每条引用的细节至少包含:标题、DOI、原句、文献实际内容、合理性评估、问题级别

6. 渲染

cd /path/to/research-citation-check
python3 scripts/run_ai_alignment.py --work-dir "/path/to/work_dir" --render

核心原则

  • 不为了改而改
  • 无法确认时不动
  • 只改必要句子
  • 保留所有 LaTeX 命令结构

参考与验证

  • 配置见 config.yaml
  • 脚本入口:scripts/run_ai_alignment.py
  • 渲染依赖:research-literature-review(fallback:systematic-literature-review

Frequently asked questions about Research Citation Check

Similar skills