Control the RedNote (Xiaohongshu) Mac app via macOS Accessibility API. Fills the gap headless tools can't: read/reply to comments on video posts, send DMs, get author stats. No browser, no API tokens. macOS only — requires Terminal accessibility permission.
技能名称: rednote-mac
详细描述:
直接控制RedNote的Mac应用程序——无需浏览器,无需API令牌。
使用macOS辅助功能API驱动原生应用程序。
无头工具(xiaohongshu-mcp)无法访问私信、评论回复或视频评论列表——此技能可以做到。
⚠️ 要求:终端 → 辅助功能权限 + RedNote应用程序在屏幕上可见。
无网络访问权限。不存储任何凭据。
bash
cd ~/.agents/skills/rednote-mac && bash install.sh
openclaw config set tools.allow [rednote-mac]
openclaw gateway restart
在系统设置 → 隐私与安全性 → 辅助功能 → 终端中启用。
xhs_navigate(tab=home) # 首页 / 消息 / 个人主页
xhsnavigatetop(tab=discover) # 关注 / 发现 / 视频
xhs_back()
xhs_search(keyword=AI论文)
xhs_screenshot() # 导航后务必验证
xhsscrollfeed(direction=down, times=5)
xhsopennote(col=0, row=0) # col: 0=左侧, 1=右侧 row: 0=第一个
xhs_screenshot()
xhs_like()
xhs_collect()
xhsfollowauthor()
xhsgetnote_url() # 返回xhslink.com短链接
xhsopencomments()
xhsgetcomments()
xhspostcomment(text=好帖子!)
xhsreplyto_comment(index=0, text=谢谢!)
xhsdeletecomment(index=0) # ⚠️ 不可逆——仅限你自己的评论
xhsscrollcomments(times=3)
xhsopendm(index=0) # 0 = 列表中的第一个对话
xhssenddm(text=你好!)
xhs_screenshot() # 确认已发送
xhs_navigate(tab=profile)
xhsgetauthor_stats()
| 需要... | 阅读 |
|---|---|
| 导航/搜索详情 | docs/ref-navigation.md |
| 信息流与笔记打开 |
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 rednote-mac-1776289367 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 rednote-mac-1776289367 技能
skillhub install rednote-mac-1776289367
文件大小: 33.67 KB | 发布时间: 2026-4-16 17:42