lark-event

Monitor Feishu events via WebSocket and output NDJSON with regex routing.

1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/9Ashwin/aswin-skills --skill lark-event-9ashwin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-event
Source: https://github.com/9Ashwin/aswin-skills/tree/main/skills/lark-event
Command: npx skills add https://github.com/9Ashwin/aswin-skills --skill lark-event-9ashwin

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables real-time monitoring of Feishu events such as messages, contact changes, and calendar updates, allowing users to build event-driven pipelines for automated actions.

Core Features & Use Cases

  • Real-time Event Listening: Listen to Feishu events via WebSocket long connection.
  • NDJSON Output: Output events in a compact, machine-readable format.
  • Agent-friendly Format: Format output for easier processing by bots.
  • Regex Routing: Route events to different directories based on regex patterns.
  • File Output: Output each event to a file for later analysis.
  • Use Case: Monitor incoming messages on a Feishu channel and automatically route them to different team members based on the message content.

Quick Start

Use the lark-event skill to subscribe to Feishu messages and route them to different directories based on the sender's department.

Frequently Asked Questions about lark-event

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

FAQPage Schema
How do I monitor Feishu messages and contact changes in real-time?

You can monitor Feishu events in real-time by establishing a WebSocket long connection. This Skill listens to incoming messages, contact changes, and calendar updates, outputting them as NDJSON for automated event-driven pipelines.

Can I route Feishu events to different directories based on content?

Yes, you can route Feishu events to different directories based on regex patterns. This regex routing allows you to automatically direct messages to specific team members or folders based on the sender's department or message content.

Do I need lark-cli to listen to Feishu events via WebSocket?

Yes, the lark-cli dependency is required to establish the WebSocket connections for real-time Feishu event listening. Without it, the Skill cannot subscribe to or monitor the Feishu event stream.

What is the best way to format Feishu events for bot processing?

The best way to format Feishu events for bot processing is using an agent-friendly NDJSON output. This compact, machine-readable format allows automated pipelines and bots to easily parse and react to incoming messages and contact updates.

How do I save Feishu events to a file for later analysis?

You can save Feishu events to a file for later analysis by enabling file output during event listening. The Skill captures each real-time event and writes it directly to a file alongside the NDJSON stream.