feishu-im-read

feishu-im-read is a skill for Claude Code, Codex from cklxx/elephant.ai. It costs 28 tokens per session (664 once invoked), scanned A, original, MIT.

A reader for Feishu (Lark), a workplace chat and collaboration app. It retrieves group or direct-message history, thread replies, and attached files or images.

In plain words
What is it for?
Use it to inspect chat history, read thread replies, and retrieve files or images from group chats or direct messages.
Why use it?
It avoids manually searching conversations and downloading attachments when an agent needs information from Feishu.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 skills/feishu-cli/run.py '{.

Good fit Use it to inspect chat history, read thread replies, and retrieve files or images from group chats or direct messages.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/cklxx/elephant.ai
agentmods
npx agentmods add skills/cklxx/elephant.ai/feishu-im-read

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feishu-im-read

README.md
[![agentmods](https://agentmods.dev/badge/skills/cklxx/elephant.ai/feishu-im-read/github.svg)](https://agentmods.dev/skills/cklxx/elephant.ai/feishu-im-read)
Your own site
<a href="https://agentmods.dev/skills/cklxx/elephant.ai/feishu-im-read"><img src="https://agentmods.dev/badge/skills/cklxx/elephant.ai/feishu-im-read/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for feishu-im-read

Your own site · 80×15
<a href="https://agentmods.dev/skills/cklxx/elephant.ai/feishu-im-read"><img src="https://agentmods.dev/badge/skills/cklxx/elephant.ai/feishu-im-read.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00664
Opus 5 $0.00014 $0.00332
Sonnet 5 $0.00006 $0.00133
Haiku 4.5 $0.00003 $0.00066

Measured 11d ago against content hash 8b6cf234ea4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

feishu-im-read scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/feishu-im-read/SKILL.md · 68 lines

What it actually says

Feishu IM Read Skill

快速索引

用户意图 module tool_action 必填参数
发送消息 message send_message chat_id/user_id, content
读取消息历史 message history chat_id
上传文件 message upload_file source, file_type

调用示例

发送消息

python3 skills/feishu-cli/run.py '{
  "action": "tool",
  "module": "message",
  "tool_action": "send_message",
  "chat_id": "oc_xxx",
  "content": "Hello! 这是一条测试消息"
}'

读取消息历史

python3 skills/feishu-cli/run.py '{
  "action": "tool",
  "module": "message",
  "tool_action": "history",
  "chat_id": "oc_xxx",
  "start_time": "2026-03-01",
  "end_time": "2026-03-10",
  "page_size": 20
}'

核心约束

  • chat_id: 群聊 ID(oc_ 开头);必填——可通过参数直传,或由环境变量 LARK_CHAT_ID 自动注入(Lark channel 中默认已注入)
  • user_id: 用户 open_id(ou_ 开头),用于私聊
  • 消息类型: 支持 text、post(富文本)、image、file 等
  • 分页: 使用 page_tokenpage_size 进行分页
  • 时间过滤: start_timeend_time 支持日期字符串
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 68 lines · 28 tokens per session scan A 8b6cf234ea4a

Subscribe to this mod's changes

feishu-im-read is a skill published in the GitHub repository cklxx/elephant.ai (11 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 664 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.