smithery.ai

xiaohongshu-publisher

自动发布?

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash, Read, Write, Skill
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,092 B
  • docs SUMMARY.md 259 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

小红书自动发布 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", "科技"]
  }'

前置要求

  1. xiaohongshu-mcp 服务运行中

``bash docker ps | grep xiaohongshu-mcp ``

  1. 已登录小红书账号

- Cookies 已配置到 ~/xiaohongshu-mcp/docker/data/cookies.json

限制

  • 标题: 最多20字
  • 正文: 最多1000字(含emoji)
  • 图片: 最多9张

API端点

  • 发布接口: http://localhost:18060/api/v1/publish
  • 方法: POST
  • Content-Type: application/json