Send Message
Apps & Automationsend_messageSend Message is an Agent Skill for apps & automation published in the CoderWanFeng/python-office repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
通过微信自动化向指定联系人发送消息。当用户提到微信发消息、微信机器人、给某人发微信时使用。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CoderWanFeng/python-office/blob/HEAD/skills/wechat/send_message/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/send-message, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
send_message Skill
发送消息给指定联系人
功能描述
通过微信自动化,向指定联系人发送一条消息。
所属分类
office/skills/wechat/send_message/
调用方式
from office.skills.wechat import send_message
send_message(who='文件传输助手', message='Hello, World!')
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
who | str | 是 | - | 接收消息的联系人名称 |
message | str | 是 | - | 要发送的消息内容 |
返回值
None
使用示例
from office.skills.wechat import send_message
send_message(who='文件传输助手', message='Hello, World!')
原始函数
office.api.wechat.send_message