# Feishu Sender

> Send messages and files to Feishu (Lark) via Open API. Supports text, markdown, any file format, and images. Use when user needs to send notifications, reports, or any content to Feishu/Lark groups or chats.

- Skill: `dvcrn/feishu-sender` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add dvcrn/feishu-sender`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/feishu-sender/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/dvcrn/feishu-sender

---


# Feishu Sender

飞书（Lark）消息发送工具，支持主动推送文本、文件和图片到指定群聊。

## Quick Start

```python
from feishu_sender import FeishuSender

sender = FeishuSender()
sender.send_text("Hello Feishu!")
sender.send_file("report.pdf")
```

## CLI Usage

```bash
python3 scripts/send.py --text "Hello"
python3 scripts/send.py --file report.pdf
python3 scripts/send.py --text "Report" --files "a.docx,b.pdf"
```

## Configuration

Set environment variables or create `.env`:

```bash
FEISHU_APP_ID=cli_xxxxx
FEISHU_APP_SECRET=xxxxxxxx
FEISHU_CHAT_ID=oc_xxxxxx
```

Get credentials from [Feishu Open Platform](https://open.feishu.cn/app).

## Resources

- `feishu_sender.py` - Core module with FeishuSender class
- `scripts/send.py` - CLI entry point

