← 返回 Skills 市场
wd041216-bit

Feishu File Delivery

作者 Da Wei · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
350
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

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 artifact's absolute local path on its own line with:

  • No bullets (不要使用项目符号)
  • No markdown link wrappers (不要使用 Markdown 链接包装)
  • One path per line (每行一个路径)

Example 示例

已完成,已附上文件:
/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. 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 支持的文件类型

Extension Type Description
.pptx / .ppt PowerPoint 演示文稿
.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 通道集成

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

  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 design and creation
  • pdf-generator — PDF generation
  • word-docx — Word document operations
  • powerpoint-pptx — PowerPoint manipulation
  • openclaw-slides — HTML slide generation
  • feishu-doc — Feishu document operations
  • feishu-sheets — Feishu spreadsheet operations

Usage Pattern 使用模式

1. Generate file locally (本地生成文件)
   → /path/to/output.pptx

2. Compose brief caption (编写简短说明)
   → "已完成演示文稿:"

3. List absolute paths (列出绝对路径)
   → /path/to/output.pptx

4. Send to Feishu (发送到飞书)
   → Adapter auto-uploads attachment (适配器自动上传附件)

Troubleshooting 故障排除

If files don't upload automatically: 如果文件没有自动上传:

  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 (检查飞书适配器日志)
安全使用建议
The skill appears to do what it says (make the agent list absolute paths so an adapter can upload those files), but that exact behavior can leak sensitive files and reveal your local filesystem structure. Before installing or enabling it: 1) Restrict who/what agents can invoke this skill and run in trusted contexts only. 2) Confirm the Feishu adapter requires explicit confirmation or is configured to only upload from safe/whitelisted directories. 3) Avoid generating or referencing sensitive files in paths the skill might include; prefer placing deliverables in a dedicated output directory that the adapter is allowed to access. 4) Consider disabling streaming or frequent autonomous replies for long-running tasks if you worry about unintended data flow. 5) If you need stronger assurance, ask the maintainer for an adapter policy that requires user consent before upload or for a mode that returns file contents via an explicit API call rather than embedding absolute paths in chat.
功能分析
Type: OpenClaw Skill Name: feishu-file-delivery Version: 2.0.0 The skill bundle instructs the AI agent to output absolute local file paths to trigger an automatic upload to Feishu and suggests using shell commands (ls -la) for file verification in agents/delivery.agent.md. While these capabilities are aligned with the stated purpose of file delivery, the design pattern is inherently risky as it lacks output sanitization or directory restrictions, creating a significant data exfiltration vector if the agent is prompted to reveal sensitive system files.
能力评估
Purpose & Capability
The skill claims to deliver locally generated files to Feishu and its instructions only describe producing a local file, composing a short caption, and listing absolute paths so the Feishu adapter can auto-upload. Requiring absolute paths and file existence checks is coherent with that purpose.
Instruction Scope
SKILL.md explicitly instructs the agent to include absolute filesystem paths in replies and suggests running file-existence checks (e.g., ls -la) and reading adapter logs. Those actions involve reading the local filesystem and system logs and producing raw absolute paths in outbound messages — behavior that can expose sensitive files beyond the intended deliverable.
Install Mechanism
Instruction-only skill with no install spec, no code executed at install time, and no third-party downloads. This is low install risk.
Credentials
The skill requests no environment variables or credentials (proportionate). However, because it requires emitting absolute paths and suggests checking logs, using it can reveal file system structure and sensitive file locations even without explicit credentials.
Persistence & Privilege
always is false and there are no special privileges; autonomous invocation is allowed (platform default). Combined with the adapter behavior (auto-upload on absolute paths), autonomous invocation increases blast radius—an agent allowed to run this skill could upload files without extra credentials.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-file-delivery
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-file-delivery 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
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.
元数据
Slug feishu-file-delivery
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 350 次。

如何安装 Feishu File Delivery?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-file-delivery」即可一键安装,无需额外配置。

Feishu File Delivery 是免费的吗?

是的,Feishu File Delivery 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Feishu File Delivery 支持哪些平台?

Feishu File Delivery 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Feishu File Delivery?

由 Da Wei(@wd041216-bit)开发并维护,当前版本 v2.0.0。

💬 留言讨论