paper-2-web by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill paper-2-web此技能使用 Paper2All 自动化流水线,将学术论文转化为多种宣传和演示格式。该系统将研究论文(LaTeX 或 PDF)转化为三种主要输出:
该流水线利用 LLM 驱动的内容提取、设计生成和迭代优化,创建适合会议、期刊、预印本库和学术推广的高质量输出。
在以下情况下使用此技能:
触发短语:
使用此技能创建文档时,请始终考虑添加科学图表和示意图以增强视觉传达。
如果您的文档尚未包含示意图或图表:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
对于新文档: 默认应生成科学示意图,以可视化地呈现文本中描述的关键概念、工作流程、架构或关系。
如何生成示意图:
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
AI 将自动:
何时添加示意图:
有关创建示意图的详细指导,请参阅 scientific-schematics 技能文档。
将论文转化为具有布局感知的交互式学术主页,超越简单的 HTML 转换。
主要特性:
最适合:发表后推广、预印本增强、实验室网站、永久性研究展示
→ 详细文档请参阅 references/paper2web.md
生成带有幻灯片、旁白、光标移动和可选人像视频的专业演示视频。
主要特性:
最适合:视频摘要、会议演示、在线讲座、课程材料、YouTube 推广
→ 详细文档请参阅 references/paper2video.md
创建具有专业版式和视觉设计的可打印学术海报。
主要特性:
最适合:会议海报展、研讨会、学术展览、虚拟会议
→ 详细文档请参阅 references/paper2poster.md
安装 Paper2All:
git clone https://github.com/YuhangChen1/Paper2All.git
cd Paper2All
conda create -n paper2all python=3.11
conda activate paper2all
pip install -r requirements.txt
配置 API 密钥(创建 .env 文件):
OPENAI_API_KEY=your_openai_api_key_here
# 可选:用于徽标搜索的 GOOGLE_API_KEY 和 GOOGLE_CSE_ID
安装系统依赖项:
→ 完整安装指南请参阅 references/installation.md
生成所有组件(网站 + 海报 + 视频):
python pipeline_all.py \
--input-dir "path/to/paper" \
--output-dir "path/to/output" \
--model-choice 1
仅生成网站:
python pipeline_all.py \
--input-dir "path/to/paper" \
--output-dir "path/to/output" \
--model-choice 1 \
--generate-website
使用自定义尺寸生成海报:
python pipeline_all.py \
--input-dir "path/to/paper" \
--output-dir "path/to/output" \
--model-choice 1 \
--generate-poster \
--poster-width-inches 60 \
--poster-height-inches 40
生成视频(轻量级流水线):
python pipeline_light.py \
--model_name_t gpt-4.1 \
--model_name_v gpt-4.1 \
--result_dir "path/to/output" \
--paper_latex_root "path/to/paper"
→ 完整工作流程示例请参阅 references/usage_examples.md
使用此决策树来确定生成哪些组件:
User needs promotional materials for paper?
│
├─ Need permanent online presence?
│ └─→ Generate Paper2Web (interactive website)
│
├─ Need physical conference materials?
│ ├─→ Poster session? → Generate Paper2Poster
│ └─→ Oral presentation? → Generate Paper2Video
│
├─ Need video content?
│ ├─→ Journal video abstract? → Generate Paper2Video (5-10 min)
│ ├─→ Conference talk? → Generate Paper2Video (15-20 min)
│ └─→ Social media? → Generate Paper2Video (1-3 min)
│
└─ Need complete package?
└─→ Generate all three components
1. LaTeX 源代码(推荐):
paper_directory/
├── main.tex # 主论文文件
├── sections/ # 可选:分章节文件
├── figures/ # 所有图形文件
├── tables/ # 表格文件
└── bibliography.bib # 参考文献
2. PDF:
单篇论文:
input/
└── paper_name/
├── main.tex (或 paper.pdf)
├── figures/
└── bibliography.bib
多篇论文(批量处理):
input/
├── paper1/
│ └── main.tex
├── paper2/
│ └── main.tex
└── paper3/
└── main.tex
--model-choice 1:GPT-4(质量与成本的最佳平衡)--model-choice 2:GPT-4.1(最新功能,成本更高)--model_name_t gpt-3.5-turbo:更快,成本更低(质量可接受)--generate-website:启用网站生成--generate-poster:启用海报生成--generate-video:启用视频生成--enable-talking-head:为视频添加人像(需要 GPU)--poster-width-inches [width]:自定义海报宽度--poster-height-inches [height]:自定义海报高度--video-duration [seconds]:目标视频长度--enable-logo-search:自动发现机构徽标生成的输出按论文和组件组织:
output/
└── paper_name/
├── website/
│ ├── index.html
│ ├── styles.css
│ └── assets/
├── poster/
│ ├── poster_final.pdf
│ ├── poster_final.png
│ └── poster_source/
└── video/
├── final_video.mp4
├── slides/
├── audio/
└── subtitles/
对于紧迫的截止日期,按此顺序生成:
在最终确定输出之前:
LaTeX 解析错误:
pdflatex main.tex图形质量差:
视频生成失败:
海报布局问题:
API 错误:
.env 文件中的 API 密钥系统自动检测目标平台:
Twitter/X(英文,数字文件夹名称):
mkdir -p input/001_twitter/
# 生成英文宣传内容
Xiaohongshu/小红书(中文,字母数字文件夹名称):
mkdir -p input/xhs_paper/
# 生成中文宣传内容
指定会议要求:
将生成的网站部署到:
打印就绪的文件适用于:
在以下平台分享视频:
高效处理多篇论文:
# 在批处理目录中组织论文
for paper in paper1 paper2 paper3; do
python pipeline_all.py \
--input-dir input/$paper \
--output-dir output/$paper \
--model-choice 1 &
done
wait
应用机构或实验室品牌:
以不同语言生成内容:
此技能包含全面的参考文档:
references/installation.md:完整的安装和配置指南references/paper2web.md:包含所有功能的详细 Paper2Web 文档references/paper2video.md:包含人像设置的综合 Paper2Video 指南references/paper2poster.md:包含设计模板的完整 Paper2Poster 文档references/usage_examples.md:真实世界示例和工作流程模式外部资源:
Paper2All 系统包含内置的质量评估:
所有输出在生成完成前都经过自动质量检查。
每周安装
174
仓库
GitHub Stars
22.6K
首次出现
Jan 21, 2026
安全审计
安装于
opencode141
claude-code140
gemini-cli126
cursor119
codex116
antigravity111
This skill enables the transformation of academic papers into multiple promotional and presentation formats using the Paper2All autonomous pipeline. The system converts research papers (LaTeX or PDF) into three primary outputs:
The pipeline uses LLM-powered content extraction, design generation, and iterative refinement to create high-quality outputs suitable for conferences, journals, preprint repositories, and academic promotion.
Use this skill when:
Trigger phrases :
When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.
If your document does not already contain schematics or diagrams:
For new documents: Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text.
How to generate schematics:
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
The AI will automatically:
When to add schematics:
For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
Converts papers into layout-aware, interactive academic homepages that go beyond simple HTML conversion.
Key Features :
Best For : Post-publication promotion, preprint enhancement, lab websites, permanent research showcases
→ Seereferences/paper2web.md for detailed documentation
Generates professional presentation videos with slides, narration, cursor movements, and optional talking-head video.
Key Features :
Best For : Video abstracts, conference presentations, online talks, course materials, YouTube promotion
→ Seereferences/paper2video.md for detailed documentation
Creates print-ready academic posters with professional layouts and visual design.
Key Features :
Best For : Conference poster sessions, symposiums, academic exhibitions, virtual conferences
→ Seereferences/paper2poster.md for detailed documentation
Install Paper2All :
git clone https://github.com/YuhangChen1/Paper2All.git
cd Paper2All
conda create -n paper2all python=3.11
conda activate paper2all
pip install -r requirements.txt
Configure API Keys (create .env file):
OPENAI_API_KEY=your_openai_api_key_here
# Optional: GOOGLE_API_KEY and GOOGLE_CSE_ID for logo search
Install System Dependencies :
→ Seereferences/installation.md for complete installation guide
Generate All Components (website + poster + video):
python pipeline_all.py \
--input-dir "path/to/paper" \
--output-dir "path/to/output" \
--model-choice 1
Generate Website Only :
python pipeline_all.py \
--input-dir "path/to/paper" \
--output-dir "path/to/output" \
--model-choice 1 \
--generate-website
Generate Poster with Custom Size :
python pipeline_all.py \
--input-dir "path/to/paper" \
--output-dir "path/to/output" \
--model-choice 1 \
--generate-poster \
--poster-width-inches 60 \
--poster-height-inches 40
Generate Video (lightweight pipeline):
python pipeline_light.py \
--model_name_t gpt-4.1 \
--model_name_v gpt-4.1 \
--result_dir "path/to/output" \
--paper_latex_root "path/to/paper"
→ Seereferences/usage_examples.md for comprehensive workflow examples
Use this decision tree to determine which components to generate:
User needs promotional materials for paper?
│
├─ Need permanent online presence?
│ └─→ Generate Paper2Web (interactive website)
│
├─ Need physical conference materials?
│ ├─→ Poster session? → Generate Paper2Poster
│ └─→ Oral presentation? → Generate Paper2Video
│
├─ Need video content?
│ ├─→ Journal video abstract? → Generate Paper2Video (5-10 min)
│ ├─→ Conference talk? → Generate Paper2Video (15-20 min)
│ └─→ Social media? → Generate Paper2Video (1-3 min)
│
└─ Need complete package?
└─→ Generate all three components
1. LaTeX Source (Recommended):
paper_directory/
├── main.tex # Main paper file
├── sections/ # Optional: split sections
├── figures/ # All figure files
├── tables/ # Table files
└── bibliography.bib # References
2. PDF :
Single Paper :
input/
└── paper_name/
├── main.tex (or paper.pdf)
├── figures/
└── bibliography.bib
Multiple Papers (batch processing):
input/
├── paper1/
│ └── main.tex
├── paper2/
│ └── main.tex
└── paper3/
└── main.tex
--model-choice 1: GPT-4 (best balance of quality and cost)--model-choice 2: GPT-4.1 (latest features, higher cost)--model_name_t gpt-3.5-turbo: Faster, lower cost (acceptable quality)--generate-website: Enable website generation--generate-poster: Enable poster generation--generate-video: Enable video generation--enable-talking-head: Add talking-head to video (requires GPU)--poster-width-inches [width]: Custom poster width--poster-height-inches [height]: Custom poster height--video-duration [seconds]: Target video length--enable-logo-search: Automatic institution logo discoveryGenerated outputs are organized by paper and component:
output/
└── paper_name/
├── website/
│ ├── index.html
│ ├── styles.css
│ └── assets/
├── poster/
│ ├── poster_final.pdf
│ ├── poster_final.png
│ └── poster_source/
└── video/
├── final_video.mp4
├── slides/
├── audio/
└── subtitles/
For tight deadlines, generate in this order:
Before finalizing outputs:
LaTeX parsing errors :
pdflatex main.texPoor figure quality :
Video generation failures :
Poster layout issues :
API errors :
.env fileThe system auto-detects target platforms:
Twitter/X (English, numeric folder names):
mkdir -p input/001_twitter/
# Generates English promotional content
Xiaohongshu/小红书 (Chinese, alphanumeric folder names):
mkdir -p input/xhs_paper/
# Generates Chinese promotional content
Specify conference requirements:
Deploy generated websites to:
Print-ready files work with:
Share videos on:
Process multiple papers efficiently:
# Organize papers in batch directory
for paper in paper1 paper2 paper3; do
python pipeline_all.py \
--input-dir input/$paper \
--output-dir output/$paper \
--model-choice 1 &
done
wait
Apply institution or lab branding:
Generate content in different languages:
This skill includes comprehensive reference documentation:
references/installation.md : Complete installation and configuration guidereferences/paper2web.md : Detailed Paper2Web documentation with all featuresreferences/paper2video.md : Comprehensive Paper2Video guide including talking-head setupreferences/paper2poster.md : Complete Paper2Poster documentation with design templatesreferences/usage_examples.md : Real-world examples and workflow patternsExternal Resources :
The Paper2All system includes built-in quality assessment:
All outputs undergo automated quality checks before generation completes.
Weekly Installs
174
Repository
GitHub Stars
22.6K
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykWarn
Installed on
opencode141
claude-code140
gemini-cli126
cursor119
codex116
antigravity111
GitHub Actions 官方文档查询助手 - 精准解答 CI/CD 工作流问题
30,000 周安装
AI小说写作助手 - 专业小说创作全流程支持,涵盖构思、角色设计、世界观构建与章节续写
706 周安装
Oracle到PostgreSQL迁移测试项目脚手架 - 集成测试基础设施搭建指南
697 周安装
Oracle到PostgreSQL迁移集成测试规划指南 | 数据库迁移测试自动化
701 周安装
Oracle到PostgreSQL存储过程迁移工具:自动翻译PL/SQL为PL/pgSQL
699 周安装
Oracle到PostgreSQL迁移缺陷报告模板 | 数据库迁移问题记录指南
704 周安装
Oracle 到 PostgreSQL 数据库迁移计划自动生成工具 | .NET 解决方案分析
710 周安装