Turn a research paper into a single web page that helps you learn to peer review.
The real paper sits on the left. On the right is the same paper in plain words, cut into short parts. Both sides scroll together, and a highlighter band shows which lines of the paper the current part is about. Under each part you can take notes. All notes are collected at the bottom of the page, ready to copy into a review. Below them is a reference review, folded away until you have written your own.
The page is designed to be calm and easy to follow for readers who find long, dense papers hard going, including readers with ADHD. Text size, light or dark mode and a focus mode can be set in the View menu.
Download this repository (green Code button, then Download ZIP) and open example/example_review_trainer.html in your browser. It needs no installation and no internet.
The example paper (example/example_paper.pdf) is fictional. It was written for practice and contains deliberate flaws. Try to find them before you open the reference review at the bottom.
| A paper | A PDF with selectable text. Scanned PDFs need OCR first. |
| An AI coding agent | An assistant that works in a folder on your computer: it reads and writes files, runs terminal commands and can look at images. See the options below. |
| Python | Version 3.10 or newer. uv is the easiest way to get it, and the agent can do the setup for you. |
| Disk space and time | About 200 MB for the test browser. An agent needs roughly 15 to 45 minutes per paper. |
The agent does the reading and writing: it explains each part of the paper in plain words, writes the reference review, has its own text fact-checked and runs 13 automatic tests on the finished page. The instructions it follows are in AGENTS.md. The Python tools in tool/ do the mechanical work.
Prices and free allowances change often. This is the state in October 2026; check the linked pages for the current terms.
| Agent | Cost | Notes |
|---|---|---|
| Claude Code | Paid Claude plan (Pro or Max) or API credits | This project was built and tested with it. |
| GitHub Copilot (agent mode in VS Code, or Copilot CLI) | Free for verified students through GitHub Education; a smaller free tier for everyone | The student plan includes agent mode with a monthly allowance of AI credits. Probably the best free option if you are a student. |
| Antigravity or Gemini CLI (Google) | Free tier with daily limits | In June 2026 Google moved its free tier for individuals from Gemini CLI to Antigravity CLI. A free Gemini API key also works with Gemini CLI, with a daily request limit. |
| Codex CLI (OpenAI) | Paid ChatGPT plan or API key | At the time of writing the free ChatGPT plan does not include the CLI (pricing). |
| Open-source agents such as OpenCode, Cline or Aider, with a local model from Ollama or LM Studio | Free | Everything stays on your computer. You need a powerful machine, and the model must be able to read images. Small local models write noticeably weaker reviews and make more factual mistakes. |
| Your university | Often free | Many universities license one of these tools for students and staff. Ask your IT service or library. |
Whichever you use, the reference review is only as good as the model behind it. Read it critically, and ideally have someone who knows the field look at it before you rely on it.
With a cloud-based agent, the paper's text is sent to the company that runs the model, and free tiers may use what you send to train their models. Practise on published papers, such as open-access articles or arXiv preprints. Don't give an agent a paper you are reviewing for a conference or journal unless the venue's policy allows it and the service keeps your data confidential. Many venues forbid it. A local model keeps everything on your computer.
-
Download or clone this repository and put your PDF into the
papers/folder. -
Start your agent in the repository folder.
-
Ask it:
Build a review trainer for papers/my_paper.pdf. Follow AGENTS.md.
You can add who will read it and which venue's review form to use, for example: The reader is a first-year PhD student. Use the NeurIPS review form.
-
When the agent is done, open
projects/<name>/<name>_review_trainer.htmlin your browser.
- Read a part on the right. The highlighted lines on the left are the ones it covers. Click a grey line chip such as
L212to jump to that spot. - Each part ends with Reviewer's eye: a question that sends you to a specific table, figure or line. These questions lead to the points a careful reviewer would raise.
- Write notes in the box under each part. Click Strength, Weakness, Question or Minor to tag a line. Select text in the paper to quote it into your notes with its line number.
- At the bottom, your notes are collected by part or as a review draft. Copy them, or download them as a text file.
- Then open the reference review and compare. Where you disagree with it, write down why. Those are the best points to discuss with your supervisor.
Notes are saved in your browser on that computer only. Copy or download them before you clear your browser data or switch computers.
-
Read the reference review before you give the page to a student. AI-written reviews can contain errors even after the fact-check.
-
To change any text, edit
projects/<name>/content.htmland rebuild:uv run python tool/build.py --work projects/<name>/work --content projects/<name>/content.html --out projects/<name>/<name>_review_trainer.html -
Share the finished HTML file directly. It contains the paper, so don't put it on a public website unless the paper is public.
The tools work without any AI. You can write the plain-language parts and the review yourself, which is also a good exercise for a reading group. Start from templates/content_skeleton.html and look at example/content.html for a complete example. The format is described in AGENTS.md, Steps 3 to 5.
uv sync
uv run playwright install chromium
uv run python tool/extract.py papers/my_paper.pdf projects/my_paper/work
cp templates/content_skeleton.html projects/my_paper/content.html
# write projects/my_paper/content.html, then:
uv run python tool/build.py --work projects/my_paper/work --content projects/my_paper/content.html --out projects/my_paper/my_paper_review_trainer.html
uv run python tool/test_page.py projects/my_paper/my_paper_review_trainer.html projects/my_paper/shots
Without uv, create a virtual environment, run pip install -r requirements.txt and python -m playwright install chromium, and use python instead of uv run python.
| Path | Contents |
|---|---|
AGENTS.md |
Step-by-step instructions for the AI agent. CLAUDE.md and GEMINI.md point to it. |
tool/extract.py |
Reads the PDF: page images, text and a citable label for every line. Uses the paper's printed line numbers if it has them, and numbers the lines itself if not (two-column layouts included). |
tool/build.py |
Combines the paper and your content.html into one HTML file. It checks that the parts cover the paper without gaps and that every line citation exists. |
tool/engine.html |
The page itself (layout, scrolling, notes). |
tool/test_page.py |
13 automatic checks in a real browser, plus screenshots. |
tool/fonts/ |
Atkinson Hyperlegible Next, a font designed for legibility, with its licence. |
templates/ |
The skeleton for content.html. |
example/ |
The fictional example: paper, source, content and finished page. |
papers/, projects/ |
Your PDFs and work. Git ignores both, so they stay on your computer. |
- PDFs without a text layer have to be run through OCR first.
- Very unusual layouts (three columns, text in sidebars) can confuse the line order. The highlight is then slightly off, but the page still works.
- The build rejects em dashes in the written text. This is a deliberate style choice to keep the prose plain. Remove the check in
tool/build.pyif you don't want it.
Copyright (c) 2026 Philipp Wicke. The code, the instructions and the example are released under the MIT License.
The font in tool/fonts/ is Atkinson Hyperlegible Next by the Atkinson Hyperlegible Next Project Authors, under the SIL Open Font License 1.1 (tool/fonts/OFL.txt).
This project was developed with the help of Claude Code.
