Install
openclaw skills install large-document-readerIntelligently splits long academic or technical documents into chapters, generates structured JSON summaries for each, and creates a file system with a global index. This enables efficient AI retrieval and analysis, perfectly solving context window limitations by enabling “overview via summaries, deep-dive on demand” workflows.
openclaw skills install large-document-readerAutomatically decompose long documents (papers, reports, books) into a structured, AI-friendly knowledge base. Splits by chapter, generates machine-readable summaries, and builds a navigable index to overcome context limits.
Use this skill when the user:
| Situation | Action |
|---|---|
| User provides a long document | 1. Analyze and split it into chapters.<br>2. Generate a JSON summary for each chapter.<br>3. Create a master index file. |
| User asks a high-level, cross-chapter question | Provide the content of the MASTER_INDEX.md file to the AI. |
| User asks a detailed, chapter-specific question | Provide the corresponding single file from the ./chapters/ directory to the AI. |
| Task completed | Present the generated file tree and MASTER_INDEX.md preview to the user. |
#, ##, 1., 1.1) to determine chapter boundaries. Prioritize user-specified splitting preferences.{sequence_number}_{chapter_title}.md (e.g., 01_Introduction.md)../chapters/ directory../chapters/, generate a corresponding JSON summary file.
{
"chapter_id": "Unique identifier matching the filename, e.g., 02_1",
"chapter_title": "Chapter Title",
"abstract": "Core summary of the chapter, 200-300 words.",
"keywords": ["Keyword1", "Keyword2", "Keyword3"],
"key_points": ["Key point one", "Key point two"],
"related_sections": ["IDs of other chapters strongly related to this one"]
}
./summaries/ directory (e.g., 01_Introduction.summary.json)../summaries/.MASTER_INDEX.md.
Upon completion, the following file tree is generated:
Project_Root/
├── chapters/ # 【Source Repository】Contains all split chapter texts (.md files)
│ ├── 01_Introduction.md
│ ├── 02_1_Experimental_Methods.md
│ └── ...
├── summaries/ # 【Summary Repository】Contains all structured JSON summaries
│ ├── 01_Introduction.summary.json
│ ├── 02_1_Experimental_Methods.summary.json
│ └── ...
└── MASTER_INDEX.md # 【Global Navigation】Core document summary index
For Global, Cross-Chapter Queries (e.g., “What is the paper's main thesis?”):
MASTER_INDEX.md file to the AI. This is token-efficient.For Specific, In-Depth Queries Within a Chapter (e.g., “What were the parameters in the 'Methods' section?”):
chapters/ directory to the AI for full context.