recursive-decomposition

Installation
SKILL.md

Recursive Decomposition

Long inputs rot. Details get missed, distant parts get glued together by guesswork, and the reasoning drifts. The RLM paper calls it context rot. Do not load the whole input into the window. Treat it as an environment you query: size it, narrow it, split it, hand independent parts to sub-agents, verify on a small window, synthesise in code. Based on Recursive Language Models (Zhang, Kraska, Khattab, 2025).

How to use

  • /recursive-decomposition: apply the protocol below to the current task.
  • /recursive-decomposition <path or question>: size that input first, then run the protocol on it.

When it applies

Fit is not the test. Dense work can rot inside a million-token window. In the paper, OOLONG-Pairs is 32k tokens and GPT-5 scores 0.1% F1; RLM(depth=1) reaches 58.0% (arXiv:2512.24601, Table 1). 30k and 50k below are harness caps.

Installs
195
GitHub Stars
50
First Seen
Jan 25, 2026
recursive-decomposition — massimodeluisa/recursive-decomposition-skill