Chat By Keywords
Apps & Automationchat_by_keywordsChat By Keywords 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/chat_by_keywords/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/chat-by-keywords, 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.
chat_by_keywords Skill
根据关键词与指定联系人聊天
功能描述
通过微信自动化,根据关键词与指定联系人进行自动聊天。
所属分类
office/skills/wechat/chat_by_keywords/
调用方式
from office.skills.wechat import chat_by_keywords
chat_by_keywords(who='文件传输助手', keywords=['你好', '在吗'])
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
who | str | 是 | - | 进行聊天的联系人名称 |
keywords | list | 是 | - | 触发聊天的关键词列表 |
返回值
None
使用示例
from office.skills.wechat import chat_by_keywords
chat_by_keywords(who='文件传输助手', keywords=['你好', 'hello', 'hi'])
原始函数
office.api.wechat.chat_by_keywords