← Back to Skills Marketplace
leonthepro2012

文档内容总结 Summary & Analysis txt/docx/pdf/xlsx/xls

by LeonThePro · GitHub ↗ · v1.0.4
cross-platform ✓ Security Clean
504
Downloads
0
Stars
1
Active Installs
4
Versions
Install in OpenClaw
/install file-summary-zongjie
Description
local document summary & analysis tool. triggers: 帮我总结, 总结文件, 分析文档, 分析总结, 总结一下, 分析一下 summarize for me, analyze for me, summarize the file, analyze the docume...
README (SKILL.md)

\r \r

File Summary & Analysis Tool (文件总结与分析工具)\r

\r A universal tool for extracting text from local documents and generating summaries/analysis, supporting both Chinese and English trigger words.\r \r

Token Extraction (参数提取)\r

\r

Chinese Input Example (中文示例)\r

From user input 帮我总结 D:\测试.pdffile_path = D:\测试.pdf\r \r

English Input Example (英文示例)\r

From user input summarize for me C: est.pdffile_path = C: est.pdf\r \r

Actions (操作指令)\r

\r

Extract Document Content (提取文档内容)\r

{ "action": "extract", "file_path": "D:\测试.pdf" }\r { "action": "extract", "file_path": "C:\ est.pdf" }\r \r Returns (返回结果):\r

  • Success: Plain text content of the document (txt/docx/pdf/xlsx/xls)\r
  • Error: Error message starting with ❌ (e.g. ❌ File not found, ❌ Unsupported format)\r \r

Generate Summary/Analysis (生成总结/分析)\r

{ "action": "summary", "file_path": "D:\测试.pdf" }\r { "action": "analysis", "file_path": "C:\ est.pdf" }\r \r Returns (返回结果):\r

  • Summary: Concise key-point summary of the document content (integrated with OpenClaw LLM)\r
  • Analysis: In-depth analysis of the document content (integrated with OpenClaw LLM)\r \r

Workflow (工作流程)\r

\r To summarize/analyze a local document:\r

  1. Extract content: { "action": "extract/analysis", "file_path": "your_file_path" } → returns plain text\r
  2. Generate result: OpenClaw LLM summarizes/analyzes the extracted text automatically\r \r

Configuration (配置项)\r

\r channels:\r local:\r tools:\r file_summary: true # default: true\r python: true # required - need Python environment\r \r

Dependency (依赖环境)\r

\r

Required Environment (必备环境)\r

  1. Python 3.8+ (added to system environment variables)\r
  2. Required Python packages (auto-installed by script):\r
    • python-docx (for docx)\r
    • pypdf (for pdf)\r
    • openpyxl (for xlsx)\r
    • xlrd==1.2.0 (for xls)\r \r

Tool Path Configuration (工具路径配置)\r

  1. Place the tool files in OpenClaw's skill folder:\r OpenClaw/skills/file-summary/\r ├─ SKILL.md (this file)\r ├─ file2sum.py\r
  2. Set the execution command in OpenClaw:\r ${skill_path}\file2sum.py\r \r

Permissions (权限要求)\r

\r Required (必备):\r

  • Local file read permission (user needs to grant file access)\r
  • Python execute permission (no special system permissions required)\r \r

Usage (使用方法)\r

\r

Local Deployment (本地部署)\r

  1. Put the file-summary folder into OpenClaw's skills directory\r
  2. Restart OpenClaw\r
  3. Input Examples (输入示例):\r
    • Chinese (中文): "帮我总结 D:\测试.pdf", "分析文档 C:\数据\销售表.xlsx"\r
    • English (英文): "summarize for me C: est.pdf", "analyze the document D:\data\sales.xlsx"\r \r

Public Deployment (公开发布)\r

  1. Upload the file-summary folder (include md/py) to a public platform (e.g. GitHub/Gitee, ClawHub)\r
  2. Share the download link\r
  3. Users import via OpenClaw "Skill Market → Import from URL"
