What problem does it solve?
Operating Feishu instant messaging programmatically requires juggling message types, receiver ID formats, card JSON schemas, upload flows, and WebSocket event subscriptions. This Skill gives an AI Agent a unified, rule-checked entry point for all Feishu chat operations through the feishu-cli command line tool.
Core Features & Use Cases
- Message Sending & Management: Send, reply, forward, merge-forward, and urgent-notify messages with idempotency keys, local media upload (images, files, Opus audio, MP4 video), and thread support.
- Chat History & Group Administration: Export time-windowed chat history with thread expansion and sender name resolution, manage reactions, pins, group members, and external-chat edge cases.
- Card JSON 2.0 Construction: Build interactive cards from 7 scenario templates and 19 visual presets with an offline linter that blocks placeholders, invalid nesting, and broken buttons before sending.
- Real-Time Event Subscription: Consume Feishu events over WebSocket with bounded runs, NDJSON output, and process lifecycle management.
- Use Case: Ask the agent to build a red alert card with an error-rate chart, lint it strictly, send it to a group chat, then subscribe to message events for 30 seconds to watch for replies.
Quick Start
Ask the AI to send a Feishu message or notification to a user or group, for example: send a project status card to chat oc_xxx using feishu-cli.