Marketing & SalesDocumentedScanned
feishu-sticker
Send images as native Feishu stickers.
Share:
Installation
npx clawhub@latest install feishu-stickerView the full skill documentation and source below.
Documentation
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
~/.openclaw/media/stickers/ (or set STICKER_DIR).npm install (requires axios, commander, ffmpeg-static, form-data, dotenv).