SkillsReviewed · larksuite

lark-im

lark-im is an instruction skill for AI assistants and developers automating Lark/Feishu chat, but it needs a separately installed CLI and correctly authorized user or bot access. It covers messages, conversations, attachments, bookmarks, feed organization and interactive cards, including pagination and partial-failure handling.

Researched 14 Nov 2026

In short.

lark-im is an instruction skill for AI assistants and developers working with Lark/Feishu conversations, but its usefulness depends on external setup, identity-specific permissions and a compatible CLI. Its strongest detail concerns retrieving chat context, recognizing incomplete results and building interactive cards. Authentication and event-handling prerequisites live outside the skill folder, and several references disagree about defaults or requirements. Nothing was executed; runtime reliability, card rendering, performance and operating costs remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/lark-im folder at revision 3d82c85419ad7560ad017db7a3972a596b5fbeb1: SKILL.md and all captured command, callback, card schema, component, style, color and icon references. Includes the repository LICENSE as a related notice outside that folder. Excludes sibling folders such as lark-shared and lark-event, CLI implementation and installation materials, and external linked pages. Installation, authorization, API behavior, downloads, card rendering, callback handling, security properties and performance were not tested.

The overview

Identity

lark-im is a collection of Markdown instructions and reference files in the larksuite/cli repository. Its front matter declares skill version 1.0.0 and requires the lark-cli executable. The skill explains how an assistant should use that executable; it does not itself provide the command implementation or an AI model.

