What problem does it solve? Building event-driven automations on Lark requires continuously listening to platform events like incoming messages, contact changes, and calendar updates. This Skill establishes a WebSocket long connection to receive these events in real time and outputs them as structured NDJSON, removing the need to run a public webhook server. ## Core Features & Use Cases - Real-time Event Subscription: Connect via WebSocket long connection and receive events such as im.message.receive_v1, contact changes, and calendar updates as NDJSON on stdout. - Agent-Friendly Output: Use --compact to flatten event payloads, parse message content into readable text, and strip noise fields for direct consumption by AI pipelines. - Filtering and Routing: Filter events by type or client-side regex, and route different event types to separate output directories or files. - Use Case: Build a bot that listens for incoming Lark messages, pipes each compact event to an LLM for a reply, and responds via the Lark API, all in a single shell pipeline. ## Quick Start Subscribe to incoming Lark messages in compact mode by running lark-cli event +subscribe --event-types im.message.receive_v1 --compact --quiet.