rlm

Execute recursive language model loops for long-context tasks via a local Python REPL.

13|10|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/brainqub3/brainqub3 --skill rlm-brainqub3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rlm
Source: https://github.com/brainqub3/brainqub3/tree/main/.claude/skills/rlm
Command: npx skills add https://github.com/brainqub3/brainqub3 --skill rlm-brainqub3

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill tackles the challenge of processing extremely large text files that exceed standard LLM context window limits, enabling iterative analysis and extraction.

Core Features & Use Cases

  • Large Context Handling: Processes documents too big for direct LLM input.
  • Iterative Analysis: Allows step-by-step inspection, searching, and chunking of context.
  • Subagent Delegation: Offloads chunk-level processing to a dedicated subagent.
  • Use Case: Analyzing a multi-hundred-page technical manual to find specific configuration details or troubleshooting steps.

Quick Start

Use the rlm skill to find all occurrences of 'error code 500' within the log file '/var/log/app.log'.

Frequently Asked Questions about rlm

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

FAQPage Schema
How do I process large text files that exceed standard LLM context window limits?

To process large text files that exceed context window limits, this Skill chunks the input and iteratively analyzes each segment using a dedicated subagent. It leverages a persistent local Python REPL to manage the workflow, enabling detailed extraction from documents too big for direct LLM input.

What is recursive context chunking and how does it work for long context analysis?

Recursive context chunking works by breaking down massive documents into smaller, manageable pieces for long context analysis. This Skill executes a Recursive Language Model-style loop, offloading each chunk to a subagent for LLM queries, then iteratively processing the results to synthesize detailed findings.

Do I need Python 3 to run iterative LLM analysis on large documents?

Yes, you need Python 3 installed to run iterative LLM analysis on large documents. This Skill relies on a persistent local Python REPL to manage the chunking and recursive processing loop, and it also requires a defined sub-LLM interface for delegating chunk-level queries.

Can I search for specific error codes in a multi-hundred-page technical manual?

Yes, you can search for specific error codes in a multi-hundred-page technical manual. By iteratively chunking the large file and delegating searches to a subagent, the Skill enables step-by-step inspection and extraction of specific configuration details or troubleshooting steps beyond standard context windows.

What is the best way to analyze extensive log files when the context window is too small?

The best way to analyze extensive log files with limited context windows is using a recursive loop with a subagent. This approach manages large context files by chunking and iterative processing, offloading chunk-level processing to a dedicated subagent to extract targeted information without hitting token limits.