QP

quzhan51496/paper2anything

Browser automation
352 stars 品質 71 トレンド 71

A skills pack that turns an academic paper PDF into any of several promotional artifacts, covering the main forms of paper dissemination:

概要

A skills pack that turns an academic paper PDF into any of several promotional artifacts, covering the main forms of paper dissemination:

README

A skills pack that turns an academic paper PDF into any of several promotional artifacts, covering the main forms of paper dissemination:

Skill Turns the paper into Output Trigger phrases (examples)
paper2slides a presentation deck .pptx “make slides from this paper”, “generate a deck from this PDF”, “deck this paper”
paper2poster a conference poster poster.html + poster.png “make a poster from this paper”, “turn this paper into a poster”
paper2html a single-page project homepage index.html “turn this paper into a webpage”, “generate a project page / landing page”
paper2xhs a Xiaohongshu (rednote) multi-image post xhs_post.json/md + cover + figure images “post this paper to Xiaohongshu”, “turn this paper into a rednote post”
paper2wechat a WeChat Official Account article wechat_article.md/html + cover “write this paper as a WeChat article”, “turn this paper into a WeChat post”

Each subdirectory is an independent, auto-triggerable skill (each has its own SKILL.md).


Showcase

paper2slides

A sample of paper2slides output — eight decks across diverse research fields (HCI / VR, computer vision, drug discovery, security & provenance, multimodal agents, quantum computing, optimization, and ML theory):

paper2poster

A sample of paper2poster output — nine posters, spanning nine research fields (drug design, graphics, HCI, materials science, X-ray inspection, NLP / LLM safety, optics & photonics, statistical ML, and computer vision):

paper2html

A sample of paper2html output — eight project homepages across diverse research fields (HCI / VR, drug discovery, machine writing, robotics, security, software engineering, agent skills, and financial trading):

paper2xhs

A sample of paper2xhs output — ten Xiaohongshu (rednote) posts across diverse research fields (world models, LLM agent societies, AI supply-chain security, LLM evaluation, robotic manipulation, CS education, machine translation, climate simulation, medical diagnosis, and causal inference):

paper2wechat

A sample of paper2wechat output — twelve WeChat Official Account articles across diverse research fields (world models, LLM agent societies, AI supply-chain security, LLM evaluation, robotic manipulation, CS education, machine translation, climate simulation, medical diagnosis, causal inference, efficient inference, and NLP):


Installation

One-command install with Claude Code (recommended):

bash tools/install-linux.sh --create-env --shell-init     # Linux
bash tools/install-macos.sh --create-env --shell-init     # macOS

The install script will: ① symlink the 5 skills into ~/.claude/skills/; ② bootstrap a .env from .env.example if you don’t have one; ③ check the conda environment, system dependencies, and MINERU_API_TOKEN (used for paper extraction). What the two flags do (omit them if you don’t need them):

  • --create-env: conda env create (updates per environment.yml if it already exists) + installs playwright chromium + runs a pip self-check;
  • --shell-init: (optional) writes the .env auto-export into your shell startup file, so a new shell loads the credentials automatically.

After it runs, follow the script’s prompts for two more steps:

  1. Fill in MINERU_API_TOKEN in .env (required);
  2. Install the missing system-level dependencies it points out (the script detects each one and gives the install command).

If you need to install manually (e.g. you only use one specific skill), here is the equivalent breakdown.


Usage

Just state your intent and the matching skill auto-triggers, e.g.:

  • “make path/to/paper.pdf into slides” → paper2slides
  • “make a conference poster from this paper” → paper2poster
  • “turn this PDF into a project homepage” → paper2html
  • “post this paper to Xiaohongshu for me” → paper2xhs
  • “write this paper as a WeChat article” → paper2wechat

Or call them explicitly with a slash command, followed by the PDF path:

/paper2slides path/to/paper.pdf
/paper2poster path/to/paper.pdf
/paper2html   path/to/paper.pdf
/paper2xhs    path/to/paper.pdf
/paper2wechat path/to/paper.pdf

Output locations

Each skill’s final deliverable lands in the same directory as the paper; all intermediate artifacts are kept under .paper2anything/// in that same directory:

Skill Final deliverable Intermediate artifacts
paper2slides _slides/ (.pptx) .paper2anything/slides//
paper2poster _poster/ (poster.png + poster.html + images/) .paper2anything/poster//
paper2html _html/ (index.html + images/) .paper2anything/html//
paper2xhs _xhs/ (xhs_post.md + .json + cover.png + post_images/) .paper2anything/xhs//
paper2wechat _wechat/ (wechat_article.md + .json + cover.jpg + figures/) .paper2anything/wechat//

Directory structure

paper2anything/
├── environment.yml          # python environment
├── .env.example             # credentials template (copy to .env and fill in)
├── .gitignore               # ignores .env / __pycache__ etc.
├── LICENSE                  # Apache-2.0
├── README.md                # this file (English, default)
├── README.zh-CN.md          # Chinese version
├── tools/                   # install scripts
├── assets/                  # static files
│   └── showcase/            # per-skill output samples (assets/showcase//)
├── paper2slides/            # paper → slides
│   ├── SKILL.md
│   ├── references/          # design style, outline heuristics, pipeline, schema, pptxgenjs
│   └── scripts/             # parse_pdf / render_pptx / page_screenshot / workdir + lib/
├── paper2poster/            # paper → poster HTML/PNG
│   ├── SKILL.md
│   ├── references/          # poster examples, color palettes, layout guide
│   └── scripts/             # parse_pdf / auto_outline / geom_check / collect_figures / screenshot / check_env
├── paper2html/              # paper → single-page project homepage
│   ├── SKILL.md
│   ├── references/          # design languages, HTML authoring spec, QA checklist
│   └── scripts/             # parse_pdf / validate / render_check etc. + lib/ (parse/extract/QA, no renderer)
├── paper2xhs/               # paper → Xiaohongshu
│   ├── SKILL.md
│   ├── references/          # publish guide
│   └── scripts/             # parse_pdf / cover / post_images / publish / xhs_login + utils
└── paper2wechat/            # paper → WeChat
    ├── SKILL.md
    └── scripts/             # parse_pdf / cover / publish + utils

Contributors

Skill design leads at the AI4GC Lab:


Acknowledgements

paper2anything is developed by the AI4GC Lab at Zhejiang University.

  • Paper PDF parsing is powered by MinerU.
  • Xiaohongshu publishing is powered by xiaohongshu-mcp.
  • WeChat publishing and formatting are powered by md2wechat.
View this README on GitHub

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add quzhan51496/paper2anything