🤖
feishu-sticker
Send images as native Feishu stickers with auto-upload, caching by hash, GIF-to-WebP conversion, compression, and keyword-based sticker search.
安全通过
技能说明
name: feishu-sticker description: Send images as native Feishu stickers. Features auto-upload, caching, and GIF-to-WebP conversion. tags: [feishu, lark, sticker, image, fun]
Feishu Sticker Skill
Sends a sticker (image) to a Feishu user or group.
Automatically uploads the image to Feishu (caching the image_key via MD5), converts GIFs to WebP for efficiency, and supports smart search.
Features
- Auto-Upload: Uploads local images to Feishu CDN on demand.
- Caching: Caches
image_keyby file hash to avoid re-uploading. - Optimization: Auto-converts GIFs to WebP (via
ffmpeg-static) and compresses large images (>5MB). - Smart Search: Find stickers by
--queryor--emotion.
Usage
# Send random sticker
node skills/feishu-sticker/send.js --target "ou_..."
# Send specific file
node skills/feishu-sticker/send.js --target "ou_..." --file "/path/to/image.jpg"
# Search and send
node skills/feishu-sticker/send.js --target "ou_..." --query "angry cat"
node skills/feishu-sticker/send.js --target "ou_..." --emotion "happy"
Setup
- Put your stickers in
~/.openclaw/media/stickers/(or setSTICKER_DIR). - Install dependencies:
npm install(requiresaxios,commander,ffmpeg-static,form-data,dotenv).
如何使用「feishu-sticker」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「feishu-sticker」技能完成任务
- 结果即时呈现,支持继续对话优化