OpenParable
Skip to content
← Back to skills

Chat By Keywords

Apps & Automation
chat_by_keywords

Chat 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.

通过微信按关键词列表与指定联系人自动聊天。当用户提到微信自动回复、关键词回复、微信机器人聊天时使用。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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=['你好', '在吗'])

参数说明

参数类型必填默认值说明
whostr是-进行聊天的联系人名称
keywordslist是-触发聊天的关键词列表

返回值

None

使用示例

from office.skills.wechat import chat_by_keywords
chat_by_keywords(who='文件传输助手', keywords=['你好', 'hello', 'hi'])

原始函数

office.api.wechat.chat_by_keywords