File Summary Tool for Openclaw

A local document processing skill that extracts and summarizes content from PDFs, Word documents, and Excel spreadsheets using an AI agent.

leonthepro2012
v1.0.0
Mar 5, 2026
1
4.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install file-summary

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install file-summary using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is File Summary Tool?

The File Summary Tool is a specialized utility designed to expand the capabilities of your AI agent by enabling local document parsing. It allows users to interact with their file system directly, providing the ability to read and interpret a variety of formats including .txt, .docx, .pdf, .xlsx, and .xls. This skill is a vital component for those building a comprehensive library of Openclaw Skills, as it bridges the gap between static local files and dynamic AI analysis.

By utilizing a Python-based backend, the tool handles complex data extraction tasks, converting documents into plain text that the LLM can easily digest. This ensures that users can get high-quality summaries and insights without having to manually upload files to external web services, maintaining privacy and efficiency in a local-first environment.

File Summary Tool Use Cases

  • Summarizing lengthy PDF research papers or technical manuals.
  • Extracting key action items from Word-based meeting minutes.
  • Getting a high-level overview of sales data or financial reports from Excel files.
  • Quickly scanning local log files or text documents for specific insights.

How File Summary Tool Works

  1. The user triggers the skill by providing a file path or using keywords like summarize or analyze.
  2. The skill identifies the file path and determines the file format.
  3. The extract action is executed, using specialized Python libraries to parse the document's content.
  4. The raw content is returned as plain text to the AI agent.
  5. The LLM processes the text to generate a concise and structured summary for the user.

File Summary Tool Setup

To integrate this tool into your Openclaw Skills environment, follow these steps:

  1. Ensure Python 3.8+ is installed on your system and added to your PATH.
  2. Download the file-summary folder and place it in your OpenClaw/skills/ directory.
  3. Verify that the following structure exists:
    • OpenClaw/skills/file-summary/SKILL.md
    • OpenClaw/skills/file-summary/file2sum.py
  4. The required Python dependencies (python-docx, pypdf, openpyxl, xlrd) will be automatically managed, or you can install them manually:
pip install python-docx pypdf openpyxl xlrd==1.2.0
  1. Restart your OpenClaw instance to load the new skill.

File Summary Tool Data Schema & Taxonomy

The tool processes files locally and outputs structured text data for the LLM. The schema for interaction is as follows:

Component Detail
Input Formats .txt, .docx, .pdf, .xlsx, .xls
Tool Actions extract, summary
Logic Engine Python 3.8+ with file-specific parsers
Metadata Extracts file path and content type for processing

File Summary Tool Advanced Features

  • Automated dependency installation for required Python packages.
  • Multi-format support covering the most common office and document standards.
  • Direct integration with local LLM workflows for seamless summarization.
  • Support for custom trigger phrases and local file path recognition.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*