cite-check
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Citation Verification with Gemini File Search
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Scan pandoc-flavored markdown drafts for citations, upload source PDFs to a Gemini File Search store, and verify each citation is grounded in its source. Produces a structured REVIEW-CITES.md report.
Prerequisites
GOOGLE_API_KEYenv var set (Google AI Studio; on this machine:export GOOGLE_API_KEY="$(cat $GEMINI_API_KEY_FILE)")- Bun runtime
rclonewith agoogle-drive:remote configured (used to bypass Google Drive FUSE deadlocks)python3withpymupdf4llminstalled (used for PDF text extraction in passage grounding)readwiseCLI installed and authenticated (for Readwise article export in source materialization)- One or more
.bibfiles withfilefields mapping bibkeys to PDF paths (e.g., Paperpile'spaperpile.bib)
Source Materialization
Before running cite-check, materialize all sources locally: