Recursive Decomposition Skill
Description
When analyzing large codebases, processing many documents, or aggregating information across dozens of files, Claude's context window becomes a bottleneck. As context grows, **"context rot"** degrades performance:
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Recursive Decomposition Skill
Handle long-context tasks with Claude Code through recursive decomposition
What It Does • Installation • Usage • How It Works • Benchmarks • Acknowledgments
The Problem
When analyzing large codebases, processing many documents, or aggregating information across dozens of files, Claude's context window becomes a bottleneck. As context grows, **"context rot"** degrades performance:
- Missed details in long documents
- Decreased accuracy on information retrieval
- Hallucinated connections between distant content
- Degraded reasoning over large evidence sets
The Solution
This skill implements **Recursive Language Model (RLM)** strategies from [Zhang, Kraska, and Khattab's 2025 research](https://arxiv.org/abs/2512.24601), enabling Claude Code to handle inputs **up to 2 orders of magnitude beyond normal context limits**.
Instead of cramming everything into context, Claude learns to:
- Filter — Narrow search space before deep analysis
- Chunk — Partition inputs strategically
- Recurse — Spawn sub-agents for independent segments
- Verify — Re-check answers on smaller, focused windows
- Synthesize — Aggregate results programmatically
What It Does
| Task Type | Without Skill | With Skill |
|---|---|---|
| Analyze 100+ files | Context overflow / degraded results | Systematic coverage via decomposition |
| Multi-document QA | Missed information | Comprehensive extraction |
| Codebase-wide search | Manual iteration | Parallel sub-agent analysis |
...
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development