Token导航 LogoToken导航

Agent Skill · 开发

ryan-wechat-mp(Ryan 微信 mp)

ryan-wechat-mp 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ryan-wechat-mp 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 3,951。

总安装 9,560周安装 383GitHub Stars 公开资料未说明下载 3,095核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ryan-wechat-mp(Ryan 微信 mp)
来源仓库:https://github.com/ryan32382/ryan-wechat-mp
安装命令:
openclaw skills install ryan-wechat-mp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ryan-wechat-mp

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

通过微信MP API自动发布微信公众号文章,包括媒体上传、草稿管理和发布状态查询。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ryan-wechat-mp;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ryan-wechat-mp 怎么安装?

在终端执行 openclaw skills install ryan-wechat-mp。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ryan-wechat-mp 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ryan-wechat-mp 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

ryan-wechat-mp 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ryan-wechat-mp 用的人多吗?

公开数据是累计安装 9,560 次,近一周安装 383 次,下载 3,095 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ryan-wechat-mp 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
ryan-wechat-mp

Ryan 微信 mp · 本页

9,560—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

WeChat MP Publisher

OpenClaw Skill for publishing articles to WeChat Official Account (微信公众号文章自动发布工具)

Description

This skill enables AI agents to publish articles to WeChat Official Accounts using the WeChat MP API. It supports:

  • AccessToken management with automatic caching and refresh
  • Media upload (images, thumbnails, videos)
  • Article draft creation and management
  • Publishing articles to followers
  • Querying publish status and drafts

Tools

wechat-mp-publish

Publish a WeChat Official Account article (发布微信公众号文章)

Parameters:

  • title (string, required): Article title (文章标题)
  • content (string, required): Article content in HTML format (正文内容,支持 HTML)
  • cover_media_id (string, required): Cover image media_id obtained from upload (封面图片素材 ID)
  • author (string, optional): Author name (作者名)
  • digest (string, optional): Article summary/abstract (文章摘要)
  • content_source_url (string, optional): Original source URL (原文链接)
  • publish (boolean, optional): Whether to publish immediately (default: true). Set to false to save as draft. (是否立即发布,false 则保存为草稿)

Returns:

{
  "success": true,
  "message": "文章已创建并提交发布",
  "data": {
    "media_id": "draft media id",
    "publish_id": "publish task id"
  }
}

Example:

tool: wechat-mp-publish
params:
  title: "我的第一篇文章"
  content: "<p>这是一篇测试文章</p>"
  cover_media_id: "MEDIA_ID_FROM_UPLOAD"
  author: "张三"
  publish: true

wechat-mp-upload-media

Upload media file to WeChat server (上传素材到微信服务器)

Parameters:

  • file_path (string, required): Local file path to upload (本地文件路径)
  • type (string, optional): Media type - image, thumb, voice, video (default: image) (素材类型)

Returns:

{
  "success": true,
  "message": "素材上传成功",
  "data": {
    "media_id": "uploaded media id",
    "type": "image",
    "created_at": 1234567890
  }
}

Example:

tool: wechat-mp-upload-media
params:
  file_path: "/path/to/image.jpg"
  type: "image"

wechat-mp-upload-cover

Upload cover image (shortcut for thumb type upload) (上传封面图片)

Parameters:

  • file_path (string, required): Local file path to cover image (封面图片路径)

Returns:

{
  "success": true,
  "message": "封面上传成功",
  "data": {
    "media_id": "cover media id"
  }
}

Example:

tool: wechat-mp-upload-cover
params:
  file_path: "/path/to/cover.jpg"

wechat-mp-query-drafts

Query draft list (查询草稿列表)

Parameters:

  • offset (number, optional): Pagination offset (default: 0) (分页偏移量)
  • count (number, optional): Items per page, max 20 (default: 10) (每页数量)

Returns:

{
  "success": true,
  "message": "获取草稿列表成功,共 5 条",
  "data": {
    "total_count": 5,
    "item_count": 5,
    "items": [...]
  }
}

wechat-mp-query-publish-status

Query publish status by publish_id (查询发布状态)

Parameters:

  • publish_id (string, required): Publish task ID returned from publish (发布任务 ID)

Returns:

{
  "success": true,
  "message": "发布状态: 成功",
  "data": {
    "publish_id": "PUBLISH_ID",
    "publish_status": 0,
    "status_text": "成功",
    "article_id": "ARTICLE_ID",
    "article_detail": {...}
  }
}

Status codes:

  • 0: Success (成功)
  • 1: Publishing (发布中)
  • 2: Original content review failed (原创审核失败)
  • 3: Failed (失败)

wechat-mp-delete-draft

Delete a draft by media_id (删除草稿)

Parameters:

  • media_id (string, required): Draft media_id to delete (草稿素材 ID)

Returns:

{
  "success": true,
  "message": "草稿删除成功"
}

Configuration

Create a configuration file at ~/.openclaw/config/wechat-mp.json:

{
  "app_id": "your-wechat-app-id",
  "app_secret": "your-wechat-app-secret",
  "default_author": "默认作者名",
  "access_token_cache_file": "~/.openclaw/.wechat_mp_token.json"
}

Or use environment variables:

export WECHAT_MP_APP_ID="your-app-id"
export WECHAT_MP_APP_SECRET="your-app-secret"
export WECHAT_MP_DEFAULT_AUTHOR="默认作者"
export WECHAT_MP_TOKEN_CACHE="~/.openclaw/.wechat_mp_token.json"

Prerequisites

  1. WeChat Official Account (Service Account/认证服务号) with API access
  2. IP whitelist configured in WeChat MP Admin Portal
  3. Node.js >= 18

Installation

cd /Users/zhizi/.openclaw/workspace/agents/dev-team/projects/active/wechat-mp-publisher
npm install
npm run build

Usage Example

Complete workflow

// 1. Upload cover image
const coverResult = await wechatMpUploadCover({
  file_path: "/path/to/cover.jpg"
});

// 2. Publish article
const publishResult = await wechatMpPublish({
  title: "我的文章标题",
  content: "<p>文章内容</p>",
  cover_media_id: coverResult.data.media_id,
  author: "作者名",
  publish: true
});

// 3. Check publish status
const status = await wechatMpQueryPublishStatus({
  publish_id: publishResult.data.publish_id
});

Project Structure

wechat-mp-publisher/
├── SKILL.md                    # This file
├── README.md                   # Project documentation
├── package.json                # Dependencies
├── tsconfig.json               # TypeScript config
├── src/
│   ├── index.ts               # Main entry & OpenClaw tools
│   ├── auth.ts                # AccessToken management
│   ├── media.ts               # Media upload
│   ├── article.ts             # Article management
│   └── types.ts               # TypeScript types
├── scripts/                    # CLI scripts (optional)
└── tests/                      # Test files

Error Handling

All tools return a standardized response:

{
  success: boolean;    // Operation success status
  message: string;     // Human-readable message
  data?: any;          // Response data on success
}

On failure, success will be false and message contains the error description.

API Reference

Based on WeChat Official Account API:

  • https://developers.weixin.qq.com/doc/offiaccount/en/Getting_Started/Overview.html

License

MIT

平台分布

OpenClaw

90.28%
按下载量换算2,794

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills