/install feishu-msg-reader
Feishu Message Fetcher
Fetch any Feishu message content by message_id using the IM API, with optional thread context.
Known Limitation
Interactive cards (msg_type: interactive): The Feishu GET message API (/im/v1/messages/{id}) only returns fallback/degraded text in body.content, not the full card JSON. This is a Feishu platform limitation — there is no API to retrieve the rendered card structure after sending.
Workaround: Use --thread to fetch the entire thread context. The interactive card is usually a reply to a text/post message that contains the actual content. Reading the thread gives you the full picture.
Usage
# Fetch a single message
python3 scripts/fetch_message.py \x3Cmessage_id>
# Fetch with thread context (root message + all replies in thread)
python3 scripts/fetch_message.py \x3Cmessage_id> --thread
# Raw API response
python3 scripts/fetch_message.py \x3Cmessage_id> --raw
Auth
Automatic — reads appId/appSecret from ~/.openclaw/openclaw.json. Alternatively set FEISHU_APP_ID + FEISHU_APP_SECRET env vars, or pass --token \x3Ctenant_access_token>.
Output
JSON with: message_id, msg_type, sender_id, sender_type, chat_id, create_time, root_id, parent_id, content (parsed).
With --thread: adds thread array (all messages in the same thread, sorted chronologically) and thread_count.
Typical Workflow
When you encounter [Interactive Card] in a replied-to message:
- Get the message_id from inbound metadata (
has_reply_context, parent message info) - Run
fetch_message.py \x3Cparent_message_id> --thread - The thread context will contain the text/post messages with actual content
- Use that content to fulfill the user's request
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-msg-reader - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-msg-reader触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Feishu Message Reader 是什么?
Fetch Feishu message content by message_id, with optional thread context. Activate when: needing to read the content of a specific Feishu message by its mess... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 493 次。
如何安装 Feishu Message Reader?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-msg-reader」即可一键安装,无需额外配置。
Feishu Message Reader 是免费的吗?
是的,Feishu Message Reader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Feishu Message Reader 支持哪些平台?
Feishu Message Reader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu Message Reader?
由 deadblue(@deadblue22)开发并维护,当前版本 v1.0.0。