← 返回
未分类 中文

QQBot Send

Send local files, images, audio, video, and other media through QQBot end to end. Use when the user asks to send a file to QQ, send a desktop/downloads/local...
通过QQBot发送本地文件、图片、音频、视频等媒体,适用于用户请求向QQ发送文件,例如从桌面、下载或本地路径发送。
zykkk-power zykkk-power 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 2
Stars
📥 491
下载
💾 0
安装
1
版本
#latest

概述

QQBot Send

Use this skill for QQ file sending end to end.

Core rule

When the user wants a file sent through QQ, complete the full send flow instead of only returning a path.

Built-in staging flow

This skill includes the old qqbot-local-media behavior.

For local files that are not already in the QQ media relay directory:

  1. Run:
    • python scripts/stage_media.py
  2. The script copies the file into:
    • ~/.openclaw/media/qqbot/
  3. Use the returned absolute path in:
    • absolute-path

Decision flow

  1. Identify the source.
    • If the source is a local absolute path outside the QQ media relay area, stage it first.
    • If the source is already inside the OpenClaw QQ media relay directory, use it directly.
    • If the source is an HTTP(S) URL, send it directly with ....
    • If the source is a local attachment path already provided in context and QQBot can send it directly, send it directly.
  1. For local files that need staging, use the bundled script in this skill.
  1. Then send with QQ rich media.
    • Use absolute-path-or-url
    • One file per tag.

Default practical flow

For most local desktop/downloads/workspace-external files:

  1. Stage into ~/.openclaw/media/qqbot/
  2. Send with ...

Size and path rules

  • Absolute local paths only
  • File size limit is 10 MB
  • Preserve the original file extension
  • Copy the file, do not modify the original
  • Do not claim you cannot send local files when the path is readable and within the size limit

Response behavior

  • If the user asked to send the file, actually send it.
  • Do not only explain the flow unless the user asked a conceptual question.
  • If staging fails because the file does not exist, say that directly.
  • If staging fails because the file is too large, say that directly.

Examples

Example 1: Desktop PDF

  • User asks: send C:\Users\name\Desktop\resume.pdf to QQ
  • Action:
  1. python scripts/stage_media.py "C:\Users\name\Desktop\resume.pdf"
  2. send staged-absolute-path

Example 2: Already staged file

  • User asks to send C:\Users\name\.openclaw\media\qqbot\abc.pdf
  • Action:
  1. send C:\Users\name\.openclaw\media\qqbot\abc.pdf directly

Example 3: URL image

  • User asks to send an image URL to QQ
  • Action:
  1. send https://example.com/image.png directly

Notes

  • Prefer completing the send in one turn.
  • Use the bundled staging script whenever the file is local and not already staged.
  • Use ... for final delivery.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 11:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

qqbot-remind-absolute

zykkk-power
通过OpenClaw定时任务管理QQBot提醒,支持用户自定义时区。用于提醒、闹钟、定时通知等场景。
★ 0 📥 447

Daily Hotspot Push

zykkk-power
自包含的每日热点订阅推送技能。用于创建、查询、修改、取消固定时间自动发送的新闻简报订阅,适合“每天中午12点推送国际科技和国际军事”“工作日早上8点推送今日热点”这类场景。不用于一次性临时查新闻。内置时区管理、中文时间解析、订阅状态存储与
★ 1 📥 399

Global Weather Service

zykkk-power
完整天气系统,基于Open-Meteo,支持全球城市天气查询及定时天气订阅。当用户请求查询当前或...
★ 0 📥 340