Auto Social Post
社交媒体自动化工具,可自动发布到 Twitter/Instagram/LinkedIn。
下载 771
通过 macOS Accessibility API 控制小红书 Mac 应用,实现评论回复、私信、数据获取等自动化操作。
openclaw skills install @huangrh99/rednote-mac命令、参数、文件名以原文为准
直接控制 RedNote 的 Mac 客户端 — 无需浏览器,无需 API 令牌。
使用 macOS 辅助功能 API 驱动原生应用。
无界面工具(xiaohongshu-mcp)无法操作 私信、评论回复 或 视频评论区 — 本技能可以做到。
⚠️ 要求:终端 → 辅助功能权限 + RedNote 应用在屏幕可见。
无网络访问,不存储任何凭证。
cd ~/.agents/skills/rednote-mac && bash install.sh
openclaw config set tools.allow '["rednote-mac"]'
openclaw gateway restart在系统设置 → 隐私与安全性 → 辅助功能 → 终端中启用。
xhs_navigate(tab="home") # 首页 / 消息 / 个人主页
xhs_navigate_top(tab="discover") # 关注 / 发现 / 视频
xhs_back()
xhs_search(keyword="AI paper")
xhs_screenshot() # 每次导航后务必截图确认xhs_scroll_feed(direction="down", times=5)
xhs_open_note(col=0, row=0) # col: 0=左侧, 1=右侧 row: 0=第一条
xhs_screenshot()xhs_like()
xhs_collect()
xhs_follow_author()
xhs_get_note_url() # 返回 xhslink.com 短链接xhs_open_comments()
xhs_get_comments()
# → [{"index": 0, "author": "alice", "cx": 1450, "cy": 368}, ...]
xhs_post_comment(text="Great post!")
xhs_reply_to_comment(index=0, text="Thanks!")
xhs_delete_comment(index=0) # ⚠️ 不可撤销 — 仅限你自己的评论
xhs_scroll_comments(times=3)xhs_open_dm(index=0) # 0 = 列表中的第一个对话
xhs_send_dm(text="Hello!")
xhs_screenshot() # 确认已发送xhs_navigate(tab="profile")
xhs_get_author_stats()
# → {"following": "2", "followers": "29", "likes": "302", "bio": "..."}| 需要... | 请阅读 |
|---|---|
| 导航 / 搜索详情 | docs/ref-navigation.md |
| 信息流与笔记打开 | docs/ref-feed.md |
| 评论工作流程 | docs/ref-note.md |
| 私信详情 | docs/ref-dm.md |
| 个人主页与统计 | docs/ref-profile.md |
| 限制与变通方法 | docs/ref-limits.md |
已收录 1 个 Skill