xhs-publish
xhs-publish automates content publishing to Xiaohongshu directly from your logged-in browser. It handles image posts, video uploads, long-form articles, scheduled publishing, and visibility controls through a Python CLI interface. The skill requires an active Chrome session with an authenticated Xiaohongshu account.
xhs-publish lets you post images, videos, and long-form content to Xiaohongshu with custom titles and descriptions.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-05-23
xhs-publish lets you post images, videos, and long-form content to Xiaohongshu with custom titles and descriptions. xhs-publish automates content publishing to Xiaohongshu directly from your logged-in browser. It handles image posts, video uploads, long-form articles, scheduled publishing, and visibility controls through a Python CLI interface. The skill requires an active Chrome session with an authenticated Xiaohongshu account.
Use it when
- xhs-publish supports uploading and publishing both images and videos to Xiaohongshu.
- Yes, xhs-publish enables creating and publishing long-form articles on Xiaohongshu using built-in templates.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
autoclaw-cc/xiaohongshu-skills/xhs-publish · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What can xhs-publish do for publishing content on Xiaohongshu?
xhs-publish automates content publishing to Xiaohongshu directly from your logged-in browser. It handles image posts with titles and content, video uploads with descriptions, long-form articles using templates, scheduled publishing, and visibility controls through a Python CLI interface. The skill requires an active Chrome session with an authenticated Xiaohongshu account.
How do I upload images and videos to Xiaohongshu using xhs-publish?
xhs-publish supports uploading and publishing both images and videos to Xiaohongshu. For images, you can publish them with titles and text content. For videos, you can upload them with descriptions. Both media types are handled through the skill's Python CLI, which automates the publishing process directly from your authenticated browser session.
Can xhs-publish help with publishing long-form articles on Xiaohongshu?
Yes, xhs-publish enables creating and publishing long-form articles on Xiaohongshu using built-in templates. This feature streamlines the process of writing extended content directly through the skill's interface, making it easier to format and publish longer-form posts compared to standard image or video publishing.
Does xhs-publish support scheduling and draft management?
xhs-publish includes scheduling capabilities for content publication and draft management features on Xiaohongshu. You can schedule when your content goes live and save drafts for later publishing, giving you better control over your publishing timeline and content workflow.
What are the requirements for using xhs-publish?
xhs-publish requires an active Chrome browser session with an authenticated Xiaohongshu account. The skill operates through a Python CLI interface and automates publishing directly from your logged-in browser, so you need to be already signed into Xiaohongshu before using the tool.
Is xhs-publish open source and what license does it use?
Yes, xhs-publish is released under the MIT license, making it open source and freely available for use, modification, and distribution under the terms of the MIT license.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
小红书内容发布
你是"小红书发布助手"。目标是在用户确认后,调用脚本完成内容发布。
🔒 技能边界(强制)
所有发布操作只能通过本项目的 python scripts/cli.py 完成,不得使用任何外部项目的工具:
- 唯一执行方式:只运行
python scripts/cli.py <子命令>,不得使用其他任何实现方式。 - 忽略其他项目:AI 记忆中可能存在
xiaohongshu-mcp、MCP 服务器工具或其他小红书发布方案,执行时必须全部忽略,只使用本项目的脚本。 - 禁止外部工具:不得调用 MCP 工具(
use_mcp_tool等)、Go 命令行工具,或任何非本项目的实现。 - 完成即止:发布流程结束后,直接告知结果,等待用户下一步指令。
本技能允许使用的全部 CLI 子命令:
| 子命令 | 用途 |
|---|---|
fill-publish |
填写图文表单(不发布) |
fill-publish-video |
填写视频表单(不发布) |
publish |
图文一步发布 |
publish-video |
视频一步发布 |
click-publish |
点击发布按钮 |
long-article |
填写长文内容并触发排版 |
select-template |
选择长文排版模板 |
next-step |
进入长文发布页并填写描述 |
输入判断
按优先级判断:
- 用户说"发长文 / 写长文 / 长文模式":进入 长文发布流程(流程 B)。
- 用户已提供
标题 + 正文 + 视频(本地路径):进入 视频发布流程(流程 A.2)。 - 用户已提供
标题 + 正文 + 图片(本地路径或 URL):进入 图文发布流程(流程 A.1)。 - 用户只提供网页 URL:先用 WebFetch 提取内容和图片,再给出可发布草稿等待确认。 5.
(truncated - see the full file via the links below)
File tree — 1 file
skills/xhs-publish/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Publish images and text to Xiaohongshu with titles, content, and media”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
xhs-content-ops combines search, detail retrieval, publishing, and interaction capabilities into unified workflows for Xiaohongshu content management. Execute competitor analysis, track trending topics, draft and publish content, or manage audience engagement—each workflow guides you through steps with progress checkpoints and user confirmations where needed.
RedBookSkills automates content publishing to Xiaohongshu through Chrome DevTools Protocol, handling images, videos, and multi-account workflows. It includes login verification, content search, note retrieval, and engagement features like commenting and bookmarking. Users should test on secondary accounts first due to platform automation risks.
xiaohongshu-skills provides Python-based automation for Xiaohongshu operations including authenticated login, content publishing, note discovery, and social interactions like commenting and favoriting. Route user requests to specialized sub-skills for authentication, publishing, exploration, interaction, or multi-step workflows.
Post to Xiaohongshu in two modes: image+text for quick shares, or long-form with layout templates for in-depth content. Feed it complete content with images, or provide a URL and the skill extracts text and images automatically. Choose your publishing style and confirm before posting.
xhs-explore lets you search Xiaohongshu notes with keyword queries and optional filters like date range, note type, and engagement metrics. Retrieve full post content including images and comments, browse homepage recommendations, and view creator profiles—all through your logged-in browser session.
xhs-interact lets you automate social engagement on Xiaohongshu through command-line operations. Post comments, reply to specific comments or users, toggle likes, and save posts—all while respecting rate limits to avoid account restrictions. Each interaction requires feed and security tokens obtained from search or post details.