← 返回
未分类 中文

Weixin Send Media

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 ot...
发送图片、PDF及其他本地文件到OpenClaw微信聊天。当用户要求发送图片、截图、PDF、文档、附件或其他文件时使用。
starlxa starlxa 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 457
下载
💾 0
安装
1
版本
#latest

概述

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:

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

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

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-03 08:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 871 📥 348,641
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,523 📥 579,781
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,170 📥 942,167