Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计通过

yujunyanyanya-feishu-file-sendyujunyanyanya 飞书 文件发送

Agent Skill

yujunyanyanya-feishu-file-send 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 OpenClaw 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,928

周安装

122

GitHub Stars

公开资料未说明

下载量

976
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:yujunyanyanya-feishu-file-send(yujunyanyanya 飞书 文件发送)
来源仓库:https://github.com/yujunyanyanya/yujunyanyanya-feishu-file-send
安装命令:
openclaw skills install yujunyanyanya-feishu-file-send
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install yujunyanyanya-feishu-file-send

简介

标准化飞书文件发送流程,解决附件丢失与路径限制问题。

  • 适用于团队协作中文件可靠投递与媒体资源共享场景。yujunyanyanya-feishu-file-send 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 自动处理 mediaLocalRoots 路径映射与文件上传逻辑。
  • 需配置飞书机器人权限,涉及企业账号与消息推送接口。
  • 建议测试不同文件类型,确保大文件与特殊格式正常传输。

SKILL.md

name
feishu-file-send
description
|

Feishu File Send / 飞书文件发送

Use this skill whenever you need to send a file to a Feishu user, or when a Feishu user reports they did not receive an attachment.

当需要向飞书用户发送文件,或用户反馈未收到附件时,使用此 Skill。


Core Rule / 核心规则

For Feishu, do NOT combine text and attachment in one outbound message when reliability matters.

飞书场景下,不要将文字说明和附件合并到同一条消息中发送。

Always use this sequence / 始终按此顺序操作:

  1. Prepare the file in an allowed local path / 将文件保存到允许的目录
  2. Send a short text message first, if any explanation is needed / 先发一条简短文字说明
  3. Send the attachment as a separate outbound message / 再单独发送附件

When to Use / 使用场景

Use it when the user asks you to / 当用户要求你:

  • send a file / 发送文件
  • return an edited document / 返回编辑后的文档
  • deliver a generated Word, Excel, PDF, PPT, TXT, image, or similar attachment / 发送生成的文档、表格、PDF、图片等附件
  • test Feishu attachment sending / 测试飞书附件发送功能
  • debug missing Feishu attachments / 排查飞书附件丢失问题
  • diagnose file delivery failures in Feishu / 诊断飞书文件发送失败

This skill is especially important in Feishu DMs, but the same pattern is also safer in Feishu groups.

此 Skill 在飞书私聊中尤为重要,但在飞书群聊中也建议使用相同模式。


Required Workflow / 标准流程

1. Check the file path / 检查文件路径

Before sending, ensure the file lives under an allowed mediaLocalRoots directory.

发送前,确保文件位于 mediaLocalRoots 配置的允许目录中。

Known-good path in most setups / 通常可用的路径:

  • ~/.openclaw/workspace/ (the default workspace directory / 默认工作区目录)

If a generated file is under /tmp/ or another temporary path, move or copy it into an allowed directory before sending, unless you already know that path is whitelisted in mediaLocalRoots.

如果文件在 /tmp/ 或其他临时目录,请先复制到允许目录再发送,除非你确认该路径已在白名单中。

2. Send text separately / 先发送文字

If you need to say something like "here is the file" or explain what changed, send that as a plain text message first.

如果需要说明"这是文件"或解释修改内容,先发送纯文字消息。

Keep it short / 保持简短。

3. Send the attachment separately / 再发送附件

Send the file in its own message using the message tool with media set to the local file path.

使用 message 工具单独发送文件,media 参数设为本地文件路径。

Do NOT attach explanatory text to the same outbound file message.

不要在同一条附件消息中包含说明文字。


What to Avoid / 禁止操作

Do NOT / 不要

  • combine text and file in one Feishu outbound message when attachment visibility matters / 在需要确保附件可见性时,将文字和文件合并到一条消息
  • assume /tmp/ is safe to send from / 默认 /tmp/ 目录可以发送文件
  • use MEDIA: inline attachment rendering for Feishu when you need reliable file delivery, if you can directly use the message tool instead / 在需要可靠文件发送时,避免使用 MEDIA: 内联渲染,直接使用 message 工具

Delivery Pattern / 发送模式

Preferred pattern / 推荐模式:

  1. message.send with text only / 仅发送文字
  2. message.send with media only / 仅发送附件
  3. After tool success, do not duplicate the same content again in chat / 工具成功后,不要在聊天中重复相同内容

If you use message to deliver the user-visible reply, answer with NO_REPLY.


Failure Diagnosis / 故障排查

If the recipient says they did not receive the file / 如果用户说没收到文件:

  1. Confirm whether plain text messages are arriving / 确认纯文字消息能否正常收到
  2. Confirm whether the file was sent as a standalone attachment message / 确认文件是否作为独立附件消息发送
  3. Confirm the file path is inside mediaLocalRoots / 确认文件路径在 mediaLocalRoots 白名单内
  4. Retry by copying the file into ~/.openclaw/workspace/ (or another allowed directory) and re-sending / 复制到 ~/.openclaw/workspace/ 或其他允许目录后重试
  5. If needed, consult references/feishu-file-sending-notes.md / 如需更多细节,参考 references/feishu-file-sending-notes.md

Known Validated File Types / 已验证的文件类型

Validated in Feishu DM on 2026-04-16 when sent separately / 2026-04-16 在飞书私聊中验证通过(分开发送):

  • txt — 纯文本
  • docx — Word 文档
  • xlsx — Excel 表格
  • pdf — PDF 文档

You may still send other file types, but if reliability matters and they fail, debug using the same path and separation rules.

其他文件类型也可发送,如果失败请按相同规则排查。


Config Tips / 配置建议

If dynamic files are commonly generated under /tmp/, consider adding /tmp to Feishu mediaLocalRoots in ~/.openclaw/openclaw.json and restart gateway.

如果经常生成临时文件,可在配置中将 /tmp 加入飞书渠道的 mediaLocalRoots 白名单,然后重启 gateway。


Reference / 参考

For the full tested behavior and troubleshooting notes, read / 完整实测记录和排查指南:

  • references/feishu-file-sending-notes.md

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.68%
按下载量换算905

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills