Paper2xhs
把学术论文 PDF 转成小红书多图帖(标题 + 正文 + 标签 + 封面 + 论文主图/主实验结果配图)。你主导设计的协调式:机械活(MinerU 解析 PDF、生成封面与配图、半自动发布)交给 scripts/ 下的小工具,论文理解、选题角度、文案撰写由你亲自完成并在关键点与用户确认。当用户说“论文转小红书”、“paper2xhs”、“把这篇论文发小红书”、“论文转社交媒体”、“PDF 转小红书帖子”时触发。
Install
npx skills add QuZhan51496/paper2anything --skill paper2xhsgit clone --depth 1 https://github.com/QuZhan51496/paper2anything.git /tmp/paper2anything
mkdir -p ~/.claude/skills
cp -r /tmp/paper2anything/paper2xhs ~/.claude/skills/paper2xhsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# paper2xhs — 论文转小红书(你主导的协调式)
把一篇论文 PDF 转成小红书帖子。**你是主笔**:这份文件是配方,不是全自动脚本——
没有 `main.py`。机械步骤(解析 / 封面 / 发布)调用 `scripts/` 下的小工具;**论文理解、
选题角度、文案撰写由你亲自完成**(用 Read 看材料、用 Write 落产物),并在关键点用
`AskUserQuestion` 与用户确认。
```text
PDF
→ 解析 (parse_pdf.py:MinerU → parsed/ + figures/)
→ 你读懂论文 (读 parsed/ + 看 figures/) → understanding/paper_understanding.json [确认选题角度]
→ 你写小红书文案 (标题/正文/标签/封面文字) → xhs_post.json + xhs_post.md [确认文案]
→ 封面+配图 (cover.py 封面:默认 API 生图 gpt-image-2、无 key 回退本地合成;
post_images.py 配图:把你选的论文主图/主实验图按序复制成图集,原图直出)
→ 半自动发布 (publish.py:封面+配图多图帖,可选)
→ 小红书帖子
```
## 运行方式
1. **一步步来**:机械步骤用 `Bash` 调脚本,创作步骤你自己用 `Read` / `Write` 做。不要试图一条命令跑完。
2. **每个 Bash 块开头就地算 `WORKDIR`**——各 Bash 调用是独立 shell、不共享变量,所以别指望 `export` 跨步存活:
```bash
WORKDIR="$(dirname "$pdf_path")/.paper2anything/xhs/$(basename "${pdf_path%.*}")"
```
其中 `$pdf_path` 是用户给的论文 PDF 路径(每个块都重新设一次)。脚本在 `${SKILL_DIR}/scripts`——`SKILL_DIR`
是**本 skill 的目录**(见本 skill 顶部注入的 "Base directory for this skill: …");各 Bash 块独立 shell,
用到它的块开头按需 `export SKILL_DIR=<那个目录>` 一次(和 `WORKDIR` 一样每块现设)。
3. **在两个决策点用 `AskUserQuestion` 暂停**:① 读懂论文后确认“选题角度”;② 文案成稿后确认。用户想改,可直接改产物 JSON/MD 或告诉你改。
4. **小红书是“准确、不夸大的科普”**:忠实反映论文贡献,口语化、有钩子,但**绝不编造数据或夸大结论**。
---
## Step 0:环境与凭据
> **统一环境**:所有 `python` 命令都在 paper2anything 的统一 conda 环境里(顶层 `environment.yml` 创建),命令以 `conda run -n paper2anything --no-capture-output` 为前缀。Details
- Skill name
paper2xhs- Repository
- QuZhan51496/paper2anything
- Path
paper2xhs/SKILL.md- License
- Apache-2.0
- Repo updated
- 16 July 2026
FAQ
What does the Paper2xhs skill do?
把学术论文 PDF 转成小红书多图帖(标题 + 正文 + 标签 + 封面 + 论文主图/主实验结果配图)。你主导设计的协调式:机械活(MinerU 解析 PDF、生成封面与配图、半自动发布)交给 scripts/ 下的小工具,论文理解、选题角度、文案撰写由你亲自完成并在关键点与用户确认。当用户说“论文转小红书”、“paper2xhs”、“把这篇论文发小红书”、“论文转社交媒体”、“PDF 转小红书帖子”时触发。
How do I install the Paper2xhs skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add QuZhan51496/paper2anything --skill paper2xhs. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Paper2xhs popular?
It lives in QuZhan51496/paper2anything, which has 495 GitHub stars and 12 forks.
Related skills
Paper2html
495QuZhan51496/paper2anything
Convert an academic paper PDF into a publish-ready, self-contained single-page **project homepage** (a self-contained index.html) — the kind of paper landing page researchers host on GitHub Pages. Triggers when the user says "turn a paper into a project page/webpage", "paper2html", "generate a paper landing page / project page", "turn this PDF into an HTML page", "paper to webpage", or "make a paper homepage". A you-led, coordinated skill: the mechanical steps (MinerU parsing + deterministic fact extraction at gate 1 + post-authoring QA at gate 2) call scripts, while **you hand-author index.ht
Paper2poster
495QuZhan51496/paper2anything
Convert academic papers (PDF) into conference posters (HTML/PNG). You are the conductor: you decide what each section needs — an original paper figure or text — write the outline, hand-author the poster HTML, and iterate on the render using your own visual read and a blind-reader content quiz. Use when the user wants a poster from a paper PDF.
Paper2slides
495QuZhan51496/paper2anything
Turn an academic paper PDF into a presentation deck (.pptx) end-to-end. Use this skill whenever the user wants to "make slides from a paper", "generate a deck from this PDF", "make a PPT from this paper", "generate slides from a PDF document", "make a deck from a research paper", or supplies a research paper PDF and asks for a .pptx out. Trigger even when the user only says "deck this paper" or "summarize as slides". This is the dedicated, self-contained skill for academic-paper-to-deck flows.
X Collect
356kangarooking/x-skills
Collect and research materials for X (Twitter) content creation using multi-round web search strategy. Use when user wants to gather trending topics, research subjects for X posts, or mentions "collect materials", "research topic", "find content for X", "x-collect". Performs 4-round deep research mimicking human research workflow.
Paper2wechat
495QuZhan51496/paper2anything
把学术论文 PDF 转成微信公众号深度解读推文(长文 + 配图 + 封面)。你主导设计的协调式:机械活(MinerU 解析 PDF、生成封面、md2wechat 发布草稿箱)交给 scripts/ 下的小工具,论文理解、文章结构、长文撰写由你亲自完成并在关键点与用户确认。当用户说“论文转公众号”、“paper2wechat”、“把论文写成公众号文章”、“论文转微信推文”、“PDF 转公众号”时触发。
Research Paper Writer
473ailabs-393/ai-labs-claude-skills
Creates formal academic research papers following IEEE/ACM formatting standards with proper structure, citations, and scholarly writing style. Use when the user asks to write a research paper, academic paper, or conference paper on any topic.
Browse the most popular Claude skills, all research & science skills, or write your own with the skills generator.