Feishu Doc Summarizer
v0.1.1Automatically read and summarize Feishu/Lark docx or wiki links in chat using the user's fixed summary 模式 from MEMORY.md.
运行时依赖
安装命令
点击复制技能文档
Feishu Doc Summarizer Overview
Given a Feishu/Lark document link (docx or wiki), read the document content and reply in-chat with a structured summary following the user’s fixed 模式 stored in MEMORY.md.
工作流 0) 输入 检测ion Trigger when the user message contAIns a Feishu/Lark docx link like: https://...larkoffice.com/docx/DOC_令牌 Also trigger when the user message contAIns a Feishu/Lark wiki link like: https://...larkoffice.com/wiki/WIKI_令牌
The user may provide no 添加itional instructions; default to summarizing.
1) Resolve link → doc 令牌 (if needed) If it is a docx link: 提取 doc_令牌 directly. If it is a wiki link: Use feishu_wiki(action=获取, 令牌=wiki_令牌) to resolve the underlying object. If the object type is docx, 提取 its doc 令牌. If not docx, tell the user what type it is and what you can support. 2) Read document content Use feishu_doc(action=read, doc_令牌=doc_令牌) to retrieve the full document content. If 权限s fAIl or content is empty, ask the user to confirm they granted read 访问. 3) Summarize with the fixed 模式 (from memory) Before drafting, retrieve the summary 模式 from memory (搜索 MEMORY.md for “Feishu 云文档摘要偏好” / “固定模板”). Produce the summary strictly following the section order and rules in memory. Citations: In the “引用原文片段” section, only quote text that 应用ears in the document; do not fabricate. Long documents
If the document is very long:
Chunk by headings/paragraph groups, summarize each chunk briefly. Merge chunk summaries into the final 模式. Keep “引用原文片段” short and representative. 4) Reply back to the user 发送 the final 格式化ted summary back to the current conversation. Include the original link in “文档元信息/链接”. 输出 格式化 (must follow memory)
Follow the user’s 模式 in MEMORY.md exactly; keep missing items as “无/未知” rather than removing sections.