用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/kesepain-KE/votx-agent --skill qq-file命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | qq_file |
| description | 通用文件上传 — 通过 PushQueue 向 QQ(OneBot)或 Telegram 上传文件。当 Agent 需要分享文档、图片、PDF 等文件到外部平台时使用。 |
| version | 1.1 |
| category | messaging |
| enabled | true |
| tags | ["qq","telegram","file","upload","push"] |
通过消息路由的 PushQueue 机制,向 QQ 或 Telegram 上传文件。文件通过异步队列发送,支持私聊和群聊。
plugins/qq_file/
| 工具 | 用途 |
|---|---|
upload_qq_file | 向 QQ(OneBot)或 Telegram 上传文件 |
| 参数 | 类型 | 必需 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | — | 目标 ID:QQ 号 / TG 用户 ID / 群号 |
chat_type | string | 是 | — | private(私聊)或 group(群聊) |
file_path | string | 是 | — | 要上传的本地文件绝对路径 |
platform | string | 否 | "onebot" | 平台:onebot(QQ)或 telegram。由智能体根据用户消息来源或用户指令决定 |
OK: 文件上传任务已入队, ID: <task_id> + 平台/文件/目标信息ERROR: 前缀的错误信息| 特性 | QQ (OneBot) | Telegram |
|---|---|---|
| 私聊文件 | upload_private_file | sendDocument |
| 群聊文件 | upload_group_file | sendDocument |
| 最大文件 | NapCat 限制 | 50MB (Bot API) |
file_path 需为本地存在的文件绝对路径users/<user>/download/,上传时使用该路径platform 由智能体根据用户消息来源判断file_path 路径是否正确,文件是否已生成platform 为 onebot 或 telegram