Xiaohongshu Publisher
Automated publisher that converts articles to Xiaohongshu format and posts them through a local API.
- CCM score
- 37 of 100
- skills.sh installs
- 151
- GitHub stars
- 73
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers converting long articles to 1000-character emoji-style posts with a 20-character title limit
- Includes
simple_publish.pyfor quick posts andpublisher.pyfor cover image and file-path input - Enforces limits of 1000 body characters including emoji and at most 9 images per post
- Designed for users who need to post to Xiaohongshu through a running xiaohongshu-mcp Docker service with saved login cookies
Install
$ npx -y skills add solar-luna/fully-automatic-article-generation-skill --skill xiaohongshu-publisher -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
小红书自动发布 Skill
自动将内容发布到小红书平台。
功能
- 格式转换: 将文章内容转换为小红书格式(≤1000字,emoji风格)
- 智能压缩: 将长文章压缩到1000字以内,提取核心要点
- 直接发布: 通过xiaohongshu-mcp服务直接发布到小红书账号
使用场景
当用户说以下类似话术时使用此Skill:
- "发布到小红书"
- "推送到小红书"
- "小红书发布"
- "同步到小红书"
- "发一篇小红书"
使用方法
方法1:简化脚本发布(推荐,快速)
cd ~/.claude/skills/xiaohongshu-publisher
python3 simple_publish.py "标题" "内容内容"
示例:
python3 simple_publish.py \
"Gemini 3 Pro炸场了" \
"🔥 Gemini 3 Pro炸场了!核心亮点:🏆推理能力第一..."
方法2:完整功能发布
cd ~/.claude/skills/xiaohongshu-publisher
python3 publisher.py \
--title "文章标题" \
--content "文章内容或文件路径" \
--cover "封面图路径"
方法3:直接REST API调用
curl -s -X POST http://localhost:18060/api/v1/publish \
-H "Content-Type: application/json" \
-d '{
"title": "标题",
"content": "内容",
"images": ["/app/images/cover.png"],
"tags": ["AI", "科技"]
}'
前置要求
-
xiaohongshu-mcp 服务运行中
docker ps | grep xiaohongshu-mcp -
已登录小红书账号
- Cookies 已配置到
~/xiaohongshu-mcp/docker/data/cookies.json
- Cookies 已配置到
限制
- 标题: 最多20字
- 正文: 最多1000字(含emoji)
- 图片: 最多9张
API端点
Details
- Repository
- github.com/solar-luna/fully-automatic-article-generation-skill
- Categories
- Social Media, Workflow Automation
- First seen
- Jun 3, 2026
Questions
What does the xiaohongshu-publisher skill do?
xiaohongshu-publisher converts an article into Xiaohongshu format, keeping the body at 1000 characters or fewer with emoji style, and publishes it directly through the xiaohongshu-mcp service. It is triggered when the user says phrases such as 发布到小红书 or 推送到小红书.
What do I need before xiaohongshu-publisher can publish?
xiaohongshu-publisher needs the xiaohongshu-mcp service running locally, which you can check with docker ps. It also needs a logged-in Xiaohongshu account, with cookies saved to ~/xiaohongshu-mcp/docker/data/cookies.json.
How do I install the xiaohongshu-publisher skill?
Run npx -y skills add solar-luna/fully-automatic-article-generation-skill --skill xiaohongshu-publisher -y in a project to install it. Once installed, xiaohongshu-publisher lets the agent post articles to Xiaohongshu within the limits of a 20-character title, 1000-character body and up to 9 images.
Where does xiaohongshu-publisher sit among Social Media skills?
xiaohongshu-publisher is listed in the Social Media category on Claude Marketplaces. Unlike the Twitter and short-form video skills around it, xiaohongshu-publisher targets the Xiaohongshu platform specifically, through its own local publish endpoint.
More from solar-luna/fully-automatic-article-generation-skill
All 2Similar to Xiaohongshu Publisher
More Social Mediawrite-xiaohongshuSkilladjfks/corner-skills4.9K installsResearch-first Xiaohongshu note writer that enforces 20-character titles and 1000-character bodies before publishing.
wechat-article-publisherSkilliamzifei/wechat-article-publisher-skill2.6K installsCommand-line publisher that sends Markdown or HTML articles to WeChat Official Account drafts through an API.
XiaohongshuMCP serveraki669381.4K starsBrowser-driven Xiaohongshu publishing, login, and creator analytics exposed through MCP tools for AI clients.
xiaohongshuSkillmajiayu000/spellbook180 installsAutomated Xiaohongshu (小红书) content workflow: research competitor posts, generate cover images, write copy, and publish via MCP.
baoyu-post-to-wechatSkilljimliu/baoyu-skills35.3K installsPublishes WeChat Official Account articles and image-text posts via API, Chrome CDP, or remote SSH relay.
wechat-article-makerSkillalpha-hecoding/awesome-skills129 installsFull-featured WeChat article workflow that generates, cleans, styles, and publishes posts via API or browser.