xiaohongshu-publisher

Convert WeChat HTML content into Xiaohongshu posts and publish via MCP.

66|14|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/solar-luna/Fully-automatic-article-generation-skill --skill xiaohongshu-publisher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xiaohongshu-publisher
Source: https://github.com/solar-luna/Fully-automatic-article-generation-skill/tree/main/skills/xiaohongshu-publisher
Command: npx skills add https://github.com/solar-luna/Fully-automatic-article-generation-skill --skill xiaohongshu-publisher

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

自动将微信公众号内容转换为小红书格式并直接发布,解决跨平台内容发布的重复性工作。

Core Features & Use Cases

  • 格式转换: 将微信HTML内容转换为小红书可发布的文本格式(含 emoji 风格)。
  • 智能摘要/要点提取: 自动提取核心要点并组成简洁的副标题和要点。
  • 直接发布: 通过小红书 MCP 服务一键发布,支持自定义封面图。
  • 应用场景: 当需要将一篇长文快速转成小红书贴文并发布到账户时使用。

Quick Start

  • cd ~/.claude/skills/xiaohongshu-publisher
  • python3 publisher.py --mode wechat --title "示例标题" --content "article.html" --cover "cover.jpg"

Frequently Asked Questions about xiaohongshu-publisher

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

FAQPage Schema
How do I convert WeChat HTML content into Xiaohongshu posts?

To convert WeChat HTML content into Xiaohongshu posts, this Skill parses the article, formats it with emoji styles, extracts key points for subtitles, and handles cover images. It directly publishes the formatted result via the Xiaohongshu MCP service.

How do I automatically publish content to Xiaohongshu with a custom cover image?

You can automatically publish content to Xiaohongshu with a custom cover image by running the publisher script with the --cover parameter. The Pillow library processes the cover image before the MCP service at localhost:18060 handles the final posting.

Does the Xiaohongshu publisher require a local MCP service to run?

Yes, the Xiaohongshu publisher requires a local MCP service running at http://localhost:18060 to execute the direct publishing action. The script relies on this service to authenticate and post the formatted content to your account.

Can I use Python requests and Pillow to automate cross-platform content publishing?

Yes, this Skill uses Python requests for HTTP operations and Pillow for image operations to automate cross-platform content publishing. It bridges WeChat articles and Xiaohongshu by handling text formatting and cover image processing natively in Python.

What is the best way to extract core points from a WeChat article for a short post?

The best way to extract core points from a WeChat article for a short post is using the Skill's built-in summary extraction feature. It automatically identifies key information and converts it into concise subtitles and bullet points suitable for Xiaohongshu.

Why does my Xiaohongshu MCP publishing fail when processing WeChat images?

Xiaohongshu MCP publishing may fail when processing WeChat images if the Pillow dependency is not installed or the local MCP service is inactive. Ensure both Pillow for image handling and the service at localhost:18060 are correctly configured.