Install
openclaw skills install feishu-attachment-sendReliable 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 you are about to deliver any attachment in a Feishu DM or group. Use for generated or edited docx, xlsx, pdf, txt, pptx, images, archives, and other local files. Also use when diagnosing Feishu attachment delivery failures, missing attachments, mediaLocalRoots path issues, or cases where text plus attachment was combined and the recipient did not receive the file. In any Feishu conversation involving outbound files or attachment troubleshooting, this skill should usually be selected.
openclaw skills install feishu-attachment-sendUse 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.
For Feishu, do not combine text and attachment in one outbound message when reliability matters.
Always use this sequence:
Use it when the user asks you to:
This skill is especially important in Feishu DMs, but the same pattern is also safer in Feishu groups.
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.
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.
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.
Do not:
/tmp/openclaw/ is safe to send fromMEDIA: inline attachment rendering for Feishu when you need reliable file delivery, if you can directly use the message tool insteadPreferred pattern:
message.send with text onlymessage.send with media onlyIf you use message to deliver the user-visible reply, answer with NO_REPLY.
If the recipient says they did not receive the file:
mediaLocalRoots.~/.openclaw/workspace/ (or another allowed directory) and re-sending.references/feishu-file-sending-notes.md.Validated in Feishu DM on 2026-04-16 when sent separately:
You may still send other file types, but if reliability matters and they fail, debug using the same path and separation rules.
For the full tested behavior and troubleshooting notes, read:
references/feishu-file-sending-notes.md