paper2xhs
paper2xhs transforms academic PDFs into Xiaohongshu multi-image posts where you drive the creative work. You read the paper, write the caption and title, pick key figures, and the skill handles PDF parsing, cover generation (via API or local fallback), and optional publishing to Xiaohongshu.
paper2xhs converts academic papers into Xiaohongshu posts with AI-generated covers and extracted figures.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-16
paper2xhs converts academic papers into Xiaohongshu posts with AI-generated covers and extracted figures. paper2xhs transforms academic PDFs into Xiaohongshu multi-image posts where you drive the creative work. You read the paper, write the caption and title, pick key figures, and the skill handles PDF parsing, cover generation (via API or local fallback), and optional publishing to Xiaohongshu.
Use it when
- paper2xhs automates the technical heavy lifting—PDF parsing, figure extraction.
- paper2xhs extracts figures and data visualizations from your PDF and repurposes them as cover art and post images.
Verify before relying
Read SKILL.md below before installing (9 files). Open directory: indexed for reading, not audited.
Install
QuZhan51496/paper2anything/paper2xhs · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I convert an academic paper to a Xiaohongshu post?
paper2xhs reads your PDF, extracts figures and text, then guides you through writing a caption and title. You select key visuals, and the skill generates a cover image (via API or local fallback) and formats everything into a Xiaohongshu multi-image post ready to publish or edit further.
Can paper2xhs turn PDF into little red book content automatically?
paper2xhs automates the technical heavy lifting—PDF parsing, figure extraction, and cover generation—but keeps you in control of the creative decisions. You write the caption and title, choose which figures to include, and decide whether to publish. This human-in-the-loop approach ensures accuracy and engagement.
What does paper2xhs do with research figures and data?
paper2xhs extracts figures and data visualizations from your PDF and repurposes them as cover art and post images. You can select which visuals best tell your story, and the skill arranges them into Xiaohongshu's multi-image format for maximum visual impact on the platform.
Does paper2xhs support automated paper to XHS conversion?
paper2xhs streamlines the workflow from PDF to multi-image post through automation of parsing, extraction, and formatting. Cover generation uses an API when available or falls back to local methods. Your editorial decisions—caption, title, and figure selection—remain central to the process.
How does paper2xhs generate cover images for posts?
paper2xhs generates cover images via API integration when available, with a local fallback option if the API is unavailable. You can also extract and use existing figures from the paper. This flexibility ensures your Xiaohongshu post always has a compelling visual entry point.
Can I publish directly to Xiaohongshu from paper2xhs?
paper2xhs formats your multi-image post and can optionally publish directly to Xiaohongshu. You maintain full control over the final content before publishing, allowing you to review captions, titles, and image order to ensure everything meets your standards.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
paper2xhs — 论文转小红书(你主导的协调式)
把一篇论文 PDF 转成小红书帖子。你是主笔:这份文件是配方,不是全自动脚本——
没有 main.py。机械步骤(解析 / 封面 / 发布)调用 scripts/ 下的小工具;论文理解、
选题角度、文案撰写由你亲自完成(用 Read 看材料、用 Write 落产物),并在关键点用
AskUserQuestion 与用户确认。
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:封面+配图多图帖,可选)
→ 小红书帖子
运行方式
- 一步步来:机械步骤用
Bash调脚本,创作步骤你自己用Read/Write做。不要试图一条命令跑完。 - 每个 Bash 块开头就地算
WORKDIR——各 Bash 调用是独立 shell、不共享变量,所以别指望export跨步存活: ```bash WORKDIR="$(dirname "$pdf_path")/.paper2anything/xhs/$(basename
(truncated - see the full file via the links below)
File tree — 9 files
paper2xhs/SKILL.md
paper2xhs/references/publish-guide.md
paper2xhs/scripts/_env.py
paper2xhs/scripts/cover.py
paper2xhs/scripts/parse_pdf.py
paper2xhs/scripts/post_images.py
paper2xhs/scripts/publish.py
paper2xhs/scripts/utils.py
paper2xhs/scripts/xhs_login.py
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Convert academic PDF papers into formatted Xiaohongshu multi-image posts with AI-generated or extracted cover images”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
paper2wechat transforms research PDFs into polished WeChat public account articles through human-led coordination. You handle the intellectual work—understanding the paper, structuring the narrative, and writing the deep-read piece—while delegating mechanical tasks like PDF parsing, cover generation, and publishing to helper scripts. The result is a formatted long-form article with embedded figures and optional direct upload to your WeChat draft box.
paper2slides transforms research papers into polished presentation decks by orchestrating PDF parsing, outline generation, and slide rendering. The skill guides you through editorial decisions—length, visual quality checks, and design preferences—while handling the technical conversion steps automatically.
Paper2html transforms academic papers into standalone project websites you can deploy immediately. You lead the design process—scripts handle PDF parsing and fact extraction, while you read the material, choose a design language, and hand-author the HTML. The skill validates your work against the extracted content to catch missing figures and broken links.
Paper2Poster transforms academic papers into conference posters through a conductor-led workflow where you control figure placement and layout. Parse the PDF, decide which sections benefit from original figures versus text explanations, hand-author the poster HTML, then refine through visual assessment and content validation. The skill treats text-only sections as legitimate outcomes when figures don't add value.
Post to Xiaohongshu in two modes: image+text for quick shares, or long-form with layout templates for in-depth content. Feed it complete content with images, or provide a URL and the skill extracts text and images automatically. Choose your publishing style and confirm before posting.
Paper Analyzer converts research papers into polished, long-form HTML articles through a structured six-round workflow. It integrates code repository discovery, mathematical formula rendering, and Mermaid diagrams while offering three distinct writing styles—storytelling, academic, and concise—each tailored to different audience needs and comprehension levels.
More skills Paper Deck (unlicensed) · academic-paper-writer-pro (MIT) · Openclaw Xhs (NOASSERTION) · RedBookSkills (MIT)