paper2html

paper2html is a skill for Claude Code from QuZhan51496/paper2anything. It costs 153 tokens per session (3,276 once invoked), scanned A, original, Apache-2.0.

A process for turning an academic paper PDF into a self-contained project homepage, such as the single-page websites researchers host on GitHub Pages. It extracts the paper and figures, then produces and checks an index.html file.

In plain words
What is it for?
Creating a paper summary page with project information, explanations, figures, links, and validation for content fidelity and missing assets.
Why use it?
It removes the need to manually understand the paper, choose a design, place figures, write the page, and check for broken links or missing content.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Creating a paper summary page with project information, explanations, figures, links, and validation for content fidelity and missing assets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quzhan51496/paper2anything/paper2html
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add QuZhan51496/paper2anything --skill paper2html
Clone the repo
git clone --depth 1 https://github.com/QuZhan51496/paper2anything

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paper2html

README.md
[![agentmods](https://agentmods.dev/badge/skills/quzhan51496/paper2anything/paper2html.svg)](https://agentmods.dev/skills/quzhan51496/paper2anything/paper2html)
Your own site
<a href="https://agentmods.dev/skills/quzhan51496/paper2anything/paper2html"><img src="https://agentmods.dev/badge/skills/quzhan51496/paper2anything/paper2html.svg" alt="Measured on agentmods" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,276 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00153 $0.03276
Opus 5 $0.00077 $0.01638
Sonnet 5 $0.00031 $0.00655
Haiku 4.5 $0.00015 $0.00328

Measured 8d ago against content hash 174cdb02113e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

paper2html scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/_env.py, scripts/lib/__init__.py, scripts/lib/config.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

paper2html/SKILL.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

paper2html — Paper to single-page project homepage (you-led, coordinated)

Turn a paper PDF into a self-contained, publish-ready single-page project website — the kind of paper homepage researchers commonly build on GitHub Pages. You are the lead author: this file is the recipe, not a fully automated script — there is no main.py, no renderer. The mechanical steps (parse / extract / QA) call the small tools under scripts/; understanding the paper, designing the page, and writing index.html are done by you (read the material and figures with Read, write index.html with Write), confirming with the user at key points via AskUserQuestion.

PDF
 → parse + extract        (parse_pdf.py: MinerU → clean.md + manifest.json + images/, gate 1)
 → you understand it + set the design   (read manifest + clean.md + look at figures) → pick a design language   [confirm design direction]
 → you hand-author the page   (per the references/ design-language and authoring rules) → index.html            [optional confirm]
 → QA validation          (validate.py: missing figures/broken links/content fidelity, gate 2) → fix per report, loop
 → single-page project homepage index.html (+ images/, deployable as-is)

How you run this skill

  1. Step by step: run scripts for the mechanical steps via Bash (absolute paths, no cd needed); do the design and authoring yourself with Read/Write.
  2. Compute WORKDIR inline at the top of each Bash block (each Bash call is a separate shell and does not share variables):
    WORKDIR="$(dirname "$pdf_path")/.paper2anything/html/$(basename "${pdf_path%.*}")"
    
    $pdf_path is the paper PDF the user gave (reset it in each block). The scripts live in ${SKILL_DIR}/scriptsSKILL_DIR is this skill's directory (see "Base directory for this skill: …" injected at the top of this skill); each Bash block is a separate shell, so in the blocks that use it export SKILL_DIR=<that directory> once at the top (set it inline each time, like WORKDIR).
  3. Pause at decision points with AskUserQuestion: after understanding the paper, confirm the design direction (design language / primary color / emphasis); after the draft is done, you may confirm again.
  4. Faithful to the manifest, you fill the gaps: use only the real material in manifest.json, don't fabricate numbers/authors/links; fields the manifest left empty (authors/abstract/links etc.) you complete from the full text of clean.md — you are the lead author, deterministic extraction is only scaffolding.

Read the full file on GitHub · 211 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 211 lines · 0 tokens per session scan A 174cdb02113e

Subscribe to this mod's changes

paper2html is a skill published in the GitHub repository QuZhan51496/paper2anything (409 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 153 tokens to every session and 3,276 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.