RLM - Recursive Language Model CLI

•
52
•

Enables Claude to process massive contexts through recursive input decomposition and self-calling capabilities.

The RLM (Recursive Language Models) skill empowers Claude with the ability to handle near-infinite context by recursively breaking down complex inputs into manageable parts. By leveraging specialized commands for asking, searching, and indexing, this tool allows for deep codebase analysis, comprehensive git diff reviews, and structured navigation of large documents. It features built-in budget controls, local search integration via ripgrep, and optional web search capabilities, making it an essential utility for developers and researchers working with information-dense environments that exceed standard model context limits.

Key Features

0152 GitHub stars
02Recursive Processing: Decomposes large inputs into sub-tasks with configurable depth for exhaustive analysis.
03Smart Codebase Indexing: Provides powerful local search tools like ripgrep and Tantivy to locate relevant code segments quickly.
04Budget & Resource Management: Sets strict spending limits and token caps to prevent unexpected API costs during recursive runs.
05Web & PDF Integration: Optional support for Exa web search and hierarchical PageIndex PDF navigation for external research.
06Multi-Source Input Support: Processes directories, files, URLs, and stdin seamlessly for versatile data ingestion.

Use Cases

01Deep Git Diff Reviews: Summarizing and bug-checking extensive changesets that would normally overflow a standard context window.
02Recursive Knowledge Extraction: Iteratively searching through local files and web documentation to solve multi-step technical problems.
03Comprehensive Codebase Analysis: Explaining complex architectures or locating specific implementation patterns across large repositories.