Token导航 LogoToken导航

Agent Skill · 效率

wechat-sendmedia(微信发送媒体)

wechat-sendmedia 用于处理图像、截图、视觉识别或图片素材相关工作,适合在 OpenClaw 中需要让 Agent 分析图片、整理视觉素材或辅助图像流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

wechat-sendmedia 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 15,880。

总安装 3,003周安装 129GitHub Stars 公开资料未说明下载 1,053核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install wechat-sendmedia

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

wechat-sendmedia 通过 OpenClaw 微信通道发送本地图像和文件到对话中。适用于 OpenClaw 中需要快速分享素材或截图的协作场景。支持拖拽文件和屏幕截图上传,自动转换格式适配微信。安装命令为 openclaw skills install wechat-sendmedia,需启用微信频道权限。

文件大小和类型受微信限制,建议提前压缩或裁剪。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

wechat-sendmedia 怎么安装?

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

wechat-sendmedia 支持哪些 AI 工具?

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

wechat-sendmedia 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

wechat-sendmedia 是免费的吗?

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

wechat-sendmedia 用的人多吗?

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

wechat-sendmedia 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

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

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
wechat-sendmedia

微信发送媒体 · 本页

3,003—操作浏览器MIT-0有提醒

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

SKILL.md 原文

name
wechat-sendmedia
description
send images and files to a wechat conversation through openclaw's wechat channel. use when the user asks to send a local image, send a screenshot, send a downloaded file, or send any media/file back to the current wechat chat or an optional recipient. optimized for openclaw builds where the gateway parses MEDIA:file:// tokens from plain text instead of json media envelopes.

Wechat Sendmedia

Use this skill only for the openclaw-weixin channel.

Core rule

For outbound media, prefer the plain-text MEDIA token format, not a JSON envelope.

Return the final assistant message as plain text like this:

发送成功
- 类型:图片 | 文件
- 路径:<absolute path>
- 接收人:当前会话 | <recipient>

MEDIA:file:///absolute/path/to/file.png

Why: newer OpenClaw gateway builds parse media only from text directives such as MEDIA:file:///.... If you return JSON like { "mediaUrl": "file:///..." }, the gateway may forward that JSON as plain text and no image/file will be delivered.

Never do this

Do not rely on these formats as the primary output:

{
  "text": "这是你要的图片",
  "mediaUrl": "file:///tmp/x.png"
}

or:

{
  "text": "...",
  "mediaUrl": "MEDIA:file:///tmp/x.png"
}

These may be displayed to the user as literal text.

Supported tasks

Handle these tasks:

  • Send a local image file to WeChat.
  • Take a browser or desktop screenshot, then send it.
  • Send a non-image file such as a PDF, text file, archive, or document.
  • Send to the current conversation by default.
  • Send to a specific recipient only if the user explicitly provides one.
  • Return 发送成功 or 发送失败 plus actionable diagnostics.

Inputs

Interpret the request into:

  • file_path: absolute local path to an existing file, or a screenshot path produced earlier.
  • recipient: optional. Default 当前会话.
  • caption: optional short note for the human-readable confirmation text.
  • source_kind: image or file.

If the user asks for a screenshot first, obtain the screenshot file before sending.

Output contract

Success outcome

Return plain text only:

发送成功
- 类型:图片
- 路径:/tmp/browser-shot.png
- 接收人:当前会话

MEDIA:file:///tmp/browser-shot.png

Rules:

  • The MEDIA:file://... directive must be on its own line.
  • Use an absolute local path.
  • Use 图片 for common image types and 文件 for everything else.
  • Keep the confirmation short.
  • Do not wrap the final reply in JSON unless the host explicitly requires JSON. For current OpenClaw builds, plain text is the safe default.

Failure outcome

Return:

发送失败
- 可能原因:<one line summary>
- 建议:<next step>

调试信息:
- file_path: <path>
- exists: true|false
- recipient: <recipient>
- upload_url: <value or n/a>
- upload_url_host: <value or n/a>
- encrypted_param_length: <number or 0>
- sendmessage_status: <value or n/a>
- sendmessage_response: <raw text or n/a>
- context_token_present: true|false
- media_type_guess: image|file|unknown

Workflow

  1. Resolve the user's intent.
  2. Ensure the target file exists.
  3. Run scripts/emit_media_reply.py to validate the file and build the plain-text reply payload.
  4. Return the script's reply_text value as the assistant message.
  5. If a send attempt fails or the user reports a failed send, run scripts/weixin_debug_send.js to produce targeted diagnostics.
  6. Summarize the result in Chinese.

File-type decision rules

Treat these as images by default:

  • .png, .jpg, .jpeg, .gif, .webp, .bmp

Treat everything else as files.

Recipient rules

  • If the user says 发给我 and the current task came from WeChat, use 当前会话.
  • Only override the recipient if the user explicitly names another receiver.
  • If a concrete user id is unavailable, keep recipient as 当前会话 in the confirmation text and let the host runtime map it to the current chat.

Troubleshooting rules

When debugging an OpenClaw WeChat media failure, prefer concrete evidence over guesses.

Common causes to mention only when supported by the debug output:

  • File path does not exist.
  • Host runtime treated the reply as plain text because no MEDIA: token was present.
  • Missing context token for the current chat.
  • Upload URL not returned.
  • x-encrypted-param missing or unexpectedly short.
  • sendmessage returned empty body or non-success JSON.
  • Token/session mismatch between runtime state and on-disk account data.
  • Wrong route used: JSON envelope or slash command text instead of MEDIA:file://....

Examples

Example: screenshot request

Final reply:

发送成功
- 类型:图片
- 路径:/tmp/browser-shot.png
- 接收人:当前会话

MEDIA:file:///tmp/browser-shot.png

Example: document request

Final reply:

发送成功
- 类型:文件
- 路径:/Users/example/Desktop/report.pdf
- 接收人:当前会话

MEDIA:file:///Users/example/Desktop/report.pdf

Resources

  • Use scripts/emit_media_reply.py to validate a path and build reply_text.
  • Use scripts/weixin_debug_send.js to collect failure diagnostics.
  • See references/openclaw-weixin-notes.md for compatibility notes.

平台分布

OpenClaw

78.3%
按下载量换算824

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

继续浏览同类 Skills