jasoft/ursoft-skills317 installs
wechat-send
Use when 需要在 macOS 上自动给微信联系人发送消息,且要通过剪贴板粘贴规避中文输入法干扰。
How do I install this agent skill?
npx skills add https://github.com/jasoft/ursoft-skills --skill wechat-sendIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill automates WeChat messaging on macOS using system utilities. It follows security best practices by using the system clipboard to handle user-controlled message content, which prevents command injection vulnerabilities.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
6/7 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
WeChat Send
概览
这个 skill 用来在 macOS 桌面版微信里发送消息,优先走稳定的 UI 自动化顺序:
- 激活 WeChat 并确认它是前台应用
- 用快捷键打开搜索或切换会话
- 联系人名和消息正文都通过剪贴板粘贴,避免输入法拦截
何时使用
- 用户明确要求在 macOS 微信客户端给联系人发消息
- 直接键入中文容易被输入法干扰,必须改用剪贴板粘贴
不要在这些场景优先使用这个 skill:
- 用户只是要发网页微信消息
- 目标环境不是 macOS 桌面
前置依赖
- macOS 已安装并登录 WeChat
- 运行环境已授予 Accessibility 权限
标准工作流
1. 先做依赖体检
python3 scripts/wechat_auto.py doctor
这个检查会确认:
WeChat是否可启动osascript、pbcopy、pbpaste是否可用
任一必需项缺失时,命令会输出错误并以非 0 退出。
2. 直接发送消息
从 skill 根目录执行:
scripts/send_message "文件传输助手" "测试消息"
需要调试信息时:
python3 scripts/wechat_auto.py send "文件传输助手" "测试消息" --debug --delay 0.8
快速命令
- 体检:
python3 scripts/wechat_auto.py doctor
- 发送消息:
scripts/send_message "张三" "你好,这是自动消息"
常见风险
- 没有 Accessibility 权限时,快捷键会失败
- 微信未在前台时,粘贴内容会发到错误应用
- 联系人重名时,单靠回车选中可能进入错误会话
参考文件
scripts/wechat_auto.pyscripts/send_message
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/jasoft/ursoft-skills/wechat-send">View wechat-send on skillZs</a>