lark-event

Subscribe to Feishu/Lark events via WebSocket and emit NDJSON to stdout.

16.3k|1.3k|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/larksuite/cli --skill lark-event
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-event
Source: https://github.com/larksuite/cli/tree/main/skills/lark-event
Command: npx skills add https://github.com/larksuite/cli --skill lark-event

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Subscribing to Feishu/Lark events in real-time is essential for building event-driven data pipelines. This Skill provides a WebSocket long connection to listen to messages, directory and calendar changes, outputting NDJSON to stdout for downstream processing.

Core Features & Use Cases

  • Real-time event streaming: subscribes to a wide set of Feishu/Lark events (messages, contacts, calendar, etc.) via a persistent WebSocket.
  • Agent-friendly formatting: supports compact and regex routing options to streamline downstream AI/agent processing.
  • Output options: NDJSON to stdout, and optional file-based routing via route rules for persistence and auditing.
  • Shortcut commands: provides high-level shortcuts to common event subscriptions for faster workflows.
  • Security and prerequisites: references the shared SKILL.md for authentication, permissions and safety rules.

Quick Start

Run the event subscribe shortcut to start listening to Feishu/Lark events and pipe them into your agent pipeline.

Frequently Asked Questions about lark-event

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

FAQPage Schema
How do I stream Feishu events in real-time via a WebSocket connection?

You can stream Feishu events in real-time by establishing a WebSocket long connection that listens to messages, contacts, and calendar updates, then emitting the output as NDJSON to stdout for downstream processing.

What is the best way to build an event-driven pipeline that reacts to Lark message changes?

The best way to build an event-driven pipeline for Lark message changes is to subscribe via a persistent WebSocket, utilizing compact agent-friendly formatting and regex routing to streamline the NDJSON output directly to your AI or data pipeline.

Can I route specific Feishu platform events to separate files for auditing?

Yes, you can route specific Feishu platform events to separate files. The system supports optional file-based routing via route rules, allowing you to persist and audit events alongside the standard NDJSON stdout output.

What authentication is required to subscribe to Lark calendar and contact updates?

Subscribing to Lark calendar and contact updates requires authentication and specific permissions configured in the shared SKILL.md, ensuring safe and authorized access to the platform's event streams.

Does the Feishu event subscription output support NDJSON format for agent processing?

Yes, the Feishu event subscription supports NDJSON format for agent processing. It emits compact, agent-friendly NDJSON to stdout, which is ideal for real-time AI workloads and downstream data pipelines.