
Feishu Im Read
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-codeInstalls 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_messages | chat_id 或 open_id(二选一) | relative_time, start_time/end_time, page_size, sort_rule |
| 获取话题内回复消息 | feishu_im_user_get_thread_messages | thread_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_resource | message_id, file_key(img_xxx), type="image" | - |
| 下载消息中的文件/音频/视频 | feishu_im_user_fetch_resource | message_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