Redbook (Xiaohongshu) Publishing Skill
Use browser automation on the official creator site.
Read this first
- - Main entry: INLINECODE0
- If user is not logged in, pause and ask user to complete SMS login.
- Never bypass CAPTCHA, SMS, or risk controls.
- Never publish without explicit confirmation in the current chat turn.
Supported tasks
- - Create a note draft (with or without images)
- Publish immediately (only after explicit confirmation)
- Save and leave as draft
- Reply to comments/messages
- Check dashboard metrics (7d/30d where visible)
Publish flow (deterministic)
- 1. Confirm inputs:
- title
- body
- image paths (optional)
- mode:
publish_now or
draft_only
- 2. Open creator page and verify logged-in account name.
- Enter publish page:
- with images: choose 图文上传
- no image: use 长文创作入口
- 4. Fill title/body.
- Validate before submit:
- title not empty
- body not empty
- hashtags formatted
- 6. If
draft_only: click save/draft and report success. - If
publish_now: ask one final yes/no confirmation, then publish. - Return result summary with account, title, mode, status.
Required confirmation policy
For publish action, require exact confirmation intent such as:
If user says vague words (“随便”, “你看着办”), default to draft-only and explain why.
Failure handling
- - Login expired: ask user to login, then continue from current page.
- Missing controls due to UI changes: snapshot again and switch to nearest equivalent button.
- Publish button unavailable: keep draft and report manual step clearly.
Output template
- - Action: draft | publish | reply | metrics
- Account:
- Title:
- Mode: publishnow | draftonly
- Result: success | partial | failed
- Details:
- ...
- ...
Reference
For reusable copy templates, read references/post-templates.md.
Redbook(小红书)发布技能
使用浏览器自动化操作官方创作者平台。
请先阅读
- - 主入口:https://creator.xiaohongshu.com
- 如果用户未登录,暂停并请用户完成短信登录。
- 切勿绕过验证码、短信或风控机制。
- 未经当前对话轮次中的明确确认,切勿发布内容。
支持的任务
- - 创建笔记草稿(可带图片或不带图片)
- 立即发布(仅限明确确认后)
- 保存并保留为草稿
- 回复评论/消息
- 查看仪表盘指标(可见范围内的7天/30天数据)
发布流程(确定性流程)
- 1. 确认输入内容:
- 标题
- 正文
- 图片路径(可选)
- 模式:立即发布 或 仅存草稿
- 2. 打开创作者页面并验证已登录的账号名称。
- 进入发布页面:
- 带图片:选择图文上传
- 无图片:使用长文创作入口
- 4. 填写标题/正文。
- 提交前验证:
- 标题不为空
- 正文不为空
- 话题标签格式正确
- 6. 如果为仅存草稿:点击保存/草稿按钮并报告成功。
- 如果为立即发布:最后进行一次是/否确认,然后发布。
- 返回结果摘要,包含账号、标题、模式、状态。
必要确认策略
对于发布操作,需要明确的确认意图,例如:
如果用户使用模糊词语(“随便”、“你看着办”),默认仅存草稿并解释原因。
失败处理
- - 登录过期:请用户登录,然后从当前页面继续。
- 因界面变化导致控件缺失:重新截图并切换到最近的等效按钮。
- 发布按钮不可用:保留草稿并清晰报告手动步骤。
输出模板
- - 操作:草稿 | 发布 | 回复 | 指标
- 账号:<名称>
- 标题:<标题>
- 模式:立即发布 | 仅存草稿
- 结果:成功 | 部分成功 | 失败
- 详情:
- ...
- ...
参考
如需可复用的文案模板,请阅读 references/post-templates.md。