← Back to Skills Marketplace
myljs

macOS微信发送器

by Myljs · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
49
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install mac-wechat-sender
Description
macOS 桌面微信自动发送文件/消息。AppleScript + cliclick 驱动,无需浏览器。
README (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

Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mac-wechat-sender
  3. After installation, invoke the skill by name or use /mac-wechat-sender
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首次发布
Metadata
Slug mac-wechat-sender
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is macOS微信发送器?

macOS 桌面微信自动发送文件/消息。AppleScript + cliclick 驱动,无需浏览器。 It is an AI Agent Skill for Claude Code / OpenClaw, with 49 downloads so far.

How do I install macOS微信发送器?

Run "/install mac-wechat-sender" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is macOS微信发送器 free?

Yes, macOS微信发送器 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does macOS微信发送器 support?

macOS微信发送器 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created macOS微信发送器?

It is built and maintained by Myljs (@myljs); the current version is v1.0.0.

💬 Comments