paper-trail-acquire
Troisième passe du pipeline cible refondu. Lance la cascade PDF (10 sources : Crossref OA + arXiv + OpenAlex + Unpaywall + HAL + CORE + éditeur par DOI +…
Per-citation audit of an academic article (LaTeX or Markdown). Produces RECEIPTS.md classifying each citation as VALID/ADJUST/INVALID/UNVERIFIABLE. Optional --warn inserts inline warnings in a .bak copy of the source.
$ npx -y skills add roomi-fields/paper-trail --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/paper-trail-audit-articleContext preview
What this command does when you run it.
Per-citation audit of an academic article (LaTeX or Markdown). Produces RECEIPTS.md classifying each citation as VALID/ADJUST/INVALID/UNVERIFIABLE. Optional --warn inserts inline warnings in a .bak copy of the source.
description: Per-citation audit of an academic article (LaTeX or Markdown). Produces RECEIPTS.md classifying each citation as VALID/ADJUST/INVALID/UNVERIFIABLE. Optional --warn inserts inline warnings in a .bak copy of the source.
Invoke the `citation-receipts` skill to audit every citation in an academic article file against the actual source PDFs.
/paper-trail:audit-article <path-to-paper.tex> /paper-trail:audit-article <path-to-paper.md> /paper-trail:audit-article <path> --warn # insert inline warnings in .bak
1. Parses citations from the file :
2. For each citation :
3. Produces `RECEIPTS.md` at the same location as the article
`RECEIPTS.md` format (inspired by James Weatherhead's receipts plugin MIT) :
# RECEIPTS — <article path> Generated: <ISO timestamp> Source: <count> citations parsed Skill: paper-trail/citation-receipts --- ## Citation 1 — [Smith2020] (DOI:10.1234/example) **Status**: VALID **Claim in manuscript** (line 42): > "Smith and Doe proved that X is NP-hard for case Y." **Source statement** (PDF p.5, §3.2): > "Theorem 3.2. The problem X is NP-hard for all instances satisfying Y." **Notes**: Attribution correct, verb « proved » matches the source's formal theorem statement. --- ## Citation 2 — [Jones2019] **Status**: INVALID **Claim in manuscript** (line 78): > "Jones (2019) showed that Z is decidable in polynomial time." **Source statement** (PDF p.12): > "We leave the question of Z's complexity as future work." **Required correction**: Remove citation or replace with the actual source proving Z's polynomial decidability. --- ## Recap | Status | Count | |---|---| | VALID | 14 | | ADJUST | 3 | | INVALID | 2 | | UNVERIFIABLE | 1 | Total: 20 citations audited. Action required: 6 citations needing rework before submission.
In addition to `RECEIPTS.md`, inserts inline warnings in a `.bak` copy of the article :
adjacent to the offending `\cite{key}`
adjacent to the citation
The original file is never modified.
Mandatory before any paper submission. Iterate :
1. `/paper-trail:audit-article paper.tex` 2. Fix INVALID and ADJUST citations 3. Decide on UNVERIFIABLE (enable shadow libs or remove claim) 4. Re-run audit 5. Until all VALID → submission package ready
Anti-hallucination plugin for academic research in Claude Code. Create literature reviews and papers guaranteed without fabricated citations.
Troisième passe du pipeline cible refondu. Lance la cascade PDF (10 sources : Crossref OA + arXiv + OpenAlex + Unpaywall + HAL + CORE + éditeur par DOI +…
Batch audit of every SOTA in the vault. For each SOTA, identifies refs that are page1_validated (technical OK) but not yet sota_cited_confirmed (content…
Audit a SOTA's bibliography. Classify each cited ref by validation state. Optional --purge removes citations to retracted refs from the SOTA (with .bak backup).
Acquire PDFs via the 8-source cascade (11 with opt-in extended sources) for a single ref by slug, or a batch filtered by state. Validates page 1 anti-homonymy…
Inspect a single reference in detail (identity, PDF status, acquisition history with verdicts, citation context in vault, state transitions) and decide its…
Audit the registry via the 19 mechanical invariants (I1-I19). Reports ERROR/WARN/INFO violations. Optional auto-fix for safe ones (I4 path, I6 sha256, I9…