Back to Skills

lark-im

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员时使用。

7,144stars434forksUpdated 4/9/2026

Security Assessment

Low Risk(85/100)

Detected risks:

Secret Exposure([references/lark-im-chat-messages-list.md] token=)
Security Score85/100

About lark-im

The lark-im skill provides functionality for interacting with Lark's instant messaging system. It enables users and bots to send and receive messages, manage group chats, search for chat records, and handle resources like images and files. This skill bridges communication needs in group environments or direct chats, allowing for seamless management of group membership, message threads, and reactions. It solves the problem of managing real-time communication within the Lark platform, especially for teams or bots that need to handle large volumes of messages and media in chats and channels.

Key capabilities include the ability to create and update group chats, reply to messages (including threaded replies), and search through chat history by keywords or user identifiers. It also supports downloading media resources like images and files and managing member roles within chats. The skill can be used in both user and bot contexts, offering flexibility depending on the required access level and use case. With a focus on efficient message handling, users can batch retrieve messages, manage reactions, and even update chat details like name or description.

This skill is ideal for businesses or developers who need to integrate Lark messaging into their workflows, especially those using bots or automating messaging. It's particularly useful for managing group interactions, customer support teams, and any system that involves direct or group communications via the Lark platform. Target users include developers, bot creators, and teams looking to automate their Lark-based communication processes and manage their conversations programmatically.

FAQ

How do I send a message using lark-im?

You can send a message using the `+messages-reply` shortcut or `+chat-messages-list` to list messages in a chat. Both user and bot identities are supported.

What happens when I use bot identity with lark-im?

When using bot identity (`--as bot`), your actions will be limited by the bot's access permissions, such as chat membership and visibility settings. Some functionalities may not work if the bot lacks the necessary permissions.

What are the requirements to use this skill?

The skill requires the `lark-cli` tool to be installed. You must also ensure that you follow the authentication and permission requirements outlined in the referenced `../lark-shared/SKILL.md`.

Can I download media files from a chat?

Yes, you can download media files using the `+messages-resources-download` shortcut, which supports downloading files such as images, videos, and other resources from messages.

Is there a way to search for past messages in a chat?

Yes, you can use the `+chat-search` shortcut to search for messages in visible group chats by keywords or member identifiers, with options for filtering and pagination.

All Files

13 files
references/lark-im-chat-messages-list.md6.9 KB
View
references/lark-im-chat-search.md5.7 KB
View
references/lark-im-messages-mget.md3.4 KB
View
references/lark-im-messages-search.md10.8 KB
View
references/lark-im-messages-send.md11.9 KB
View
references/lark-im-threads-messages-list.md4.7 KB
View
references/lark-im-chat-create.md7.0 KB
View
references/lark-im-chat-identity.md3.1 KB
View
references/lark-im-reactions.md9.7 KB
View
references/lark-im-chat-update.md3.2 KB
View
references/lark-im-messages-reply.md10.7 KB
View
references/lark-im-messages-resources-download.md3.6 KB
View
SKILL.md8.7 KB
View

Install lark-im

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

larksuite/cli