半自动回复微信联系人消息(置信度>85%自动发送,否则确认),或主动发送指定内容。使用方式:wechat-auto-reply "联系人名称" 或 wechat-auto-reply "联系人名称" "消息内容
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install wechat-auto-reply或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install wechat-auto-reply⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/wechat-auto-reply/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: wechat-auto-reply description: 半自动回复微信联系人消息(置信度>85%自动发送,否则确认),或主动发送指定内容。使用方式:wechat-auto-reply "联系人名称" 或 wechat-auto-reply "联系人名称" "消息内容" ---
半自动回复微信联系人消息(基于AI置信度智能判断),或主动发送指定内容。
# 一行安装
brew install bjdzliu/openclaw/wechat-auto-reply
# 或者两步安装
brew tap bjdzliu/openclaw
brew install wechat-auto-reply
安装后会自动:
cliclick, python@3, pyobjc)wechat-auto-reply~/.openclaw/workspace/skills/wechat-auto-reply# OCR 半自动回复(查看聊天记录,智能判断回复内容)
# 置信度 > 85% 自动发送,否则弹窗确认
wechat-auto-reply "联系人名称"
# 主动发送(直接发送指定消息,不走 OCR)
wechat-auto-reply "联系人名称" "消息内容"
示例:
# 半自动回复模式
wechat-auto-reply "小李" # 如果是"在吗"等高置信场景,自动发送
wechat-auto-reply "小王" # 如果是问题类,会弹窗让你确认或修改
# 主动发送模式
wechat-auto-reply "小李" "什么时候下班"
wechat-auto-reply "小王" "今天行情怎么样"
两种模式:
- 置信度 > 85% → 自动发送 - 置信度 ≤ 85% → 弹窗确认(可修改回复内容)
$(brew --prefix)/share/openclaw/skills/wechat-auto-reply~/.openclaw/workspace/skills/wechat-auto-reply$(brew --prefix)/bin/wechat-auto-reply~/.openclaw/workspace/skills/wechat-auto-reply/wechat-dm.applescriptwhich wechat-auto-reply
ls -la ~/.openclaw/workspace/skills/wechat-auto-reply
所有依赖会自动安装,无需手动配置。
| 工具 | 安装方式 | 用途 | |------|----------|------| | cliclick | brew install cliclick | 稳定的鼠标点击 | | screencapture | macOS 内置 | 截图(可通过 /usr/sbin/screencapture 调用) | | Vision Framework | macOS 10.15+ | OCR 文本识别 |
pip3 install pyobjc
tell application "WeChat" to activate
tell app "System Events"
tell process "WeChat"
set frontmost to true
end tell
end tell
Cmd+F 打开搜索使用 macOS Vision Framework 识别聊天内容:
from Vision import VNRecognizeTextRequest, VNImageRequestHandler
theRequest.setRecognitionLanguages(["zh-Hans", "en-US"])
theRequest.setUsesLanguageCorrection(True)
根据聊天内容自动生成回复,每个回复都附带置信度评分:
| 场景 | 关键词 | 回复内容 | 置信度 | |------|--------|----------|--------| | 询问在线 | "在吗"、"忙吗" | "在的,什么事?" | 95% | | 感谢回复 | "谢谢"、"感谢" | "不客气" | 95% | | 确认信息 | "收到"+"好的" | "好的" | 90% | | 投资讨论 | "投资"、"抄底"、"行情" | "不急,等稳一点" | 85% | | 问题咨询 | "?"、"?" | "我看看,稍等" | 75% | | 一般确认 | "好"、"OK" | "好的" | 80% | | 时间相关 | "明天"、"几点" | "我确认一下,回头告诉你" | 70% | | 默认回复 | 其他 | "收到" | 60% |
置信度规则:
- 可选择"确认发送"直接发送 - 可选择"修改回复"手动编辑内容 - 可选择"取消"不发送
{1000, 832},需根据实际屏幕调整["zh-Hans", "en-US"]set the clipboard 比 pbcopy 更可靠if confidence > 85 这一行找到配置文件位置:
# Homebrew 安装
vim ~/.openclaw/workspace/skills/wechat-auto-reply/wechat-dm.applescript
# 或使用 brew 路径
vim $(brew --prefix)/share/openclaw/skills/wechat-auto-reply/wechat-dm.applescript
修改坐标:
cliclick c:1000,832 # 修改为你的坐标
编辑配置文件:
if confidence > 85 then # 修改为你需要的阈值(0-100)
set autoSend to true
在智能回复判断部分添加:
else if ocrResult contains "你的关键词" then
set replyText to "你的回复内容"
set confidence to 90 -- 设置置信度
brew upgrade wechat-auto-reply
brew uninstall wechat-auto-reply
# 可选:删除 tap
brew untap bjdzliu/openclaw
安装 wechat-auto-reply 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/wechat-auto-reply/ 目录(个人级,所有项目可用),或 .claude/skills/wechat-auto-reply/(项目级)。重启 AI 客户端后,用 /wechat-auto-reply 主动调用,或让 AI 根据上下文自动发现并使用。
wechat-auto-reply 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
wechat-auto-reply 可免费安装使用。请查阅仓库了解许可证信息。
半自动回复微信联系人消息(置信度>85%自动发送,否则确认),或主动发送指定内容。使用方式:wechat-auto-reply "联系人名称" 或 wechat-auto-reply "联系人名称" "消息内容
wechat-auto-reply 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。