← 返回 Skills 市场
deadblue22

Feishu Message Reader

作者 deadblue · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
493
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-msg-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...
使用说明 (SKILL.md)

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:

  1. Get the message_id from inbound metadata (has_reply_context, parent message info)
  2. Run fetch_message.py \x3Cparent_message_id> --thread
  3. The thread context will contain the text/post messages with actual content
  4. Use that content to fulfill the user's request
安全使用建议
This skill appears to do what it claims: it calls Feishu's API and needs Feishu credentials. Before installing or using it: (1) confirm you trust the skill source since it will read ~/.openclaw/openclaw.json if present (or use env vars or an explicit --token) — if you don't want it reading that file, provide a tenant_access_token via --token or set FEISHU_APP_ID/FEISHU_APP_SECRET in a controlled environment; (2) review the small Python script yourself (it's included) if you have any doubt; (3) be aware it will make network calls only to open.feishu.cn (no other endpoints observed); (4) if you want least privilege, create a Feishu app/credentials scoped only to the required workspace and avoid storing unrelated secrets in the OpenClaw config.
功能分析
Type: OpenClaw Skill Name: feishu-msg-reader Version: 1.0.0 The feishu-msg-reader skill is designed to fetch message content and thread context from the official Feishu API (open.feishu.cn). The Python script (scripts/fetch_message.py) correctly handles authentication by reading credentials from the local OpenClaw configuration or environment variables and contains no evidence of data exfiltration, unauthorized execution, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description match the code and instructions. The script calls Feishu open-apis endpoints to fetch messages and thread context, which is exactly what the skill says it does.
Instruction Scope
SKILL.md and the script instruct the agent to read FEISHU_APP_ID/FEISHU_APP_SECRET env vars or ~/.openclaw/openclaw.json (OpenClaw config) or accept a --token. That file access is documented in the SKILL.md. No instructions or code read other system files or shell history; network calls go only to the Feishu API base URL.
Install Mechanism
There is no install spec (instruction-only plus a small Python script). No external downloads, package installs, or archive extraction are performed.
Credentials
The only secrets involved are Feishu credentials (app_id/app_secret or a tenant_access_token), which are necessary for the API. The script looks in ~/.openclaw/openclaw.json under channels.feishu for these values — this is proportional but worth noting because it reads a local config file that may contain credentials.
Persistence & Privilege
The skill does not request permanent/always-on inclusion, does not modify other skills or system-wide settings, and does not persist new credentials. Autonomous invocation is enabled by default (normal) but not combined with other concerning behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-msg-reader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-msg-reader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — general-purpose Feishu message fetcher (succeeds feishu-interactive-card). Supports all msg_types: text, post, interactive (fallback), image, merge_forward. Includes thread context retrieval.
元数据
Slug feishu-msg-reader
版本 1.0.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 1
常见问题

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。

💬 留言讨论