
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
CiteCheck checks academic paper citations by extracting references from LaTeX or PDF files, validating formatting, and looking up papers in sources like Crossref, Semantic Scholar, OpenAlex, PubMed, arXiv, dblp, Google Scholar, and WebSearch. As a skill, it lets the host agent handle relevance and semantic checks; as a CLI, it handles parsing, format checks, and online lookup.
Builders who use Claude Code, Codex, Cursor, Gemini CLI, or Copilot to review academic papers and reference lists.
You can check whether citations are formatted correctly, findable online, and relevant to the text without doing the review manually.
Ships as a portable skill that agents can discover and run across Claude Code, Codex, Cursor, Gemini CLI, and Copilot-style workflows.
Extracts references and citations from LaTeX projects or PDF files, with a PDF fallback for papers without source files.
Validates BibTeX fields, entry types, venue names, and other citation-format issues.
Queries Crossref, Semantic Scholar, OpenAlex, PubMed, arXiv, dblp, Google Scholar, and WebSearch to confirm a paper exists.
Checks whether a cited paper fits the surrounding claim and whether the meaning matches the text, using agent reasoning or CLI heuristics/LLM support.
Generates a structured report with summary counts, per-reference status, issues, and uncited bibliography entries.
Install this skill for me: https://github.com/color4-alt/CiteCheck
/citation-verification @main.tex /citation-verification @paper.pdf /citation-verification @path/to/latex_project/
Check the citations in this paper. Verify the references in my LaTeX project. Are these citations accurate and relevant?
pip install citecheck-cli
pip install citecheck-cli[pdf]
git clone https://github.com/color4-alt/CiteCheck.git cd CiteCheck pip install -e ".[pdf,dev]"
A portable agent skill + standalone CLI for verifying academic paper citations.
Extract references from LaTeX or PDF, validate formatting, verify existence via Crossref / Semantic Scholar / OpenAlex / PubMed / arXiv / dblp / Google Scholar / WebSearch, and score thematic / semantic relevance using cited paper abstracts — all without requiring an external LLM API key when used as a skill.
CiteCheck is primarily a cross-agent skill that helps AI coding assistants verify citations in academic papers. It is designed to work across Claude Code, Codex, OpenClaw, Hermes, Gemini CLI, Cursor, and more — following the agentskills.io open standard.
It is also available as a standalone Python CLI for users who prefer running it directly from the terminal.
Key Design Principle: When used as a skill, thematic and semantic matching are performed directly by the host agent's own reasoning. No OpenAI API key is required. The CLI handles structured tasks (parsing, format checks, API queries) while the agent handles interpretive tasks (relevance scoring, claim verification).
Install CiteCheck as a skill for your coding agent. The agent will automatically discover and invoke it when you ask to check citations.
Step 1 — Install the skill
🟢 Easiest way — just ask your agent:
Install this skill for me: https://github.com/color4-alt/CiteCheckYour agent will clone the repo into the correct skill directory automatically.
If you prefer to install manually:
| Agent | Install Path |
|---|---|
| Claude Code | ~/.claude/skills/citecheck |
| Codex CLI | ~/.codex/skills/citecheck |
| OpenClaw | ~/.openclaw/skills/citecheck |
| Hermes | ~/.hermes/skills/citecheck |
| Gemini CLI | ~/.gemini/skills/citecheck |
| Cursor | .cursor/rules/citecheck.mdc (copy skills/citecheck/SKILL.md) |
| GitHub Copilot | Append AGENTS.md to .github/copilot-instructions.md |
Step 2 — Invoke
Use natural language or a slash command with a file reference:
/citation-verification @main.tex
/citation-verification @paper.pdf
/citation-verification @path/to/latex_project/
Or simply tell your agent:
Check the citations in this paper.
Verify the references in my LaTeX project.
Are these citations accurate and relevant?
The agent will:
citecheck CLI to parse the paper and check formattingNo API key needed. The agent handles steps 3–4 with its built-in LLM capabilities.
For users who prefer the command line or need to integrate into CI pipelines.
Step 1 — Install the Python package
pip install citecheck-cli
For PDF support:
pip install citecheck-cli[pdf]
Or install from source:
git clone https://github.com/color4-alt/CiteCheck.git
cd CiteCheck
pip install -e ".[pdf,dev]"
Step 2 — Run
# Check a LaTeX project (preferred)
citecheck path/to/latex_project/
# Check a single .tex file
citecheck main.tex
# Check a PDF (fallback)
citecheck paper.pdf -o report.md
# Skip online verification (offline mode)
citecheck main.tex --skip-verification
# Use external LLM for matching (requires --api-key)
citecheck main.tex --api-key $OPENAI_API_KEY
CLI Options
citecheck [-h] [-o OUTPUT] [--skip-verification] [--skip-semantic] [--api-key API_KEY] [-v] input
positional arguments:
input Path to paper (PDF, .tex, or directory with .tex + .bib)
options:
-o OUTPUT Output report path (default: citation_check_report.md)
--skip-verification Skip all online verification (Crossref / Semantic Scholar / OpenAlex / PubMed / arXiv / dblp / Google Scholar / WebSearch)
--skip-semantic Skip semantic matching
--api-key API_KEY Optional OpenAI key for LLM matching (falls back to heuristics)
-v, --verbose Verbose output
Input (LaTeX / PDF)
│
▼
┌─────────────────┐
│ 1. Parse Paper │ ← Extract refs, citations, body text
└────────┬────────┘
│
┌────┴────┐
▼ ▼
┌────────┐ ┌─────────────┐
│ LaTeX │ │ PDF Fallback │
│(.bib) │ │ (PyMuPDF) │
└────────┘ └─────────────┘
│
▼
┌─────────────────┐
│ 2. Format Check │ ← Validate BibTeX fields, types, venues
└────────┬────────┘
│
▼
┌─────────────────────┐
│ 3. Queryability │ ← Crossref → Semantic Scholar → OpenAlex → PubMed → arXiv → dblp → Google Scholar → WebSearch
└────────┬────────────┘
│
▼
┌─────────────────────┐
│ 4. Thematic Match │ ← Skill: agent reasoning | CLI: heuristic/LLM
└────────┬────────────┘
│
▼
┌─────────────────────┐
│ 5. Semantic Match │ ← Skill: agent reasoning | CLI: heuristic/LLM
└────────┬────────────┘
│
▼
┌─────────────────────┐
│ 6. Generate Report │ ← Markdown report with findings
└─────────────────────┘
CiteCheck generates a Markdown report containing:
.bib never referenced by \cite{} in the textSee examples/example_report.md for a full sample.
CiteCheck/
├── skills/citecheck/SKILL.md ← Agent skill entry (cross-platform)
├── .claude-plugin/plugin.json ← Claude Code marketplace metadata
├── .codex-plugin/plugin.json ← Codex CLI marketplace metadata
├── CLAUDE.md ← Project context for Claude Code
├── AGENTS.md ← Project context for Codex / generic agents
├── GEMINI.md ← Project context for Gemini CLI
├── src/citecheck/ ← Python CLI source
│ ├── cli.py
│ ├── parser.py
│ ├── bibtex_parser.py
│ ├── pdf_parser.py
│ ├── verifier.py
│ ├── matcher.py
│ ├── models.py
│ └── reporter.py
├── references/ ← Skill reference docs
│ ├── format-check-rules.md
│ ├── api-reference.md
│ ├── thematic-scoring-prompt.md
│ └── semantic-matching-prompt.md
├── tests/
├── examples/
└── README.md / README.zh.md
# Clone
git clone https://github.com/color4-alt/CiteCheck.git
cd CiteCheck
# Install in editable mode with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Format & lint
black src/ tests/
ruff check src/ tests/
skills/citecheck/SKILL.md must remain agent-agnostic (no brand-specific language)src/citecheck/cli.py and the READMEFixed
arXiv:2004.05150 were incorrectly parsed as the publication year. Now prefers year at end of citation and skips arXiv ID patterns.Added
MIT License — see LICENSE.
Sign in to join the discussion.
No comments yet. Be the first to say what this is good for.

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.
Public repository for Agent Skills
Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
A skill to stop your coding agent from burying the answer. ADHD-friendly output.