xiaohongshu-writer

Generate Xiaohongshu post titles, bodies, hashtags, and thumbnails.

164|16|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/EXboys/skilllite --skill xiaohongshu-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xiaohongshu-writer
Source: https://github.com/EXboys/skilllite/tree/main/.skills/xiaohongshu-writer
Command: npx skills add https://github.com/EXboys/skilllite --skill xiaohongshu-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, Pillow, and includes scripts (resource) components.

What problem does it solve?

本 Skill 解决在小红书内容创作过程中的重复性工作:从主题出发,自动生成笔记标题、正文、标签,并一并输出适配封面的缩略图。

Core Features & Use Cases

  • 自动内容生成:基于用户输入的主题自动生成完整笔记的标题、正文与标签。
  • 封面缩略图渲染:优先使用 Playwright 生成 HTML 封面截图,失败时回退 Pillow 绘制高质量封面。
  • 输出结构:返回包含 title、body、hashtags、thumbnail 的 JSON 结构,支持 image_path 或 image_base64。

Quick Start

传入 Agent 生成的 content 即可让系统自动输出笔记标题、正文、标签与封面的缩略图。

Frequently Asked Questions about xiaohongshu-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Xiaohongshu posts with title, body, hashtags, and cover automatically?

Yes, you can generate Xiaohongshu post covers using Playwright for HTML-based rendering, which produces high-quality screenshots. If Playwright fails, the system automatically falls back to Pillow to draw and render the cover image.

What is included in the output structure when creating Xiaohongshu content?

The output structure for Xiaohongshu content includes the title, body text, hashtags, and thumbnail data. The thumbnail is provided as either an image_path or image_base64 string, making it directly ready for API integration or publishing pipelines.

Do I need Playwright installed to render Xiaohongshu thumbnails?

You do not strictly need Playwright installed to render Xiaohongshu thumbnails, as the system supports a Pillow fallback. However, Playwright is preferred for HTML-based rendering, and Pillow is used only when Playwright fails or is unavailable.

How to validate input topics for automated Xiaohongshu content generation?

Input validation for Xiaohongshu content generation is enforced directly by the Skill before processing. You simply pass your topic text, and the system automatically checks the input validity before generating the post title, body, hashtags, and thumbnail.

Can I use Pillow to create Xiaohongshu cover images if Playwright fails?

Yes, you can use Pillow to create Xiaohongshu cover images if Playwright fails. Pillow serves as the fallback rendering mechanism to draw the thumbnail, ensuring cover generation succeeds even without a browser environment.