pub

Draft, review, revise, and audit LaTeX research papers with BibTeX citations.

1|Updated May 28, 2026
One-click install
npx skills add https://github.com/rjwalters/anvil --skill pub
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pub
Source: https://github.com/rjwalters/anvil/tree/main/anvil/skills/pub
Command: npx skills add https://github.com/rjwalters/anvil --skill pub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Creates research-paper LaTeX that can reliably move from drafting to review and into an auditable, citation-checked final state, reducing the risk of broken cites, unsupported claims, and inconsistent numbers.

Core Features & Use Cases

  • Evidence-first paper lifecycle: Draft → review → revise → audit (mandatory at READY) with state derived from on-disk evidence for resumability.
  • Citation and consistency auditing: Verifies every \cite{} resolves, spot-checks claim support against provided sources, detects numerical inconsistencies, and confirms LaTeX compilation.
  • Optional literature-search critic (no invented citations): Produces positioning notes and candidate BibTeX entries only from author-supplied material or explicitly provided citations.
  • Optional rendered-PDF vision critic: Catches rendered-only defects like cropped tables, illegible figure text, palette issues, and math rendering artifacts that source-side critics can miss.

Quick Start

Run pub-draft on your paper thread directory to generate an initial LaTeX paper (main.tex) and bibliography (refs.bib) in the first version folder.

Frequently Asked Questions about pub

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

FAQPage Schema
How do I audit LaTeX citations and check for unsupported claims in a research paper?▼

To audit LaTeX citations, run the audit pass to verify every \cite{} resolves, spot-check claim support against provided sources, and detect numerical inconsistencies before generating a compilable PDF artifact.

What is the best way to manage a research paper lifecycle from drafting to review in LaTeX?▼

Managing a research paper lifecycle requires strict phase progression—draft, review, revise, and audit—using on-disk evidence for resumability, ensuring the final LaTeX state is compilable and citation-checked.

How do I catch rendered PDF layout defects like cropped tables or math rendering artifacts?▼

To catch rendered PDF layout defects, use a rendered-PDF vision critic to inspect the output for cropped tables, illegible figure text, palette issues, and math rendering artifacts that source-side checks miss.

Do I need verifiable BibTeX citations to use pdflatex for research paper generation?▼

Yes, you need verifiable BibTeX citations because the system requires strict citation hygiene, produces candidate BibTeX entries only from author-supplied material, and never fabricates sources during the literature-search gap surfacing.

How does biber citation audit handle numerical inconsistencies in LaTeX documents?▼

The citation audit compiles the paper with pdflatex, flags critical citation inconsistencies, and verifies numerical alignment across the document to ensure your biber-backed LaTeX output is review-ready.