mcpField
F
feishu-cli-mail

feishu-cli-mail

github.com/riba2534Productivity1.4k478 installsUpdated 3w ago
Repository

About feishu-cli-mail

A skill guide for handling Feishu email with feishu-cli. It sets workflow and identity rules for message operations, drafts, sending, replies, and forwards.

Key features

  1. 01Follow the specified mail workflow
  2. 02Choose Bot, User, or automatic identity
  3. 03Handle drafts and authorized sending
  4. 04Read original mail before replying or forwarding
  5. 05Keep sensitive message content out of results

Use cases

  1. 01Choose Bot or User identity for mailbox actions
  2. 02Save unsent or unconfirmed content as a draft
  3. 03Send when authorization and message details are ready
  4. 04Verify the message and thread before replying or forwarding

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-mail

After installing, type/feishu-cli-mailin Claude Code to confirm it loaded.

Bundled filesevals/evals.jsonreferences/workflows/mail/workflow.md

Details

From the project README

飞书邮箱

读取 references/workflows/mail/workflow.md 后执行。 将该工作流中的 references/ 相对路径按 workflow.md 所在目录解析。

执行规则

  1. triage/message/messages/thread 支持 --as bot|user|auto;Bot 必须显式指定邮箱,不能用 me。写类、签名和模板管理需 User Token。auth check 只预检本地 User Token,不作为 Bot 的前置条件。
  2. 用户只要求草稿或尚未明确发送时保存草稿;已明确授权发送且收件人、主题、正文齐备时直接使用 --confirm-send,不重复索取确认。普通附件暂不支持,不要承诺发送未支持的附件。
  3. 回复和转发前先读取原邮件,避免选错 message ID 或 thread ID。
  4. 不在日志或结果中回显邮件正文里的敏感信息。

Comments

Markdown supported