goodqunbot

goodqunbot:AI 驱动的微信消息助手。可检索联系人或群组的最近消息,并通过 AI 聊天直接发送消息。仅限在 Windows 10/11 系统上使用,需已在微信 PC 客户端登录。

仓库最近推送
GitHub Stars
200
Forks
44
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "goodqunbot":https://skillpi.com/zh/skills/deepskill-75603d792a78801e1194d04dd644cb972ced8b32fbdeefe28e1f9a8478b48bdc。安装前核对上游来源和版本:https://github.com/ImGoodBai/goodable。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

当前版本的下载许可尚未确认或受限。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

goodqunbot:AI 驱动的微信消息助手。可检索联系人或群组的最近消息,并通过 AI 聊天直接发送消息。仅限在 Windows 10/11 系统上使用,需已在微信 PC 客户端登录。

0 下载

介绍来源: third_party · ImGoodBai · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
软件、账号及付费要求
翻译待完成,请参阅来源文档。
限制与区别
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

本站暂无可核验的版本文件清单。

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: goodqunbot
displayName: 微信消息助手
description: AI-powered WeChat message assistant. Retrieve recent messages from contacts/groups and send messages directly through AI chat. Windows 10/11 only. Requires WeChat PC client logged in.

微信消息助手 (WeChat Message Assistant)

This skill enables AI to interact with WeChat directly through AI chat, providing two core capabilities: retrieving recent messages and sending messages to contacts or groups.

Platform Requirements

  • OS: Windows 10/11 only
  • WeChat: WeChat PC client must be installed, running, and logged in
  • Python: Python 3.11+ (automatically handled by Goodable)

Core Capabilities

1. Retrieve Recent Messages

Fetch the last 10-15 messages from any WeChat contact or group chat.

What you can ask:

Get the last 15 messages from "张三"
Show me recent messages from "Product Team" group
Retrieve messages from "李四", last 10 only

What AI will do:

  • Opens the specified chat in WeChat
  • Retrieves the requested number of messages (default: 15, max: 100)
  • Returns messages with timestamp, sender, and content
  • Formats as structured JSON for easy parsing

2. Send Messages

Send a text message to any WeChat contact or group chat.

What you can ask:

Send "Meeting at 3pm" to "张三"
Message "Product Team" group: "Release notes updated"
Tell "李四": "Please review the document"

What AI will do:

  • Opens the specified chat in WeChat
  • Sends the message content
  • Confirms successful delivery

How to Use

Prerequisites

Before using this skill, ensure:

  1. WeChat PC client is running
  2. You are logged into your WeChat account
  3. The contact/group name you specify exists in your WeChat

Example Usage

Scenario 1: Check messages from a colleague

User: "帮我看一下张三最近给我发了什么消息"
AI: [Runs get_messages.py script]
AI: "张三最近的5条消息:
1. [2024-01-28 10:30] 张三: 会议资料已发送
2. [2024-01-28 11:00] 张三: 请查收
..."

Scenario 2: Send a message

User: "给产品群发个消息:今天下午3点开会"
AI: [Runs send_message.py script]
AI: "消息已成功发送到产品群"

Instructions for AI

When the user requests WeChat message operations:

1. Retrieve Messages

Run the get_messages.py script:

python scripts/get_messages.py "<Contact/Group Name>" [count]

Parameters:

  • Contact/Group Name: Exact name as shown in WeChat (required)
  • count: Number of recent messages to retrieve (optional, default: 15, max: 100)

Output Format: The script returns JSON with message details:

[
  {
    "time": "2024-01-28 10:30:45",
    "sender": "张三",
    "content": "会议资料已发送",
    "type": "text"
  }
]

IMPORTANT - Output Formatting for User: After successfully retrieving messages, you MUST format them in a clean, readable way. DO NOT show raw JSON to the user.

For 5 or fewer messages - Use a numbered list:

📨 **张三** 的最近消息:

1. [2024-01-28 10:30] 张三: 会议资料已发送
2. [2024-01-28 11:00] 张三: 请查收
3. [2024-01-28 14:30] 你: 好的,已收到

Tips:

  • Always include contact/group name in the header
  • Keep timestamps concise (remove date if same day)
  • Group consecutive messages from same sender when appropriate
  • Highlight important information if user asks for summary

Error Handling:

  • If WeChat is not running: "WeChat PC client is not running or not logged in"
  • If contact not found: "Contact or group 'xxx' not found"
  • Parse the error and provide user-friendly explanation in Chinese

2. Send Messages

Run the send_message.py script:

python scripts/send_message.py "<Contact/Group Name>" "<Message Content>"

Parameters:

  • Contact/Group Name: Exact name as shown in WeChat (required)
  • Message Content: Text message to send (required, cannot be empty)

Output:

  • Success: "Message sent successfully to 'xxx'"
  • Failure: Error message with details

Important Notes:

  • Always enclose contact names and message content in quotes
  • Contact names must match exactly as shown in WeChat
  • For group chats, use the full group name
  • Only text messages are supported (no images/files/emojis)

3. Best Practices

