paper2readerapp
Turn any research paper into a single, self-contained, interactive reader app you
can open in a browser and actually learn from.
Give it a PDF, a LaTeX source + .bib, or just an arXiv id/URL, and it
produces one .html file with:
- the whole paper in one reading column (even if the source is two-column);
- inline figures and tables, extracted from the PDF without ever being cropped
(no clipped axis titles, legends, panels, or table rows);
- a pink-highlighter guided tour — click a highlight for a plain-language margin
note; an audio-player-style bottom bar (Reset / Prev / Next, a progress scrubber,
and a Back button) walks a curated, non-linear learning path;
- teal section/subsection summaries — click a heading for bullet points (every
section except Introduction, Related Work, and Conclusion);
- author–year citations where each name is individually clickable and opens a
popover with the full reference (full author names, no abstract);
- MathJax equations and the source paper's fonts where detectable.
There's no external OCR dependency: for a PDF-only paper the assistant transcribes the
page images itself, one page at a time, and a verifier pass checks that every page and
figure was captured faithfully — looping until it is.
Requirements
- Claude Code or Claude Cowork (the skill uses subagents and image reading).
- Python 3 with
pdfplumber pillow numpy
(pip install pdfplumber pillow numpy --break-system-packages).
- poppler (
pdftoppm, pdffonts): brew install poppler /
apt-get install poppler-utils.
- Network access only for the arXiv input. (Node is optional, for a load self-test.)
Install
Claude Code — via the plugin marketplace (recommended)
/plugin marketplace add delip/paper2readerapp
/plugin install paper2readerapp@paper2readerapp
Claude Code — as a skill you copy in
git clone https://github.com/delip/paper2readerapp.git
# available everywhere:
cp -r paper2readerapp/skills/paper2readerapp ~/.claude/skills/paper2readerapp
# …or only inside one project:
cp -r paper2readerapp/skills/paper2readerapp <your-project>/.claude/skills/paper2readerapp
Claude Cowork (desktop) — open Settings → Capabilities, add a skill, and point
it at paper2readerapp/skills/paper2readerapp.
Usage
Once installed, just ask in natural language — you don't need to name the skill:
- "Turn this PDF into an interactive reader." (attach
paper.pdf)
- "Make an app out of arXiv 2310.06825."
- "Convert this LaTeX source + .bib into a single-column reader with highlights."
- "paper2readerapp https://arxiv.org/abs/1706.03762"
It downloads/reads the inputs, extracts the figures, parses the references, writes the
single-column body, authors the highlight tour and section summaries, builds the app,
verifies it (pages present, figures uncropped, citations and maths intact), fixes
anything it flags, and hands you the finished .html. Open it in any browser.
Customizing
You can steer the result with a sentence, or by editing one file:
- Tour length / summary depth — ask for what you want: "keep the highlight tour
concise" or "summarize every subsection in depth." The default is comprehensive.
- Colors — the look is controlled by CSS variables near the top of
skills/paper2readerapp/assets/template.html: --pink (highlights), --teal
(section summaries), --link (citations). Change them to retheme every app this
skill builds.
- Fonts — by default the app matches the source paper's fonts and falls back to a
clean serif. To force one theme for every paper, ask for it ("use the same clean
serif for all papers").
- Which sections get summaries — Introduction, Related Work, and Conclusion are left
un-summarized by design; ask if you want that changed for a particular paper.
What makes it different
- Always single column — papers are easier to read and annotate as one linear flow.
- Figures are never cropped — the most common failure of naive paper→reader tools.
Every figure extracted from a PDF is grown to surrounding whitespace and then verified,
so legends, axis titles, panels, and full tables stay intact.
- Full author names — references use the names exactly as the source provides them
and never abbreviate a given name (LaTeX
.bib files usually carry full names even
when the printed PDF shows initials). Nothing is looked up online.
Extending this skill
Want to change how the skill works under the hood — the figure extraction, the app
template's HTML/CSS/JS, the reference parsing, the orchestration, or packaging a new
release? See SKILL_DEV_README.md for the repository layout,
architecture, the template placeholder contract, testing, and publishing details.