messages

Retrieve Lark chat history, send messages, and manage emoji reactions via CLI.

53|18|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/yjwong/lark-cli --skill messages-yjwong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: messages
Source: https://github.com/yjwong/lark-cli/tree/main/skills/messages
Command: npx skills add https://github.com/yjwong/lark-cli --skill messages-yjwong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill makes it easy to automate everyday chat tasks with the Lark CLI: retrieve conversation history, send messages to individuals or groups, and manage reactions without switching UI or manual steps.

Core Features & Use Cases

  • Read chat history from group chats, private chats, or threads.
  • Send messages to users or chats with markdown-lite formatting and image placement.
  • Add, list, and remove emoji reactions to messages to support quick collaboration.
  • Search for chats by name or member and fetch metadata in structured JSON.

Quick Start

Install the lark CLI and ensure it's in your PATH. Then try: lark msg history --chat-id oc_example --limit 5 lark msg send --to ou_example --text "Hello!" lark msg react --message-id om_example --reaction SMILE

Frequently Asked Questions about messages

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

FAQPage Schema
How do I retrieve Lark chat history automatically?

You can retrieve Lark chat history by running the lark CLI message commands, which fetch conversation records from group chats, private chats, or specific threads and return them as structured JSON output.

Can I send messages to a Lark group chat from the command line?

Yes, you can send messages to Lark group chats or individuals via the lark CLI, which supports markdown-lite text formatting and image placement for automated message posting.

How do I add or remove emoji reactions to Lark messages?

You manage emoji reactions on Lark messages by executing lark CLI reaction commands, which add, list, or remove emoji reactions to support quick chat collaboration and moderation.

Does the Lark messages API support searching for chats by name?

Yes, the Lark CLI supports searching for chats by name or member, fetching matching chat metadata and returning it in structured JSON format for automated retrieval workflows.

What do I need to automate Lark chat tasks without switching UI?

To automate Lark chat tasks without manual UI steps, you need the lark CLI installed and accessible in your PATH, enabling automated message reading, sending, and reaction management.