feishu-cli-messaging

feishu-cli-messaging is a skill for Claude Code, Codex from riba2534/feishu-cli. It costs 240 tokens per session (924 once invoked), scanned A, original, MIT.

A Feishu messaging tool for sending, replying to and forwarding chat messages, downloading resources, managing group members, creating interactive cards and listening for events. Feishu is a workplace chat and collaboration platform.

In plain words
What is it for?
Sending notifications, reading or exporting chat history, managing groups, building alert or report cards with buttons or charts, subscribing to real-time events and handling message attachments.
Why use it?
It keeps different chat operations and their safety checks in one workflow, reducing mistakes with recipients, message types and uploaded files.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/riba2534/feishu-cli/feishu-cli-messaging
Any agent
npx skills add riba2534/feishu-cli --skill feishu-cli-messaging
Clone the repo
git clone --depth 1 https://github.com/riba2534/feishu-cli

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-cli-messaging

README.md
[![agentmods](https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-messaging.svg)](https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-messaging)
Your own site
<a href="https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-messaging"><img src="https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-messaging.svg" alt="Measured on agentmods" height="20"></a>
Per session 240 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 924 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00240 $0.00924
Opus 5 $0.00120 $0.00462
Sonnet 5 $0.00048 $0.00185
Haiku 4.5 $0.00024 $0.00092

Measured 4d ago against content hash 4f17a8bfd5b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

feishu-cli-messaging 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 4d 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-cli-messaging/SKILL.md · 49 lines

What it actually says

飞书即时消息

加载工作流后,将其中 references/scripts/templates/examples/ 相对路径按该 workflow.md 所在目录解析;执行脚本时使用解析后的实际路径,不要依赖当前 shell 目录。

路由

意图 读取文件
发送、回复、转发、加急、flag、资源下载 references/workflows/msg/workflow.md
历史消息、详情、Reaction、Pin、撤回、群和成员 references/workflows/chat/workflow.md
设计和生成 V2 interactive 卡片 JSON references/workflows/card/workflow.md
订阅和消费实时事件 references/workflows/event/workflow.md

发送交互卡片时先读取 card 构造 JSON,再读取 msg 发送。搜索历史消息关键词时读取 ../feishu-cli-platform/references/workflows/search/workflow.md

执行规则

  1. 发送前确认接收者类型和 ID;不要把 email、open_id、chat_id 混用。
  2. 群发、加急和删除消息有外部影响,先展示目标和数量。
  3. msg sendmsg reply 共用内容快捷参数;本地图片、文件、Opus 音频、MP4 视频会先上传, 任一文件缺失、格式非法或上传失败都会阻止提交消息。--upload-images 同时适用于两条命令。
  4. 进入既有话题必须使用 msg reply <om_xxx>omt_xxx 仅用于话题查询/转发,不能作为 msg send 的接收者。普通消息群开启新话题时才加 --reply-in-thread
  5. 发送与回复重试都使用同一 --idempotency-key;媒体上传可能重做,但服务端幂等键防止 可见消息重复。只有命令返回非空 message_id 才判定成功。
  6. 外部群 232033 的排错读取 references/workflows/chat/references/external-chat.md
  7. 卡片草稿与发送候选分开校验;发送前必须运行 card workflow 的 lint_card.py --strict,不得发送含占位符、示例 ID、假链接或未接通回调按钮的卡片。
  8. 用户点名卡片风格时使用 card workflow 内置的 19 个预设;使用本地头图或图标素材时, lint 与实际的 msg send / msg reply 都传 --upload-images,不要固化跨租户 img_key
Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 49 lines · 240 tokens per session scan A 4f17a8bfd5b6

Subscribe to this mod's changes

feishu-cli-messaging is a skill published in the GitHub repository riba2534/feishu-cli (1,378 stars, last pushed 6d ago), licensed MIT. It adds 240 tokens to every session and 924 once invoked, about $0.0012 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens