Feishu Video Sender logo

Feishu Video Sender

Community
wulaosiji
feishu-video-sender

飞书视频发送工具 / Feishu video message sender. 直接调用 API 发送视频消息,在飞书中以视频播放器形式展示(非文件附件),支持自动生成封面。 Use when: "发送视频消息", "send video message", "飞书视频播放", "feishu video player", "上传视频到飞书", "upload video to feishu", "群视频分享", "group video sharing", "视频封面生成", "video cover generation". 使用 msg_type: media 发送视频,配合 file_key 和 image_key,在飞书中显示为可播放的视频播放器。Cross-references: feishu-voice-sender, feishu-group-welcome, feishu-message-recall. Built by UniqueClub 🌐 https://uniqueclub.ai

Overview

Publisherwulaosiji
Repositoryskills
Skill namefeishu-video-sender
Stars
28
Forks
11
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by wulaosiji on GitHub. Read the source before you install it.

Installation

Install the Feishu Video Sender AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/wulaosiji/skills/tree/main/feishu-video-sender
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wulaosiji/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/feishu-video-sender .claude/skills/feishu-video-sender
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Feishu Video Sender in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Feishu Video Sender on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Feishu Video Sender is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Feishu Video Sender

直接调用飞书 API 发送视频消息,支持私聊和群聊,视频以播放器形式展示(不是文件附件)。

When to Use

Use this skill when:

  • 需要发送可在飞书中直接播放的视频消息时
  • 使用标准 message(filePath="video.mp4") 导致视频变成不可播放的文件附件时
  • 需要自动生成视频封面并发送时
  • 需要向群聊或私聊分享视频内容时

Do NOT use this skill if:

  • 需要发送语音消息 → use feishu-voice-sender instead
  • 只需要发送普通文件(不要求播放器形式)→ 使用标准 file 消息 instead
  • 视频超过 100MB(可能超出 API 限制)→ 建议先压缩或上传到云盘分享链接 instead

Typical triggers:

  • 「发一个视频到飞书群」「视频发出去变成文件了,帮我修复」
  • "Send this video to Feishu chat", "上传视频并发送"

Workflow

  1. 探查 (Probe) 确认视频文件路径、目标 ID(ou_xxx 或 oc_xxx)、可选封面图路径、可选视频描述。

  2. 约束 (Constrain) 确保已安装 ffmpeg 和 Python requests。飞书 API 对视频大小通常限制在 100MB 以内。必须使用 msg_type: "media" 才能在飞书中显示为可播放的视频。不降级——视频过大时建议压缩而非强行发送。

  3. 证据 (Evidence) 确认视频文件存在且可读,目标 ID 格式正确。获取飞书 tenant_access_token。

  4. 执行 (Execute)

  5. 上传视频获取 file_key:POST /open-apis/im/v1/files

  6. 自动生成封面(第1秒画面)或上传用户指定的封面图获取 image_key

  7. 使用 msg_type: "media" 发送视频

bash
python3 skills/feishu-video-sender/feishu_video_sender.py /path/to/video.mp4 ou_xxx
  1. 验证 (Verify) 确认消息发送成功,返回消息 ID 和发送状态。检查视频在飞书中是否以播放器形式展示。

  2. 交付 (Deliver) 返回消息 ID 和发送状态,清理临时文件(自动生成的封面图)。

Output

返回消息 ID 和发送状态,包含 file_key、image_key 和目标 ID。

Guardrails

Anti-patterns

  • NEVER 使用 msg_type: "file" 发送视频(会变成不可播放的文件附件)
  • Do NOT 发送超过 100MB 的视频(可能超出 API 限制)
  • Do NOT 跳过封面图(没有封面的视频在飞书中显示效果差)

Constraints

  • 飞书 API 对视频大小通常限制在 100MB 以内
  • 自动生成封面取视频第 1 秒画面,如需更好效果建议手动提供封面图
  • 必须使用 msg_type: "media" 才能在飞书中显示为可播放的视频

Python API

python
from skills.feishu_video_sender.feishu_video_sender import (
    get_token, upload_video, upload_image, generate_cover, send_video
)

token = get_token()
file_key = upload_video("/path/to/video.mp4", token)
generate_cover("/path/to/video.mp4", "/tmp/cover.jpg")
image_key = upload_image("/tmp/cover.jpg", token)
message_id = send_video(
    file_key=file_key,
    image_key=image_key,
    target_id="ou_xxx",
    token=token,
    msg_type="open_id"
)

OpenClaw vs Direct API

方式代码结果
OpenClawmessage(filePath="video.mp4")文件附件,无法播放
直接 APImsg_type="media" + file_key + image_key视频播放器,可播放

Related Skills

  • feishu-voice-sender — 发送飞书语音消息
  • feishu-group-welcome — 群聊管理与消息发送
  • feishu-message-recall — 撤回已发送的消息

About UniqueClub

Part of the UniqueClub toolkit. 🌐 https://uniqueclub.ai

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Feishu Video Sender AI skill do?

飞书视频发送工具 / Feishu video message sender. 直接调用 API 发送视频消息,在飞书中以视频播放器形式展示(非文件附件),支持自动生成封面。 Use when: "发送视频消息", "send video message", "飞书视频播放", "feishu video player", "上传视频到飞书", "upload video to feishu", "群视频分享", "group video sharing", "视频封面生成", "video cover generation". 使用 msg_type: media 发送视频,配合 file_key 和 image_key,在飞书中显示为可播放的视频播放器。Cross-references: feishu-voice-sender, feishu-group-welcome, feishu-message-recall. Built by UniqueClub 🌐 https://uniqueclub.ai

Why use Feishu Video Sender on TypingMind?

Because you install it once and use it with any model. Feishu Video Sender is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Feishu Video Sender in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wulaosiji/skills/tree/main/feishu-video-sender. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Feishu Video Sender?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Feishu Video Sender?

As many as you like. As long as a model supports skills, you can use Feishu Video Sender with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Feishu Video Sender AI skill free?

It is published on GitHub by wulaosiji. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