← 返回 Skills 市场
yujunyanyanya

Feishu Attachment Send

作者 Yujunyanyanya · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
65
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-attachment-send
功能描述
Reliable Feishu file sending workflow. Strongly prefer this skill whenever a Feishu user asks for a file, asks you to send or return a document, or whenever...
使用说明 (SKILL.md)

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.

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 this skill should trigger

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
  • 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.

Required workflow

1. Check the file path

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

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.

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.

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/openclaw/ is safe to send from
  • use MEDIA: inline attachment rendering for Feishu when you need reliable file delivery, if you can directly use the message tool instead

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.
  4. Retry by copying the file into ~/.openclaw/workspace/ (or another allowed directory) and re-sending.
  5. If needed, consult references/feishu-file-sending-notes.md.

Known validated file types

Validated in Feishu DM on 2026-04-16 when sent separately:

  • txt
  • docx
  • xlsx
  • pdf

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

Reference

For the full tested behavior and troubleshooting notes, read:

  • references/feishu-file-sending-notes.md
安全使用建议
This skill appears coherent and purpose-built for reliable Feishu attachment delivery. Before installing, confirm that the agent environment legitimately has access to the local workspace (~/.openclaw/workspace) and to the platform's message-sending tool, since the instructions require reading/copying local files into that workspace. Also ensure you are comfortable with the agent having permission to send attachments (so it won't accidentally transmit sensitive files). The skill does not request credentials or install software, so its main runtime requirement is local file access and messaging capability.
能力评估
Purpose & Capability
The name/description match the instructions: this is purely a Feishu file-sending workflow. One minor mismatch: the SKILL.md references local config/paths (mediaLocalRoots and ~/.openclaw/workspace) but the registry metadata lists no required config paths; functionally the skill expects access to the agent's workspace filesystem even though that isn't declared.
Instruction Scope
Instructions are narrowly scoped to preparing a local file under an allowed mediaLocalRoots path and sending it as a separate message; they do not ask the agent to read unrelated files, exfiltrate secrets, or contact any endpoints beyond the platform's message tool.
Install Mechanism
No install spec and no code files — instruction-only skill; nothing will be downloaded or written to disk by the skill itself.
Credentials
The skill requests no environment variables or credentials (appropriate). Be aware it implicitly requires access to local workspace paths and the messaging/tooling capability to call message.send; those runtime privileges are expected but not explicitly declared in metadata.
Persistence & Privilege
always:false and normal model invocation are set. The skill does not request persistent system-level privileges or modify other skills' configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-attachment-send
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-attachment-send 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: reliable Feishu file sending workflow with mediaLocalRoots support
元数据
Slug feishu-attachment-send
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Feishu Attachment Send 是什么?

Reliable Feishu file sending workflow. Strongly prefer this skill whenever a Feishu user asks for a file, asks you to send or return a document, or whenever... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。

如何安装 Feishu Attachment Send?

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

Feishu Attachment Send 是免费的吗?

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

Feishu Attachment Send 支持哪些平台?

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

谁开发了 Feishu Attachment Send?

由 Yujunyanyanya(@yujunyanyanya)开发并维护,当前版本 v1.0.0。

💬 留言讨论