rlm

Process large files and multi-file analyses via recursive external-context chunking.

1|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/martiendejong/autonomous-dev-system --skill rlm-martiendejong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rlm
Source: https://github.com/martiendejong/autonomous-dev-system/tree/main/.claude/skills/rlm
Command: npx skills add https://github.com/martiendejong/autonomous-dev-system --skill rlm-martiendejong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Large prompts and multi-file analyses exceed traditional model context; RLM enables processing by treating prompts as external context with recursive LLM calls.

Core Features & Use Cases

  • Handles massive contexts by chunking inputs and using sub-agents to summarize and synthesize results.
  • Supports codebases, large files, and cross-repo analysis with deterministic, modular steps.
  • Use case: Migrate a 1000-file repository by analyzing in chunks and synthesizing a final report.

Quick Start

Analyze massive codebases by toggling to RLM mode and processing in recursive chunks.

Frequently Asked Questions about rlm

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

FAQPage Schema
How do I analyze a large codebase that exceeds model context limits?

To analyze a large codebase exceeding context limits, you can use recursive context processing to chunk inputs and orchestrate sub-agents. This approach treats massive files as external context, processing them modularly before synthesizing a final report.

What is recursive context processing for multi-file analysis?

Recursive context processing for multi-file analysis is a technique that handles massive prompts by breaking them into chunks. Sub-agents summarize each chunk, and a final synthesis step combines the results to maintain quality across unbounded contexts.

Can I use chunking and sub-agents for cross-repo analysis tasks?

Yes, you can use chunking and sub-agent orchestration for cross-repo analysis. This workflow supports analyzing multiple repositories by processing them in deterministic, modular steps and synthesizing the findings into a unified output.

What's the best way to handle massive log files during analysis?

Handling massive log files is best achieved through recursive chunking and external-context processing. By dividing the logs into manageable segments and using sub-agents to summarize each part, you can synthesize a comprehensive final analysis.

Does recursive LLM workflow support Python REPL integration?

Yes, recursive LLM workflows support Python REPL integration alongside tools like Task, Read, Grep, and Glob. This combination enables deterministic chunking patterns and maintains analysis quality when processing unbounded contexts.

When should I not use recursive context processing for codebase analysis?

You should avoid recursive context processing for codebase analysis when your files fit comfortably within standard model context limits. It is specifically designed for unbounded contexts, massive logs, and multi-file scenarios that exceed traditional processing capabilities.