According to AlphaMoat, as of 2026-10, wxauto has 8,917 downloads and 11 stars — ranked by downloads #3,117 among 10,914 AI skills in this ranking, and #255 of 873 in Business Ops.
The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.
| Platform | Downloads | Stars | Comments |
|---|---|---|---|
| ClawHub ↗ | 1.5K | 2 | - |
| SkillHub ↗ | 8.9K | 11 | — |
Platforms count differently and update at different times.
It calls the local wxautox4 interface to message contacts or groups, read chat history, listen for new messages, and manage friend and group lists. Calls use Bearer Token auth, with the address and token set in config.yaml and pointing at the local service by default. Keep the Bearer token secret. Confirm the recipient and final content before sending messages or accepting friend requests.
Profile published 2026-10-27
Generated from the skill’s documentation as examples; not results of actual runs.
The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.
| Month | Downloads | MoM | Stars |
|---|---|---|---|
| 2026-10 | 8.9K | — | 11 |
| 2026-09 | 5.2K | — | 11 |
| 2026-08 | 4.0K | +13.6% | 11 |
| 2026-07 | 3.5K | — | 10 |
| 2026-05 | 3.0K | — | 6 |
| 2026-03 | 1.6K | — | 2 |
The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.
---
name: wxauto
description: "微信自动化操作。通过 wxautox4 RESTful API 实现发送消息、获取聊天记录、监听消息、好友管理等功能。Use when: (1) 发送微信消息给好友或群聊,(2) 读取微信聊天记录,(3) 监听新消息,(4) 获取好友列表或群聊列表,(5) 接受好友申请,(6) 切换聊天窗口等微信操作。"
metadata:
{
"openclaw":
{
"emoji": "💬",
"requires": { "bins": ["python"] },
"install": [
{
"id": "pip-wxautox4",
"kind": "pip",
"package": "wxautox4",
"label": "Install wxautox4 (pip)",
},
],
},
}
---
# 微信自动化
通过本地 HTTP 服务操作微信,支持消息收发、监听、好友管理等功能。
## 前置要求
1. **安装 wxautox4**:
```bash
pip install wxautox4
```
> 注意:需windows系统,python3.9,3.10,3.11,3.12 64位,其他python版本暂不支持
2. **激活 wxautox4**:
```bash
wxautox4 -a your-activation-code
```
> 获取:https://docs.wxauto.org/plus
3. **部署 API 服务**:
- 克隆项目:https://github.com/cluic/wxauto-restful-api
- 配置 `config.yaml`
- 启动服务:`python run.py`
## 服务配置
- 认证:Bearer Token(见 `config.yaml` 的 `auth.token`,默认值为 `token`)
- 服务状态文件:`~/.wxautox/service_status.json`(服务启动时自动生成,请查看该文件获取服务信息)
### 自动配置检测
服务启动后会自动将运行信息写入 `~/.wxautox/service_status.json`。wxapi.py 脚本会:
1. 自动读取此文件获取连接配置
2. 验证服务是否真的在运行(通过 API 健康检查)
3. 如果服务未运行,自动启动服务(需要服务目录存在)
服务目录搜索顺序:
- `../wxauto-restful-api`(相对于 skill 目录)
- `~/wxauto-restful-api`
- `WXAPI_SERVICE_DIR` 环境变量指定的路径
### 手动配置方式(可选)
如果需要覆盖自动配置,优先级从高到低:
1. **命令行参数**
```powershell
python wxapi.py --base-url "http://localhost:9000" --token "my-token" send "好友" "消息"
```
2. **环境变量**
```powershell
$env:WXAPI_BASE_URL = "http://localhost:9000"
$env:WXAPI_TOKEN = "my-token"
# 或者
$env:WXAPI_PORT = "9000"
$env:WXAPI_SERVICE_DIR = "/path/to/wxauto-restful-api"
```
3. **service_status.json** - 自动检测(推荐)
4. **config.yaml** - 服务目录下的配置文件
5. **默认值** - `http://localhost:8000`, token 为 `token`
## 启动服务
首次使用前需要启动服务:
```powershell
# 进入服务目录
cd /path/to/wxauto-restful-api
```
# 启动服务
```
python run.py
```
或后台启动(Windows):
```powershell
Start-Process python -ArgumentList "run.py" -WorkingDirectory "C:\path\to\wxauto-restful-api" -WindowStyle Hidden
```
如果服务已运行,脚本会自动连接;如果服务未运行且配置了服务目录,脚本会自动启动服务。
## 脚本路径
Python 调用脚本位于 skill 目录下的 `scripts/wxapi.py`。
使用 `{baseDir}` 引用 skill 目录:
```powershell
python "{baseDir}/scripts/wxapi.py" send "好友" "消息"
```
## 可用命令
### 初始化和状态
```powershell
# 初始化微信实例
python wxapi.py init
# 获取服务状态
python wxapi.py status
# 检查是否在线
python wxapi.py online
# 获取我的信息
python wxapi.py myinfo
```
### 发送消息
```powershell
# 主窗口发送
python wxapi.py send "好友名" "消息内容"
# 精确匹配
python wxapi.py send "好友名" "消息内容" --exact
# @群成员
python wxapi.py send "群名" "开会了" --at "张三,李四"
# 子窗口发送
python wxapi.py send-chat "好友名" "消息内容"
```
### 读取消息
```powershell
# 获取聊天记录(主窗口)
python wxapi.py getmsg "好友名"
# 获取聊天记录(子窗口)
python wxapi.py getmsg-chat "好友名"
# 获取历史消息
python wxapi.py history "好友名" --count 100
# 获取新消息(主窗口轮询)
python wxapi.py newmsg
# 获取新消息(子窗口)
python wxapi.py newmsg-chat "好友名"
```
### 监听管理
```powershell
# 添加监听(打开子窗口)
python wxapi.py listen "好友名"
```
### 会话管理
```powershell
# 获取会话列表
python wxapi.py session
# 获取所有子窗口
python wxapi.py windows
# 切换聊天窗口
python wxapi.py chatwith "好友名" --exact
```
### 获取列表
```powershell
# 好友列表
python wxapi.py friends
# 群聊列表
python wxapi.py groups
```
### 页面控制
```powershell
# 切换到聊天页面
python wxapi.py switch-chat
# 切换到联系人页面
python wxapi.py switch-contact
```
### 查看帮助
```powershell
python wxapi.py --help
```
## API 接口列表
根据 wxauto-restful-api 服务:
### 微信功能接口
| 接口 | 说明 |
|------|------|
| `POST /v1/wechat/initialize` | 初始化微信实例 |
| `GET /v1/wechat/status` | 获取微信状态 |
| `POST /v1/wechat/send` | 发送消息 |
| `POST /v1/wechat/sendfile` | 发送文件 |
| `POST /v1/wechat/sendurlcard` | 发送 URL 卡片 |
| `POST /v1/wechat/getallmessage` | 获取当前窗口消息 |
| `POST /v1/wechat/gethistorymessage` | 获取历史消息 |
| `POST /v1/wechat/getnextnewmessage` | 获取新消息 |
| `POST /v1/wechat/getsession` | 获取会话列表 |
| `POST /v1/wechat/getsubwindow` | 获取指定子窗口 |
| `POST /v1/wechat/getallsubwindow` | 获取所有子窗口 |
| `POST /v1/wechat/chatwith` | 切换聊天窗口 |
| `POST /v1/wechat/getfriends` | 获取好友列表 |
| `POST /v1/wechat/getmyinfo` | 获取我的信息 |
| `POST /v1/wechat/getrecentgroups` | 获取群聊列表 |
| `POST /v1/wechat/switch/chat` | 切换到聊天页面 |
| `POST /v1/wechat/switch/contact` | 切换到联系人页面 |
| `POST /v1/wechat/isonline` | 检查在线状态 |
### 聊天接口(子窗口)
| 接口 | 说明 |
|------|------|
| `POST /v1/chat/send` | 子窗口发送消息 |
| `POST /v1/chat/getallmessage` | 获取子窗口所有消息 |
| `POST /v1/chat/getnewmessage` | 获取子窗口新消息 |
| `POST /v1/chat/msg/quote` | 发送引用消息 |
| `POST /v1/chat/close` | 关闭子窗口 |
## 直接 API 调用(备选)
如需直接调用 HTTP API,用 Python(不要用 PowerShell,有中文编码问题):
```python
import requests
headers = {"Authorization": "Bearer token", "Content-Type": "application/json"}
body = {"who": "好友名", "msg": "消息内容"}
resp = requests.post("http://localhost:8000/v1/wechat/send", headers=headers, json=body)
print(resp.json())
```
## 响应格式
所有 API 返回统一格式:
```json
{
"success": true,
"message": "操作成功",
"data": { ... }
}
```
## 注意事项
1. 微信客户端需要保持打开状态
2. wxautox4 需要激活后才能使用
3. **不要用 PowerShell 直接调用 API**(中文编码问题),请使用 Python 脚本
4. 修改 `config.yaml` 中的 `auth.token` 以增强安全性
百炼®标书是一个面向投标场景标书写作的skill,可以帮用户完成四件事:解读招标文件、生成投标文件、审查投标文件合规风险以及标书查重。它适合用自然语言直接写作,用户只要提供文件和需求,就能拿到解读结果、成品标书、审查报告、查重报告。百炼®标书官网:https://biaoshu.zhiliaobiaoxun.com
AdMapix广告原始数据层,广告创意/应用/排名/下载收入
知了标讯: Searches and analyzes tender, award, supplier, and procurement-market information.
Search and analyze tender and award information through the Zhiliaobiaoxun API.
喜鹊标书审查|让投标风险看得见、查得清、改得准 投标文件准备好了,还有哪些遗漏和隐患?喜鹊标书审查对照招标要求,检查投标文件中的响应缺漏、内容矛盾和潜在风险,帮助您在提交前发现问题、明确修改重点。 - 问题一目了然:区分已确认风险与待核实事项,清晰呈现问题位置、具体表现及潜在影响。 - 审查有据可查:关联招标条款与投标内容,让您看清“要求是什么、哪里存在问题、判断依据是什么”。 - 原文快速定位:结合页码、检索线索和证据截图,减少来回翻找,方便逐项核对。 - 完整报告可交付:提供 Word 审查报告及审查版 PDF,便于团队复核、修改和留档。 支持 PDF、DOCX 及多附件审查。先检查文件,再展示价格并按次付费;支持随时查询进度、继续已付款任务和补领报告,让每一次审查都有清晰结果。 https://www.xiquebiaoshu.com/?source=skillhub](https://www.xiquebiaoshu.com/?source=bid-review-pay
A skill that gives an AI agent a phone number and runs phone tasks for it.
将真实产品照片制作成影棚级电商主图、场景图或面向市场平台的高清商品图。这款 AI 商品图工作室用于商品图片处理和电商图片编辑,可替换背景、改善光效、搭建场景。它以原图中的商品外观特征为依据,从一张手机随拍就能做出白底主图、生活场景图和高级广告图。适用于亚马逊白底产品图、淘宝主图、Shopify 产品大图和社交媒体商品图。从一张产品照片出发,组合多张参考图,或在选定草稿上做定向精修,完成适合上架使用的成品;生活场景图和广告图也能直接用作商品详情页图片。
【零一数科·出品】会员体系搭建(免费版)。为私域用户设计会员体系搭建,产出会员等级成长表、积分获取消耗规则表、权益配置矩阵、积分财务测算表四件套。适用于会员积分体系设计、会员等级阶梯、成长值规则、权益配置、积分获取与消耗、积分财务测算、私域会员运营。
Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.