← 返回 Skills 市场
myljs

macOS微信发送器

作者 Myljs · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
49
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mac-wechat-sender
功能描述
macOS 桌面微信自动发送文件/消息。AppleScript + cliclick 驱动,无需浏览器。
使用说明 (SKILL.md)

macOS微信发送器

给微信联系人自动发送文件和消息,基于 AppleScript + cliclick 桌面自动化。

适用平台

  • ✅ macOS (AppleScript)
  • ❌ Windows (不支持)

依赖

brew install cliclick
# WeChat 桌面版需已登录

用法

# 发送文件给默认联系人"老婆"
python3 scripts/skills/wechat-sender/wechat_sender.py --file "output/video/final/小红狗_应美霞你干嘛呢.mp4"

# 发送文件给指定联系人
python3 scripts/skills/wechat-sender/wechat_sender.py --contact "张三" --file "report.pdf"

# 发送文字消息
python3 scripts/skills/wechat-sender/wechat_sender.py --contact "老婆" --message "我到家了"

# 发送到群聊
python3 scripts/skills/wechat-sender/wechat_sender.py --contact "工作群" --message "大家好" --group

工作流程

  1. activate — 激活微信窗口 (如未运行则 open -a WeChat)
  2. search_contact — Cmd+Shift+F 搜索联系人 → 回车打开聊天
  3. send_file — Finder 选中文件 → Cmd+C → 微信输入框 → Cmd+V → 回车
  4. send_message — 直接输入文本 → 回车

限制

  • 依赖屏幕坐标 cliclick c:600,750 点击输入框,不同分辨率需调整
  • 微信窗口需在可访问区域
  • 不支持文件拖拽以外的附件类型 (如图片/视频可直接发送)

快捷命令

配置 Claude 快速调用: /wechat-send

安全使用建议
Review carefully before installing. Only use this with non-sensitive files or messages unless you have verified the recipient, and avoid passing untrusted contact names, file paths, or message text. The skill should ideally add explicit confirmation, a dry-run mode, safer AppleScript argument passing, and clearer permission warnings before routine use.
能力评估
Purpose & Capability
The stated purpose is coherent: a macOS WeChat sender using AppleScript and cliclick to send files or messages to contacts. That purpose inherently involves outbound disclosure to real chat recipients.
Instruction Scope
The skill documents the workflow, but it does not require a preview, dry run, or explicit confirmation before sending; invoking the script with a contact and message or file immediately transmits content.
Install Mechanism
The documented setup is limited to installing cliclick with Homebrew and using an already logged-in WeChat desktop app. No hidden installer, persistence setup, or package dependency behavior was found.
Credentials
Desktop automation and shell execution are purpose-aligned, but broad UI automation of Finder, System Events, and WeChat is high impact; fixed screen coordinates and UI-driven contact selection create meaningful wrong-recipient and accidental-disclosure risk.
Persistence & Privilege
No persistence or privilege escalation was found, but the script interpolates contact names, messages, and file paths into AppleScript source before running osascript, creating an avoidable command/UI automation injection boundary.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mac-wechat-sender
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mac-wechat-sender 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首次发布
元数据
Slug mac-wechat-sender
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

macOS微信发送器 是什么?

macOS 桌面微信自动发送文件/消息。AppleScript + cliclick 驱动,无需浏览器。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 49 次。

如何安装 macOS微信发送器?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install mac-wechat-sender」即可一键安装,无需额外配置。

macOS微信发送器 是免费的吗?

是的,macOS微信发送器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

macOS微信发送器 支持哪些平台?

macOS微信发送器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 macOS微信发送器?

由 Myljs(@myljs)开发并维护,当前版本 v1.0.0。

💬 留言讨论