media-sending

Send Feishu documents and images via OpenClaw's message tool with file and media parameters.

Updated May 1, 2026
One-click install
npx skills add https://github.com/picsky/flowos --skill media-sending
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: media-sending
Source: https://github.com/picsky/flowos/tree/main/templates/skills/media-sending
Command: npx skills add https://github.com/picsky/flowos --skill media-sending

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of reliably sending documents and images to users via Feishu without guessing which message parameters to use or how to format the recipient target.

Core Features & Use Cases

  • Standards-based Feishu file sending: Uses OpenClaw’s message tool with filePath to upload documents (reports, markdown, PDFs, office docs) by absolute path.
  • Standards-based Feishu image sending: Uses media to upload images (PNG/JPG/JPEG/GIF) by absolute path with an accompanying caption.
  • Cron and delivery-friendly targeting: Supports Cron push scenarios (with delivery.to) and direct user sends using target = "user:{openId}".
  • Safety checks and graceful degradation: Enforces size/path rules (images ≤ 10MB, files ≤ 30MB) and provides a fallback response with a path plus key summary when sending fails.

Quick Start

Ask your AI to send the weekly report file to the user on Feishu by using the absolute file path in a single call.

Frequently Asked Questions about media-sending

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send files and images to a Feishu user using an absolute path?

To send files and images to Feishu, use the message tool with absolute paths. Upload documents via the filePath parameter, and send images using the media parameter accompanied by a text caption.

What is the correct parameter for sending images vs documents in Feishu?

Feishu image sending requires the media parameter, while standard document uploads use the filePath parameter. Correctly distinguishing file versus media parameters ensures your reports, markdown, or PDFs are uploaded successfully.

Can I automate Feishu file delivery using a Cron job?

Yes, you can automate Feishu file delivery using Cron by specifying the delivery.to parameter for push scenarios, or by targeting direct user sends with target = "user:{openId}".

What are the file size limits for sending images and documents to Feishu?

Feishu file sending enforces size limits of 10MB for images and 30MB for documents. Files exceeding these limits will fail the upload validation check.

What happens when a Feishu file or image upload fails?

When a Feishu file upload fails, the system executes a downgrade path that sends a text summary of the content alongside the accessible absolute file path to the user.

How do I format the recipient target for direct Feishu message sends?

For direct Feishu message sends, format the recipient target using the user's openId with the exact syntax target = "user:{openId}" to ensure proper routing.