lark-event

Listen to Lark platform events via WebSocket with regex filtering and file output.

Updated Jun 7, 2025
One-click install
npx skills add https://github.com/TK0918/BestAds --skill lark-event-tk0918
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-event
Source: https://github.com/TK0918/BestAds/tree/main/.agents/skills/lark-event
Command: npx skills add https://github.com/TK0918/BestAds --skill lark-event-tk0918

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables users to subscribe to and monitor real-time events from the Lark platform, facilitating event-driven automation and integration.

Core Features & Use Cases

  • Event Subscription: Establish WebSocket long connections to listen for specific or all platform events such as messages, contact updates, or calendar changes.
  • Custom Routing & Filtering: Route incoming events to designated directories or formats based on regex patterns, and filter events client-side for relevant data.
  • Use Case: Automate logging of new chat messages by subscribing to message events and saving each to a file or database instantly.

Quick Start

Use this Skill to subscribe to all Lark messages and save each event as a JSON file in a specified directory.

Frequently Asked Questions about lark-event

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

FAQPage Schema
How do I monitor Lark platform events in real time?▼

Lark event monitoring tracks real-time platform activities like messages, contact updates, and calendar changes via WebSocket connections. This Skill subscribes to these events, enabling instant data logging and event-driven workflow automation as activities occur.

Can I filter Lark WebSocket subscriptions to only capture specific chat messages?▼

Yes, you can filter Lark WebSocket event subscriptions using regex patterns. This enables client-side event filtering, allowing you to route only specific incoming chat messages to designated output directories or files.

Do I need lark-cli to subscribe to Lark event subscriptions?▼

Yes, lark-cli is required to use this Skill for Lark event subscription. The lark-cli dependency provides the necessary WebSocket connection and event subscription features to establish real-time platform monitoring.

What is the best way to automate logging of Lark chat messages to a file?▼

The best way to automate logging of Lark chat messages is to subscribe to message events via WebSocket. This Skill captures incoming chat activities and saves each event as a JSON file in your specified directory instantly.

Can I route incoming Lark contact and calendar events to multiple directories?▼

Yes, you can route incoming Lark contact and calendar events to multiple directories. This Skill supports custom routing based on regex patterns to direct specific event data to designated output locations.