Claude Rlm — Development skill for Claude Code
Recursive Language Models for Claude Code — process arbitrarily long inputs via recursive sub-agent delegation.
How to install Claude Rlm
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Tenobrus/claude-rlm and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Rlm does
Recursive Language Models for Claude Code — process arbitrarily long inputs via recursive sub-agent delegation.
Alternatives in Development
- OpenAI Codex CLI — (Rust implementation) 67.8k ★
- Prun — Run prun: parallel delegation fan-out (Codex-primary, Opus coordinates) 239 ★
- Chiasmus — Chiasmus is an MCP server that gives language models access to formal verification 208 ★
README
RLM: Recursive Language Models for Claude Code
A Claude Code skill that implements **Recursive Language Models (RLMs)** — enabling Claude to process arbitrarily long inputs by treating them as external data and recursively delegating analysis to sub-agents.
Based on the paper [Recursive Language Models](https://arxiv.org/abs/2512.24601) (Zhang, Kraska, Khattab; MIT CSAIL, 2026).
What are Recursive Language Models?
LLMs have limited context windows, and their performance degrades as prompts get longer — a phenomenon called **context rot**. The standard solution is context compaction (summarization), but this loses fine-grained information.
RLMs take a fundamentally different approach: **treat the input as an external object in a programming environment, and let the LLM programmatically interact with it through code — including recursively calling itself on slices of the input.**
Three design choices distinguish RLMs from naive agent scaffolds:
- Symbolic handle: The prompt is stored as a variable in the environment, not pasted into the LLM's context. The model gets metadata (length, preview) and manipulates it through code.
- Unbounded output via variables: Results are built up in environment variables/files, not limited by the LLM's output length.
- Symbolic recursion: The LLM can invoke sub-LM calls inside programmatic loops, enabling O(n) or O(n^2) semantic work over inputs of any length.
Installation
Rather than installing this skill directly, we recommend one of these approaches:
**Paste this README** into a conversation with your agent and ask it to reimplement the system from scratch. The design decisions and architecture are all here — a capable agent can build it in one session.
**Ask your agent to summarize the repo** into a detailed design document, then reimplement from just that document without referencing the code or prompts directly. This gives you a clean-room implementation you fully control.
Installing scrip
Related Skills
Recursive Decomposition Skill
Handle long-context tasks (100+ files, 50k+ tokens) through recursive decomposition strategies based on RLM re
Big
Demonstrate B-Thread - recursive agent structures with sub-agents
Recuris
Recursive Experiential–Working Memory Evolution for Long-Horizon Agent Harnesses
Creative Diversification
Claude Code skill implementing Recursive Diversification (RD) from King et al. (2026) Harvard — break LLMs out
Octobench
Benchmark harness that compares coding agents — not just models — on real, contamination-resistant tasks: 80 f
REST
Process short or long rests for the party. Handles hit dice, HP recovery, feature recharges, and spell slot re
Related Agents
Rlm Subcall
Acts as the RLM sub-LLM (llm_query). Given a chunk of context (usually via a file path) and a query, extract o
Delegate
Expert LLM delegation specialist that seamlessly connects to external language models including GPT-4, GPT-3.5
Context Isolator
Runs data-heavy read-and-summarize operations in an isolated context window to prevent bloating the main conve