feishu-file-sender

Upload local files and images to Feishu chats via Feishu OpenAPI.

30|1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/qianleigood/crawclaw --skill feishu-file-sender
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-file-sender
Source: https://github.com/qianleigood/crawclaw/tree/main/skills-optional/feishu-file-sender
Command: npx skills add https://github.com/qianleigood/crawclaw --skill feishu-file-sender

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables posting local files or images generated by CrawClaw agents directly to Feishu chats by using Feishu OpenAPI, filling a gap in channel capabilities.

Core Features & Use Cases

  • Upload local files and send as Feishu file messages
  • Upload images and send as Feishu image messages
  • Auto-resolve appId/appSecret from CrawClaw config
  • Works across all agents based on workspace
  • Simple CLI for quick use

Quick Start

Run the feishu_file_sender.py script with --file pointing to a local file and optionally specify --receive-id to deliver to a target chat or user.

Frequently Asked Questions about feishu-file-sender

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

FAQPage Schema
How do I automate uploading local files to Feishu chats via OpenAPI?

To automate uploading local files to Feishu chats, this script calls the Feishu OpenAPI using token-based authentication. It reads credentials from your local config and posts file or image messages directly to specified chats.

Do I need Python and the requests library to send images to Feishu chats?

Yes, sending images to Feishu chats requires Python 3 and the requests library. The script uses these dependencies to handle token-based authentication and upload local files or images via the Feishu OpenAPI.

How to send a local file to a specific Feishu user or chat from the command line?

To send a local file to a specific Feishu user, run the script with the --file parameter pointing to your file and the optional --receive-id parameter to target the desired chat or user for delivery.

How does the script handle Feishu appId and appSecret authentication?

The script handles Feishu authentication by automatically resolving your appId and appSecret from the local CrawClaw config. It uses these credentials to obtain the tokens required for uploading files and posting messages.

Can I use this to deliver files generated by agents across different workspaces?

Yes, you can use this to deliver agent-generated files across different workspaces. It is applicable across all Feishu-enabled workflows and agent workspaces, handling both file and image delivery scenarios.

What are the limitations of using CLI for file delivery to Feishu?

The CLI requires a local CrawClaw config containing valid Feishu appId and appSecret to function. Without this specific local configuration, the token-based authentication and subsequent file uploads cannot proceed.