The original resource folder is [https://github.com/larksuite/cli/tree/main/skills/lark-im]. Its selected contents include the main SKILL.md, command references, Card 2.0 component documentation, styling guidance and card callback instructions.

Assessment

The skill is most useful when an assistant needs to work repeatedly with real conversations rather than merely explain messaging APIs. It documents distinctions that matter in automation: searching versus listing chats, acting as a person versus a bot, continuing bounded pagination and checking individual failures within batch operations.

The documentation is detailed enough to support a practical implementation plan, but it is not a self-contained setup guide. No installation, authentication flow, API request, attachment transfer or card interaction was tested. Its documented safeguards and behavior therefore remain implementation claims rather than demonstrated results.

Users

Likely users include developers building chat-based assistants, teams retrieving discussion context for summaries, and operators automating notifications, group management or personal feed organization. Interactive-card guidance also serves developers building approvals, forms, task lists and small dashboards inside conversations.

Beginners need familiarity with terminal commands, authorization scopes and identifiers such as oc_ chat IDs and om_ message IDs. Experienced developers get request shapes, token distinctions, callback fields and incomplete-result signals. Much of the card documentation is in Chinese, while many command references are in English.

Capabilities

The documented messaging functions include searching across conversations, reading group and direct-message history, expanding threads, fetching up to 50 message IDs in a batch, sending and replying with text or media, querying read status and managing reactions. Message editing is restricted to messages sent by the calling bot.

Conversation functions cover creating regular or topic groups, updating names and descriptions, listing members and managing membership or administrative settings. Personal organization includes message or thread bookmarks, sidebar feed shortcuts and feed groups with explicit membership or automatic rules. These are distinct features with different permissions.

Card guidance covers layouts, text, images, charts, tables, buttons, forms, people selectors and date/time controls. It describes constructing cards from written requests or image references, checking their structure, sending them and handling user-action callbacks.

Using it

Requirements

An assistant needs access to the instruction files and a way to invoke an installed lark-cli. The selected folder does not establish installation commands, supported operating systems, a minimum CLI release or compatibility with a particular assistant host or model.

Authorization depends on both application scopes and the caller. The --as user option uses a user_access_token and the authorized person's access; --as bot uses a tenant_access_token and the app bot's visibility, membership and permissions. Bot scopes do not grant unrestricted access to a workspace.

Default reaction enrichment requires im:message.reactions:read. Sending as a user requires im:message.send_as_user and im:message; sending as a bot requires im:message:send_as_bot. Card callback consumption is bot-only. The Card 2.0 schema reference specifies client version 7.20 or later.

Mechanism

The skill routes tasks to higher-level commands named with a plus sign, alongside lower-level API methods. For example, +messages-search obtains matching message IDs, fetches their bodies in batches and attaches conversation context. This bundles several API operations into one CLI command.

Message-reading commands can attach reaction counts and details, while update_time is emitted only for edited messages. Chat message listing (+chat-messages-list) and batch message retrieval (+messages-mget) also document automatic thread expansion, capped by default at 50 replies per thread and 500 replies across a page. A host message can carry thread_has_more or thread_replies_error, so attached replies are not necessarily complete.

Attachment downloading is optional and writes eligible resources into ./lark-im-resources/. Card interactions use WebSocket events. The callback reference describes automatic acknowledgement within three seconds and delayed-update tokens valid for 30 minutes with at most two uses; delayed updates require complete replacement card JSON.

Setup

The main file depends on the sibling lark-shared skill for authentication, global parameters and permission handling. Card callback instructions additionally depend on lark-event. Those folders are outside this resource's selected scope, so their full setup requirements are unknown here.

The documented discovery commands include lark-cli im --help and lark-cli schema im.<resource>.<method>. Many shortcuts offer --dry-run to preview requests. The sending, replying and editing references instruct assistants to obtain explicit approval for the target message or recipient, content and applicable identity.

Callbacks require enabling Callback Configuration in the Feishu Developer Console under the app's Events & Callbacks settings. The reference warns that a consumer can start successfully while receiving no events if this setting is absent, and that there is no preflight check for it.

Example

An illustrative, unexecuted use is retrieving a project discussion. First find candidate groups with lark-cli im +chat-search --as user --query "Release Team" --format json. After identifying the intended group, use its returned ID in lark-cli im +chat-messages-list --as user --chat-id oc_xxx --page-all --page-limit 10 --format json. The oc_xxx value is a placeholder.

Check pagination metadata before treating the history as complete. If a returned message identifies a longer thread, inspect it with lark-cli im +threads-messages-list --as user --thread omt_xxx --order asc --page-all --format json, replacing omt_xxx with the actual returned thread ID. These commands retrieve context; an assistant would still need to interpret it and produce any requested summary.

Assessment & evidence

Limitations

Access and completeness have several boundaries. Bots cannot enumerate a user's direct-message conversations; chat search finds only visible groups. Member lists can be capped by server security settings, with truncations that further pagination cannot repair. Feed-shortcut listing requires manual pagination, and thread-message listing has no server-side time filtering.

Successful commands can still return incomplete auxiliary data. Reaction-fetch failures can omit reactions and report warnings; an absent reactions field alone does not establish that no reactions exist. Attachment failures are isolated per resource. Folder children need explicit downloading, and stickers are not downloadable.

Some references conflict. Message-search documentation gives both 20 and 40 as default automatic-pagination caps. The main skill says sender names need no contact-directory scope, while batch-message troubleshooting lists contact:user.base:readonly. The interactive-container component reference marks behaviors as required, but the style guide permits omission for a noninteractive block. Actual behavior was not assessed.

Card layout has strict constraints: the schema reference limits a card to 200 elements; tables and forms must be placed at the card body root. Some chart properties fail on mobile. The card workflow describes falling back to Card 1.0 after repeated failures, while also stating that local Card 1.0 reference documentation is unavailable.

Reasoning

The strongest reason to use this skill is its operational specificity. It explains how identity, chat membership, page limits, partial failures and callback fields affect apparently simple requests. Those details are directly relevant to assistants that must retrieve defensible conversation context or change visible chat content.

It is a weaker fit for someone expecting a turnkey chatbot or a complete integration SDK. It supplies instructions around another executable and service, and leaves interpretation of retrieved content to the assistant. Any reduction in errors, implementation effort or completion time is plausible but unmeasured.

Alternatives

For fixed automation, developers can use the documented lark-cli shortcuts directly in scripts instead of loading assistant instructions. Lower-level API commands offer explicit request control through structured parameters and data, although developers then manage more orchestration themselves. No comparative reliability or maintenance assessment is available.

For visual card authoring, the included references describe Feishu Card Builder [https://open.feishu.cn/cardkit]. Its capabilities differ from handwritten JSON: recycling containers are builder-only, while checker, collapsible-panel and image-selection references describe JSON-only construction. External tool and SDK comparisons were not assessed.

Evidence

The available evidence consists of the original skill instructions, their command and card references, and the repository MIT notice at one pinned source revision. The main file is available at [https://raw.githubusercontent.com/larksuite/cli/3d82c85419ad7560ad017db7a3972a596b5fbeb1/skills/lark-im/SKILL.md].

These files establish what the skill instructs and what behavior it documents. They do not establish that the CLI implementation follows those descriptions, that permissions work in a particular tenant, or that an assistant follows the instructions reliably. The executable source, runtime logs, rendered cards, independent benchmarks and sibling prerequisite skills are outside the available evidence.

Access & freshness

Costs

Operating costs are unknown. The selected documentation does not establish CLI pricing, Lark/Feishu subscription requirements, API charges, applicable quotas or assistant-model costs. The MIT licence does not establish that the connected service or an AI runtime is free.

A single shortcut can make additional requests for message bodies, chat context, reactions, thread replies or downloads. Options such as --no-reactions and, for feed-shortcut listing, --no-detail can avoid particular lookups. No monetary savings, throughput or latency measurements are available.

Rights

The supplied repository LICENSE is the MIT License, copyright 2026 Lark Technologies Pte. Ltd. It permits use, copying, modification, publication, distribution, sublicensing and sale of the software and associated documentation, provided the copyright and permission notices accompany copies or substantial portions. It provides no warranty.

These permissions support redistribution of the captured skill files with their notice. They do not establish rights to redistribute private conversations, attachments or other content accessed through the service, or replace service access requirements. Licence source: [https://raw.githubusercontent.com/larksuite/cli/3d82c85419ad7560ad017db7a3972a596b5fbeb1/LICENSE].

Freshness

The supplied source snapshot was captured on 14 November 2026 at revision 3d82c85419ad7560ad017db7a3972a596b5fbeb1. The declared skill version is 1.0.0. The capture date is not a release date or proof of recent maintenance, and the skill version does not establish a compatible CLI executable version.

Changes after that revision and current behavior on main are unknown. The read-status reference also makes availability of corresponding raw commands conditional on publication of Registry MR !128; that publication and the commands' installed availability are not established.

Actions

Before adopting the skill, obtain its external authentication and event prerequisites, establish the installed CLI version and inspect the intended shortcuts with --help. Choose the user or bot identity deliberately, authorize the operation's required scopes and set page limits explicitly where defaults are unclear.

A useful first evaluation would retrieve a bounded conversation history and inspect pagination, thread-expansion flags, truncation notices and enrichment warnings. For cards, separately verify desktop and mobile rendering, callback delivery and delayed updates in an appropriate conversation. Sending, replying and editing should retain the skill's explicit approval steps. None of these evaluations has been performed.

Evidence for this report

LICENSEnotice · checked 2026-11-14
skills/lark-im/SKILL.mdselected · checked 2026-11-14