lark-event

Subscribe to Lark events via WebSocket and output NDJSON streams.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Subscribing to Feishu/Lark events via WebSocket long connections to receive real-time event streams and NDJSON output in a controlled, scriptable way.

Core Features & Use Cases

  • Subscribe to all events or filter specific event types with lark-cli.
  • Route events to directories or files using regex-based routing and output customization.
  • Use as bot-only event listener to drive automation pipelines and alerting.

Quick Start

Start subscribing to Lark events with lark-cli event +subscribe and configure event types and routing as needed.

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 or Lark events via WebSocket for real-time monitoring?

Subscribe to Lark events via WebSocket long connection using lark-cli event +subscribe, which outputs NDJSON for real-time event streams. It supports filtering specific event types and routing events to directories for bot-based monitoring.

Can I filter specific Feishu event types and route them to separate files?

Yes, event filtering and routing are supported. You can filter specific event types and use regex-based routing to direct Feishu events to customized directories or files, enabling controlled and scriptable automation pipelines.

What do I need to configure before subscribing to Lark events with this tool?

You need lark-cli installed and Open Platform configuration completed. These prerequisites allow the WebSocket long connection to establish and receive message, chat, and calendar events for your automation pipelines.

What is NDJSON output and why use it for Feishu event streams?

NDJSON provides newline-delimited JSON output for Feishu event streams. This format allows controlled, scriptable event monitoring and processing across Lark ecosystems, making it ideal for driving bot-based automation pipelines and alerting.

Does lark-cli work as a bot-only event listener for automation pipelines?

Yes, it functions as a bot-only event listener to drive automation pipelines and alerting. It subscribes to Feishu events via WebSocket and supports compact formatting for real-time monitoring across message, chat, and calendar events.

Are there limitations when using WebSocket subscriptions for Lark events?

Limitations include dependency on lark-cli and Open Platform configuration. The WebSocket subscription focuses on real-time event streams via NDJSON output, requiring proper event-types filtering and regex-based routing setup for optimal performance.