← 返回 Skills 市场
lhq2103387078

Feishu File Send

作者 lhq2103387078 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
50
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lhq-feishu-send-file
功能描述
发送文件到飞书。当用户提到"发送文件到飞书"、"发送图片到飞书"、"飞书发文件"、"发送录音到飞书"等时使用。 支持图片、音频、文档等任意文件类型。
使用说明 (SKILL.md)

\r \r

Feishu File Send Skill\r

\r 通过飞书发送文件(图片、音频、文档等)。\r \r

发送方法\r

\r

使用 message 工具(推荐)\r

\r

# 发送图片\r
message(action="send", channel="feishu", media="/absolute/path/to/image.png", target="ou_xxxxxxxx", caption="图片描述")\r
\r
# 发送文件(HTML、PDF、音频等)\r
message(action="send", channel="feishu", media="/absolute/path/to/file.pdf", target="ou_xxxxxxxx", caption="文件描述")\r
```\r
\r
### 关键参数\r
\r
- `action`: 必须为 `"send"`\r
- `channel`: 必须为 `"feishu"`\r
- `target`: 接收者的 open_id(阿Sir的 open_id: ou_8c6cfb7fef764d06b74805e4fed56065)\r
- `media`: 文件绝对路径\r
- `file_path`: 文件路径(别名)\r
- `path`: 文件路径(别名)\r
- `caption`: 文件描述(可选)\r
\r
### 重要规则\r
\r
1. **文件必须在 workspace 目录**\r
   - 不要用 `/tmp/` 路径发送\r
   - 先复制到 workspace 再发送\r
\r
2. **使用绝对路径**\r
   - 推荐:`D:\Documents\openclaw\workspace\filename`\r
   - 或:`C:\Users\用户名\.openclaw\workspace\filename`\r
\r
3. **使用 `media`、`file_path` 或 `path` 参数发送文件**\r
   - 不要用 `message` 参数发送文件!用户将无法收到!\r
\r
## 阿Sir 的飞书信息\r
\r
- open_id: ou_8c6cfb7fef764d06b74805e4fed56065\r
- 发送目标通常是自己\r
\r
## 示例\r
\r
### 发送图片\r
\r
```python\r
message(action="send", channel="feishu", media="D:\Documents\openclaw\workspace\screenshot.png", target="ou_8c6cfb7fef764d06b74805e4fed56065", caption="屏幕截图")\r
```\r
\r
### 发送录音\r
\r
```python\r
message(action="send", channel="feishu", media="D:\Documents\openclaw\workspace\recording.wav", target="ou_8c6cfb7fef764d06b74805e4fed56065", caption="录音文件")\r
```\r
\r
### 发送文档\r
\r
```python\r
message(action="send", channel="feishu", media="D:\Documents\openclaw\workspace\report.pdf", target="ou_8c6cfb7fef764d06b74805e4fed56065", caption="报告文档")\r
```\r
\r
## 故障排除\r
\r
### 发送失败\r
- 检查文件是否存在且路径正确\r
- 不要用 /tmp/ 路径\r
- 文件大小是否合理(> 1KB)\r
- 检查飞书权限\r
\r
### 用户收不到\r
- 确认使用了 `media`、`file_path` 或 `path` 参数\r
- 不要用 `message` 参数发送文件\r
- 检查 target 是否为正确的 open_id\r
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lhq-feishu-send-file
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lhq-feishu-send-file 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the Feishu File Send skill. - Send files (images, audio, documents, etc.) directly to Feishu via the `message` tool. - Supports multiple file types and provides detailed usage examples. - Emphasizes using absolute file paths within the workspace directory. - Includes troubleshooting tips and target open_id details.
元数据
Slug lhq-feishu-send-file
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Feishu File Send 是什么?

发送文件到飞书。当用户提到"发送文件到飞书"、"发送图片到飞书"、"飞书发文件"、"发送录音到飞书"等时使用。 支持图片、音频、文档等任意文件类型。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 50 次。

如何安装 Feishu File Send?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lhq-feishu-send-file」即可一键安装,无需额外配置。

Feishu File Send 是免费的吗?

是的,Feishu File Send 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Feishu File Send 支持哪些平台?

Feishu File Send 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Feishu File Send?

由 lhq2103387078(@lhq2103387078)开发并维护,当前版本 v1.0.0。

💬 留言讨论