lark-event

Stream Feishu/Lark events as NDJSON via WebSocket long connection.

12|3|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/baibairui/WoClaw --skill lark-event-baibairui
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-event
Source: https://github.com/baibairui/WoClaw/tree/main/.codex-runtime/home/.agents/skills/lark-event
Command: npx skills add https://github.com/baibairui/WoClaw --skill lark-event-baibairui

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Subscribe to Feishu/Lark events via a WebSocket long connection and stream events as NDJSON for downstream processing, enabling real-time event-driven automation and monitoring.

Core Features & Use Cases

  • Real-time event subscription with lark-cli event commands, including messages, chat changes, and calendar events.
  • Output formats include NDJSON to stdout, compact agent-friendly content, regex-based routing, and optional file output for archival.
  • Shortcuts simplify common tasks and guide secure integration with the Lark platform.

Quick Start

Run the lark-cli event +subscribe command to start listening for events and see NDJSON output on stdout.

Frequently Asked Questions about lark-event

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I subscribe to Lark events via WebSocket for real-time processing?▼

To subscribe to Lark events via WebSocket, you use the lark-cli event subscribe command. This establishes a long connection that streams real-time Feishu events, such as messages and calendar changes, directly to stdout as NDJSON for downstream automation.

What is the best way to stream Feishu messages as NDJSON for automation?▼

The best way to stream Feishu messages as NDJSON is using the lark-cli event subscription feature. It provides a compact, agent-friendly output format via a WebSocket long connection, enabling immediate event-driven automation and monitoring.

Do I need to configure Lark Open Platform permissions before subscribing to events?▼

Yes, you must configure proper event permissions in the Lark Open Platform before subscribing. The event subscription requires the lark-cli binary and these configured permissions to successfully establish the WebSocket connection and stream events.

Can I route specific Lark calendar events to a file while monitoring chats?▼

Yes, you can route specific Lark calendar events to a file. The event subscription supports regex-based routing and optional file output for archival, allowing you to segregate calendar events from chat messages during the NDJSON stream.