๐ŸŽ Get the FREE AI Skills Starter Guide โ€” Subscribe โ†’
BytesAgainBytesAgain
๐Ÿฆ€ ClawHub

feishu-video

by @yangmiok

Send voice/audio messages to Feishu (Lark) users. Converts audio files to OPUS format and sends as voice message, not file attachment. create by Alex

Versionv1.0.0
Comments1
โšก When to Use
TriggerAction
- User wants to send a **voice message** to Feishu
- User wants to convert and send audio (MP3, WAV, etc.) as a voice message
- User specifies they want audio message, not file upload
๐Ÿ’ก Examples

Step 1: Convert Audio to OPUS

ffmpeg -i input.mp3 -c:a libopus -b:a 32k output.opus

Step 2: Get Audio Duration

ffprobe -v quiet -show_format -print_format json input.mp3

Look for "duration" field in output

Step 3: Run the Script

node scripts/send-voice.mjs \
  --app-id "cli_xxx" \
  --app-secret "xxx" \
  --user-id "ou_xxx" \
  --audio-file "audio.opus" \
  --duration 3480

Or use environment variables:

export FEISHU_APP_ID="cli_xxx"
export FEISHU_APP_SECRET="xxx"
node scripts/send-voice.mjs --user-id "ou_xxx" --audio-file "audio.opus" --duration 3480

๐Ÿ“‹ Tips & Best Practices

| Error | Solution | |-------|----------| | file type not support | Convert to OPUS format | | duration is required | Add duration parameter | | permission denied | Check app has messaging scope | | user not found | Verify user Open ID |

View on ClawHub
TERMINAL
clawhub install feishu-video

๐Ÿงช Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

๐Ÿ” Can't find the right skill?

Search 60,000+ AI agent skills โ€” free, no login needed.

Search Skills โ†’