/paperpush:paperpush-transferfrom paperpush
Transfers a manuscript from one academic venue to another: copies files, creates venue-specific .sub, reformats manuscript using venue templates, validates, and records changes. Original files never modified.
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.
Moves a manuscript that was already prepared for (or submitted to) one venue
over to a new one. You copy the files, create and fill the new venue's .sub,
reformat the manuscript, validate it (saving the validation report in the new
directory), and write transfer.txt, a plain-text record of every change. The other skills and commands do the real work:
paperpush-autofill fills the .sub, paperpush format reformats the
manuscript copy for the new venue, paperpush-validate checks it, and paperpush-fix (only if the user agrees)
fixes what validate finds. This skill sequences them and carries values over
from the earlier submission.
The original submission is a record of what was sent. Never edit, move, or delete anything in the source directory; every change happens in the copy.
cell). Ask or infer it from their
message, and confirm it with paperpush venues (try its name, abbreviation,
and publisher's title). If it is not listed, see
Target venue paperpush does not support.
If it is the same venue as the earlier .sub, this is not a transfer: say
so, and point them to paperpush-prepare-submission or paperpush-fix..sub files (optional). Use every .sub / .sub.txt the user
names, plus any in the source directory itself and in its transfer
subdirectories (<slug>/<slug>.sub.txt from an earlier run of this skill).
Read the @venue: line of each to learn which venue it was for. A
@venue: general file (from paperpush subfile general) was never
submitted anywhere; it is still a valid source, and its values carry over
like any other's.Resolve the source and the new directory.
<source-dir>/<venue>/ (the slug, e.g. cell/)..sub, re-run steps 4-9) or stop. Never delete it..sub in it), ask which copy
to start from: the original files, or a transfer that was already
reformatted (e.g. nature/ after paperpush-fix trimmed it).Copy the files into the new directory, keeping their relative layout
(figures/fig1.png stays figures/fig1.png), so LaTeX \input and
\includegraphics paths still work:
.sub/.sub.txt files, transfer.txt, venue_draft/,
.git/, paperpush-fix backups, and LaTeX build output (.aux, .log, .out,
.synctex.gz, .fls, .fdb_latexmk, .bbl, .blg). If the tree is
over about 200 MB, list the largest items and ask before copying..sub
points to.cp -p (or rsync -a with excludes) so timestamps survive. Record
every file copied and every file left out, with the reason, for
transfer.txt.Create the new .sub with an absolute path:
paperpush subfile <venue> -o <new-dir>/<venue>.sub.txt
Then get the target schema (paperpush schema <venue>, hidden from
--help) and its guidelines (paperpush requirements <venue> --json).
If the new venue waives formatting at initial submission, ask now. That
is when the guidelines set manuscript.initial_submission_any_format, at
the top level or under an entry in article_types. Ask before doing any
more work, unless the user already said which they want ("keep my
formatting", "format it fully"):
does not require its formatting for an initial submission: "". How should I prepare the manuscript?
- Remove only what identifies the earlier journal (recommended). Uses 's template if it provides one, and otherwise keeps your current layout. Either way it still meets what applies now: <the venue's actual limits and requirements from the list below>.
- Conform to every requirement now. Applies 's template or layout rules, reference style, and the rest, which you would otherwise do at revision or acceptance.
Call these format-free and full below. A venue without the rule is
always full, with no question. When re-running in place, reuse the
choice on the Initial-submission format: line of the existing
transfer.txt, and ask only if it is missing.
Under format-free, only how the manuscript looks is waived: template, page setup, fonts, spacing, line and page numbers, section order and heading style, reference style, and figure placement and file specifications. These still apply:
.sub's
fields, and the integrity checks (references, placeholders, and so on).Read the earlier .sub files as data, with relative paths resolved:
python -c "import json,sys; from paperpush.subfile import load; s=load(sys.argv[1]); print(json.dumps({'venue': s.venue, 'values': s.values}, indent=1))" <abs-path-to-old.sub>
(or the read_subfile MCP tool). If several disagree on a field, prefer
the most recently modified file and note the disagreement.
Autofill the new .sub. Invoke the paperpush-autofill skill (via the
Skill tool) with the new .sub and the new directory as the
manuscript directory, so every file path points at the copies. Follow it
as written, with these additions when it builds values.json:
id, or by an equivalent one (the same meaning under
another name, e.g. conflict_of_interest -> competing_interests,
figures -> figure_files; compare label and help). Set source to
"<old .sub filename>: <old field id>".<source-dir>/fig1.png -> <new-dir>/fig1.png);authors: re-order the columns into the target field's help format;options,
else classify again from the manuscript;high for a verbatim carry that matches the manuscript,
medium for anything renamed, reformatted, or re-mapped.never fields stay unwritten, as autofill requires, even when the
earlier .sub has a value (suggested reviewers, license, consent).
Put them in unfilled with the reason, and keep the earlier value for
transfer.txt so the author can re-enter it if it still applies. An
attestation confirmed for the old venue is not confirmed for the new one.
Use --confirm-attestations only if the user asks for it for this venue.values.json in a temporary directory, not the new directory.Reformat the manuscript for the new venue. Do this by default; skip
paperpush format only when the user asked to keep the original formatting
(record that in transfer.txt). Under format-free, keep its result only if
it applied a template, as described below. Converting and removing the
earlier venue's information, below, happen either way. This step runs before
validation so validation measures the final file.
Convert first when the new venue needs another file type. Compare the
manuscript's type with manuscript.formats in paperpush requirements <venue> --json. When the new venue does not accept it but accepts docx
or tex, or the manuscript is Markdown, convert the copy before
reformatting:
paperpush convert <new-dir>/<venue>.sub.txt --to docx|tex -o <new-dir>/converted --no-source --update-sub --json
(MCP: convert_manuscript(subfile=..., to=..., output_dir=..., embed_source=false, update_subfile=true);
add --manuscript <abs source> for the PDF case below, and --bib <abs .bib> if the .bib is not next to the source.) --no-source keeps
the original LaTeX out of a .docx the venue will receive. Keep the JSON
for transfer.txt. Every entry in its warnings, and any counts that
differ, goes into the To-do list: clean: false means something did not
come through. If convert fails, report the error, keep the copy as it
is, and go on.
Only a Word (.docx) or LaTeX (.tex, or a .zip of LaTeX sources)
manuscript can be reformatted. If the new .sub's manuscript is a PDF,
look in the new directory for its source (a .docx or .tex with the
same stem, or the only one there) and pass it with --manuscript. If
there is no source, skip the step and put "send the Word or LaTeX source
to reformat it for " in the To-do list.
Run it with absolute paths, writing into the new directory and pointing
the new .sub at the result:
paperpush format <new-dir>/<venue>.sub.txt -o <new-dir>/formatted --update-sub --json
(MCP: format_manuscript(subfile=..., output_dir=..., update_subfile=true);
add --manuscript <abs source> for the PDF case above, and without
--update-sub set the .sub's manuscript field to the formatted file
yourself). It looks for the new venue's own template first (the recorded
template link, then the venue's author-guideline pages) and otherwise
applies the venue's layout rules. The unformatted copy stays in the new
directory, so the author can go back to it.
When the manuscript is LaTeX and the PDF upload field points at a PDF,
point it at the compiled formatted/<stem>.pdf (the JSON's pdf) when
there is one; if the result did not compile, leave the field as it was
and put the reason (from left_to_author) in the To-do list.
Keep the JSON result for transfer.txt: template (or template_note),
other_templates, changes, left_to_author, and the layout_checks
that did not pass. left_to_author (reference style, front matter the
new class wants, figure placement, ...) goes into the To-do list too.
If format fails, report the error, keep the unformatted copy, and go on.
Under format-free, run format without --update-sub (MCP:
update_subfile=false) and read template in its JSON. If it is set and
the result is usable (a LaTeX manuscript compiled), point the .sub at
the formatted file as above. If it is empty, format fell back to the
venue's layout rules, which are waived here: remove the formatted/
directory this run created and keep the copy's layout. Templates it found
but could not apply (other_templates, such as an Overleaf link) go in
the To-do list as optional. Its left_to_author items that are waived
are optional too.
Remove what identifies the earlier venue, on every transfer, as the
last part of this step: reformatting replaces a template but leaves the
text and metadata. Work on the copies in the new directory (the formatted
manuscript when there is one), and record each removal for transfer.txt.
Look for the names of the venues in the earlier .sub files and, when no
earlier venue is known, for whatever journal the files show they were
prepared for:
\journal{...} and similar commands, and class
options that print the journal's name. If the class itself prints it,
switch to article if the result compiles, else leave it and add it to
the To-do list. A publisher's generic template that names no journal
can stay;.sub), and document metadata (Word properties, PDF
title and subject);Leave references, citations, and any journal the science itself discusses alone. If you edited the source behind an uploaded PDF, rebuild the PDF. A PDF with no source cannot be edited: list what it shows in the To-do list.
Validate. Invoke the paperpush-validate skill (via the Skill tool) on
the new .sub, including the checks that need a reader. Under format-free,
tell it this is an initial submission, so it passes --initial-submission
(MCP: initial_submission=true). That flag shows every error as a
warning, including the ones that still apply, so sort the warnings yourself
using the list in step 3: treat those that still apply as errors, and the
rest as waived.
Save the report. Tell paperpush-validate to save it in the new
directory as <new-dir>/<sub stem>_validation.pdf (validate's default
path, so the merge run in its step 3 needs no -o). Don't ask the user
where to save it, and never pass --no-report or -o none. If the user
asked for another format or place, pass -o <abs path> instead (adding
--overwrite on a re-run). The saved report must match the last
validation: if paperpush-fix runs, finish with a full (not --ai-only)
paperpush validate <abs .sub> --ai-results <its final results file>
with the same flags, so the saved report is the one after the fixes and
includes the AI verdicts. Check that the file exists before step 8.
Do not run paperpush-fix yourself: if validate finds errors or warnings
(under format-free, only those that still apply), ask whether to run it, and
say that it edits only the copies in the new directory (the formatted
manuscript, when step 6 made one). If they say yes, invoke it and use its
final validation in step 8. Under format-free, pass it the same flag and
tell it to leave the waived items alone. If step 6 converted or
reformatted the manuscript, tell it so (and which file is the result), so
it does not offer paperpush format or paperpush convert again (its
steps 3b and 3c) unless the author asks: layout issues left after the
reformat go in its tier 3 instead.
Write <new-dir>/transfer.txt (rewrite it if this is a re-run). Plain
text, absolute paths, in this order:
paperpush transfer: <old venue(s), or "unknown"> -> <new venue>
Date: <YYYY-MM-DD>
Source: <abs source dir> (not modified)
New directory: <abs new dir>
New .sub: <abs path>
Earlier .sub files used: <abs path> (<venue>, modified <date>), ...
Initial-submission format: <format-free or full>: <the venue's rule>
(only when the venue has the rule)
Draft venue entry: <abs new dir>/venue_draft (only for a venue paperpush
does not support; run paperpush on this .sub with
PAPERPUSH_VENUE_DATA=<abs new dir>/venue_draft/data)
1. Files
Copied: <n> files (<list, relative paths>)
Not copied: <file> (<reason>), ...
2. Fields
Carried over unchanged: <id> (from <old .sub>), ...
Carried over and adapted: <id>: <what changed and why>
(e.g. "authors: columns re-ordered to Name | affiliation | email",
"competing_interests: from conflict_of_interest")
Updated from the manuscript: <id>: was "<old>", now "<new>"
New for <new venue>, from the manuscript: <id>, ...
Re-classified for <new venue>: <id>: <old value> -> <new value>
Not carried over (no field in <new venue>): <id>, ...
Left for you to fill: <id>: <reason> [earlier value: <value>]
3. Guideline differences (<old venue> -> <new venue>)
<rule>: <old> -> <new> (word, abstract, figure, and reference limits,
reference style, title page, file formats, anything else that differs)
4. Formatting
Converted: <source type> -> <target type>, <abs path> (only if converted)
Did not come through: <each count that differs, each warning>
Formatted manuscript: <abs path> (unformatted copy: <abs path>)
Template: <URL or path> or No template (<template_note>); the
venue's layout rules were applied
Other templates found: <description>, ...
Changes: <each change, one line each>
Left for you: <each left_to_author item>
Layout checks not passed: <id>: <message>, ...
(or: "Not reformatted: <reason>" -- format-free initial submission and
the venue has no usable template, kept the original formatting at your
request, no Word/LaTeX source, or the error format gave)
Removed earlier-venue information: <file>: <what was removed>, ...
Could not remove: <file>: <what and why>, ...
5. Validation
Report: <abs path to the saved validation report>
<n> errors, <n> warnings, <n> not checked
<each error and warning, one line each>
(format-free: "Still apply: <each>" and "Waived at initial submission:
<each>" in place of the list above)
<what paperpush-fix changed, if it ran>
6. To do
<the author's remaining tasks, most important first>
(format-free: "Apply <new venue>'s formatting when it asks, at revision
or acceptance")
paperpush submit <abs new .sub> (after: paperpush login <new venue> --browser;
format-free: add --initial-submission)
(or, when paperpush cannot submit to the new venue: upload the files
through <new venue>'s own portal, using the .sub as your checklist)
Build section 3 from paperpush requirements <slug> --json for both
venues, listing only the rules that differ. If the earlier venue was itself
a draft entry, read its rules with PAPERPUSH_VENUE_DATA set to that
transfer's venue_draft/data. Skip the section, with a line saying why,
when no earlier venue is known or it has no requirements entry. Shorten
long values (abstracts, statements) to their first 80 characters, with
..., instead of pasting them whole.
Report to the user. Give the new directory, the .sub, the path to
transfer.txt, and the path to the saved validation report, then a short summary: how many fields were carried over,
updated, and new; the guideline differences that matter most (a lower word
limit, a different reference style); whether the manuscript was reformatted
and with which template (or the layout rules); the validation counts; and
what is left for them. Under format-free, say what was removed and which
warnings still apply, so a passing validation is not mistaken for all clear.
For the portal, point them to paperpush-submit, which signs them in
through paperpush-login when needed (or paperpush login <venue> --browser then paperpush submit <abs .sub>, adding
--initial-submission under format-free, or validation will refuse the
formatting errors). If
paperpush venues shows the new venue is validate-only, or it is a draft
entry, paperpush cannot submit to it: tell them to upload the files through
the venue's own portal, using the .sub as their checklist.
A venue paperpush venues does not list can still be transferred to, but not
submitted to. Tell the user so up front, then:
paperpush-add-venue-validate
skill (Skill tool) for the venue in its temporary mode, and tell it to use
<new-dir>/venue_draft/ as the draft directory, so the entry stays with the
transfer. On a re-run, if <new-dir>/venue_draft/data already exists, reuse
it unless the user asks to read the guidelines again.paperpush format
and the guideline checks will have little or nothing to work from, and ask
whether to go on.PAPERPUSH_VENUE_DATA=<new-dir>/venue_draft/data on every paperpush
command from step 3 on, and give that path to paperpush-autofill,
paperpush-validate, and paperpush-fix when you invoke them. Without the
variable, paperpush does not know the venue. Tell paperpush-autofill that
venue_draft/ is not part of the manuscript, and tell paperpush-validate
the draft entry already exists so it does not build a second one.paperpush login, paperpush-login, paperpush submit, or
paperpush-submit for it. paperpush has no runner for this venue's portal.paperpush-validate's pointers for hot-fixing the draft (with the paths
under <new-dir>/venue_draft/) and the suggestion to send the entry upstream
as a pull request..sub
files, and every path in values.json..sub is a source, not the truth: the manuscript wins when they
disagree, and the change goes in transfer.txt.never field, even from an earlier .sub.<new-dir>/venue_draft/. It never goes into
paperpush's own databases or the repo..sub nor the files give it,
leave it for the author.paperpush-autofill, converting to paperpush convert,
reformatting to paperpush format,
checking to paperpush-validate, and fixing to paperpush-fix (with the
user's go-ahead); do not duplicate their logic here, and do not submit.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