Usage Guidance
This skill appears to do what it claims: extract file text and let OpenClaw LLM summarize it. Before installing/using it: 1) Do not feed sensitive or confidential documents (SKILL.md already warns that extracted content goes to the LLM). 2) Run it in a controlled Python environment (virtualenv/container) because the script auto-installs packages from PyPI at runtime; installation scripts can execute code and will modify the environment. 3) Review the few package names it installs (python-docx, pypdf, openpyxl, xlrd==1.2.0) and consider installing them yourself ahead of time to avoid automatic runtime installs. 4) If you need stricter privacy, inspect OpenClaw's export/telemetry policy to confirm where stdout is sent, or run the script locally and keep summaries offline. 5) If you want additional assurance, run the script on non-sensitive sample files first and inspect network activity during pip installs.
Capability Analysis
Type: OpenClaw Skill Name: file-summary-zongjie Version: 1.0.4 The skill bundle is a legitimate tool for extracting text from local documents (PDF, Word, Excel, TXT) for LLM analysis. While the Python script (`file2sum.py`) uses `subprocess` to automatically install missing dependencies via `pip`, the package names are hardcoded to standard libraries (e.g., `pypdf`, `openpyxl`), and there is no evidence of data exfiltration, obfuscation, or malicious intent.
Capability Assessment
Purpose & Capability
The name/description, SKILL.md, and file2sum.py all describe the same capability: extract text from local txt/docx/pdf/xlsx/xls files and hand the text to the OpenClaw LLM for summary/analysis. Required capabilities and files are proportional to that purpose.
Instruction Scope
Runtime instructions and the script only read a single user-specified local file path and print its text (or an error starting with ❌). The SKILL.md explicitly warns that extracted content is sent to the OpenClaw LLM; the code itself does not contact external endpoints. The instructions do not request unrelated files, credentials, or system configuration.
Install Mechanism
There is no packaged install spec, but the script will auto-install required Python packages at runtime using pip (subprocess.check_call). This pulls packages from PyPI over the network and runs their install-time code; while expected for a Python-based document reader, it is a moderate operational risk (modifies environment, network access, potential arbitrary code execution during package installation).
Credentials
The skill declares no environment variables, no credentials, and no config paths. The script only requires a Python runtime and will install standard parsing libs (python-docx, pypdf, openpyxl, xlrd==1.2.0). These requirements are proportionate to the stated purpose.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not write persistent system-wide configuration. It only prints extracted content for the host agent to consume.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install file-summary-zongjie
  3. After installation, invoke the skill by name or use /file-summary-zongjie
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
- Updated the skill description to be more concise and moved all trigger words under a single "triggers" field. - Removed redundant "Multi-language" wording from the description. - No functional changes; files remain unchanged.
v1.0.3
- Added multi-language (Chinese and English) support for trigger words and usage instructions. - Expanded description and documentation to include both Chinese and English examples throughout. - Clarified and emphasized privacy warning: extracted content will be sent to OpenClaw LLM; not for sensitive/confidential files. - Documented support for both summary and analysis actions, including new action ("analysis"). - Improved clarity by providing usage, configuration, and dependency instructions in both languages. - No code or functional changes; documentation update only.
v1.0.2
A better display name to understand
v1.0.1
增加了中文拼音搜索名称,Better for Chinese
Metadata
Slug file-summary-zongjie
Version 1.0.4
License
All-time Installs 1
Active Installs 1
Total Versions 4
Frequently Asked Questions

What is 文档内容总结 Summary & Analysis txt/docx/pdf/xlsx/xls?

local document summary & analysis tool. triggers: 帮我总结, 总结文件, 分析文档, 分析总结, 总结一下, 分析一下 summarize for me, analyze for me, summarize the file, analyze the docume... It is an AI Agent Skill for Claude Code / OpenClaw, with 504 downloads so far.

How do I install 文档内容总结 Summary & Analysis txt/docx/pdf/xlsx/xls?

Run "/install file-summary-zongjie" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 文档内容总结 Summary & Analysis txt/docx/pdf/xlsx/xls free?

Yes, 文档内容总结 Summary & Analysis txt/docx/pdf/xlsx/xls is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 文档内容总结 Summary & Analysis txt/docx/pdf/xlsx/xls support?

文档内容总结 Summary & Analysis txt/docx/pdf/xlsx/xls is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 文档内容总结 Summary & Analysis txt/docx/pdf/xlsx/xls?

It is built and maintained by LeonThePro (@leonthepro2012); the current version is v1.0.4.

💬 Comments