AI & Integration v1.0.0

feishu-file-sender-josephyb97

Send files via Feishu channel using message tool with filePath parameter.

josephyb97 更新于 2026-02-25 1 浏览
下载 SKILL

技能说明

Send files via Feishu channel using message tool with filePath parameter.

使用场景

Send binary files (ZIP, PDF, images, etc.) to Feishu groups or users.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/feishu-file-sender-josephyb97
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

5 个文件 · 16 kB
SKILL.md text/markdown
---
name: feishu-file-sender
description: Send files via Feishu channel using message tool with filePath parameter.
---

# Feishu File Sender

Send binary files (ZIP, PDF, images, etc.) to Feishu groups or users.

## Prerequisites

- OpenClaw configured with Feishu channel
- Target chat ID (group or user)

## Step 1: Package the Skill/File

```bash
cd /root/.openclaw/workspace/skills
zip -r /tmp/skill_name.zip skill_folder/
```

**Key:** Use relative path inside the zip, not absolute path.

## Step 2: Send via Feishu

```python
message(
    action="send",
    channel="feishu",
    filePath="/tmp/skill_name.zip",
    message="📦 Skill Name",
    target="oc_xxxxxxxxxxxx"  # chat ID
)
```

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| action | string | Yes | "send" |
| channel | string | Yes | "feishu" |
| filePath | string | Yes | Absolute path to file |
| message | string | Yes | Caption text |
| target | string | Yes | Chat ID (oc_xxx for groups, user ID for DM) |

## Common Issues

1. **File too large**: Feishu limits apply (~20MB for most)
2. **Wrong path**: Use absolute path `/tmp/xxx.zip`
3. **Relative path in zip**: Package from parent dir, e.g., `zip -r /tmp/out.zip folder/`

## Example: Send a Skill

```bash
# Package
cd /root/.openclaw/workspace/skills
zip -r /tmp/weather.zip weather/

# Send
message(action="send", channel="feishu", filePath="/tmp/weather.zip", message="📦 weather skill", target="oc_group_id")
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。