lark-im

Send, fetch, and manage Feishu IM messages, threads, reactions, and attachments.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill lark-im-augustscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-im
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/lark-im
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill lark-im-augustscl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Accessing and operating Feishu (Lark) instant messaging can be complex due to mixed bot/user identities, paginated APIs, threaded replies, and resource keys for attachments. This Skill centralizes commands and best practices to send and reply to messages, search and list chat history, manage group chats and members, handle reactions and threads, and download message attachments reliably and safely.

Core Features & Use Cases

  • Send and Reply: Send messages and reply in-stream or in-thread using bot identity with idempotency key support and media upload handling.
  • Read and Search: List chat messages, search messages across chats, and batch-fetch full message content with automatic enrichment of sender and chat context.
  • Chat & Member Management: Create, update, and search group chats, and manage members with clear identity rules to avoid visibility/permission errors.
  • Resources and Threads: Download images/files by message_id and file_key, expand thread replies, and handle pagination for complete exports or summaries.
  • Safety & Identity Guidance: Built-in guidance for choosing --as user vs --as bot, two-step group creation flows, permission checks, and explicit confirmation before sending visible messages.

Quick Start

List recent messages in the "Project Discussion" chat and download any attached files referenced in those messages.

Frequently Asked Questions about lark-im

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

FAQPage Schema
How do I send and reply to Feishu messages using a bot?

Yes, you can search messages across chats and list chat history using Feishu IM commands. This feature batch-fetches full message content while automatically enriching sender and chat context for comprehensive conversation tracking.

What's the best way to download attachments from Feishu chat messages?

Downloading Feishu attachments requires the specific message_id and file_key. This approach reliably fetches images and files referenced in messages, handling resource downloads safely directly through the Feishu IM interface.

Does this approach support creating group chats and managing members with user identities?

Yes, group chat creation, updating, and member management are fully supported. Built-in identity guidance helps choose between user and bot identities, utilizing a two-step group creation flow to avoid visibility and permission errors.

Why do I need to choose between user and bot identities for Feishu chat management?

Choosing between user and bot identities for Feishu chat management prevents visibility and permission errors. Explicit identity selection ensures proper API scopes are applied for tasks like inspecting thread replies or sending visible messages safely.

How do I handle pagination when exporting Feishu thread replies and chat history?

Handling pagination for Feishu thread replies and chat history involves expanding thread replies and processing paginated APIs. This ensures complete exports or summaries of conversation data without missing older messages.