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" } { "action": "extract", "file_path": "C:\test.pdf" }
Returns (返回结果):
{ "action": "summary", "file_path": "D:\测试.pdf" } { "action": "analysis", "file_path": "C:\test.pdf" }
Returns (返回结果):
To summarize/analyze a local document:
{ "action": "extract/analysis", "file_path": "your_file_path" } → returns plain textchannels: local: tools: file_summary: true # default: true python: true # required - need Python environment
Required (必备):
file-summary folder into OpenClaw's skills directory小葱技能站7w4.net,专业的AI技能分享平台。
file-summary folder (include md/py) to a public platform (e.g. GitHub/Gitee, ClawHub)整体质量较好,胜在简单实用、功能明确。优点是对常见办公文档都能读取,错误提示清晰,中英双语友好,无需手动装库就能用。不足是遇到扫描件或带图片的 PDF 就无法识别,Excel 格式会变得简陋,隐私方面仅靠文字提醒略显单薄。日常处理普通文档够用,但对复杂场景支持有限。