xhs-operator
小红书运营执行技能。用于调用已接入的 xhs MCP 工具完成登录检查、内容生成衔接、图文/视频发布、发布后复盘与失败重试。适用于“发笔记”“发视频”“检查登录状态”“查询笔记/搜索内容”等任务。
Best use case
xhs-operator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
小红书运营执行技能。用于调用已接入的 xhs MCP 工具完成登录检查、内容生成衔接、图文/视频发布、发布后复盘与失败重试。适用于“发笔记”“发视频”“检查登录状态”“查询笔记/搜索内容”等任务。
Teams using xhs-operator should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/xhs-operator/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How xhs-operator Compares
| Feature / Agent | xhs-operator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
小红书运营执行技能。用于调用已接入的 xhs MCP 工具完成登录检查、内容生成衔接、图文/视频发布、发布后复盘与失败重试。适用于“发笔记”“发视频”“检查登录状态”“查询笔记/搜索内容”等任务。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# xhs-operator 用于在 OpenClaw 中稳定执行小红书运营任务。 前提:`mcp.servers.xhs` 已配置且可用。 ## 工作原则 - 先读后写:优先做登录状态与参数校验,再进行发布。 - 可回溯:每次执行都输出“输入摘要、动作、结果、下一步建议”。 - 控风险:默认单次只执行 1 条发布动作,除非用户明确要求批量。 ## 标准执行流 1. 明确任务目标(图文、视频、查询、互动)。 2. 检查登录状态;未登录先提示并引导登录。 3. 校验输入参数: - 标题长度是否合理 - 图像/视频路径是否存在且格式可用 - 标签是否为数组且数量不过多 4. 执行 MCP 工具调用。 5. 归档结果: - success / failed - note_id(若有) - 失败原因与重试建议 ## 发布策略(默认) - 未明确要求时,不自动连续发布多条。 - 未明确要求时,不自动执行高风险互动(批量评论/批量互动)。 - 发布前若内容为空、媒体缺失或参数不完整,先返回“待补充项”。 ## 建议工具映射 根据服务实际暴露的工具名执行。常见映射如下(以你当前 MCP 为准): - 登录检查:`xiaohongshu_check_login_session` - 启动登录:`xiaohongshu_start_login_session` - 发布图文:`xiaohongshu_publish_content` - 发布视频:`xiaohongshu_publish_video` - 搜索内容:`xiaohongshu_search_feeds` - 获取推荐:`xiaohongshu_get_feeds` - 获取详情:`xiaohongshu_get_feed_detail` - 用户主页:`xiaohongshu_get_user_profile` 如果工具名不一致,先 `list tools` 或根据错误信息选择同义工具,不要盲调。 ## 失败处理 - 网络/超时失败:重试 1 次,仍失败则返回排查步骤。 - 登录失效:停止发布,先引导重新登录。 - 参数错误:直接指出哪一项不合法,并给出可复制修正示例。 ## 对用户的回包格式 每次动作后,使用简洁结构输出: - 任务:`图文发布` / `视频发布` / `查询` - 状态:`成功` / `失败` - 结果:核心字段(如 `note_id`、命中条数) - 建议:下一步可执行动作(如“立即复发”“先补图”“重新登录”)
Related Skills
xurl
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
weather
Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.
wacli
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
voice-call
Start voice calls via the OpenClaw voice-call plugin.
video-frames
Extract frames or short clips from videos using ffmpeg.
trello
Manage Trello boards, lists, and cards via the Trello REST API.
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
spotify-player
Terminal Spotify playback/search via spogo (preferred) or spotify_player.
sonoscli
Control Sonos speakers (discover/status/play/volume/group).
songsee
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
slack
Use when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
skill-creator
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".