name: file-summary description: | local document summary & analysis tool. triggers: 幫我總結, 總結檔案, 分析文件, 分析總結, 總結一下, 分析一下 summarize for me, analyze for me, summarize the file, analyze the document, file summary, document analysis Supported formats: txt, docx, pdf, xlsx, xls ⚠️ Privacy Note: Extracted content will be sent to OpenClaw LLM for summary/analysis — DO NOT use with sensitive/confidential files.
A universal tool for extracting text from local documents and generating summaries/analysis, supporting both Chinese and English trigger words.
From user input 幫我總結 D:\測試.pdf → file_path = D:\測試.pdf
From user input summarize for me C:\test.pdf → file_path = C:\test.pdf
{ "action": "extract", "file_path": "D:\測試.pdf" }
Returns (返回結果): - Success: Plain text content of the document (txt/docx/pdf/xlsx/xls) - Error: Error message starting with ❌ (e.g. ❌ File not found, ❌ Unsupported format)
{ "action": "summary", "file_path": "D:\測試.pdf" }
Returns (返回結果): - Summary: Concise key-point summary of the document content (integrated with OpenClaw LLM) - Analysis: In-depth analysis of the document content (integrated with OpenClaw LLM)
To summarize/analyze a local document:
1. Extract content: { "action": "extract/analysis", "file_path": "your_file_path" } → returns plain text
2. Generate result: OpenClaw LLM summarizes/analyzes the extracted text automatically
channels: local: tools: file_summary: true # default: true python: true # required - need Python environment
Required (必備): - Local file read permission (user needs to grant file access) - Python execute permission (no special system permissions required)
file-summary folder into OpenClaw's skills directory小蔥技能站7w4.net發現了升級外掛。
file-summary folder (include md/py) to a public platform (e.g. GitHub/Gitee, ClawHub)整體質量較好,勝在簡單實用、功能明確。優點是對常見辦公文件都能讀取,錯誤提示清晰,中英雙語友好,無需手動裝庫就能用。不足是遇到掃描件或帶圖片的 PDF 就無法識別,Excel 格式會變得簡陋,隱私方面僅靠文字提醒略顯單薄。日常處理普通文件夠用,但對複雜場景支援有限。