lark-event

Subscribe to Feishu real-time events and output them as NDJSON.

Updated May 8, 2026
One-click install
npx skills add https://github.com/gztcode/my-skills --skill lark-event-gztcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-event
Source: https://github.com/gztcode/my-skills/tree/main/lark-event
Command: npx skills add https://github.com/gztcode/my-skills --skill lark-event-gztcode

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows you to subscribe to real-time events from Feishu, such as messages, contact changes, and calendar updates, and outputs them in a compact NDJSON format for easy processing.

Core Features & Use Cases

  • Real-time Event Subscription: Listen to a wide range of events from Feishu using WebSocket long connections.
  • Compact NDJSON Output: Receive events in a format optimized for bots and automation.
  • Use Case: Use this Skill to build event-driven pipelines that react to changes in Feishu, such as automatically responding to messages or updating contact information.

Quick Start

Subscribe to all Feishu events and output them to stdout using the lark-event skill.

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 real-time Feishu events for bot automation?

You can subscribe to real-time Feishu events by using this Skill to listen to WebSocket long connections, outputting messages, contact changes, and calendar updates in a compact NDJSON format suitable for bot automation.

Can I use WebSocket connections to output Feishu messages to an NDJSON file?

Yes, you can output Feishu messages to an NDJSON file. The Skill supports regex routing and file output, allowing you to capture real-time events via WebSocket and write them directly to NDJSON for automation pipelines.

Do I need lark-cli to subscribe to Feishu event subscriptions?

Yes, you need lark-cli to subscribe to Feishu events. It is the required dependency for establishing WebSocket long connections and routing the real-time event stream to NDJSON output.

What types of Feishu events can I capture using WebSocket for event-driven pipelines?

Using WebSocket for event-driven pipelines, you can capture Feishu messages, contact changes, and calendar updates. These events are output as compact NDJSON, enabling automated responses and downstream processing.

What is the best way to format real-time Feishu bot messages for automated processing?

The best way to format real-time Feishu bot messages for automated processing is using NDJSON. This Skill subscribes to events via WebSocket and outputs them as compact NDJSON, optimized for bots and event-driven pipelines.

Does regex routing work with Feishu event subscription over WebSocket?

Yes, regex routing works with Feishu event subscription over WebSocket. You can apply regex routing to filter the real-time event stream and output matched events to an NDJSON file or stdout.