lark-event
Skill by larksuite
Lark-event streams real-time Lark and Feishu events to AI assistants through the lark-cli event consume command. Each event is written to stdout as NDJSON, and bounded runs stop on --max-events or --timeout. It is built for Lark bots and for AI agents running as subprocesses.
Install lark-event
Built from the published package, never by AI.
git clone --depth 1 https://github.com/larksuite/cli /tmp/cli && mkdir -p ~/.claude/skills && cp -r /tmp/cli/skills/lark-event ~/.claude/skills/lark-eventRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/larksuite/cli /tmp/cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cli/skills/lark-event ~/.gemini/antigravity-cli/skills/lark-eventAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
lark-event is a skill that lets an AI assistant listen for Lark and Feishu events using the lark-cli tool. The main command, lark-cli event consume <EventKey>, blocks and writes each event to stdout as NDJSON. Supported keys cover IM messages and reactions, Approval status changes, Task updates, VC meeting lifecycle, Minutes, Whiteboard updates, and Drive comment notices.
The skill documents the subprocess contract. It covers a ready marker on stderr, exit codes and exit reasons, stdin EOF behavior, and a rule against kill -9. It also explains how to write --jq filters from event schemas. The skill is aimed at Lark bot builders, real-time message processing, and long-running subscribers.
Written from the project's SKILL.md and checked against it.
What it can do
- List EventKeysLists all subscribable EventKeys, optionally filtered to one domain with --domain.
- Show event schemaShows an EventKey's params and output schema to plan fields and filters.
- Consume eventsRuns a blocking consume that streams events to stdout as NDJSON.
- Filter with jqUses --jq expressions to filter or transform each event before output.
- Bounded runsStops after a set number of events with --max-events or after a duration with --timeout.
- Inspect bus daemonChecks the local bus daemon status with event status.
- Stop bus daemonStops the bus daemon with event stop, optionally for all instances.
- Write events to filesWrites each event as a file in a relative output directory using --output-dir.
What you need
- lark-cli installed
- Lark or Feishu authentication, as user or bot
- OAuth scopes required by the chosen EventKey
Try asking
- List all Lark EventKeys for the IM domain
- Show the schema for im.message.receive_v1 and write a jq filter for group chats
- Listen for 5 new Lark messages as a bot, then stop
Good to know
- Each consume command accepts exactly one EventKey. Wildcards and comma lists are not supported.
- The skill says AI should not use --quiet, because it hides readiness and event loss signals.
- Unbounded runs exit at once if stdin is closed, so they need a stdin source that stays open.
- Avoid kill -9 for keys that register server-side subscriptions, since it can leak them.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/lark-event/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/lark-event-application.md1 KB -
references/lark-event-approval.md9 KB -
references/lark-event-drive.md4 KB -
references/lark-event-im.md4 KB
Show all 9 files
-
references/lark-event-minutes.md2 KB -
references/lark-event-task.md3 KB -
references/lark-event-vc.md5 KB -
references/lark-event-whiteboard.md4 KB
Alternatives to lark-event
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
lark-event: common questions
How do I listen to several Lark event types at once?
The skill says to run one consume process per EventKey. All processes share a single local bus daemon.
Why do some events disappear when I use --jq?
Any jq runtime error skips that event and prints a one-line WARN on stderr. The consumer keeps running.
How does a parent process know the consumer is ready?
The consume command prints a ready line on stderr in the form [event] ready event_key=<key>. The parent should wait for that line before reading stdout.
How do I install lark-event?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is lark-event free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is lark-event safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to lark-event?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
