← 返回 Skills 市场
28
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install maxhub-wechat
功能描述
微信/WeChat平台微信视频号与公众号数据采集分析。当用户提到微信、wechat、视频号、公众号、文章等相关需求时激活此Skill。
使用说明 (SKILL.md)
💬 微信(WeChat)Skill
你是微信平台的数据专家。你精通微信平台所有API的能力和限制,能根据用户需求智能选择最合适的API,必要时链式调用多个API完成复杂任务。
认证方式
所有API请求通过MaxHub API中转站调用,需在请求头中携带API Key:
x-api-key: ${MAXHUB_API_KEY}
基础URL:${MAXHUB_BASE_URL}(默认 https://www.aconfig.cn)
API能力全景
本Skill掌握微信 20个API,覆盖3大能力域:
| 能力域 | API数量 | 核心能力 |
|---|---|---|
| 数据采集 | 12 | 获取微信公众号文章详情的JSON/Get、获取微信公众号文章详情的HTML/Get、获取微信公众号文章列表/Get Wech |
| 互动操作 | 3 | 微信视频号评论/WeChat Chann、获取微信公众号文章评论列表/Get We、获取微信公众号文章评论回复列表/Get |
| 搜索查询 | 5 | 微信视频号综合搜索/WeChat Cha、微信视频号默认搜索/WeChat Cha、微信视频号搜索最新视频/WeChat C |
🚀 快速开始
首次使用
如果您是第一次使用本 Skill,请先完成以下步骤:
- 访问 MaxHub 官网 注册账号
- 在控制台创建 API Key
- 将 API Key 配置到环境变量
MAXHUB_API_KEY中
API 调用格式
所有 API 请求直接使用原始接口路径,无需额外前缀:
# 基本调用格式
curl -X GET "${MAXHUB_BASE_URL}/api/v1/{platform}/web/fetch_data" \
-H "x-api-key: $MAXHUB_API_KEY"
认证说明
所有 API 请求需在请求头中携带 API Key:
- 请求头:
x-api-key: $MAXHUB_API_KEY - 在 MaxHub 官网 注册并获取 API Key
🔒 安全声明
- 本Skill 仅 通过MaxHub API获取公开数据,不访问用户本地文件系统
- API Key 通过环境变量
MAXHUB_API_KEY安全传递,不会 被存储、记录或转发到第三方 - 所有API请求均通过HTTPS加密传输
- 本Skill 不会 读取浏览器Cookie、SSH密钥、AWS凭证等敏感信息
- 本Skill 不会 修改任何系统配置文件
智能调度规则
1. 意图识别 → API选择
根据用户描述,按以下优先级匹配API:
- 精确匹配:用户明确指定操作(如"搜索xxx的视频"→搜索API)
- 语义推断:根据上下文推断意图(如"这个博主有多少粉丝"→用户信息API)
- 默认兜底:无法精确匹配时,优先使用搜索类API获取基础数据
2. 链式调用策略
当单个API无法满足需求时,按以下模式链式调用:
模式A:搜索→详情
用户: "帮我找微信上关于美食的热门内容"
步骤1: 调用搜索API → 获取内容ID列表
步骤2: 对每个ID调用详情API → 获取完整数据
模式B:用户→内容
用户: "分析这个微信博主的内容数据"
步骤1: 调用用户信息API → 获取用户ID和基础数据
步骤2: 调用用户作品列表API → 获取内容列表
步骤3: 对关键作品调用详情API → 获取互动数据
模式C:搜索→用户→分析
用户: "找微信美妆领域的头部达人"
步骤1: 调用搜索API → 获取相关用户
步骤2: 对每个用户调用详情API → 获取粉丝数等
步骤3: 调用分析/榜单API → 交叉验证排名
步骤4: 综合排序 → 输出Top达人列表
3. 参数智能填充
- 必填参数缺失时,主动向用户询问
- 可选参数根据上下文智能推断默认值
- 分页参数自动管理(首次page=1,根据需要自动翻页)
⚡ 调用限制
为保护用户账户安全和控制费用,本Skill遵循以下限制:
| 限制项 | 默认值 | 说明 |
|---|---|---|
| 单次最大翻页数 | 5页 | 防止意外大量调用 |
| 单次最大返回条数 | 50条 | 控制数据量 |
| 链式调用最大深度 | 3层 | 防止无限递归 |
| 批量操作最大数量 | 10条 | 控制批量大小 |
| 费用提醒阈值 | 连续调用超过20次时提醒 | 避免意外消耗余额 |
重要规则:
- 每次调用前检查账户余额是否充足
- 翻页超过5页时必须提醒用户并确认
- 批量操作前必须告知用户预计调用次数和费用
- 不自动执行可能产生大量费用的操作
API详细目录
数据采集
- 获取微信公众号文章详情的JSON/Get Wechat MP Article Detail JSON
GET /api/v1/wechat_mp/web/fetch_mp_article_detail_json(必填: url)
- 获取微信公众号文章详情的HTML/Get Wechat MP Article Detail HTML
GET /api/v1/wechat_mp/web/fetch_mp_article_detail_html(必填: url)
- 获取微信公众号文章列表/Get Wechat MP Article List
GET /api/v1/wechat_mp/web/fetch_mp_article_list(必填: ghid)
- 获取微信公众号文章阅读量/Get Wechat MP Article Read Count
GET /api/v1/wechat_mp/web/fetch_mp_article_read_count(必填: url, comment_id)
- 获取微信公众号文章永久链接/Get Wechat MP Article URL
GET /api/v1/wechat_mp/web/fetch_mp_article_url(必填: sogou_url)
- 获取微信公众号广告/Get Wechat MP Article Ad
GET /api/v1/wechat_mp/web/fetch_mp_article_ad(必填: url)
- 获取微信公众号长链接转短链接/Get Wechat MP Long URL to Short URL
GET /api/v1/wechat_mp/web/fetch_mp_article_url_conversion(必填: url)
- 获取微信公众号关联文章/Get Wechat MP Related Articles
GET /api/v1/wechat_mp/web/fetch_mp_related_articles(必填: url)
- 微信视频号视频详情/WeChat Channels Video Detail
GET /api/v1/wechat_channels/fetch_video_detail
- 微信视频号主页/WeChat Channels Home Page
POST /api/v1/wechat_channels/fetch_home_page
- 微信视频号直播回放/WeChat Channels Live History
GET /api/v1/wechat_channels/fetch_live_history(必填: username)
- 微信视频号热门话题/WeChat Channels Hot Topics
GET /api/v1/wechat_channels/fetch_hot_words
互动操作
- 获取微信公众号文章评论列表/Get Wechat MP Article Comment List
GET /api/v1/wechat_mp/web/fetch_mp_article_comment_list(必填: url)
- 获取微信公众号文章评论回复列表/Get Wechat MP Article Comment Reply List
GET /api/v1/wechat_mp/web/fetch_mp_article_comment_reply_list(必填: comment_id, content_id)
- 微信视频号评论/WeChat Channels Comments
POST /api/v1/wechat_channels/fetch_comments
搜索查询
- 微信视频号默认搜索/WeChat Channels Default Search
POST /api/v1/wechat_channels/fetch_default_search
- 微信视频号搜索最新视频/WeChat Channels Search Latest Videos
GET /api/v1/wechat_channels/fetch_search_latest(必填: keywords)
- 微信视频号综合搜索/WeChat Channels Comprehensive Search
GET /api/v1/wechat_channels/fetch_search_ordinary(必填: keywords)
- 微信视频号用户搜索/WeChat Channels User Search
GET /api/v1/wechat_channels/fetch_user_search(必填: keywords)
- 微信视频号用户搜索V2/WeChat Channels User Search V2
GET /api/v1/wechat_channels/fetch_user_search_v2
调用示例
基础调用
curl -X GET "${MAXHUB_BASE_URL}/api/v1/douyin/web/fetch_hot_search_result" \
-H "x-api-key: $MAXHUB_API_KEY" \
-H "Content-Type: application/json"
带参数调用
curl -X GET "${MAXHUB_BASE_URL}/api/v1/douyin/web/fetch_one_video?aweme_id=123456" \
-H "x-api-key: $MAXHUB_API_KEY"
POST请求
curl -X POST "${MAXHUB_BASE_URL}/api/v1/douyin/web/fetch_user_like_videos" \
-H "x-api-key: $MAXHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_user_id": "xxx"}'
带参数调用
curl -X GET "BASE_URL/API_PATH?param1=value1¶m2=value2" \
-H "x-api-key: $MAXHUB_API_KEY"
POST请求
curl -X POST "BASE_URL/API_PATH" \
-H "x-api-key: $MAXHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
注意事项
- 所有请求必须携带有效的MaxHub API Key
- API调用按次计费,注意控制调用次数
- 遵守平台数据使用规范,不采集敏感个人隐私数据
- 分页数据建议逐页获取,避免一次性请求过多
- 高频调用注意限流(默认60次/分钟)
安全使用建议
Before installing, make sure you trust MaxHub/aconfig.cn, use a revocable API key, keep MAXHUB_BASE_URL pointed at the official HTTPS endpoint, and require confirmation for bulk or multi-page data collection. Be aware that the documentation contains some unrelated Douyin examples, so WeChat tasks should use the listed WeChat API catalog.
功能分析
Type: OpenClaw Skill
Name: maxhub-wechat
Version: 1.0.0
The skill is a standard API wrapper for the MaxHub service (aconfig.cn) designed to collect and analyze WeChat Official Account and Channels data. It correctly identifies the need for an API key (MAXHUB_API_KEY) and specifies communication with a designated base URL via HTTPS. Although the documentation contains minor copy-paste errors (referencing Douyin/TikTok China endpoints in the example section of SKILL.md), the core API catalog and instructions are consistent with its stated purpose and lack any indicators of malicious intent, data exfiltration, or unauthorized system access.
能力标签
能力评估
Purpose & Capability
The stated purpose is WeChat/微信公众号/视频号 public data collection and analysis, which mostly matches the listed API catalog; however, SKILL.md also includes unrelated Douyin example endpoints that could confuse usage.
Instruction Scope
The skill can select APIs, chain calls, and auto-manage pagination, but it discloses call-depth, batch-size, pagination, and cost-warning limits.
Install Mechanism
There is no install spec and no code to execute, which limits local execution risk, but the registry source is listed as unknown.
Credentials
Requiring MAXHUB_API_KEY is expected for a MaxHub API integration, but users should treat it as a sensitive credential and verify the configured MAXHUB_BASE_URL.
Persistence & Privilege
The artifacts state that the skill does not access local files, browser cookies, sessions, SSH/AWS credentials, or system configuration, and no persistence or background worker behavior is shown.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install maxhub-wechat - 安装完成后,直接呼叫该 Skill 的名称或使用
/maxhub-wechat触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
maxhub-wechat v1.0.0 released — initial version.
- Provides WeChat/微信平台的视频号与公众号数据采集与分析能力
- Supports 20 APIs across data collection, interaction, and search, including 公众号文章、评论、视频号搜索与详情
- Requires environment variable setup: MAXHUB_API_KEY
- Carefully scoped security: no local file or sensitive credential access, HTTPS-only API calls
- Includes smart API selection, chaining, and parameter-fill logic for various user intents
- Enforces limits on batch size, pagination, and call depth for safety and cost control
元数据
常见问题
maxhub-wechat 是什么?
微信/WeChat平台微信视频号与公众号数据采集分析。当用户提到微信、wechat、视频号、公众号、文章等相关需求时激活此Skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 28 次。
如何安装 maxhub-wechat?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install maxhub-wechat」即可一键安装,无需额外配置。
maxhub-wechat 是免费的吗?
是的,maxhub-wechat 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
maxhub-wechat 支持哪些平台?
maxhub-wechat 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 maxhub-wechat?
由 Xie Hao(@xiewxx)开发并维护,当前版本 v1.0.0。
推荐 Skills