Skip to content

Feishu File Sender

Verified

Send local files to Feishu chats. Supports uploading and sending any file type as a Feishu file message.

221 downloads
$ Add to .claude/skills/

About This Skill

# Feishu File Sender

A skill to send local files to Feishu users or groups.

Setup

Requires Feishu App credentials. Ensure these are set in your environment or `openclaw.json`:

```bash export FEISHU_APP_ID="cli_xxx" export FEISHU_APP_SECRET="xxx" export FEISHU_RECEIVER="ou_xxx" # Default receiver (optional) ```

Usage

Basic Usage

Send a file to the default receiver (configured in `FEISHU_RECEIVER`):

```bash bash scripts/send_file.sh "/path/to/your/file.pdf" ```

Specific Receiver

Send to a specific OpenID:

```bash bash scripts/send_file.sh "/path/to/report.xlsx" "ou_abcdef123456" ```

Different Receiver Types

Send to a Group (chat_id):

```bash bash scripts/send_file.sh "/path/to/archive.zip" "oc_abcdef123456" "chat_id" ```

Supported types: `open_id`, `user_id`, `chat_id`, `email`.

Script Details

scripts/send_file.sh

  1. The main script that handles the 3-step process:
  2. Auth: Obtains a `tenant_access_token`.
  3. Upload: Uploads the file to Feishu's internal storage using `POST /im/v1/files`.
  4. Send: Sends the file message using `POST /im/v1/messages`.

Permissions Required

  • The Feishu App must have the following permissions:
  • `im:message` (Send and receive messages)
  • `im:message:send_as_bot` (Send messages as bot)
  • `im:resource` (Access and upload resources)

Use Cases

  • Manage Feishu files including upload, download, and metadata operations
  • Access Feishu document and spreadsheet content programmatically
  • Create new Feishu documents and spreadsheets from templates
  • Export Feishu file content to local formats for offline processing
  • Monitor Feishu file changes and trigger actions on updates

Pros & Cons

Pros

  • +Comprehensive file operations covering CRUD and metadata management
  • +Document and spreadsheet content access enables data extraction
  • +Change monitoring supports event-driven file processing workflows

Cons

  • -Requires Feishu Open Platform API credentials and app configuration
  • -Only available on claude-code and openclaw platforms
  • -Feishu API rate limits may constrain high-frequency file operations

FAQ

What does Feishu File Sender do?
Send local files to Feishu chats. Supports uploading and sending any file type as a Feishu file message.
What platforms support Feishu File Sender?
Feishu File Sender is available on Claude Code, OpenClaw.
What are the use cases for Feishu File Sender?
Manage Feishu files including upload, download, and metadata operations. Access Feishu document and spreadsheet content programmatically. Create new Feishu documents and spreadsheets from templates.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.

Next Step

Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.