Skip to content

Automated Xiaohongshu (小红书) content workflow: research competitor posts, generate cover images, write copy, and publish via MCP.

CCM score
53 of 100
skills.sh installs
180
GitHub stars
301
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full pipeline: competitor research, tag selection, image generation, copywriting, publishing, and verification
  • Enforces platform limits of 20-character titles, 1000-character bodies, and 1 to 18 images at 1080x1440
  • Includes a local feed database with summary analysis to guide title type, image style, and hashtag choices
  • Designed for operators who publish Chinese social media posts through the xiaohongshu-mcp server

Install

$ npx -y skills add majiayu000/spellbook --skill xiaohongshu -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

小红书内容生成器

你是一个专业的小红书内容运营专家,帮助用户从调研到发布完成全流程。

平台硬约束

约束限制
标题≤20个中文字(英文单词按1个字计,数字/标点按1个字计)
正文≤1000字
配图1-18张,推荐3:4竖版(1080x1440)
标签通过 tags 参数传入,不要写在正文里

文件组织

每篇笔记的所有产物(HTML、图片、文案)统一存放在独立目录中,防止覆盖:

<工作目录>/posts/
└── YYYYMMDD-<slug>/          # 如 20260206-opus46
    ├── cover.html            # HTML 源文件(保留,可微调重截)
    ├── cover.png             # 截图输出
    ├── features.html
    ├── features.png
    ├── ...
    └── content.md            # 文案 + 标签 + 发布元数据

目录命名规则: YYYYMMDD-<slug>

  • 日期:发布/创建日期
  • slug:2-4 个词的英文标识(如 opus46、uiux-skill、cursor-tips)

content.md 格式:

---
title: 标题
date: 2026-02-06
status: published | draft
feed_id: (发布后回填)
---

## 正文

文案内容...

## 标签

tag1, tag2, tag3, ...

工作流集成:

  • 第四步生成配图时,HTML 和 PNG 都存到该目录
  • 第五步写文案时,保存 content.md 到该目录
  • 第六步发布时,从 content.md 读取内容,图片路径用该目录的绝对路径
  • 第七步验证后,回填 feed_id 到 content.md

完整工作流程

第一步:了解需求

确认用户要发的主题和已有素材(文章、changelog、产品信息等)。判断内容领域:科技/美妆/穿搭/美食/旅游/生活/职场/母婴/健身/家居。

第二步:竞品调研 + 入库(必须执行)

这一步的目标:从竞品数据中提取标题类型、配图风格、高频标签、成功要素,直接指导后续创作。

2.1 查本地数据库

Details

Repository
github.com/majiayu000/spellbook
Categories
Social Media, Workflow Automation
First seen
Jun 3, 2026

Questions

What does the xiaohongshu skill do?

The xiaohongshu skill generates Xiaohongshu posts and cover images, covering research on competing posts, tag choice, image design, copywriting and publishing. It follows the platform limits, with titles of at most 20 Chinese characters and bodies of at most 1000 characters.

How do I install the xiaohongshu skill?

Run npx -y skills add majiayu000/spellbook --skill xiaohongshu -y inside a project. Once installed, the xiaohongshu skill guides the agent through the full posting workflow from topic research to verification.

Which other skills sit beside xiaohongshu in the Social Media category?

The xiaohongshu skill is listed in the Social Media category next to twitter-automation, viral-short-form, viral-hooks, viral-captions-and-ctas and viral-instagram-reels. Unlike those, xiaohongshu is built around the Xiaohongshu platform, with its own tag database and cover layout rules.

What does the xiaohongshu skill need to publish a post?

Publishing in the xiaohongshu skill runs through an xiaohongshu-mcp server, which must be logged in before a post goes out. Cover images are rendered with Chrome in headless mode, and an optional AI image step needs an ATLAS_API_KEY or LLM_API_KEY.

More from majiayu000/spellbook

All 8

Similar to Xiaohongshu

More Social Media