One-click install
npx skills add https://github.com/danielsimonjr/claude-skills --skill rlm-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rlm-skill
Source: https://github.com/danielsimonjr/claude-skills/tree/main/rlm-skill
Command: npx skills add https://github.com/danielsimonjr/claude-skills --skill rlm-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdfplumber, python-docx, beautifulsoup4, PyPDF2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables processing content that exceeds traditional language model context windows by loading data into a Python runtime, chunking intelligently, and synthesizing results across chunks.

Core Features & Use Cases

  • Auto-chunking detects document structure (markdown headers, code blocks, JSON) and selects an optimal chunking strategy.
  • Pre-filtering with keyword/regex reduces unnecessary LLM calls before processing chunks.
  • Hierarchical aggregation recursively combines results to enable analysis of very large contexts, including directories and codebases.
  • Multi-format ingestion supports PDF, DOCX, HTML, JSON/JSONL, CSV, YAML, XML, archives, and 30+ code/text extensions.
  • Directory processing enables cross-file analysis and coherent summaries across many files.

Quick Start

Run the RLM processor on a large file, for example: python rlm_processor.py path/to/large_document.txt "What are the key findings?"

Frequently Asked Questions about rlm-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I process large documents that exceed the LLM context window?

To analyze large PDF, DOCX, and HTML files that exceed context windows, use a Python runtime to load data, apply intelligent chunking, and hierarchically aggregate results. This method synthesizes coherent summaries across multi-format documents without truncation.

Can I run cross-file analysis across an entire directory of multiple formats?

Yes, directory processing enables cross-file analysis and coherent summaries across many files. It supports multi-format ingestion including PDF, DOCX, HTML, JSON, CSV, XML, archives, and 30+ code or text extensions for combined hierarchical aggregation.

What is the best way to chunk large codebases and JSON files for analysis?

The best way to chunk large codebases and JSON files is using auto-chunking that detects document structure like markdown headers, code blocks, and JSON hierarchy. It selects an optimal chunking strategy and applies pre-filtering with keyword or regex to reduce LLM calls.

Do I need pdfplumber and python-docx to extract text from PDF and DOCX files?

Yes, pdfplumber and python-docx are required dependencies for extracting text from PDF and DOCX files. Additional dependencies like beautifulsoup4 and PyPDF2 support multi-format ingestion and HTML parsing within the Python runtime environment.

How does hierarchical aggregation work when summarizing massive text collections?

Hierarchical aggregation recursively combines results from individual chunks to enable analysis of very large contexts. This allows the system to synthesize directory-wide summaries and structured reports across codebases and multi-file collections without losing context.