xiaohongshu-publisher▌
solar-luna/fully-automatic-article-generation-skill · updated Apr 8, 2026
自动将内容发布到小红书平台。
小红书自动发布 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端点
- 发布接口:
http://localhost:18060/api/v1/publish - 方法: POST
- Content-Type: application/json
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.8★★★★★26 reviews- ★★★★★Dhruvi Jain· Dec 28, 2024
We added xiaohongshu-publisher from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Chen Ndlovu· Dec 12, 2024
xiaohongshu-publisher is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Oshnikdeep· Nov 19, 2024
Useful defaults in xiaohongshu-publisher — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Rahul Santra· Nov 11, 2024
xiaohongshu-publisher fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Alexander Liu· Nov 3, 2024
Keeps context tight: xiaohongshu-publisher is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Alexander Garcia· Oct 22, 2024
I recommend xiaohongshu-publisher for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Ganesh Mohane· Oct 10, 2024
Registry listing for xiaohongshu-publisher matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Pratham Ware· Oct 2, 2024
xiaohongshu-publisher has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Chen Thompson· Sep 25, 2024
xiaohongshu-publisher has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Sakshi Patil· Sep 17, 2024
Keeps context tight: xiaohongshu-publisher is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 26