据 AlphaMoat 统计,截至 2026-09,文件总结 File Summary & Analysis 累计下载 4,787 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 1,972 位,在「知识管理」分类(442 个)中排名第 182 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 140 | 4,182 | 1 | - |
| SkillHub ↗ | 509 | 4,787 | 1 | — |
各平台的计数口径不同,统计时间不一致。
技能提供一个 file_summary 工具,支持 txt、docx、pdf、xlsx、xls 等多种格式:extract 动作返回文档纯文本,summary 动作返回由 OpenClaw LLM 生成的简明摘要,工作流是先抽取正文再让 OpenClaw LLM 总结。运行需要 Python 3.8+ 环境以及由脚本自行安装的解析包 python-docx、pypdf、openpyxl、xlrd==1.2.0;配置在 channels.local.tools 下开启 file_summary 与 python。权限方面要求用户授予本地文件读取权限,执行 Python 不需要额外系统权限。该技能 记录的风险是:脚本会读取用户选中的本地文档并把抽取出的文本送入 LLM 摘要流程,且可能自动安装版本未固定的 Python 解析包;其缓解建议是只处理已获批准的文件、优先采用需要显式确认的部署方式,并在受控环境中安装已审核且版本固定的依赖,或在受管部署中关闭自动安装。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 4,787 | — | 1 |
| 2026-08 | 4,305 | +6.9% | 1 |
| 2026-07 | 4,028 | +9.2% | 1 |
| 2026-06 | 3,688 | +6.8% | 1 |
| 2026-05 | 3,453 | — | 1 |
| 2026-03 | 2,486 | — | - |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: file-summary description: | Local document summary tool. Activate when user mentions "总结文件", "帮我总结", "总结文档", "分析文档" or provides a local file path (txt/docx/pdf/xlsx/xls). --- # File Summary Tool Single tool `file_summary` for local document text extraction and summary.
## Token Extraction
From user input `帮我总结 D:\测试.pdf` → `file_path` = `D:\测试.pdf`
## Actions
### Extract Document Content
{ "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)
### Generate Summary
{ "action": "summary", "file_path": "D:\\测试.pdf" }
Returns: Concise summary of the document content (integrated with OpenClaw LLM)
## Workflow
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
## Configuration
channels:
local:
tools:
file_summary: true # default: true
python: true # required - need Python environment
## Dependency
### Required Environment
1. Python 3.8+ (added to system environment variables)
2. Required Python packages (auto-installed by script):
- python-docx (for docx)
- pypdf (for pdf)
- openpyxl (for xlsx)
- xlrd==1.2.0 (for xls)
### Tool Path Configuration
1. Place the tool files in OpenClaw's skill folder:
OpenClaw/skills/file-summary/
├─ SKILL.md (this file)
├─ file2sum.py
2. Set the execution command in OpenClaw:
${skill_path}\\file2sum.py
## Permissions
Required:
- Local file read permission (user needs to grant file access)
- Python execute permission (no special system permissions required)
## Usage
### Local Deployment
1. Put the `file-summary` folder into OpenClaw's `skills` directory
2. Restart OpenClaw
3. User input example:
- "帮我总结 D:\测试.pdf"
- "总结文件 D:\数据\销售表.xlsx"
### Public Deployment
1. Upload the `file-summary` folder (include md/py) to a public platform (e.g. GitHub/Gitee, ClawHub)
2. Share the download link
3. Users import via OpenClaw "Skill Market → Import from URL"把长文本、文档与网页内容压缩成要点和关键词的摘要工具。
通过 IMA OpenAPI 管理笔记与知识库内容。
规定如何为网页请求选择合适工具的必读指引。
调用百度 AI 搜索接口做网页检索的技能。
用 uvx 直接调用 markitdown,把各类文件转成 Markdown。
面向 OpenClaw 的默认网页搜索,实时检索多个引擎。
用 DuckDuckGo 接口做网页、新闻、图片与视频检索的技能。
检索并发现可用 OpenClaw 技能的技能。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。