auto-paper-improvement-loop

Iteratively improves LaTeX papers via GPT-5.4 review, fix implementation, and recompilation.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/zniihgnexy/vid_tokenizer --skill auto-paper-improvement-loop-zniihgnexy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: auto-paper-improvement-loop
Source: https://github.com/zniihgnexy/vid_tokenizer/tree/main/.claude/skills/auto-paper-improvement-loop
Command: npx skills add https://github.com/zniihgnexy/vid_tokenizer --skill auto-paper-improvement-loop-zniihgnexy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? First-draft academic papers often contain theoretical inconsistencies, overclaims, notation confusion, and formatting violations that require multiple rounds of expert review to fix. This Skill automates the review-fix-recompile cycle so a generated paper is polished by an external LLM reviewer without manual coordination. ## Core Features & Use Cases - Two-Round Review Loop: Sends the full concatenated LaTeX source to GPT-5.4 (xhigh reasoning) via Codex MCP, receives a structured score and ranked weaknesses, implements fixes by severity, and recompiles with latexmk. - State Persistence & Recovery: Writes PAPER_IMPROVEMENT_STATE.json after each round so the loop can resume after context compaction, and preserves every PDF version (round 0, 1, 2) for comparison. - Format Compliance Check: Detects overfull/underfull hbox warnings and page-limit violations, then applies auto-fix patterns such as \resizebox and content moves to the appendix. - Use Case: After generating an ICLR-style paper with the paper-write and paper-compile workflow, run this Skill to raise the review score from roughly 4/10 to 7/10 across two autonomous rounds while logging every change in PAPER_IMPROVEMENT_LOG.md. ## Quick Start Run the auto paper improvement loop on the compiled paper in the paper/ directory to review, fix, and recompile it for two rounds.

Frequently Asked Questions about auto-paper-improvement-loop

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

FAQPage Schema
How do I automatically improve a generated LaTeX paper with LLM review?▼

Run the loop on a directory containing a compiled main.pdf and section .tex files. It concatenates the sections, sends them to GPT-5.4 for a structured review, implements fixes by severity, and recompiles with latexmk for two rounds.

How many review rounds does automated paper polishing need?▼

Two rounds are used by default because Round 1 catches structural issues and Round 2 catches remaining presentation issues, with diminishing returns beyond that for writing-only improvements. A typical progression moves a draft from about 4/10 to 7/10.

Can I pause the paper improvement loop for manual approval?▼

Yes, enable the human checkpoint option to pause after each round's review. You can approve all fixes, give custom modification instructions, skip specific fixes, or stop the loop early.

Does the loop recover if the context window fills up mid-run?▼

Yes, it writes PAPER_IMPROVEMENT_STATE.json after each round with the current round, threadId, and status. On startup it resumes from the next round if the state file is in progress and less than 24 hours old.

What are the limitations of LLM-based paper review loops?▼

The loop improves writing quality only and does not run new experiments or fabricate results; synthetic validation sections must describe methodology rather than invent numbers. It also depends on external Codex MCP access and a working latexmk setup.