/paperpush:paperpush-respond-to-reviewersfrom paperpush
Prepares a revised manuscript and response to reviewers from editor/reviewer comments. Two-phase workflow: sets up revision directory, drafts response with proposed plan, then after author approval revises manuscript and builds marked copy.
Ships in paperpush. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turns a decision letter into a revision: a clean revised manuscript, a marked manuscript showing the changes, and a filled-in response to reviewers. It runs in two phases with a stop between them: you set things up and propose a plan, the author approves or changes it, and only then do you edit the manuscript.
The submitted files are a record of what the reviewers read. Never edit,
move, or delete anything outside the new revisionN/ directory.
.sub). Required. If the user did not give it,
ask in plain text. Never guess it, scan the repository for candidates, or
fall back to test fixtures..pdf,
.docx, .txt, .md, .eml, or text pasted into the chat). Required; ask
if missing. Pasted text: save it as reviews.txt in the new directory.venue: line of a .sub in the manuscript directory, else the journal
named in the decision letter (confirm it with paperpush venues). If none
is known, say the venue defaults below apply.Use absolute paths throughout.
revision<N>, e.g. revision1/), this is a further round: the base is its
parent, and you start from the files of the latest revision (the clean
revised manuscript, not the marked copy), not from the original. Say so.revision<N> directory already in the base
directory (revision1 if there is none). New directory:
<base>/revisionX/.<base>/revisionX/ exists and is not empty, stop and ask: continue in
it (keep its files, resume at the first step not done) or stop. Never
delete or overwrite it.Copy into <base>/revisionX/, keeping the relative layout
(figures/fig1.png stays figures/fig1.png) so LaTeX \input and
\includegraphics paths and relative .sub paths still work:
revision<N>/ directories,
transfer directories made by paperpush-transfer (a subdirectory named
after a venue slug holding a .sub), .git/, paperpush-fix backups, and
LaTeX build output (.aux, .log, .out, .synctex.gz, .fls,
.fdb_latexmk, .bbl, .blg). Starting from an earlier revision, also
leave out its marked manuscript and its response document. If the tree is
over about 200 MB, list the largest items and ask before copying..sub among them names.<base>/revisionX/reviews/.cp -p (or rsync -a with excludes). Keep the list of what you copied
and left out, for the summary.Keep one untouched copy of the main manuscript source to diff against later:
<base>/revisionX/.original/<manuscript file> (and its \input files for
LaTeX). Every manuscript edit in phase 2 goes to the main copy, never to
.original/.
In this order, the first that applies wins:
paperpush requirements <venue> --json, key
revision.marked_manuscript, plus any revision.notes (read those too:
a response template, line numbers, a page limit);red_text.| Value | Marked manuscript |
|---|---|
red_text | added and rewritten text in red; deleted text left out |
highlight | added and rewritten text highlighted (yellow); deleted text left out |
track_changes | a Word file with Track Changes (insertions and deletions as revisions) |
none | no marked manuscript |
other | as described in revision.notes or by the user |
track_changes needs a Word manuscript. For a LaTeX or Markdown manuscript,
say so in the plan and propose red_text instead (or a Word export if the
author wants one).
Read the reviews and the manuscript in full. Split the reviews into single
points, verbatim (never paraphrase or shorten a reviewer's words), and
number them: E1, E2, ... for the editor, R1.1, R1.2, ... for Reviewer 1,
and so on. A paragraph that raises two issues becomes two points.
Write the draft response document into <base>/revisionX/ in the
manuscript's own format: response_to_reviewers.docx for a Word
manuscript, response_to_reviewers.tex (and its PDF) for LaTeX, else
response_to_reviewers.md (and a PDF or .docx via pandoc if the venue wants
one). Use a venue template if the venue or the author names one. Layout:
Editor, Reviewer 1, ...);In phase 1 the responses are a one-line placeholder: [Response to come: <planned action>].
Write <base>/revisionX/revision_plan.md and show the plan in the chat. For
each point:
Then the overall items: the marked-manuscript format and why (user / venue /
default), the files you will produce (step 9), length limits that matter
(from paperpush requirements), and the revision directory.
Stop here. Ask the author to approve the plan, change it point by point, or supply what you marked as needed from them. Do not edit the manuscript until they answer.
Apply the plan as the author left it. If they changed a point, follow their version; if they gave new results or text, use it as given.
Edit the manuscript copy in <base>/revisionX/ (keep its file name, so the
.sub and \input paths still hold). Change only what the plan says. Keep
the author's voice and the venue's limits. Never invent data, results,
statistics, or references. Where a change needs something the author has
not supplied, put a visible placeholder ([AUTHOR: add the n for the validation cohort]) and list it in the summary. Figures you cannot redo:
leave the file and note it. For a LaTeX manuscript, make sure it still
compiles.
none)Compare the revised manuscript with .original/ and mark every addition and
rewrite. Name it <stem>_marked.<ext> beside the clean copy, plus its PDF
when the source is not a PDF.
LaTeX: latexdiff .original/<main>.tex <main>.tex > <main>_marked.tex
(--flatten when the manuscript uses \input). Then, in the marked file,
right after the line %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF, add
for red_text:
\usepackage{xcolor}
\renewcommand{\DIFadd}[1]{{\color{red}#1}}\renewcommand{\DIFdel}[1]{}
\renewcommand{\DIFaddFL}[1]{{\color{red}#1}}\renewcommand{\DIFdelFL}[1]{}
and for highlight the same with \usepackage{soul} and \hl{#1} in
place of {\color{red}#1}. Compile it with latexmk -pdf. If latexdiff is
not installed, tell the author how to install it and mark the text by hand
with \textcolor{red}{...} instead.
Word: use the docx skill if available. For red_text or
highlight, copy the revised .docx and set the font color to red (or
apply yellow highlighting) on every run that is new or changed compared
with .original/ (compare paragraph by paragraph, word by word). For
track_changes, write the differences as real Word revisions
(w:ins / w:del, author "Authors"), so the editor can accept or reject
each one.
Markdown / other text: wrap added text in
<span style="color:red">...</span> (or <mark> for highlight) and render
it with pandoc.
Check the marked file: every change the response cites is marked, and nothing unchanged is.
Fill in each placeholder in the response document: plain text, polite and
direct, saying what was changed and where (quote the new text with its
section and line), or, for a point the authors decline, why. Write the
opening letter to the editor. Keep comments verbatim and italic. Leave a
[AUTHOR: ...] placeholder where the response needs something from them.
Get a .sub for the revision in <base>/revisionX/:
.sub was copied: rewrite any absolute path in it that points
into the base directory so it points at the copy in revisionX/
(relative paths already do); its manuscript field must name the clean
revised manuscript, not the marked copy or the response;.sub and the venue is known: `paperpush subfile -o
/revisionX/.sub.txt`, then the `paperpush-autofill` skill
with `revisionX/` as the manuscript directory;
Then invoke the paperpush-validate skill (via the Skill tool) on it,
including the checks that need a reader. Report errors and warnings; offer
paperpush-fix (it edits only the copies in revisionX/) but do not run it
unasked. Validation checks the revised manuscript against the venue's
guidelines; it does not judge the responses.
Give the author, with absolute paths:
[AUTHOR: ...] placeholder left, by file and point, most important
first;paperpush submit, which is for
initial submissions and would open a second submission.revisionX/; never
overwrite an existing revision directory without asking.[AUTHOR: ...] placeholder.paperpush submit on it.paperpush-validate, filling a new .sub to
paperpush-autofill, and fixing to paperpush-fix (with the author's
go-ahead).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pachterlab/paperpush --plugin paperpush12 skills in this plugin
/paperpush-add-venueGive a venue full `paperpush submit` support: a Venue class with Playwright login() and submit() methods, the portal's submission fields in submission_forms.json, a sample .sub with ground-truth documents plus unit tests, and a live run through the portal that stops before the final submit. For a venue that already has a runner, run its existing tests (offline and live), fix what breaks, and write any tests that are missing. Triggers: "add <venue> to paperpush", "support submitting to <journal>", "write the runner for <venue>", "fix <venue>'s submit", "<venue>'s tests are failing"./paperpush-add-venue-validateRead a venue's author-guidelines and submission-instructions pages and record them in paperpush: the manuscript rules in manuscript_requirements.json and the basic submission fields in submission_forms.json, through a venue file and `paperpush add-venue`. Given a venue paperpush already has, re-read its guideline pages and update what changed. The guidelines can come from the venue's web pages (fetched with Playwright) or from guideline files the user provides (.txt, .md, .html, .pdf, .docx). No submit runner is written (that is paperpush-add-venue). A temporary mode writes the entry to a draft data directory instead (no clone needed), for validating against a venue paperpush does not support yet. Ends by suggesting a pull request for a new venue. Triggers: "add <venue>'s guidelines to paperpush", "make <venue> validate-only in paperpush", "re-check <venue>'s author guidelines", "update <venue>'s word limits", "fill in this venue file", "add <venue> to paperpush from these guideline files"./paperpush-autofillFill a paperpush .sub submission file from a directory of manuscript files. Reads the manuscript, title page, figures, and supplements, extracts the submission fields, and writes them into the .sub via the deterministic autofill core. Use when the user wants to auto-populate a venue submission from their files. Also updates an already-filled .sub after the manuscript changes, reusing the paths it records and keeping hand edits. Triggers: "autofill my sub", "fill the biorxiv sub from this folder", "populate my submission from this manuscript directory", "update my sub, the manuscript changed", "re-autofill", "refresh the sub from the new draft"./paperpush-fixFix what `paperpush validate` flags in a .sub's files, then validate again, for up to three rounds, until only the issues the author has to decide or fix remain. Backs up every file first, finds the editable source behind each file (the .tex or .docx behind a PDF), makes the mechanical fixes and the small trims (an abstract a few words over its limit), rebuilds the PDF, applies arxiv_latex_cleaner to LaTeX source after reviewing its output, and reports separately what it fixed, what needs the author's decision (a manuscript thousands of words over its limit), and what it cannot fix. Never ticks a confirmation or invents content. Triggers: "fix the validate errors", "fix what validate found", "make my sub pass validation", "clean up the validation warnings", "clean my LaTeX source", "paperpush-fix"./paperpush-loginSign the author in to a venue's submission system so paperpush can submit for them, without the password ever passing through the chat: starts `paperpush login <venue> --browser`, which opens a one-time sign-in page on this computer where the author types their credentials, checks them against the venue, and stores them in the OS keyring. Also reports, re-checks, or removes a stored login. Called by paperpush-submit and paperpush-prepare-submission when a login is missing. Triggers: "log me in to <venue>", "store my <venue> login", "sign in to <venue> for paperpush", "am I logged in to <venue>", "check my <venue> login still works", "log me out of <venue>", "switch my <venue> account", "paperpush-login"./paperpush-pick-venueSuggest where to submit a manuscript. Reads the manuscript yourself to choose its subjects, runs `paperpush pick-venue` (journals and conferences that publish similar work, from OpenAlex, with conference ranks, deadlines, and archival status, plus a ranking of the venues paperpush supports), then checks each candidate against the author's constraints (open access, APC budget, preprint policy, venues already tried) and, for supported venues, against the venue's manuscript rules (word, figure, and reference limits, article types). Reports a short list with the reasons for each, the citation metrics labelled for what they are, and which venues paperpush can submit to, then hands the chosen venue to paperpush-prepare-submission. Triggers: "where should I submit this paper", "pick a journal for my manuscript", "suggest venues for /path/to/paper", "which journals fit this manuscript", "which conference should I submit to", "paperpush-pick-venue".Other plugins' skills for the same job