/paperpush:paperpush-add-venuefrom paperpush
Adds or fixes paperpush submit support for a venue: creates Venue class with Playwright login/submit, submission forms, sample .sub, tests, and runs live portal check. For existing venues, fixes failing tests.
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.
Needs a clone of the paperpush repo (git clone https://github.com/pachterlab/paperpush and pip install -e .[dev]), run from
its root. This skill edits the venue databases, runner code, and tests, and
uses the repo's scripts/ and tests/. Working from a pip install? Ask the
user to clone the repo first.
Before writing any code, read README.md ("Adding new venues", "For AI
agents"), CONTRIBUTING.md ("Adding a submission venue"), DEVELOPMENT.md
(codegen, recovery, testing, venue databases), and AGENTS.md. CLAUDE.md
requires it. They are the authority, and this skill only puts their steps in
order.
paperpush venues | grep -i <name>
ls paperpush/venues/*/ | grep -i <slug>
paperpush requirements <slug>
shows no entry, run the paperpush-add-venue-validate skill first (Skill
tool). That records the guidelines and the [venues] entry. Then come back.You need a working account to explore the portal and test the runner. Never ask for a password in chat, and never write one to a file or command line.
paperpush login <slug> --status (after the runner exists), or
paperpush login --list.login() is written (step A4), run paperpush login <slug> --browser from the repo root in the background (the paperpush-login
skill's steps 2-4). The user types the username and password into the
sign-in page it opens, never into the chat. The command verifies them with
your login() in a real browser and stores them in the OS keyring (or
paperpush's file fallback). If verification fails, the page and the
command's output show the error: it tells you what to fix in login().
Open the page again after the fix. Never suggest --password or
PAPERPUSH_PASSWORD: both expose the password. If the page can't be
reached, the user can run paperpush login <slug> in a separate terminal
window instead (not with ! in this session, which gets no keyboard
input).paperpush codegen <login_url>, or a headed Playwright
page you open and they type into. Save the session state to a scratch file
for later runs.Portals with no author accounts (see paperpush/venues/editflow/main.py)
skip all of this: set requires_login = False and
supports_session_capture = False.
A1. Find the portal family. Many journals share one portal engine:
scholarone, editorialmanager, snapp, editflow, nature, openrxiv,
openreview. If the venue uses one, write a thin leaf that reuses its main
engine (see paperpush/venues/nature/nature_machine_intelligence.py), not a
new engine.
A2. Walk the portal and record it. With the user's signed-in session, go
through the whole submission wizard with test values and stop before the
final submit control. The best tool is paperpush codegen --venue <slug>
once the venue is in venues.json, or paperpush codegen <login_url>
before. For each page, record:
If the walk makes a draft, title it something obviously fake (for example "PAPERPUSH TEST – DO NOT REVIEW") and tell the user it exists.
A3. Write the form. Run paperpush add-venue --template --from <slug> -o <scratch>/<slug>.txt (or --template <slug> if the venue is not in
venues.json yet). Set [form] include: yes, submission_url, and one
[field] block per portal field in portal order. Reuse common ids
(title, abstract, authors, manuscript_file, ...). Give every other
field a section. Then:
paperpush add-venue <scratch>/<slug>.txt --dry-run
paperpush add-venue <scratch>/<slug>.txt --overwrite
python scripts/check_venue_consistency.py
python scripts/gen_subfile_templates.py
A4. Write the runner. Copy paperpush/venues/template/template.py to
paperpush/venues/<portal>/<slug>.py and follow its #!!! markers:
slug, logged_in_names (controls only a signed-in user sees),
final_submit_names (the send label from A2), and supports_recovery = True. Add supports_orcid_login only if you wrote the ORCID branch.login(): fill the sign-in form, and raise VenueLoginError with a clear
message when the dashboard never loads.submit(): keep the template's skeleton (open_run_context,
ensure_signed_in, then page = guard(page)). Start each wizard page with
step("<page name>"). Put an upload click and its file chooser in one
page.attempt(...). Put each probe that is expected to fail in
with unrecovered():. Read every value from values by field id.VENUE = <Class>(). Discovery finds it by that
name. A module that also sets LOGIN_ONLY = True (such as
ncbi/geo.py) registers for paperpush login only;
delete that line once submit is implemented so the venue counts as
submittable.hold_open, as the
template does. Never click the send control, in code or by hand.Then do credentials step 3: open the sign-in page with paperpush login <slug> --browser for the user.
A5. Ground-truth sample and tests.
<slug>.sub.txt to tests/sample_subfiles.json, with values for every
required field and each option branch you want covered. Its files live
under tests/manuscript_files/<slug>/. They are generated, not
committed, so run python tests/sample_subfiles.py to build them and to
write tests/sub_files/<slug>/<slug>.sub.txt. Add more variants
(<slug>_figures.sub.txt, ...) for branches such as article types and
optional uploads.tests/test_<slug>.py with offline tests in the style of
tests/test_nature_machine_intelligence.py: dispatch through
get_runner, form and field invariants, and each tricky helper (author
rows, file metadata, branch choices) checked against a Mock page.A6. Test until it passes, then go to Verify below.
pytest tests/test_<slug>.py tests/test_venue_interface.py tests/test_recovery_coverage.py tests/test_submit.py tests/test_subfile.py -q -k "<slug> or not portal"
If tests/test_<slug>.py or the tests/sample_subfiles.json entry is
missing, write it as in A5.python tests/sample_subfiles.py
pytest tests/test_submit.py --run-portal -s --venue <slug>
paperpush-portal-debug skill for a stall). Make
the smallest fix, add a regression test, and rerun. If the portal's
fields changed, update submission_forms.json through a venue file
(A3), and update the runner to match.venue-recovery issues for this venue
(gh issue list --label venue-recovery). They record steps that already
failed for users.pytest -q # whole offline suite
pytest tests/test_submit.py --run-portal -s --venue <slug> # live walkthrough
python scripts/gen_readme_venues.py # status tables
The live run must reach the review page with every value entered, and must
stop before the final submit. Ask the user to look at the open browser and
confirm the portal shows what the .sub says. Do not call the venue working
until they confirm. Report any step blocked by a CAPTCHA, two-factor prompt,
slow PDF build, or downtime separately; never count an unobserved step as
passing.
List the files added or changed, the test results (offline and live, with output on failure), any test draft left in the portal, and anything you could not automate. Do not commit unless the user asks.
Then, for a new runner or a real fix, suggest sending it upstream as a pull
request, as in paperpush-add-venue-validate's Share it step: from a
branch, commit only this venue's files (runner, venue data, regenerated
templates and tables, tests/test_<slug>.py, tests/sample_subfiles.json
and tests/sub_files/<slug>/, scripts/guideline_fingerprints.json), then
gh pr create --repo pachterlab/paperpush, or open one at
https://github.com/pachterlab/paperpush/compare. Only suggest it: don't
push or open the PR unless the user says yes. Never commit credentials or
saved session state.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pachterlab/paperpush --plugin paperpush12 skills in this plugin
/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"./paperpush-portal-debugDebug a `paperpush submit` run that stalls or fails partway through a venue's portal: drive the live browser to get past the failing step, keep a log of every change the Playwright runner needs, and (in a source checkout) put those changes into the runner with a regression test. Never sends the submission. Triggers: "submit is stuck", "paperpush submit failed at <step>", "the <venue> portal changed", "debug the submit run live", "fix the <venue> runner".Other plugins' skills for the same job