跳到正文
Skillpedia
邮件与消息7.4k · #13264

file-delivery

它能做什么

这个技能向智能体展示如何在聊天连接器中,把工作区文件作为附件添加到回复中。适合希望把报告或图片直接发送到聊天中的人。

适用场景

  • ✓你想把报告或图表发送到当前聊天中的时候。
  • ✓你需要在回复中分享工作区里的一张图片的时候。
  • ✓你想区分回复中的附件和收件箱通知的时候。

技能链接

https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/file-delivery/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/file-delivery/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把摘要报告以文件形式发送到这个聊天里。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会在回复中用双方括号标出文件路径。聊天连接器会在消息的对应位置上传该文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Send files in a reply

In a Connector conversation, include a file's Workspace-relative path in double brackets in the final reply. Create or verify the file first. For example:

Here is the report.
[[reports/summary.pdf]]
The chart shows the comparison.
[[reports/chart.png]]

Write the actual references outside code spans or code fences. The Connector uploads resolved files at their position in the reply, preserving the order of text and attachments. This does not create an Inbox entry.

  • Paths refer to the replying Session's Workspace. For a file from a peer Workspace, copy it into this Workspace before referencing it.
  • Use the path and extension directly: no file: prefix, absolute path, .., or |label suffix. Missing, unreadable or unsupported references stay as literal text; writing a reference alone is not proof of delivery.
  • The current reply limit is five unique files, each at most 1 MiB. Files retain their bytes. Telegram sends PNG/JPEG/WebP as photos and other supported files as documents. sticker/*.png and sticker/*.webp use sticker delivery; follow the installed sticker Skill for the available pack and usage.

Attachment-capable Connectors send files; GUI chat renders previews and opens documents in the right panel. Images open a preview dialog when clicked. Terminals display the text without uploading it. To discuss the syntax without sending a file, put the reference in inline code or a code fence.

When to use Inbox

Inbox is OpenAlice's outward-facing notification and reporting surface for the human: alerts, findings, reports, or requests for attention that deserve their own delivery record. Use alice inbox push for that purpose; the alice Skill's collaboration reference describes its current commands.

A file requested in the current conversation can be sent directly in the reply. It does not need an Inbox entry merely because it is a file. Files and Git hold the work; Inbox communicates it to the human; peer conversations carry Agent-to-Agent handoffs. Avoid duplicating a reply into Inbox unless a separate notification or report handoff is intended.

Inbox reports

For a separate notification to the human, use alice inbox push --body 'See [[report/summary.pdf]]' or alice inbox push --body-file report/summary.md. The latter publishes the Markdown itself. References remain relative to the publishing Workspace root. A normal reply does not need an Inbox entry.

常见问题

文件有大小限制吗?

有。技能说明目前的限制是最多五个不同的文件,每个不超过 1 MiB。

在这里发送文件会进入我的收件箱吗?

不会。回复中的附件不会创建收件箱条目。

为什么文件可能无法送达?

文件缺失、无法读取或不受支持时,它会在回复中保留为纯文本。

详情

作者的原始描述

Send Workspace files as attachments in a Connector conversation reply using [[relative/path.ext]]. Use when the user wants a file, image, or report sent in the current chat, or when distinguishing reply attachments from an Inbox notification.

repo: TraderAlice/OpenAlice

热度

GitHub 星标
7.4k
排名
#13264
许可证
AGPL-3.0
更新时间
2026/10/23

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能