name: wechat_operate

description: 通过微信进行社交管理与消息发送。流程:查询目标(好友/群聊/成员) -> 确认目标 -> 发送内容(文本/图片/文件)。

3,891 stars

Best use case

name: wechat_operate is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

description: 通过微信进行社交管理与消息发送。流程:查询目标(好友/群聊/成员) -> 确认目标 -> 发送内容(文本/图片/文件)。

Teams using name: wechat_operate should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/wechat-tool/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/aw11100/wechat-tool/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/wechat-tool/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How name: wechat_operate Compares

Feature / Agentname: wechat_operateStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

description: 通过微信进行社交管理与消息发送。流程:查询目标(好友/群聊/成员) -> 确认目标 -> 发送内容(文本/图片/文件)。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

name: wechat_operate
description: 通过微信进行社交管理与消息发送。流程:查询目标(好友/群聊/成员) -> 确认目标 -> 发送内容(文本/图片/文件)。
endpoint: http://www.synodeai.com/ai
env:
  WECHAT_APPID:       # 替换实际的appid
  WECHAT_TOKEN:       # 请替换为实际的 API token

---

# 微信消息助手技能说明

## 工具 1: 查询好友 (queryFriend)
- 路径: `GET /wechatTool/queryFriend`
- 请求头:
    - `Authorization: Bearer {{env.WECHAT_TOKEN}}`
- 参数:
    - `appid`: {{env.WECHAT_APPID}} (当前微信的appid)
    - `name`: 好友的名称

## 工具 2: 查询最近联系人 (queryRecentContact)
- 路径: `GET /wechatTool/queryRecentContact`
- 请求头:
    - `Authorization: Bearer {{env.WECHAT_TOKEN}}`
- 参数:
    - `appid`: {{env.WECHAT_APPID}}

## 工具 3: 查询我的群聊 (queryChatroom)
- 路径: `GET /wechatTool/queryChatroom`
- 请求头:
    - `Authorization: Bearer {{env.WECHAT_TOKEN}}`
- 参数:
    - `appid`: {{env.WECHAT_APPID}}

## 工具 4: 查询群成员 (queryChatroomMembers)
- 路径: `GET /wechatTool/queryChatroomMembers`
- 请求头:
    - `Authorization: Bearer {{env.WECHAT_TOKEN}}`
- 参数:
    - `appid`: {{env.WECHAT_APPID}}
    - `chatroomId`: 群id

## 工具 5: 发送文本消息 (sendText)
- 路径: `POST /wechatTool/sendText`
- 请求头:
    - `Authorization: Bearer {{env.WECHAT_TOKEN}}`
- 参数:
    - `appid`: {{env.WECHAT_APPID}}
    - `contact`: 目标好友或群聊的 wxId
    - `content`: 发送消息内容

## 工具 6: 发送图片消息 (sendImg)
- 路径: `POST /wechatTool/sendImg`
- 请求头:
    - `Authorization: Bearer {{env.WECHAT_TOKEN}}`
- 参数:
    - `appid`: {{env.WECHAT_APPID}}
    - `contact`: 目标好友或群聊的 wxId
    - `content`: 图片的连接信息

## 工具 7: 发送文件消息 (sendFile)
- 路径: `POST /wechatTool/sendFile`
- 请求头:
    - `Authorization: Bearer {{env.WECHAT_TOKEN}}`
- 参数:
    - `appid`: {{env.WECHAT_APPID}}
    - `contact`: 目标好友或群聊的 wxId
    - `fileUrl`: 文件的连接信息
    - `fileName`: 文件名称(若为 null 则从 fileUrl 中解析)

---

## 强制逻辑流程
1. **查询目标**:收到发送请求后,必须先根据场景执行 `queryFriend` 或 `queryChatroom` 获取 `wxId`。
2. **多结果处理**:若返回多个结果,需展示列表让用户选择。
3. **二次确认**:
    - 文本消息:告知目标名称并询问“确定发送吗?”。
    - 图片/文件:展示文件信息/预览,并询问“确定发送给 [名称] 吗?”。
4. **最终发送**:得到确认后,再执行对应的 `send` 接口。

Related Skills

name: welight-wechat-layout-publish

3891
from openclaw/skills

description: Welight standalone skill for turning an article into WeChat Official Accounts compatible Markdown/HTML, presenting built-in theme choices, and publishing to WeChat as a draft or formal post when publishing prerequisites are already configured.

Content & Documentation

wechat-publisher

3891
from openclaw/skills

一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。

Content & Documentation

wechat-mp-reader

3891
from openclaw/skills

Read WeChat official account articles. Use the built-in browser tool to open the page and extract body text. Always append ?scene=1 to the URL.

clawphone-wechat-control

3891
from openclaw/skills

处理微信会话列表、进入聊天、发送消息、处理微信内弹窗与聊天页失败排查。适用于用户要求查看微信消息、回复联系人、转发、处理聊天输入框或发送失败时。执行时必须先确认当前在微信的哪个页面,再按聊天场景一步一验。

wechat-content-creator

3891
from openclaw/skills

Create high-quality WeChat public account articles with high eCPM. Use when writing WeChat articles, optimizing titles, selecting topics, or improving content quality. Covers 8 golden opening templates, SCQA structure, long-tail keyword integration, high-value niches like legal, finance, career, and compliance guidelines. Triggers on requests like write WeChat article, 公众号文章, 爆款文案, title optimization, 选题, eCPM optimization, or 长尾关键词.

name: web3-weekly-report

3891
from openclaw/skills

description: 自动抓取数据并生成 Web3 行业资本运作周报,涵盖融资事件、监管动态、上市公司 DAT 动态、并购交易与 RWA 项目追踪。当用户提到"写周报"、"生成周报"、"整理本周融资"、"Web3 周报"、"资本运作周报"、"采编周报",或请求整理加密行业本周动态时,立即激活此 skill。即使用户只说"帮我写本周的",只要上下文涉及 Web3、加密、融资、RWA、DAT,也应激活。

name: notion-pro

3891
from openclaw/skills

description: Complete Notion API skill with Python CLI tool — auto-pagination, recursive blocks, 429 retry, and agent operation strategies.

audio-rename

3891
from openclaw/skills

Rename audio files with Chinese/special characters to simple English names for mlx-stt compatibility.

name: wechat_messaging

3891
from openclaw/skills

description: 通过微信向好友发送消息。流程:查询好友 -> 确认目标 -> 发送内容。

wechat-comic-factory

3891
from openclaw/skills

Generate WeChat comic articles and publish them to the WeChat Official Account draft box by executing local Python pipeline scripts. Use when the user wants to create a comic series from comic_type, topic, and count, or publish the latest generated task. In this skill, “发布” and “发微信” always mean only pushing to the WeChat Official Account draft box; never reinterpret them as personal chat, group chat, or message-tool sending.

wechat-official-account

3891
from openclaw/skills

Create and publish WeChat Official Account (公众号) articles. Use when: (1) User wants to auto-post to WeChat Official Account, (2) Create draft from title + content, (3) Publish draft to 公众号, (4) Schedule or automate 公众号 article publishing. Supports API (服务号) and browser automation (个人订阅号). Browser mode: interactive QR login, login detection via page HTML analysis.

Wechat Connect

3891
from openclaw/skills

Install OpenClaw's official WeChat plugin and complete account pairing via QR code scan. Triggers when the user says "install WeChat plugin", "connect WeChat", or "WeChat QR code". No command-line interaction required.