用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/a4001234567/yet-another-lark-mcp --skill feishu-im命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | feishu-im |
| description | Send, reply, read, search, and edit Feishu messages; send files and download attachments. |
| Intent | Tool | Key params |
|---|---|---|
| Send a message | feishu_im_send | receive_id, text / post_* / card |
| Reply in a thread | feishu_im_send | reply_to (message_id), text / post_* / card |
| Read chat history | feishu_im_read | container_id (chat_id or message_id) |
| Search by keyword | feishu_im_search | query |
| Send a file or image | feishu_im_send | receive_id, file_path (images auto-detected by extension) |
| Download an attachment | feishu_im_fetch_resource | message_id, file_key, type |
| Edit a sent message | feishu_im_patch | message_id, card |
Three message formats — pick one per call:
text param. No markdown rendering — asterisks, backticks, **bold**, bullet • symbols all appear as literal characters. For formatted output, use post or interactive instead.post_title + post_rows.card as JSON string. Markdown inside markdown elements is rendered.receive_id auto-detects type from prefix: ou_xxx → open_id, oc_xxx → chat_id, om_xxx → reply (uses reply API), email@x → email, otherwise user_id. No receive_id_type parameter needed.
The response includes message_id and chat_id — save chat_id if you'll need it for the watch loop.
post_rows is an array of rows; each row is an array of inline elements. Each row renders as a new line. \n within a text tag also produces a line break.
Avoid curly/smart quotes (", ", ', ') inside text values — they break JSON parameter parsing. Use straight ASCII quotes " / ' instead, or use Unicode escapes (\u201c, \u201d).
Supported style values: "bold", "italic", "underline", "strikethrough", "inline_code". Multiple styles can be combined.
{
"post_title": "Update",
"post_rows": [
[{"tag": "text", "text": "This is "}, {"tag": "text", "text": "bold", "style": ["bold"]}],
[{"tag": "text", "text": "code: "}, {"tag": "text", "text": "feishu_im_send()", "style": ["inline_code"
Bullet lists have no native tag — use • characters manually, one row per item.
Full markdown is supported via interactive card — see example below.
Use card (JSON string) for tables, markdown, or complex layouts. For markdown content including tables, use a markdown element — standard markdown table syntax is supported:
{
"schema": "2.0",
"body": {
"elements": [
{
"tag": "markdown",
"content": "| Tool | Purpose |\n|------|------|\n| feishu_im_send | Send messages |"
}
]
}
}
Use feishu_im_send with reply_to (a message_id) instead of receive_id. All message types are supported — text, post, interactive, file. Lark threads the reply under the original message.
feishu_im_reply no longer exists as a separate tool.
feishu_im_read returns messages from a chat (container_id_type: "chat", container_id = chat_id) or a thread (container_id_type: "thread", container_id = message_id). Default page_size is 20. Messages are always sorted newest-first.
Use feishu_im_send with a file_path parameter. Images (.png, .jpg, .gif, .webp) are sent as image messages; everything else as a file attachment. Use file_name to override the display name.
When a message contains a file or image, use feishu_im_fetch_resource to download it to a local temp file. You need:
message_id — from the message that contains the attachmentfile_key — img_xxx for images, file_xxx for filestype — "image" or "file"Returns saved_path pointing to the downloaded file.
feishu_im_patch replaces the content of an existing message in-place. Pass the original message_id and a card JSON string. Primarily used to update interactive cards (e.g. transitioning an auth card from pending → success).
For progress cards specifically, use feishu_im_patch_progress instead — it handles the step/percent logic for you.
Interactive card tools (
feishu_im_send_confirm,feishu_im_send_form,feishu_im_send_progress) are a separate module — see the feishu-interactive-cards skill for full usage and card structure.