What problem does it solve?
The RLM skill enables processing of files that are far larger than the context window of standard language models, such as multi‑megabyte logs, extensive codebases, or whole textbooks, without exhausting token limits.
Core Features & Use Cases
- Chunking: Automatically splits content at logical boundaries (markdown headers, paragraphs, JSON arrays/objects, or code symbols) to create manageable pieces.
- Handle System: Performs token‑efficient searches and incremental materialization of results.
- REPL Environment: Loads the entire document into a persistent Python REPL for structural analysis and iterative queries.
- Sub‑LLM Escalation: Provides Level 2 semantic reasoning via
llm_query and Level 3 synthesis through subagents, keeping the main context clean.
- Typical Scenarios: Analyzing massive log dumps, reviewing large code repositories, summarizing textbooks, or extracting insights from extensive technical documentation.
Quick Start
Run /skill:rlm context=path/to/large.txt query='Summarize the document' to begin processing.