/paperpush:paperpush-prepare-submissionfrom paperpush
Orchestrates end-to-end manuscript submission with paperpush: resolves or creates .sub files, autofills, validates, and hands off to paperpush-submit for portal login and filling. Use for general prepare/submit requests.
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.
Orchestrates the full submission path for a manuscript directory when the user
has not named a .sub file. It generates the .sub, hands off to the
paperpush-autofill skill to fill it, validates (through paperpush-validate),
and then hands off to the paperpush-submit skill to check the login and fill
in the portal. This skill only sequences the steps; the other skills and the
paperpush commands do the real work.
If the user already has a filled .sub and only wants it sent to the portal,
use paperpush-submit directly instead.
bioinformatics). If the user did not say it,
infer it from their message; if they haven't chosen one, offer to run the
paperpush-pick-venue skill (Skill tool) for the manuscript and continue
here with the venue they pick. Look it up with paperpush venues (try its
name, abbreviation, and publisher's title). If it is not listed, don't stop:
see Venue paperpush does not support.Initial submissions only. If the manuscript directory is a revision<N>/
directory or holds a response-to-reviewers document (response_to_reviewers.*,
rebuttal.*, ...), or the user says it is a revision after review, warn them
before any other work: paperpush submits new manuscripts, and a revision is
uploaded through the venue's own "submit revision" link. Offer
paperpush-respond-to-reviewers to prepare the revision, and continue here
only if they confirm they want a new submission (then pass that confirmation
on to paperpush-submit).
Do not ask for a .sub path. Resolve it by this hierarchy: (1) an explicit
.sub the user provided; (2) else an existing <venue>.sub.txt in the manuscript
directory; (3) else create <venue>.sub.txt in the manuscript directory on the
fly. See step 1.
Check the login first, before any other work. Run:
paperpush login --list
If the venue is not listed (or the output is Not logged in to any venues.),
invoke the paperpush-login skill (via the Skill tool) with the venue
right away, before any other work. It starts a one-time sign-in page in the
user's browser in the background, and in your next message you tell the
user to sign in there (not in the chat), so they sign in while you work.
Mention in the same message that they can instead sign in by hand in the
submission's browser window when it opens, with nothing stored
(paperpush-submit's manual sign-in). If they choose that, or already said
they would rather log in themselves in the browser, skip paperpush-login
and pass the choice on to paperpush-submit.
Then carry on with steps 1-3 while they sign in; a missing login only blocks step 4, where paperpush-submit checks it again. Never ask for their password in the chat.
Skip this step for a validate-only venue (paperpush venues marks them;
submit cannot fill their portal) or a venue paperpush does not support.
Tell the user that up front, and stop after step 3.
Resolve the .sub by hierarchy (user-provided > in manuscript dir >
create on the fly):
If the user named a .sub path, use it as-is.
Else if <manuscript-dir>/<venue>.sub.txt already exists, reuse it (do not
overwrite unless the user asks to regenerate).
Else create it in the manuscript directory, with an absolute path:
paperpush subfile <venue> -o <manuscript-dir>/<venue>.sub.txt
A newly created .sub lives alongside the manuscript. Use the resolved path
for every later step.
Autofill the .sub. Invoke the paperpush-autofill skill (via the
Skill tool), passing the .sub path from step 1 and the manuscript
directory. That skill reads the files, extracts field values, and applies
them through paperpush autofill. Let it run to completion and relay its
summary of what was filled and what it left for the user. If the user asked
you to confirm the attestations (consent, submission terms), tell the
autofill skill to add --confirm-attestations. Don't add it otherwise.
Validate. Run the pre-submission checks:
paperpush validate <resolved-sub-path>
The report lists checks that need AI (lettering in raster figures,
whether each figure and panel shows what its legend and the text say, the
guidelines' free-text rules, whether each field matches the manuscript).
Run them by invoking the paperpush-validate skill (via the Skill tool) on
the same .sub; it does them itself, with no API key, and merges the
verdicts into the report.
Then decide whether to go on, from the counts in the merged report (failed AI checks count as warnings; suggestions on style do not count at all):
never
fields the autofill skill left for the user. Then ask whether to run the
paperpush-fix skill on the .sub: it backs up the files, fixes what it
safely can in the manuscript sources and the .sub, validates again, and
reports what needs the user. Ask rather than run it, because it edits the
manuscript. If they say yes, invoke paperpush-fix (via the Skill tool)
and relay its report, then apply this same rule to its final validation.
If they say no, leave the fixes to them. Either way, do not go on to step
4 while any error remains: a file with validation errors will not submit.
With no errors left and more than 5 warnings, go on only if the user says
to continue anyway.suggestion: repetitive word choice,
spelled-out numbers, forms or headings written two ways, double spaces)
never stop the flow. Mention how many there are in one line, and that
paperpush validate --suggestions lists them, or paperpush-fix can
apply them if the user asks. If the user wants the house style enforced,
validate with --strict-style, which makes them warnings.If the user asked to skip validation ("skip validation", "submit anyway"), do not run this step. Go straight to step 4 and pass the request on.
Log in and fill the portal. Invoke the paperpush-submit skill (via
the Skill tool) with the resolved .sub path, and say whether the user
asked to skip validation. It re-checks the login with
paperpush login <venue> --check, confirms with the user, runs submit,
and follows the run, handing a failed step to paperpush-portal-debug.
Relay its summary. The final submit is the
user's to click.
A venue paperpush venues does not list can still be prepared and checked, but
not submitted. Tell the user so up front, then:
paperpush-add-venue-validate skill (Skill tool)
for the venue in its temporary mode. It reads the venue's guidelines and
writes a draft entry to <scratch>/venue_drafts/<slug>/data, outside
paperpush's own databases.PAPERPUSH_VENUE_DATA=<scratch>/venue_drafts/<slug>/data
set on every paperpush command (subfile, autofill, validate), and
give that path to paperpush-autofill and paperpush-validate when you
invoke them. Tell paperpush-validate the draft entry already exists so it
does not build a second one. Without the variable, paperpush does not know
the venue.paperpush-submit. paperpush has no runner for this venue's portal. Tell
the user to upload the files through the venue's own portal, using the
validated .sub as their checklist.paperpush-validate's pointers to the draft
files and its suggestion to send the entry upstream as a pull request..sub file and the manuscript directory..sub in the manuscript directory, not the working directory.paperpush login --list up front and start paperpush-login
immediately for a missing login, so the user can sign in while you do the
rest of the work.paperpush-login (its browser page). Never run
the prompting paperpush login <venue> yourself, and never take a password
in the chat.paperpush-submit for a validate-only venue or a venue paperpush
does not support.paperpush-submit past a failed validate, or past warnings
the user has not seen and agreed to continue with, unless the user asked to
skip validation.paperpush-fix before running it; never edit the manuscript without
the user's go-ahead.paperpush-autofill, the reader checks to
paperpush-validate, fixing to paperpush-fix, and login + submit to
paperpush-submit; do not duplicate their logic here.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