# Auto Paper Improvement Loop

Autonomously improve a generated paper via GPT-6-Astra xhigh review → implement fixes →...

- Repository: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep (18443 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill auto-paper-improvement-loop -g -a claude-code -y`
Codex: `npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill auto-paper-improvement-loop -g -a codex -y`
Cursor: `npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill auto-paper-improvement-loop -g -a cursor -y`
Gemini CLI: `npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill auto-paper-improvement-loop -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add wanshuiyin/Auto-claude-code-research-in-sleep`

## Description

Autonomously improve a generated paper via GPT-6-Astra xhigh review → implement fixes → recompile, for 2 rounds. Use when user says \"改论文\", \"improve paper\", \"论文润色循环\", \"auto improve\", or wants to iteratively polish a generated paper.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Auto Paper Improvement Loop: Review → Fix → Recompile

> **Before each reviewer slot**, follow [Selectable Reviewers](../shared-references/reviewer-backends.md):
> resolve invocation → `.aris/reviewer.json` → Claude Code default (Codex MCP)
> with `reviewer_route.py` through the canonical helper resolver, preserving this
> slot's tier, fresh contexts, source/image inputs and deterministic gates.
> Codex examples/pins below apply only to `backend=codex`; other routes use their
> own first-call/reply contract. Save the route and actual returned identity;
> unavailable selections are `REVIEW_UNAVAILABLE`. Classify acceptance from actual
> families/completion/scope. Forward invocation reviewer/model/effort overrides
> to reviewer-bearing children. Writer selection is separate; follow the
> writing-worker guidance below when drafting or revising prose.


> 🔒 **Do not wrap this skill in `/loop`, `/schedule`, or `CronCreate`.** It
> already loops internally (review → fix → recompile) with its own round
> structure and a deliberate fresh-reviewer bias guard each round (no
> `codex-reply`). Re-asking it to "improve the paper" on a
> wall-clock timer produces no new signal, quality changes when the *review*
> changes, not when the clock ticks, and a timed re-run that also accepts its
> own output to decide when to stop crosses into self-acquittal
> (`acceptance-gate.md`). Schedule the *external wait that precedes it*, not the
> improvement loop. See
> [`shared-references/external-cadence.md`](../shared-references/external-cadence.md).

Autonomously improve the paper at: **$ARGUMENTS**

## Context

This skill is designed to run **after** Workflow 3 (`/paper-plan` → `/paper-figure` → `/paper-write` → `/paper-compile`). It takes a compiled paper and iteratively improves it through external LLM review.

The rest: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/HEAD/skills/auto-paper-improvement-loop/SKILL.md
