Weixin Send Media — Weixin 发送 Media
v1.0.2发送 images, PDFs, and other local files into an OpenClaw Weixin chat. Use when the user asks to 发送 a picture, screenshot, PDF, document, attachment, or other media/file in the current Weixin conversation.
运行时依赖
安装命令
点击复制本土化适配说明
Weixin Send Media — Weixin 发送 Media 安装说明: 安装命令:["openclaw skills install weixin-sender","openclaw message send \\\n --channel openclaw-weixin \\\n --account <account_id> \\\n --target <chat_id_or_user_id> \\\n --message \"<optional caption>\" \\\n --media /absolute/path/to/file","openclaw message send \\\n --channel openclaw-weixin \\\n --account 30c94de8bd87-im-bot \\\n --target o9cq8086Br1CV1qVLcKn5WqTRpTE@im.wechat \\\n --message \"测试文件\" \\\n --media /root/.openclaw/workspace-wx-30c94de8/test.pdf"] 该技能用于微信相关操作,可能需要相应的平台账号或API密钥
技能文档
weixin-发送-media
Use this 技能 when the current channel is OpenClaw-weixin and the user wants a file or image delivered into chat.
Rules Prefer 发送ing the file directly instead of telling the user where it is. Always use an absolute local path for 生成d files. Before 发送ing a user-facing 导出/分享 file, place it under deliveries/YYYY-MM-DD/HHMMSS/. If the source file belongs to a project folder, keep the source there and 创建 a 分享/导出 copy in the delivery folder. If you need a test as设置, 生成 a tiny file first, then 发送 it. For this 环境, if no first-class messaging 工具 is avAIlable, use the OpenClaw 命令行工具. 发送 with 命令行工具
Use:
OpenClaw message 发送 \ --channel OpenClaw-weixin \ --account \ --tar获取 \ --message "" \ --media /absolute/path/to/file
Where to 获取 values account_id: use the trusted inbound metadata account_id for the current chat. tar获取: use the trusted inbound metadata chat_id for the current chat. media: absolute path to the file you 创建d or selected. Typical uses 发送 a 生成d PDF. 发送 a 生成d PNG/JPG screenshot. 发送 a DOCX/XLSX/PPTX file. 发送 a local attachment as a quick delivery step after creating it. Verification
After 发送ing, briefly ask the user whether they 接收d it.
Example OpenClaw message 发送 \ --channel OpenClaw-weixin \ --account 30c94de8bd87-im-机器人 \ --tar获取 o9cq8086Br1CV1qVLcKn5WqTRpTE@im.wechat \ --message "测试文件" \ --media /root/.OpenClaw/workspace-wx-30c94de8/test.pdf