lark-event

Subscribe to Feishu events via WebSocket and output NDJSON.

60|8|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/liangdabiao/lark-workflow-feishu-cli --skill lark-event-liangdabiao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-event
Source: https://github.com/liangdabiao/lark-workflow-feishu-cli/tree/main/.claude/skills/lark-event
Command: npx skills add https://github.com/liangdabiao/lark-workflow-feishu-cli --skill lark-event-liangdabiao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and includes scripts (resource) components.

What problem does it solve?

This Skill allows for real-time monitoring of Feishu events through a WebSocket long connection, providing NDJSON output for easy integration with other systems.

Core Features & Use Cases

  • Real-time Event Monitoring: Listen to events such as messages, contact changes, and calendar updates in real-time.
  • Compact NDJSON Output: Outputs events in a compact format suitable for agent-friendly processing.
  • Use Case: For applications that require real-time data from Feishu, such as building event-driven workflows or building bot applications that need to react to events immediately.

Quick Start

Subscribe to all Feishu events and output them in NDJSON format: lark-cli event +subscribe

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?

NDJSON (Newline Delimited JSON) output provides a compact, line-by-line data format that is highly suitable for agent-friendly processing. It allows systems to parse and consume individual Feishu events sequentially without loading the entire event stream into memory.

Do I need lark-cli to establish a WebSocket connection for Feishu event subscription?

You can start monitoring Feishu events by running the command 'lark-cli event +subscribe'. This command establishes a WebSocket long connection and outputs all subscribed events in a compact NDJSON format for real-time integration.

What is the best way to build event-driven workflows using Feishu real-time data?

The best way to build event-driven workflows with Feishu real-time data is using a WebSocket long connection that outputs events in NDJSON format. This compact output allows other systems to easily integrate and react to messages and calendar updates immediately.

Does Feishu event subscription with WebSocket work for building bot applications?

Yes, Feishu event subscription with WebSocket works for building bot applications that need to react to events immediately. It listens to real-time messages and contact changes, providing a continuous NDJSON data feed for instant bot responses.