xhs-note-creator

Generate Xiaohongshu note content and render cover and card images from Markdown.

425|37|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/cnfjlhj/ai-collab-playbook --skill xhs-note-creator-cnfjlhj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xhs-note-creator
Source: https://github.com/cnfjlhj/ai-collab-playbook/tree/main/skills/full/xhs-note-creator
Command: npx skills add https://github.com/cnfjlhj/ai-collab-playbook --skill xhs-note-creator-cnfjlhj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markdown, PyYAML, playwright, xhs, python-dotenv, requests, marked, yaml, js-yaml, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

Reduces the manual work of writing Xiaohongshu (小红书) post copy, preparing card-formatted Markdown, rendering high-quality cover and multi-page image cards, and optionally publishing the post, enabling creators to produce platform-ready content quickly and consistently.

Core Features & Use Cases

  • Content authoring: Generates concise, platform-friendly titles and body copy with recommended tags and emoji for Xiaohongshu style.
  • Markdown-to-image rendering: Converts specially formatted Markdown into a cover image and a sequence of 3:4 card images with selectable themes and pagination strategies.
  • Optional publishing: Supports cookie-based local publishing via the xhs library or proxy API mode with validation and dry-run checks.
  • Use Case: Turn an article or notes into a ready-to-post Xiaohongshu thread: produce a cover, split content into multiple card images, and publish or export images for manual upload.

Quick Start

Create a Xiaohongshu note from the provided content, produce the card-ready Markdown, render cover and card images using the default theme, and prepare the files for optional publishing.

Frequently Asked Questions about xhs-note-creator

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

FAQPage Schema
How do I convert markdown to Xiaohongshu image cards automatically?

To convert markdown to Xiaohongshu image cards, this tool renders your markdown into a cover image and a sequence of 3:4 multi-page card images using Playwright. You simply provide the markdown content and assets to generate platform-ready themed images.

Can I publish markdown posts to Xiaohongshu directly using Python?

Yes, you can publish markdown posts to Xiaohongshu directly using Python via cookie-based local publishing with the xhs library. It also supports an API proxy mode with validation and dry-run checks for automated publishing.

Do I need Playwright installed to render Xiaohongshu note images?

Yes, you need Playwright installed to render Xiaohongshu note images, as it handles the markdown-to-image rendering process. Python and Node.js environments are supported through provided command-line scripts.

What is the best way to generate SEO-friendly tags for Xiaohongshu notes?

The best way to generate SEO-friendly tags for Xiaohongshu notes is using an automated content authoring tool that analyzes your markdown. It produces concise titles, body copy, recommended tags, and emojis formatted for the platform.

Are there pagination modes available when splitting content into Xiaohongshu cards?

Yes, there are selectable pagination modes available when splitting content into Xiaohongshu cards. The rendering process supports various strategies to divide your markdown into a sequence of 3:4 card images alongside a themed cover.