闲社服务运行正常AI智能体自动化平台
f

飞书文件投递

技能标识:feishu-file-delivery

Deliver locally generated office files back into Feishu chats as real attachments. Use when a task creates a .pptx, .pdf, .docx, .xlsx, .csv, .zip, .txt, or .md file for a Feishu user.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 2.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

飞书文件投递

Feishu File Delivery Skill

飞书文件交付技能 — 将本地生成的办公文件自动作为真实附件上传到飞书会话。

Goal 目标

确保飞书收到真实的文件附件,而不仅仅是文本说明。

Delivery Contract 交付协议

1. Save the artifact locally 保存文件到本地

First, generate and save the file to a real local path with an absolute path. 首先,生成文件并保存到本地绝对路径。

2. Write a short caption 编写简短说明

In the final Feishu reply, write a brief caption or summary (1-2 sentences). 在最终的飞书回复中,编写简短的说明或摘要(1-2 句话)。

3. List absolute paths on separate lines 每行一个绝对路径

Place each artifacts absolute local path on its own line with:
  • - No bullets (不要使用项目符号)
  • No markdown link wrappers (不要使用 Markdown 链接包装)
  • One path per line (每行一个路径)

Example 示例

text
已完成,已附上文件:
/absolute/path/to/weekly-review.pptx
/absolute/path/to/weekly-review.pdf

Streaming Response Mode 流式回复模式

When working in Feishu channels, enable streaming responses for better UX:
在飞书通道工作时,启用流式回复以获得更好的用户体验:

  1. 1. Send initial acknowledgment immediately (立即发送确认)
  2. Stream progress updates every 3 minutes for long tasks (长任务每 3 分钟发送进度更新)
  3. Final reply includes file paths for auto-upload (最终回复包含文件路径以便自动上传)

Supported File Types 支持的文件类型

ExtensionTypeDescription
.pptx / .pptPowerPoint演示文稿
.pdf
PDF | PDF 文档 | | .docx / .doc | Word | Word 文档 | | .xlsx / .xls | Excel | Excel 表格 | | .csv | CSV | 数据表格 | | .zip | Archive | 压缩包 | | .txt / .md | Text | 文本文件 |

Rules 规则

  • - ✅ Prefer absolute paths over relative paths (使用绝对路径而非相对路径)
  • ✅ Do not say only 文件已生成 without the path (不要只说文件已生成而不提供路径)
  • ✅ When the artifact is the main deliverable, always include the path (当文件是主要交付物时,始终包含路径)
  • ✅ Keep the caption short so file paths stay easy to detect (保持说明简短以便路径检测)
  • ✅ One path per line, no formatting (每行一个路径,无格式)

Channel Integration 通道集成

OpenClaws Feishu outbound adapter automatically detects and uploads files when:
OpenClaw 的飞书出站适配器会在以下情况下自动检测并上传文件:

  1. 1. Absolute file paths appear in the reply text (绝对文件路径出现在回复文本中)
  2. Paths are on separate lines (路径在单独的行上)
  3. Files exist at those paths (文件在这些路径上存在)

Integration with Other Skills 与其他技能集成

This skill works seamlessly with:

  • - pptx-design-director — PPT 设计与创建
  • pdf-generator — PDF 生成
  • word-docx — Word 文档操作
  • powerpoint-pptx — PowerPoint 操作
  • openclaw-slides — HTML 幻灯片生成
  • feishu-doc — 飞书文档操作
  • feishu-sheets — 飞书电子表格操作

Usage Pattern 使用模式

  1. 1. Generate file locally (本地生成文件)
→ /path/to/output.pptx
  1. 2. Compose brief caption (编写简短说明)
→ 已完成演示文稿:
  1. 3. List absolute paths (列出绝对路径)
→ /path/to/output.pptx
  1. 4. Send to Feishu (发送到飞书)
→ Adapter auto-uploads attachment (适配器自动上传附件)

Troubleshooting 故障排除

If files dont upload automatically:
如果文件没有自动上传:

  1. 1. Verify the file exists at the path (验证文件在路径上存在)
  2. Check the path is absolute, not relative (检查路径是绝对路径而非相对路径)
  3. Ensure path is on its own line (确保路径在单独的行上)
  4. Remove any markdown formatting (移除任何 Markdown 格式)
  5. Check Feishu adapter logs (检查飞书适配器日志)

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 feishu-file-delivery-1776097889 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 feishu-file-delivery-1776097889 技能

通过命令行安装

skillhub install feishu-file-delivery-1776097889

下载

⬇ 下载 feishu-file-delivery v2.0.0(免费)

文件大小: 7.87 KB | 发布时间: 2026-4-15 12:42

v2.0.0 最新 2026-4-15 12:42
Feishu File Delivery Skill 2.0.0 is a major update with comprehensive usage guidelines.

- Clarified the delivery contract for sending local files as real attachments in Feishu chats.
- Added step-by-step instructions and caption requirements for replies.
- Defined supported file types and clear formatting rules for file path listing.
- Described streaming response mode for long-running tasks in Feishu channels.
- Provided detailed integration steps, rules, and troubleshooting guidance.
- Listed compatibility with other OpenClaw skills for seamless file operations.
返回顶部