Name Matching:

  • Ask user to confirm the exact contact/group name if unsure
  • Suggest checking WeChat contact list for correct spelling
  • Chinese names are case-sensitive and must match exactly

Error Recovery:

  • If "WeChat not found" error: Ask user to start WeChat and log in
  • If "Contact not found" error: Ask user to verify the name
  • If script fails: Check if Python environment is properly set up

User Experience:

  • Summarize retrieved messages in a readable format
  • Confirm before sending messages if content seems important
  • Provide context about what happened after each operation

Technical Details

Script Locations

skills/goodqunbot/
├── SKILL.md                    # This file
├── scripts/
│   ├── get_messages.py         # Retrieve messages
│   └── send_message.py         # Send messages
└── wxauto_lib/                 # WeChat automation library (pyc bytecode)

Implementation

Both scripts use the wxauto library (RPA-based WeChat automation):

get_messages.py:

  • Initializes WeChat instance
  • Opens specified chat with wx.ChatWith(who)
  • Retrieves all messages with wx.GetAllMessage(savepic=False, savefile=False)
  • Returns recent N messages as JSON

send_message.py:

  • Initializes WeChat instance
  • Sends message with wx.SendMsg(msg=message, who=who, clear=True)
  • Returns success/failure status

Limitations

  1. Platform: Windows only (wxauto uses Windows API)
  2. Message Types: Text only (no images, files, or rich media)
  3. Rate Limits: May be subject to WeChat's anti-spam mechanisms
  4. Accuracy: Contact name must match exactly (case-sensitive)
  5. State Dependency: Requires WeChat PC client to be running and logged in

Troubleshooting

Issue Solution
"WeChat window not found" Start WeChat PC client and log in
"Contact not found" Verify exact contact/group name in WeChat
Script timeout Check if WeChat is responding, restart if frozen
Import error Ensure wxauto_lib directory exists in goodqunbot
Permission error Run with appropriate user permissions on Windows

Privacy & Security

  • Local Only: All operations are local, no data sent to external servers
  • Read-Only Access: get_messages.py only reads, doesn't modify chat history
  • User Control: send_message.py only sends when explicitly requested
  • No Logging: Messages are not stored or logged by the scripts
  • Compliance: Use responsibly and comply with WeChat Terms of Service

Related Features

This skill complements the GoodQunBot App (template.json), which provides:

  • Web UI for browsing all groups
  • AI-powered chat summaries
  • Data visualization (activity charts, word clouds)
  • Member management and business opportunity discovery

Skill vs App:

  • Skill Mode: Quick AI-driven message operations in chat
  • App Mode: Full-featured web interface for comprehensive chat management
  • Both modes share the same wxauto library and work independently

版本历史

  1. v0.8.3 GitHub ↗
    原版更新说明

    **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.2...v0.8.3 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.2...v0.8.3 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.2...v0.8.3

  2. v0.8.2 GitHub ↗
    原版更新说明

    **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.1...v0.8.2 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.1...v0.8.2 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.1...v0.8.2

  3. v0.8.1 GitHub ↗
    原版更新说明

    **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.0...v0.8.1 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.0...v0.8.1 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.8.0...v0.8.1

  4. v0.8.0 GitHub ↗
    原版更新说明

    **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.7.22...v0.8.0 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.7.22...v0.8.0 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.7.22...v0.8.0

  5. v0.7.22 GitHub ↗
    原版更新说明

    **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.7.21...v0.7.22 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.7.21...v0.7.22 **Full Changelog**: https://github.com/ImGoodBai/goodable/compare/v0.7.21...v0.7.22

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值75/100

亮点

  • 提供微信消息检索与发送两大核心功能,满足用户在 PC 端的实际沟通需求
  • 明确限定 Windows 10/11 平台,避免跨平台兼容性问题
触发精准85/100

待提升项

  • 触发词覆盖可进一步优化 原报告严重程度:轻微

    description 中未显式提炼关键词,如'微信消息'、'发送消息'、'检索消息'等

    改进建议:建议在 frontmatter 的 description 中加入核心关键词,提升触发精准度

亮点

  • 明确说明平台要求(Windows 10/11)和前置条件(微信 PC 客户端已登录)
  • 清晰描述两大核心能力边界
结构规范90/100

待提升项

  • 缺少显式 When to Use 章节 原报告严重程度:轻微

    文档结构完整,但未设置显式命名的 When to Use 章节

    改进建议:建议在 How to Use 前增加 When to Use 章节,明确适用场景

  • 文档长度略长 原报告严重程度:轻微

    SKILL.md 内容较为详尽,可能影响快速查阅

    改进建议:考虑将 Technical Details 部分内容移至独立文档或折叠展示

亮点

  • Phase/步骤清晰,包含完整的端到端示例
  • frontmatter 完整,包含 name/displayName/description
  • 错误处理与 Troubleshooting 章节完善
执行可靠88/100

亮点

  • 工具来源明确(wxauto 库),参数说明清晰
  • 覆盖主要异常场景并提供用户友好的错误提示
  • 发送消息操作有确认机制,符合安全规范
证据可验 (前四项均值)85/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

risk · 静态证据核验,不代表运行安全保证。

翻译待完成,请参阅来源文档。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。