Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

auto-paper-improvement-loop

Skill by wanshuiyin

Improves a compiled LaTeX paper through automated review. It sends the text to Gemini via the gemini-review MCP, applies fixes, and recompiles over two rounds. Made for researchers polishing generated papers.

  • Score 90
  • 20k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install auto-paper-improvement-loop

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/skills-codex-gemini-review/auto-paper-improvement-loop ~/.claude/skills/auto-paper-improvement-loop

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install auto-paper-improvement-loop in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill runs after the paper workflow has produced a compiled paper. It sends the full paper text to a Gemini reviewer through the local gemini-review MCP bridge. The reviewer returns a score, weaknesses ranked by severity, and actionable fixes.

The skill then applies the fixes to the LaTeX sources and recompiles the paper. It repeats this review, fix and recompile cycle for two rounds. It saves a log and a state file so an interrupted loop can resume. An optional human checkpoint lets the user approve, adjust or stop fixes after each review. The source says it is aimed at writing quality, not running new experiments.

Written from the project's SKILL.md and checked against it.

What it can do

  • Gemini paper reviewSends the concatenated paper sections to a Gemini reviewer through the gemini-review MCP bridge.
  • Severity-ranked fixesTurns reviewer weaknesses into fixes, applied in order of CRITICAL, MAJOR and MINOR.
  • LaTeX recompilationRecompiles the paper with latexmk after each round and checks for undefined references and citations.
  • Two-round loopRuns two review, fix and recompile rounds, with a fresh reviewer read in round two.
  • Progress log and state fileWrites a cumulative improvement log and a state file so a loop can resume after context compaction.
  • Optional human checkpointCan pause after each review so the user approves, edits or skips fixes.
  • Format checkChecks the page count against the venue limit and reports overfull hbox warnings.

What you need

  • gemini-review MCP bridge
  • LaTeX with latexmk
  • A compiled paper with LaTeX section files
  • Codex, with skills-codex installed first

Try asking

  • Improve the paper in paper/ using the auto paper improvement loop
  • Run the Gemini review loop on my compiled paper for two rounds
  • Start auto improve on paper/ with human checkpoint enabled

Good to know

  • Runs two rounds by default, and the source says more rounds give diminishing returns for writing-only changes
  • Focuses on paper writing quality, not running experiments or collecting data
  • Human checkpoint is off by default, so the loop runs autonomously
  • The source describes Codex users as the target audience

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/skills-codex-gemini-review/auto-paper-improvement-loop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md17 KB

Alternatives to auto-paper-improvement-loop

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

auto-paper-improvement-loop: common questions

What does the auto paper improvement loop do?

It sends a compiled paper to a Gemini reviewer, applies the suggested writing fixes, and recompiles the paper. The source says it does this for two rounds.

Does it run new experiments?

No. The source says it iterates on paper writing quality, while the related auto-review-loop skill handles research and experiments.

Can I stop the loop to approve fixes myself?

Yes, if the human checkpoint is set to true. The loop then pauses after each review so the user can approve, adjust, skip or stop.

How do I install auto-paper-improvement-loop?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is auto-paper-improvement-loop free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is auto-paper-improvement-loop safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to auto-paper-improvement-loop?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

auto-paper-improvement-loop Install

Add to stack

Loading.