🦀 ClawHub
Feishu Doc Summarizer
by @victor-thu
Automatically read and summarize Feishu/Lark docx or wiki links in chat using the user's fixed summary schema from MEMORY.md.
TERMINAL
clawhub install feishu-doc-summarizer📖 About This Skill
name: feishu-doc-summarizer description: Summarize Feishu/Lark cloud documents the user can read. Use when the user sends a Feishu doc link (docx or wiki) and expects an auto summary without extra instructions, or explicitly asks to summarize a Feishu document. Workflow: resolve wiki to docx, read doc content via feishu_doc, summarize using the user’s fixed summary schema from MEMORY.md, and send the summary back to the current chat.
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 schema stored in MEMORY.md.
Workflow
0) Input detection
https://...larkoffice.com/docx/DOC_TOKEN
https://...larkoffice.com/wiki/WIKI_TOKENThe user may provide no additional instructions; default to summarizing.
1) Resolve link → doc token (if needed)
doc_token directly.feishu_wiki(action=get, token=wiki_token) to resolve the underlying object.
- If the object type is docx, extract its doc token.
- If not docx, tell the user what type it is and what you can support.2) Read document content
feishu_doc(action=read, doc_token=doc_token) to retrieve the full document content.3) Summarize with the fixed schema (from memory)
#### Long documents
If the document is very long: 1) Chunk by headings/paragraph groups, summarize each chunk briefly. 2) Merge chunk summaries into the final schema. 3) Keep “引用原文片段” short and representative.
4) Reply back to the user
Output format (must follow memory)
Follow the user’s schema in MEMORY.md exactly; keep missing items as “无/未知” rather than removing sections.