agentCLAWHUBUnverified

Feishu IM Read

飞书 IM 消息读取工具使用指南,覆盖会话消息获取、话题回复读取、跨会话消息搜索、图片/文件资源下载。 **当以下情况时使用此 Skill**: (1) 需要获取群聊或单聊的历史消息 (2) 需要读取话题(thread)内的回复消息 (3) 需要跨会话搜索消息(按关键词、发送者、时间等条件) (4) 消息中包含图... Skill: Feishu IM Read Owner: a3152557994-ship-it Summary: 飞书 IM 消息读取工具使用指南,覆盖会话消息获取、话题回复读取、跨会话消息搜索、图片/文件资源下载。 **当以下情况时使用此 Skill**: (1) 需要获取群聊或单聊的历史消息 (2) 需要读取话题(thread)内的回复消息 (3) 需要跨会话搜索消息(按关键词、发送者、时间等条件) (4) 消息中包含图... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-24T07:50:25.785Z | user Initial release Archive index: Archive v1.0.0: 3 files, 4574 bytes Files: skill-card.md (1884b), SKILL.md (7635b), _meta.jso

OpenClaw

Rank

62

Safety

84

Downloads

1.2k

Updated

Oct 11, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1.2K downloadsadoption · observed Oct 11, 2026
Latest release
1.0.0release · observed Apr 24, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s173ar224xha1b0e8jxxvg0r2985aes9:feishu-im-read
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-a3152557994-ship-it-feishu-im-read/snapshot"

Documentation

CLAWHUB

7,432 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: feishu-im-read
description: |
  飞书 IM 消息读取工具使用指南,覆盖会话消息获取、话题回复读取、跨会话消息搜索、图片/文件资源下载。

  **当以下情况时使用此 Skill**:
  (1) 需要获取群聊或单聊的历史消息
  (2) 需要读取话题(thread)内的回复消息
  (3) 需要跨会话搜索消息(按关键词、发送者、时间等条件)
  (4) 消息中包含图片、文件、音频、视频,需要下载
  (5) 用户提到"聊天记录"、"消息"、"群里说了什么"、"话题回复"、"搜索消息"、"图片"、"文件下载"
  (6) 需要按时间范围过滤消息、分页获取更多消息
---

# 飞书 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. 分页:根据需要翻页获取更多结果

- `page_size` 范围 1-50,默认 50
- 返回结果中 `has_more=true` 时,可使用 `page_token` 继续获取下一页
- 根据用户需求判断是否需要翻页:需要完整结果时继续翻页,浏览概览时第一页通常够用

### 3. 话题回复:主动展开话题获取上下文

获取历史消息时,返回的消息中如果包含 `thread_id` 字段,推荐主动获取话题的最新 10 条回复(`page_size: 10, sort_rule: "create_time_desc"`)以提供更完整的上下文。

| 场景 | 行为 |
|------|------|
| 获取历史消息并需要理解上下文(默认) | 对发现的 thread_id 调用 `feishu_im_user_get_thread_messages` 获取最新 10 条回复 |
| 用户要求"完整对话"、"详细讨论"、"看看回复" | 获取话题全部回复(`page_size: 50, sort_rule: "create_time_asc"`),需要时翻页 |
| 用户只浏览消息概览 / 用户明确说不看回复 | 跳过话题展开 |

**注意**:话题消息不支持时间过滤(飞书 API 限制),只能通过分页获取。

### 4. 跨会话消息搜索

`feishu_im_user_search_messages` 支持跨所有会话搜索消息:

| 参数 | 说明 |
|------|------|
| `query` | 搜索关键词,匹配消息内容 |
| `sender_ids` | 发送者 open_id 列表 |
| `chat_id` | 限定搜索范围的会话 ID |
| `mention_ids` | 被@用户的 open_id 列表 |
| `message_type` | 消息类型:file / image / media |
| `sender_type` | 发送者类型:user / bot / all(默认 user) |
| `chat_type` | 会话类型:group / p2p |

搜索结果每条消息额外包含 `chat_id`、`chat_type`(p2p/group)、`chat_name`。单聊消息还有 `chat_partner`(对方 open_id 和名字)。

### 5. 图片/文件/媒体资源的提取

消息内容中可能出现以下资源标记,用 `feishu_im_user_fetch_resource` 下载:

| 资源类型 | 内容中的标记格式 | fetch_resource 参数 |
|---------|-----------------|-------------------|
| 图片 | `![image](img_xxx)` | message_id=`om_xxx`, file_key=`img_xxx`, type=`"image"` |
| 文件 | `<file key="file_xxx" .../>` | message_id=`om_xxx`, file_key=`file_xxx`, type=`"file"` |
| 音频 | `<audio key="file_xxx" .../>` | message_id=`om_xxx`, file_key=`file_xxx`, type=`"file"` |
| 视频 | `<video key="file_xxx" .../>` | message_id=`om_xxx`, file_key=`file_xxx`, type=`"file"` |

从消息的 `message_id` 字段和内容中的 `file_key` 组合即可调用 

_meta.json

{
  "ownerId": "kn785z27bvq547m6kep7brvsc185a3r6",
  "slug": "feishu-im-read",
  "version": "1.0.0",
  "publishedAt": 1777017025785
}

skill-card.md

## Description:

Guides an agent through reading Feishu IM conversation history, thread replies, cross-chat message search, and message attachment downloads within the user's existing access permissions.

This skill is ready for commercial/non-commercial use.

## Publisher:

[a3152557994-ship-it](https://clawhub.ai/user/a3152557994-ship-it)

### License/Terms of Use:

MIT-0

## Use Case:

Employees and authorized operators use this skill to retrieve Feishu chat history, inspect thread context, search across messages, and fetch message resources for conversations they can already access.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill handles sensitive Feishu chat content and attachments.

Mitigation: Use the narrowest practical chat, keyword, sender, and time filters, and only expand threads or download files when needed.

Risk: Broad searches or unnecessary resource downloads can expose more conversation data than the task requires.

Mitigation: Keep retrieval scoped to the user's stated purpose and existing Feishu permissions.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/a3152557994-ship-it/skills/feishu-im-read)

## Skill Output:

**Output Type(s):** [Guidance, API calls, Text]

**Output Format:** [Markdown guidance with JSON tool-call examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May lead the agent to request Feishu messages, thread replies, search results, or resources according to user-provided filters and access permissions.]

## Skill Version(s):

1.0.0 (source: ClawHub release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 1d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/a3152557994-ship-it/skills/feishu-im-read",
      "sourceUrl": "https://clawhub.ai/a3152557994-ship-it/skills/feishu-im-read",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T00:10:49.499Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-a3152557994-ship-it-feishu-im-read/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-a3152557994-ship-it-feishu-im-read/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T00:10:49.499Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.2K downloads",
      "href": "https://clawhub.ai/a3152557994-ship-it/feishu-im-read",
      "sourceUrl": "https://clawhub.ai/a3152557994-ship-it/feishu-im-read",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T00:10:49.499Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/a3152557994-ship-it/feishu-im-read",
      "sourceUrl": "https://clawhub.ai/a3152557994-ship-it/feishu-im-read",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-24T07:50:25.785Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-a3152557994-ship-it-feishu-im-read/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-a3152557994-ship-it-feishu-im-read/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "Initial release",
      "href": "https://clawhub.ai/a3152557994-ship-it/feishu-im-read",
      "sourceUrl": "https://clawhub.ai/a3152557994-ship-it/feishu-im-read",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-24T07:50:25.785Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to Feishu IM Read and adjacent AI workflows.