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.
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-loopRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install auto-paper-improvement-loop in Claude Code
git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/skills-codex-gemini-review/auto-paper-improvement-loop ~/.gemini/antigravity-cli/skills/auto-paper-improvement-loopAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install auto-paper-improvement-loop in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
