This automates WeChat Work (WeCom) personal accounts using the Wechaty framework with PadLocal protocol. It handles friend requests automatically, answers questions from a vector knowledge base backed by PostgreSQL and pgvector, and escalates to humans via Telegram when confidence is low. The setup supports text, images, files, and voice messages. You'll need a PadLocal token (around 50 yuan monthly) and some configuration work with PM2, but the architecture is straightforward: Wechaty connects to your WeCom account, routes messages through an OpenClaw gateway, queries your knowledge base with Kimi or GPT, and notifies you when the bot can't handle something. Good for small team support or personal assistant scenarios where you want AI handling routine questions but need humans in the loop.

skills.sh installs
412
GitHub stars
66
last updated
Jun 3, 2026

Install

$ npx -y skills add aaaaqwq/claude-code-skills --skill wecom-automation --agent claude-code

Installs into .claude/skills of the current project.

Files

企业微信个人账号直连自动化

基于 Wechaty 框架连接企业微信个人账号,实现完整的 AI 助手功能。适用于企业微信机器人、自动化客服、个人助手等场景。

核心功能

1. 自动同意好友添加

  • 监听好友请求事件
  • 自动通过好友验证
  • 发送个性化欢迎消息
  • 标注用户信息和来源

2. 智能问答(基于知识库)

  • 向量知识库存储企业知识
  • 语义搜索匹配问题
  • LLM 生成专业回复
  • 支持多轮对话上下文

3. 人工介入提醒

  • 置信度阈值自动判断
  • 通过 Telegram/飞书通知人工
  • 记录未解决问题用于优化
  • 平滑转接到人工客服

4. 消息类型支持

  • 文本消息(问答、对话)
  • 图片消息(OCR、识别)
  • 文件消息(DOCX、PDF 等)
  • 语音消息(转文字、语音交互)
  • 链接消息(预览、摘要)
  • 名片消息(保存、处理)

技术架构

┌──────────────┐
│  企业微信     │
│  个人账号     │
└──────┬───────┘
       │
       ▼
┌──────────────────┐
│   Wechaty        │
│   (PadLocal)     │
└──────┬───────────┘
       │
       ▼
┌────────────────────┐
│  OpenClaw Gateway  │
│  (消息分发、处理)   │
└──────┬─────────────┘
       │
       ├──────────────┬──────────────┐
       │              │              │
       ▼              ▼              ▼
┌──────────┐   ┌──────────┐   ┌──────────┐
│ 向量知识库 │   │  LLM API  │   │ 通知服务  │
│(PG+pgvec)│   │ (Kimi/GPT)│   │(Telegram)│
└──────────┘   └──────────┘   └──────────┘

快速开始

方案选择

企业微信个人账号直连有两种方案:

方案 A:Wechaty + PadLocal(推荐,适合个人)

优点:

  • 配置简单,快速上手
  • 稳定性高,官方维护
  • 支持所有消息类型
  • 适合个人使用

缺点:

  • PadLocal 需要付费(约 50 元/月)
  • 单账号限制

适用场景:个人助手、小规模客服

Sponsors

Details

Repository
github.com/aaaaqwq/claude-code-skills
Category
Automation & Workflows
First seen
Jun 3, 2026

More from aaaaqwq/claude-code-skills

All 9
1evan715823 avatarcheatsheet-generatorevan715823/cheatsheet-generator-skillcheatsheet generator401skills.sh installs
2onewave-ai avatarsocial-selling-content-generatoronewave-ai/claude-skillsGenerate 30+ LinkedIn posts that attract your target prospects. Creates industry insights, thought leadership, engagement prompts, and comment strategies. Use w396skills.sh installs
3secondsky avatarjest-generatorsecondsky/claude-skillsGenerate Jest unit tests for JavaScript/TypeScript with mocking, coverage. Use for JS/TS modules, React components, test generation, or encountering missing cov391skills.sh installs
4madteacher avataragents-md-generatormadteacher/mad-agents-skillsCreate, generate, update, repair, trim, or split minimal AGENTS.md files for repository roots and confirmed nested modules using progressive disclosure. Use for384skills.sh installs
5umbraco avatarumbraco-example-generatorumbraco/umbraco-cms-backoffice-skillsGenerate testable example extensions and run them in the Umbraco backoffice383skills.sh installs
6galaxy-dawn avatargit-workflowgalaxy-dawn/claude-scholarThis skill should be used when the user asks to "create git commit", "manage branches", "follow git workflow", "use Conventional Commits", "handle merge conflic382skills.sh installs