lark-event

Subscribe to Feishu/Lark events via WebSocket and stream NDJSON data.

76|14|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/jingsongliujing/Feishu-CLI-Web --skill lark-event-jingsongliujing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-event
Source: https://github.com/jingsongliujing/Feishu-CLI-Web/tree/main/backend/app/skills/lark_cli/skills/lark-event
Command: npx skills add https://github.com/jingsongliujing/Feishu-CLI-Web --skill lark-event-jingsongliujing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Subscribe to Feishu/Lark events in real time using a WebSocket long connection to stream NDJSON data, enabling responsive event-driven automation and monitoring.

Core Features & Use Cases

  • Real-time event subscription: listen to messages, calendar changes, and directory updates as they happen.
  • Agent-friendly output: output NDJSON with a compact, machine-friendly format and support for regex routing and file output.
  • Quick routing and isolation: route events to directories or files, enabling modular pipelines and multi-user workflows.

Quick Start

Run lark-cli event +subscribe to start listening to Feishu/Lark events in real time with optional filters, routing, and output to stdout or files.

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 Feishu events in real time?

Subscribe to Feishu events in real time by establishing a WebSocket long connection that streams NDJSON data, enabling responsive event-driven automation and monitoring for messages, calendar changes, and directory updates.

What is the best way to build an event-driven agent for Lark messages?

The best way to build an event-driven agent for Lark messages is to consume a real-time NDJSON event stream via WebSocket, which provides a compact, machine-friendly format for automated pipelines.

Do I need lark-cli to listen to real-time Lark event subscriptions?

Yes, you need the lark-cli tool and appropriate app credentials to establish the WebSocket connection and start listening to real-time Lark event subscriptions.

Can I route Feishu WebSocket events to different directories?

Yes, you can route Feishu WebSocket events to different directories or files using regex-based routing and the --output-dir option, enabling modular pipelines and multi-user workflows.

How does the compact option format NDJSON output for Feishu events?

The --compact option formats the NDJSON output to be dense and machine-friendly, ensuring efficient parsing for downstream agents and automated data pipelines consuming Feishu events.