research-citation-check

Verify LaTeX review citations against BibTeX and PDF content, then minimally rewrite mismatched sentences.

2.7k|251|Updated Feb 12, 2024
One-click install
npx skills add https://github.com/huangwb8/ChineseResearchLaTeX --skill research-citation-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: research-citation-check
Source: https://github.com/huangwb8/ChineseResearchLaTeX/tree/main/skills/research-citation-check
Command: npx skills add https://github.com/huangwb8/ChineseResearchLaTeX --skill research-citation-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bibtexparser, pdfplumber, PyPDF2, PyYAML, and includes scripts (resource) components.

What problem does it solve?

Literature reviews often contain mismatched or hallucinated citations where the cited paper never actually did what the text claims. This Skill checks every citation in a {topic}_review.tex file against the real BibTeX metadata and PDF content, then minimally rewrites only the sentences with fatal citation errors.

Core Features & Use Cases

  • Semantic Citation Verification: The host AI checks each citation against PDF excerpts and BibTeX abstracts, classifying issues as fake, wrong, contradictory, weak, or overstated citations.
  • Minimal Rewriting with Priority Levels: Only P0 fatal errors (fake/wrong/contradictory citations) are rewritten; P1 issues are warnings only and P2 style issues are never touched, preserving all LaTeX commands.
  • Deterministic Helper Scripts: Python scripts parse LaTeX paragraphs, extract citation contexts, build a structured ai_alignment_input.json, and render PDF/Word output by reusing the research-literature-review skill.
  • Use Case: After generating a systematic review, run this Skill to catch hallucinated references, produce an ai_alignment_report.md audit trail, and regenerate the corrected PDF and Word files.

Quick Start

Ask the AI to use research-citation-check to verify and fix the citations in the review tex file inside your project directory.

Frequently Asked Questions about research-citation-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check citations in a LaTeX review for accuracy?

Run research-citation-check on the directory containing your review tex and bib files. It extracts every citation with its sentence context, compares each against BibTeX metadata and PDF excerpts, and rewrites only sentences with fatal citation errors.

How to detect hallucinated references in academic writing?

Hallucinated references are detected by classifying each citation as fake, wrong, or contradictory based on the paper's actual abstract and PDF text. Fake citations missing from the bib file and contradictory claims are flagged as P0 errors that must be fixed.

Does this tool rewrite my entire literature review?

No. It follows a minimal-change principle: only P0 fatal errors are rewritten, P1 issues like weak support are warnings only, and P2 style issues are never touched. All LaTeX commands such as \cite and \ref are preserved.

What dependencies are required to render PDF and Word output?

Rendering requires the research-literature-review skill, whose compile_latex_with_bibtex.py and convert_latex_to_word.py scripts are reused. The prepare step that builds the structured input JSON does not require this dependency.

Can I recover my original tex file if the changes are wrong?

Yes, but only if you prepared beforehand. Use Git to commit before running, or keep a manual backup copy of the tex file, since the Skill modifies the review file directly and has no built-in undo.