rlm

Process long contexts via Query() and FINAL() patterns with recursive sub-LLM calls.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables handling arbitrarily long contexts by allowing the LLM to programmatically explore prompts via Query() and FINAL() patterns, reducing token consumption and latency.

Core Features & Use Cases

  • Long-context processing: Efficiently process contexts >50KB by chunking and recursive sub-LLM calls.
  • Token efficiency: Achieve significant token savings by avoiding full-context repetition.
  • Go REPL-based workflow: Leverage a Yaegi-based interpreter to run generated code and sub-queries.

Quick Start

Install the rlm binary and run a test with a large context file: rlm -context big-context.txt -query "Summarize findings" -verbose