skillfed

post-to-xhs

Post-to-xhs automates publishing to Xiaohongshu by handling both image and video notes. The skill collects your title, content, and media, validates against platform constraints, shows a preview for confirmation, then publishes directly.

Post-to-xhs publishes image or video notes to Xiaohongshu with your title and content after validation.

AI-generated summary based on this skill's SKILL.md

239 43 MIT updated by autoclaw-cc

Install

autoclaw-cc/xiaohongshu-mcp-skills/post-to-xhs

git clone https://github.com/autoclaw-cc/xiaohongshu-mcp-skills
cp -r xiaohongshu-mcp-skills/skills/post-to-xhs ~/.claude/skills/post-to-xhs
npx skillfed install autoclaw-cc/xiaohongshu-mcp-skills/post-to-xhs

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I publish on Xiaohongshu using post-to-xhs?

Post-to-xhs automates publishing to Xiaohongshu by collecting your title, content, and media files. The skill validates your note against platform constraints, displays a preview for your confirmation, and then publishes directly to your Xiaohongshu account. Both image and video notes are supported.

Can post-to-xhs help me post to Xiaohongshu with images and videos?

Yes, post-to-xhs handles both image and video notes for Xiaohongshu. You provide your title and content along with your media files, and the skill manages the entire publishing workflow—from validation through preview confirmation to final posting.

What happens before post-to-xhs publishes my note?

Post-to-xhs validates your content against Xiaohongshu's platform constraints before publishing. The skill shows you a preview of your note so you can confirm everything looks correct. Only after your approval does post-to-xhs publish the note to your account.

Does post-to-xhs support scheduling or visibility settings?

Post-to-xhs focuses on immediate publishing of validated image and video notes to Xiaohongshu. While scheduling and visibility options are part of the platform's capabilities, the skill's primary strength is automating the core publishing workflow with title, content, and media handling.

What content types can post-to-xhs publish to Xiaohongshu?

Post-to-xhs publishes both image notes and video notes to Xiaohongshu. You supply your title, content text, and media files, and the skill handles validation and publishing. The skill is designed to streamline the most common Xiaohongshu posting scenarios.

SKILL.md

rendered from the published skill — quoted content, verbatim

输入判断

根据用户提供的素材判断发布类型: - 提供了视频文件 → 视频笔记 - 提供了图片 → 图文笔记 - 仅提供文本 → 提示用户至少提供图片或视频

约束

  • 标题最多 20 个中文字或英文单词(小红书平台限制,超长会被截断)
  • 图文笔记至少 1 张图片(小红书不允许纯文本笔记)
  • 视频笔记仅支持本地视频文件绝对路径(MCP 服务需要读取本地文件)
  • 图片和视频不能混用,只能二选一(小红书平台限制)
  • 正文中不要包含 # 标签(标签通过 tags 参数单独传递,MCP 服务会自动处理格式)
  • 发布前展示完整内容让用户确认(发布后无法撤回)

执行流程

1. 收集发布信息

确保以下内容齐全: - title(必填)— 标题 - content(必填)— 正文 - 图片列表或视频路径(必填其一) - tags(可选)— 话题标签 - schedule_at(可选)— 定时发布,ISO8601 格式 - is_original(可选,仅图文)— 声明原创 - visibility(可选)— 公开可见 | 仅自己可见 | 仅互关好友可见

信息不完整时,向用户询问缺少的部分。

2. 内容校验

  • 检查标题长度(≤20 中文字)
  • 检查图片/视频文件路径是否为绝对路径
  • 如用户提供 URL 内容,先用 WebFetch 提取文本和图片

3. 确认发布

向用户展示完整的发布内容预览: - 标题、正文、标签 - 图片列表或视频路径 - 定时时间、可见范围(如有)

等待用户确认后才执行发布。

4. 发布

图文笔记 — 调用 publish_content: - title(string,必填) - content(string,必填) - images(string[],必填)— 图片路径或 URL - tags(string[],可选) - schedule_at(string,可选) - is_original(bool,可选) - visibility(string,可选)

视频笔记 — 调用 publish_with_video: - title(string,必填) -

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
skills/post-to-xhs/SKILL.md

Related skills

Tags

social-media-posting content-publishing xiaohongshu-automation image-video-sharing scheduled-posting multi-format-support content-validation chinese-platform