
wechat-message-sender
在 macOS 上通过微信桌面版向指定联系人发送文本消息。用户提供联系人名称和消息内容时使用,例如“给张三发微信:xxx”“打开微信给某人发送一句话”“用微信发送指定文本”。运行前必须已安装微信桌面版,并给当前终端或 Codex 辅助功能权限。执行时只做精确匹配:先搜索联系人,再校验当前会话标题与目标完全一致;匹配失败就停止,避免误发。
- Installs
- 585
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/cloudsen/eliteforge-skills --skill wechat-message-sender- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads wechat-message-sender automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
WeChat Message Sender
目标
调用 scripts/send_wechat_message.swift,在 macOS 微信桌面版里给指定联系人发送一段纯文本。
必填参数
contact:联系人显示名,必须与微信会话标题精确一致。message:要发送的纯文本内容。
前置条件
- 已安装微信桌面版。
- 当前终端或 Codex 已授予 macOS 辅助功能权限。
- 只支持文本消息,不支持图片、文件、卡片。
工作流
- 校验
contact和message非空。 - 运行脚本:
swift scripts/send_wechat_message.swift --contact "<contact>" --message "<message>"
- 脚本会自动:
- 打开或激活微信。
- 聚焦左侧搜索框并搜索联系人。
- 在结果列表里查找精确匹配项。
- 打开会话后再次校验标题完全等于
contact。 - 校验通过后发送消息。
调试
- 只验证定位,不真正发送:
swift scripts/send_wechat_message.swift --contact "<contact>" --message "<message>" --dry-run
安全规则
- 只接受精确标题匹配,不做模糊猜测。
- 找不到联系人、权限不足、窗口结构异常时,直接报错并停止。
- 如果脚本报结构错误,先确认微信已升级到最新版本,并重新授权辅助功能。
FAQ
What does the wechat-message-sender skill do?
在 macOS 上通过微信桌面版向指定联系人发送文本消息。用户提供联系人名称和消息内容时使用,例如“给张三发微信:xxx”“打开微信给某人发送一句话”“用微信发送指定文本”。运行前必须已安装微信桌面版,并给当前终端或 Codex 辅助功能权限。执行时只做精确匹配:先搜索联系人,再校验当前会话标题与目标完全一致;匹配失败就停止,避免误发。
How do I install wechat-message-sender?
Run npx skills add https://github.com/cloudsen/eliteforge-skills --skill wechat-message-sender in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/wechat-message-sender/ (personal) or .claude/skills/wechat-message-sender/ (project).
Which AI agents can use wechat-message-sender?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is wechat-message-sender safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains wechat-message-sender?
It is published by cloudsen in cloudsen/eliteforge-skills. It has 585 recorded installs.
More from cloudsen/eliteforge-skills
eliteforge-framework-specification
cloudsen/eliteforge-skills
Open the skill to read its SKILL.md instructions.
eliteforge-task-progress-tracker
cloudsen/eliteforge-skills
Open the skill to read its SKILL.md instructions.
eliteforge-java-uml
cloudsen/eliteforge-skills
Open the skill to read its SKILL.md instructions.
eliteforge-java-service-generator
cloudsen/eliteforge-skills
Open the skill to read its SKILL.md instructions.
eliteforge-frontend-generator
cloudsen/eliteforge-skills
Open the skill to read its SKILL.md instructions.
eliteforge-sonar-pmd-generator
cloudsen/eliteforge-skills
Open the skill to read its SKILL.md instructions.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.