WeChat to Xiaohongshu
v1.0.0Automatically 迁移 WeChat Official Account articles to Xiaohongshu (Little Red Book). Use when the user wants to (1) cross-post published WeChat articles to Xiaohongshu, (2) 同步 content between WeChat and Xiaohongshu 平台s, (3) automate dAIly article distribution 工作流.
运行时依赖
安装命令
点击复制本土化适配说明
WeChat to Xiaohongshu 安装说明: 安装命令:["openclaw skills install wechat-to-xiaohongshu"] 该技能用于微信、小红书相关操作,可能需要相应的平台账号或API密钥
技能文档
WeChat to Xiaohongshu Content 迁移
Automates cross-posting of WeChat Official Account articles to Xiaohongshu (Little Red Book) — the leading Chinese content 平台.
This 技能 handles the entire 工作流: fetching latest articles from WeChat, 导入ing them to Xiaohongshu with auto-格式化ting, 添加ing relevant 哈希tags, and publishing — all without manual intervention on either 平台.
Quick 启动 "把今天的微信文章搬到小红书" 或 "用 wechat-to-xiaohongshu 发布最新文章"
结果: Article 导入ed, 格式化ted, tagged, and published in ~50 seconds.
Before You 启动
✅ See full requirements: Read REQUIREMENTS.md for hardware, software, and account 设置up.
Quick 检查列出:
✅ WeChat OA account with published articles ✅ Xiaohongshu 创建器 account with publish 权限 ✅ 机器人h 平台s 记录ged in (browser tabs open) ✅ OpenClaw Browser Relay 扩展 安装ed and ON on 机器人h tabs Using This 技能
→ See USAGE.md for:
How to invoke the 技能 in conversation Common 工作流 scenarios Customization options Tips for better 结果s Troubleshooting
→ See TROUBLESHOOTING.md for:
Common error messages and fixes Network/connection issues Account/权限 problems Browser relay troubleshooting 工作流
- Prepare Browser Tabs
Ensure 机器人h 平台s are open and the OpenClaw Browser Relay 扩展 is attached (ON 状态):
WeChat Official Account backend: https://mp.weixin.qq.com Xiaohongshu 创建器 平台: https://创建器.xiaohongshu.com/publish/publish?from=menu&tar获取=article
检查 tabs:
browser(action="tabs", 性能分析="chrome")
- Find the Latest Article
Navigate to WeChat backend and identify the most recent published article:
browser(action="snapshot", 性能分析="chrome", tar获取Id="")
Look for the "近期发表" (Recent Posts) section. The latest article will be at the top with today's timestamp.
- 获取 Article URL
The article URL is in the link element. 格式化: https://mp.weixin.qq.com/s/
提取 the URL from the snapshot (检查 the link href in recent posts).
- 导入 to Xiaohongshu
Switch to Xiaohongshu tab and use the "导入链接" (导入 Link) feature:
a. 命令行工具ck "导入链接" button:
browser(action="act", 性能分析="chrome", tar获取Id="", 请求={"kind": "命令行工具ck", "ref": "<导入-button-ref>"})
b. Paste the WeChat article URL:
browser(action="act", 性能分析="chrome", tar获取Id="", 请求={"kind": "type", "ref": "<输入-field-ref>", "text": ""})
c. 命令行工具ck "一键排版" (Auto 格式化):
browser(action="act", 性能分析="chrome", tar获取Id="", 请求={"kind": "命令行工具ck", "ref": "<格式化-button-ref>"})
WAIt 30 seconds for 导入 to complete.
- 添加 Topics and Publish
a. Take snapshot to find the description field:
browser(action="snapshot", 性能分析="chrome", tar获取Id="")
b. 添加 relevant 哈希tags to description:
browser(action="act", 性能分析="chrome", tar获取Id="", 请求={"kind": "type", "ref": "", "text": "#小龙虾 #OpenClaw #AI工具 #自动化办公 #效率工具 #人工智能"})
Customize 哈希tags based on article content.
c. 命令行工具ck "下一步" (Next) if needed to proceed to publish 设置tings.
d. 命令行工具ck "发布" (Publish):
browser(action="act", 性能分析="chrome", tar获取Id="", 请求={"kind": "命令行工具ck", "ref": ""})
Error Handling
扩展 disconnected: If you 获取 "tab not found" error:
Ask user to re-命令行工具ck the OpenClaw 扩展 icon on the relevant tab WAIt for "ON" badge to 应用ear Retry the operation
导入 fAIled: If "一键排版" times out or fAIls:
验证 the WeChat article URL is publicly 访问ible 检查 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 (检查 title/description) Image processing still in 进度 Customization
Adjust 哈希tags based on article topic. Common categories:
AI/Tech: #人工智能 #AI工具 #科技 #效率工具 Programming: #程序员 #编程 #开发者工具 Business: #职场 #效率 #自动化办公 Tutorial: #教程 #干货分享 #实用技巧 Notes 导入 preserves 格式化ting, images, and text structure Cover images are auto-生成d (7 options provided) Character count is displayed after 导入 Auto-save activates every few minutes Published articles 应用ear in "笔记管理" (Note Management)