feishu-file-sender

Send files to Feishu/Lark users and groups via the message tool. Use when the user wants to send documents, images, PDFs, or any files through Feishu. Handles file path validation, channel selection, and proper message formatting for seamless file delivery in Feishu conversations.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "feishu-file-sender" with this command: npx skills add timyljob2011-sudo/lark-file-sender

Feishu File Sender

Send files to Feishu/Lark users and chat groups with proper formatting and error handling.

When to Use

Use this skill when:

  • User wants to send a file via Feishu
  • Need to deliver documents, images, PDFs to Feishu contacts
  • Transferring generated files (reports, exports, etc.) to Feishu
  • Sharing any file through Feishu messaging

Quick Start

# Basic file send
message action=send filePath="/path/to/file.pdf"

# With custom message
message action=send filePath="/path/to/report.docx" message="Here's the report you requested"

File Types Supported

  • Documents: .pdf, .doc, .docx, .txt, .md
  • Spreadsheets: .xls, .xlsx, .csv
  • Images: .jpg, .jpeg, .png, .gif, .webp
  • Archives: .zip, .rar, .tar.gz
  • Code files: .py, .js, .html, .json, etc.

Usage Examples

Send a Single File

message action=send filePath="/workspace/report.pdf"

Send with Caption

message action=send filePath="/workspace/data.xlsx" message="Q4 sales data"

Send Multiple Files

Send files one by one with context:

for file in files:
    message action=send filePath=file

Send to Specific Target

# To a specific user
message action=send target="user:ou_xxx" filePath="/path/to/file"

# To a specific chat
message action=send target="chat:oc_xxx" filePath="/path/to/file"

Best Practices

  1. Always verify file exists before sending
  2. Provide context with the message parameter when helpful
  3. Check file size - Feishu has limits (typically 100MB-1GB depending on plan)
  4. Use absolute paths to avoid confusion

Common Patterns

After Generating a File

# Generate report
exec command="python generate_report.py"

# Send to user
message action=send filePath="/workspace/output/report.pdf" message="Your report is ready"

Batch File Delivery

# Collect all generated files
files = ["/workspace/file1.pdf", "/workspace/file2.xlsx"]

for i, file in enumerate(files, 1):
    message action=send filePath=file message=f"File {i} of {len(files)}"

Error Handling

Common issues and solutions:

ErrorCauseSolution
File not foundWrong pathUse absolute path with filePath
Access deniedPermissionsCheck file permissions with ls -la
Too largeFile size limitCompress or split file
Channel errorFeishu configVerify channel is properly configured

Tool Reference

message tool (action=send)

action: send
filePath: /absolute/path/to/file    # Required: path to file
message: "Optional caption text"    # Optional: accompanying message
target: "user:xxx" or "chat:xxx"   # Optional: specific recipient
channel: feishu                     # Optional: defaults to current

Related Skills

  • auto-file-sender - Automatic file sending when files are generated
  • feishu-file-transfer - Large file transfer via Feishu API

Version: 1.0
Compatible with: OpenClaw v1.x+
Platform: Feishu / Lark

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Multi Edge-TTS CN

Edge-TTS 在线语音合成 skill。基于微软 Edge TTS 引擎,生成速度快(1-2秒),支持多种音色和输出格式。同时支持飞书(OGG/Opus)和企业微信(AMR)。默认音色 xiaoxiao_lively。需联网。

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated
General

One Person Company OS

Build a visual operating cockpit for an AI-native one-person company across promise, buyer, product, delivery, cash, learning, and assets. / 为 AI 一人公司建立可视化经营...

Registry SourceRecently Updated
General

健康追踪

健康追踪技能 - 追踪饮水、睡眠、步数等健康数据,JSON存储。

Registry SourceRecently Updated