Media & Image v1.0.2

weixin-send-media

Send images, PDFs, and other local files into an OpenClaw Weixin chat. Use when the user asks to send a picture,...

starlxa 更新于 2026-03-26 1 浏览
下载 SKILL

技能说明

Send images, PDFs, and other local files into an OpenClaw Weixin chat. Use when the user asks to send a picture, screenshot, PDF, document, attachment, or other media/file in the current Weixin conversation.

使用场景

Use this skill when the current channel is openclaw-weixin and the user wants a file or image delivered into chat.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/weixin-send-media
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 20 kB
SKILL.md text/markdown
---
name: weixin-send-media
description: Send images, PDFs, and other local files into an OpenClaw Weixin chat. Use when the user asks to send a picture, screenshot, PDF, document, attachment, or other media/file in the current Weixin conversation.
---

# weixin-send-media

Use this skill when the current channel is `openclaw-weixin` and the user wants a file or image delivered into chat.

## Rules

- Prefer sending the file directly instead of telling the user where it is.
- Always use an **absolute local path** for generated files.
- Before sending a user-facing export/share file, place it under `deliveries/YYYY-MM-DD/HHMMSS/`.
- If the source file belongs to a project folder, keep the source there and create a share/export copy in the delivery folder.
- If you need a test asset, generate a tiny file first, then send it.
- For this environment, if no first-class messaging tool is available, use the OpenClaw CLI.

## Send with CLI

Use:

```bash
openclaw message send \
  --channel openclaw-weixin \
  --account <account_id> \
  --target <chat_id_or_user_id> \
  --message "<optional caption>" \
  --media /absolute/path/to/file
```

## Where to get values

- `account_id`: use the trusted inbound metadata `account_id` for the current chat.
- `target`: use the trusted inbound metadata `chat_id` for the current chat.
- `media`: absolute path to the file you created or selected.

## Typical uses

- Send a generated PDF.
- Send a generated PNG/JPG screenshot.
- Send a DOCX/XLSX/PPTX file.
- Send a local attachment as a quick delivery step after creating it.

## Verification

After sending, briefly ask the user whether they received it.

## Example

```bash
openclaw message send \
  --channel openclaw-weixin \
  --account 30c94de8bd87-im-bot \
  --target o9cq8086Br1CV1qVLcKn5WqTRpTE@im.wechat \
  --message "测试文件" \
  --media /root/.openclaw/workspace-wx-30c94de8/test.pdf
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。