LeonThePro

文件总结 File Summary & Analysis

ナレッジ管理v1.0.0
作者:LeonThePro更新日 2026-05-11file-summary@clawhub_leonthepro2012/file-summary
要約ドキュメント Q&A#总结文档#Document#PDF#总结

AlphaMoatによると、2026-09時点で文件总结 File Summary & Analysisのダウンロード数は4,787、スター数は1で、AIスキル全体5,078件中1,972位、ナレッジ管理では442件中182位です。

インストール数
509
ダウンロード数
4787
スター数
1
総合順位
#1,972
全体の上位 39% · ナレッジ管理の上位 42%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗14041821-
SkillHub ↗50947871—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

このスキルは 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 解析パッケージを自動インストールする可能性があります。緩和策として、LLM 処理が承認されたファイルだけを扱い、読み取りや要約の前に明示的な確認を求める導入形態を優先し、制御された環境でレビュー済みの固定バージョンの依存を導入するか、管理対象の導入で自動インストールを無効化することが挙げられています。

資料公開日 2026-10-29

できること

  • ローカル文書の本文を抽出して後続処理に渡す
  • ローカル文書の簡潔な要約を作成する
  • 中国語または英語の指示で文書を要約する

使う場面

  • ユーザーが「まとめて」「要約して」と頼んだとき
  • ユーザーがローカル文書のパスを提示したとき
  • 文書の本文を OpenClaw LLM に要約させたいとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

D:\测试.pdf を要約して
D:\数据\销售表.xlsx ファイルを要約して
この文書を分析して要点を教えて

月次の推移

ダウンロード数4787
2302363749712026-03 · ダウンロード数 24862026-05 · ダウンロード数 34532026-06 · ダウンロード数 36882026-07 · ダウンロード数 40282026-08 · ダウンロード数 43052026-09 · ダウンロード数 478726-0326-09
スター数1
0112026-03 · スター数 -2026-05 · スター数 12026-06 · スター数 12026-07 · スター数 12026-08 · スター数 12026-09 · スター数 126-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-094787—1
2026-084305+6.9%1
2026-074028+9.2%1
2026-063688+6.8%1
2026-053453—1
2026-032486—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

2.3 KB・ClawHub v1.0.0
---
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.

すべて表示(全 81 行)
## 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"

ナレッジ管理の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。