Pulls messages from Feishu IM conversations with solid flexibility around what you need. You can fetch chat history by conversation or user ID, read threaded replies, search across multiple chats by keyword or sender, and download images and files from messages. It handles pagination properly when there are more results, supports time filtering with relative ranges like "last 3 days" or precise timestamps, and runs with user permissions so you only see what you're allowed to. The threading support is actually useful since it can auto-expand replies to give you full context. Main gotcha is you can't time-filter thread messages due to API limits, and there's a 100MB cap on file downloads.

skills.sh installs
285
GitHub stars
2.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add larksuite/openclaw-lark --skill feishu-im-read --agent claude-code

Installs into .claude/skills of the current project.

Files

飞书 IM 消息读取

执行前必读

  • 该 Skill 中的所有消息读取工具均以用户身份调用,只能读取用户有权限的会话
  • feishu_im_user_get_messages 中 open_id 和 chat_id 必须二选一
  • 消息中出现 thread_id 时,根据用户意图判断是否用 feishu_im_user_get_thread_messages 读取话题内回复
  • 以用户身份读取后,如果消息内容中出现资源标记时,用 feishu_im_user_fetch_resource 下载,需要 message_id + file_key + type

快速索引:意图 → 工具

用户意图工具必填参数常用可选
获取群聊/单聊历史消息feishu_im_user_get_messageschat_id 或 open_id(二选一)relative_time, start_time/end_time, page_size, sort_rule
获取话题内回复消息feishu_im_user_get_thread_messagesthread_id(omt_xxx)page_size, sort_rule
跨会话搜索消息feishu_im_user_search_messages至少一个过滤条件query, sender_ids, chat_id, relative_time, start_time/end_time, page_size
下载消息中的图片feishu_im_user_fetch_resourcemessage_id, file_key(img_xxx), type="image"-
下载消息中的文件/音频/视频feishu_im_user_fetch_resourcemessage_id, file_key(file_xxx), type="file"-

核心约束

1. 时间范围:确保消息覆盖完整

当用户没有明确指定时间范围时,根据用户意图推断合适的 relative_time,确保返回的消息能完整覆盖用户关心的内容。用户明确指定时间时直接使用用户的值。

2. 分页:根据需要翻页获取更多结果

Sponsors

Details

Repository
github.com/larksuite/openclaw-lark
Category
Office & Documents
First seen
Jun 3, 2026

More from larksuite/openclaw-lark

All 7
1aliceisjustplaying avatarpdf-to-markdownaliceisjustplaying/claude-resources-monorepoConvert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into cont275skills.sh installs
2glebis avatargmailglebis/claude-skillsThis skill should be used when searching, fetching, or downloading emails from Gmail. Use for queries like "search Gmail for...", "find emails from John", "show257skills.sh installs
3guia-matthieu avatarpdf-extractorguia-matthieu/clawfu-skillsExtract text, tables, and images from PDFs. Use when: extracting data from reports; converting PDF tables to CSV; pulling images from presentations; processing 255skills.sh installs
4larksuite avatarfeishu-calendarlarksuite/openclaw-lark飞书日历与日程管理工具集。包含日历管理、日程管理、参会人管理、忙闲查询。254skills.sh installs
5davila7 avatarobsidian-clipper-template-creatordavila7/claude-code-templatesGuide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clippe247skills.sh installs
6julianobarbosa avatarobsidianjulianobarbosa/claude-code-skillsGuide for implementing Obsidian knowledge management - vault operations, plugin development, URI scheme automation, markdown extensions, and Local REST API inte243skills.sh installs