name: file-summary description: | Local document summary tool. Activate when user mentions "总结文件", "帮我总结", "总结文档", "分析文档" or provides a local file path (txt/docx/pdf/xlsx/xls).
Single tool file_summary for local document text extraction and summary.
From user input 帮我总结 D:\测试.pdf → file_path = D:\测试.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: Concise summary of the document content (integrated with OpenClaw LLM)
To summarize a local document:
1. Extract content: { "action": "extract", "file_path": "your_file_path" } → returns plain text
2. Generate summary: OpenClaw LLM summarizes 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)
7w4.net收录了海量优质技能插件。
file-summary folder into OpenClaw's skills directoryfile-summary folder (include md/py) to a public platform (e.g. GitHub/Gitee, ClawHub)这个工具质量中等偏上,胜在实用、配置简单、能自动装依赖库,基本能满足日常文档总结需求。但支持的格式偏少,大文件没限制,偶尔会遇到编码问题,文档也没有示例文件方便新手快速上手。总体适合有明确文档格式需求的用户使用。