/paperpush:paperpush-submitfrom paperpush
Fills a venue's submission portal from a paperpush .sub file, walking the wizard and stopping before the final submit button for author review. Handles login, validation skip, and debug handoff.
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.
Takes a .sub file to the venue's portal: checks the login, then runs
paperpush submit, which signs in, clicks through the wizard typing in the
values from the .sub, and stops before the final submit button. The
author reviews the filled form in the portal and sends it themselves.
paperpush-prepare-submission calls this skill as its last step, after
autofill and validate. Called directly, it does not autofill or run the
AI validation checks; it only submits.
The .sub file. Resolve it in this order:
.sub path the user gave;<manuscript-dir>/<venue>.sub.txt;<venue>.sub.txt in the current working directory.If none exists, or there are several candidates, ask in plain text for
the path. Do not scan the repository for one or fall back to test fixtures.
If the user has a manuscript directory but no .sub yet, there is nothing
to submit: hand off to paperpush-prepare-submission instead. If they
asked to skip validation, carry that request over.
The venue. It is declared in the .sub (venue: near the top). If
the user named a different venue, stop and ask which is right.
Whether to skip validation. Skip it only when the user says so: "skip validation", "don't validate", "submit anyway", "ignore the errors", or similar. Otherwise validation runs.
Use absolute paths throughout.
Validate-only venues have no runner, and submit refuses them. Check first:
paperpush venues
or describe_venue(<venue>) over MCP. If the venue is validate-only, tell the
user that paperpush can check the manuscript against the venue's guidelines but
cannot fill in its portal. Give them the submission_url and stop.
paperpush submit opens a new submission. A revision goes through the
venue's own "submit revision" link for the existing manuscript; sent through
submit, it becomes a duplicate submission. Before going on, look for signs
that the .sub is a revision:
.sub or a file it names sits in a revision<N>/ directory (as made by
paperpush-respond-to-reviewers);.sub names, or sits beside, a response-to-reviewers document
(response_to_reviewers.*, rebuttal.*, reply to reviewers, ...);If any applies, warn the user and ask whether they really want a new
submission. Tell them a revision is uploaded through the venue's "submit
revision" link, and that paperpush-respond-to-reviewers prepares the files.
Go on only if they say yes; then pass confirm_new_submission=true to the
MCP submit tool (or --yes to the CLI). The tool and the CLI make the same
check: MCP returns confirmation_required with the signals, and the CLI
asks in the terminal (or stops, without a terminal). Never set
confirm_new_submission / --yes without the user's answer.
paperpush login <venue> --check
This signs in headless with the stored credentials, so it also catches a
password changed since they logged in. Over MCP, call
login_status(venue=<venue>, check=true) instead.
Exit 0, or check.status ok, means the login works. A note that the
venue "could not be checked", or check.status unchecked, also counts as a
pass. Some venues need no login (login_status says so); go on to step 2.
Exit 1, or failed / timed_out, means nothing is stored or the sign-in
failed. Invoke the paperpush-login skill (via the Skill tool) with the
venue. It opens a one-time sign-in page in the user's browser, where they
type their credentials (never in the chat), and waits for the login to be
stored. Pass along any sign-in method the user named ("I use ORCID").
If the user already said they would rather sign in themselves in the
submission's browser window ("I'll log in manually", "don't store my
password"), skip paperpush-login and go on to step 2 with manual login
(see Manual sign-in). paperpush-login also hands back
that choice when the sign-in page can't be reached.
The run opens the portal's sign-in page and waits there for the user, then fills the form once they are signed in. Pass it through:
submit(subfile=<abs .sub>, manual_login=true)
Without MCP, have the user run ! paperpush submit <abs .sub> --manual-login
(or the same in their own terminal, where they press Enter once signed in).
It needs a visible browser, so never combine it with headless. The session
is saved afterwards, so the next run usually skips the sign-in. Tell the user
the browser will stop at the sign-in page for them, and that the run
carries on by itself once they are signed in.
Filling in a portal is an outward-facing action. Confirm explicitly with the user before you start, unless they already asked for it in this request (for example, "fill out the submission portal to nature"). In either case, say that the final submit is theirs to click.
Default: validate first. Prefer the MCP tool, so you can follow and recover the run:
submit(subfile=<abs .sub>)
or the CLI:
paperpush submit <abs .sub>
(The CLI keeps a headed browser open and does not return until the author is
done, so without MCP have the user run it with !.) Both validate the .sub first and refuse to open a browser if it has errors
(MCP returns blocked with the list). If that happens, report the exact
errors and stop. Offer to run the paperpush-validate skill for the full
report, paperpush-fix to fix what it can in the files and the .sub, or
paperpush-autofill to fill missing fields. Do not quietly retry
with validation skipped.
If a transfer.txt next to the .sub says Initial-submission format: format-free, or the user says this is an initial submission to a venue that
waives formatting, add --initial-submission (MCP:
initial_submission=true) so the waived formatting rules do not block it.
When the user asked to skip validation, pass it through:
submit(subfile=<abs .sub>, skip_validate=true)
Without MCP, have the user run ! paperpush submit <abs .sub> --skip-validate --recover by-hand themselves: a by-hand recovery asks questions in the
terminal, which a command you run in the background cannot answer. Older
paperpush MCP servers have no skip_validate; fall back to the same command.
Before you start, tell the user plainly:
the portal will be filled with whatever the .sub holds, and an empty
required field or a missing file will most likely break the run partway or
leave the form incomplete. Skipping validation does not skip the login
check in step 1. A .sub with no values at all is not worth sending to a
portal: point that out and suggest autofill first.
MCP run. submit returns a pid as soon as the browser opens. Poll
submit_status(pid) while its state is filling, then act on the state:
awaiting_sign_in: the browser is on the portal's sign-in page, waiting
for the user (a manual-login run, or stored credentials that stopped
working). Ask them to sign in in that window, without typing anything
into the chat, and poll less often. The run notices the sign-in and goes back
to filling. If it is still awaiting_sign_in after they say they are
signed in, call submit_signed_in(pid). If it ends exited with
auth_required in the log (30 minutes passed, or the window was closed),
offer to start it again.
ready_for_review: the wizard finished. Tell the user the form is filled
and waiting for them in the browser, then stop polling and end your
turn. The process stays running on purpose (it holds the browser open
until submit_close), so a still-running process is not a reason to keep
checking.
paused (recovery.paused): a step failed and the run is waiting (for 30 minutes).
Invoke the paperpush-portal-debug skill (via the Skill tool) with the
pid, the .sub, and the venue. From then on it owns the run, through
the review page, the change log, the bug report, and submit_close. Do not
fix the page yourself first, and skip step 4 below.
stopped_on_error, or exited with a non-zero exit code, instead of
pausing (the venue's runner cannot pause, or a pause ran past its 30
minutes): stop polling, tell the user which step it stopped at (from the
output tail), and offer to hand it to paperpush-portal-debug, which starts
a fresh run to reproduce it.
action_required (no stored login): go back to step 1, which also
offers manual sign-in.
CLI run in the user's terminal. With --recover by-hand, a failed step
pauses there. The user fixes the page in the browser and chooses to continue.
If they would rather you fix it, hand off to paperpush-portal-debug the same
way.
submit_close(pid) only when the user says they are done with the
browser (they have reviewed it and sent it, or they want to stop).paperpush-login,
where the user types it into the local sign-in page. With manual sign-in,
the user signs in in the browser window, never through you.submit is for initial submissions. Warn and ask before submitting a .sub
that looks like a revision (step 0b)..sub here; those
belong to paperpush-autofill, paperpush-validate, and
paperpush-prepare-submission.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 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".npx claudepluginhub pachterlab/paperpush --plugin paperpushOther plugins' skills for the same job