WeChat to Xiaohongshu Content Migration
Automates cross-posting of WeChat Official Account articles to Xiaohongshu (Little Red Book) — the leading Chinese content platform.
This skill handles the entire workflow: fetching latest articles from WeChat, importing them to Xiaohongshu with auto-formatting, adding relevant hashtags, and publishing — all without manual intervention on either platform.
Quick Start
CODEBLOCK0
Result: Article imported, formatted, tagged, and published in ~50 seconds.
Before You Start
✅ See full requirements: Read REQUIREMENTS.md for hardware, software, and account setup.
Quick checklist:
- - ✅ WeChat OA account with published articles
- ✅ Xiaohongshu creator account with publish permission
- ✅ Both platforms logged in (browser tabs open)
- ✅ OpenClaw Browser Relay extension installed and ON on both tabs
Using This Skill
→ See USAGE.md for:
- - How to invoke the skill in conversation
- Common workflow scenarios
- Customization options
- Tips for better results
Troubleshooting
→ See TROUBLESHOOTING.md for:
- - Common error messages and fixes
- Network/connection issues
- Account/permission problems
- Browser relay troubleshooting
Workflow
1. Prepare Browser Tabs
Ensure both platforms are open and the OpenClaw Browser Relay extension is attached (ON status):
- - WeChat Official Account backend: INLINECODE3
- Xiaohongshu Creator Platform: INLINECODE4
Check tabs:
CODEBLOCK1
2. Find the Latest Article
Navigate to WeChat backend and identify the most recent published article:
CODEBLOCK2
Look for the "近期发表" (Recent Posts) section. The latest article will be at the top with today's timestamp.
3. Get Article URL
The article URL is in the link element. Format: INLINECODE5
Extract the URL from the snapshot (check the link href in recent posts).
4. Import to Xiaohongshu
Switch to Xiaohongshu tab and use the "导入链接" (Import Link) feature:
a. Click "导入链接" button:
CODEBLOCK3
b. Paste the WeChat article URL:
CODEBLOCK4
c. Click "一键排版" (Auto Format):
CODEBLOCK5
Wait 30 seconds for import to complete.
5. Add Topics and Publish
a. Take snapshot to find the description field:
CODEBLOCK6
b. Add relevant hashtags to description:
CODEBLOCK7
Customize hashtags based on article content.
c. Click "下一步" (Next) if needed to proceed to publish settings.
d. Click "发布" (Publish):
CODEBLOCK8
Error Handling
Extension disconnected: If you get "tab not found" error:
- - Ask user to re-click the OpenClaw extension icon on the relevant tab
- Wait for "ON" badge to appear
- Retry the operation
Import failed: If "一键排版" times out or fails:
- - Verify the WeChat article URL is publicly accessible
- Check if article contains unsupported media types
- Try manual copy-paste as fallback
Publish button disabled: Usually means:
- - Content hasn't fully loaded yet (wait longer)
- Required fields missing (check title/description)
- Image processing still in progress
Customization
Adjust hashtags based on article topic. Common categories:
- - AI/Tech: #人工智能 #AI工具 #科技 #效率工具
- Programming: #程序员 #编程 #开发者工具
- Business: #职场 #效率 #自动化办公
- Tutorial: #教程 #干货分享 #实用技巧
Notes
- - Import preserves formatting, images, and text structure
- Cover images are auto-generated (7 options provided)
- Character count is displayed after import
- Auto-save activates every few minutes
- Published articles appear in "笔记管理" (Note Management)
微信到小红书内容迁移
自动将微信公众号文章同步发布到小红书——中国领先的内容平台。
本技能处理完整工作流程:从微信获取最新文章,自动排版后导入小红书,添加相关话题标签并发布——全程无需手动操作任一平台。
快速开始
把今天的微信文章搬到小红书
或
用 wechat-to-xiaohongshu 发布最新文章
结果: 文章导入、排版、加标签并发布,全程约50秒。
开始前准备
✅ 查看完整要求: 阅读 REQUIREMENTS.md 了解硬件、软件和账号设置。
快速检查清单:
- - ✅ 拥有已发布文章的微信公众号账号
- ✅ 具备发布权限的小红书创作者账号
- ✅ 两个平台均已登录(浏览器标签页已打开)
- ✅ 已安装 OpenClaw Browser Relay 扩展,并在两个标签页上开启
使用本技能
→ 查看 USAGE.md 了解:
- - 如何在对话中调用技能
- 常见工作流程场景
- 自定义选项
- 获得更好效果的技巧
故障排除
→ 查看 TROUBLESHOOTING.md 了解:
- - 常见错误信息及修复方法
- 网络/连接问题
- 账号/权限问题
- 浏览器中继故障排除
工作流程
1. 准备浏览器标签页
确保两个平台均已打开,且 OpenClaw Browser Relay 扩展已附加(开启状态):
- - 微信公众号后台:https://mp.weixin.qq.com
- 小红书创作者平台:https://creator.xiaohongshu.com/publish/publish?from=menu&target=article
检查标签页:
browser(action=tabs, profile=chrome)
2. 查找最新文章
导航至微信后台,找到最近发布的文章:
browser(action=snapshot, profile=chrome, targetId=)
查找近期发表区域。最新文章将位于顶部,带有今天的发布时间戳。
3. 获取文章链接
文章链接位于链接元素中。格式:https://mp.weixin.qq.com/s/<文章ID>
从快照中提取链接(检查近期发表中的链接 href 属性)。
4. 导入到小红书
切换到小红书标签页,使用导入链接功能:
a. 点击导入链接按钮:
browser(action=act, profile=chrome, targetId=,
request={kind: click, ref: })
b. 粘贴微信文章链接:
browser(action=act, profile=chrome, targetId=,
request={kind: type, ref: , text: })
c. 点击一键排版:
browser(action=act, profile=chrome, targetId=,
request={kind: click, ref: })
等待30秒完成导入。
5. 添加话题并发布
a. 拍摄快照找到描述字段:
browser(action=snapshot, profile=chrome, targetId=)
b. 在描述中添加相关话题标签:
browser(action=act, profile=chrome, targetId=,
request={kind: type, ref: ,
text: #小龙虾 #OpenClaw #AI工具 #自动化办公 #效率工具 #人工智能})
根据文章内容自定义话题标签。
c. 如需进入发布设置,点击下一步。
d. 点击发布:
browser(action=act, profile=chrome, targetId=,
request={kind: click, ref: })
错误处理
扩展断开连接:如果出现标签页未找到错误:
- - 请用户重新点击相关标签页上的 OpenClaw 扩展图标
- 等待ON标识出现
- 重试操作
导入失败:如果一键排版超时或失败:
- - 确认微信文章链接可公开访问
- 检查文章是否包含不支持的媒体类型
- 尝试手动复制粘贴作为备选方案
发布按钮不可用:通常意味着:
- - 内容尚未完全加载(等待更长时间)
- 缺少必填字段(检查标题/描述)
- 图片处理仍在进行中
自定义
根据文章主题调整话题标签。常见分类:
- - AI/科技:#人工智能 #AI工具 #科技 #效率工具
- 编程:#程序员 #编程 #开发者工具
- 商业:#职场 #效率 #自动化办公
- 教程:#教程 #干货分享 #实用技巧
备注
- - 导入保留格式、图片和文本结构
- 封面图片自动生成(提供7个选项)
- 导入后显示字符数
- 每隔几分钟自动保存
- 已发布文章显示在笔记管理中