wechat-tool

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` 接口。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "wechat-tool" with this command: npx skills add aw11100/wechat-tool

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Expedy

Expedy integration. Manage Organizations, Pipelines, Users, Filters. Use when the user wants to interact with Expedy data.

Registry SourceRecently Updated
General

Evenium

Evenium integration. Manage Events, Users, Roles. Use when the user wants to interact with Evenium data.

Registry SourceRecently Updated
General

Exhibitday

ExhibitDay integration. Manage Organizations. Use when the user wants to interact with ExhibitDay data.

Registry SourceRecently Updated
General

Enigma

Enigma integration. Manage Deals, Persons, Organizations, Leads, Projects, Activities and more. Use when the user wants to interact with Enigma data.

Registry SourceRecently Updated