Recursive Decomposition

Taktiky pro velký kontext: grep-first, chunk, recurse přes sub-agenty

od massimodeluisa · massimodeluisa/recursive-decomposition-skill

Funguje s nastavením ★ 7.6/10

Recursive Decomposition — Taktiky pro velký kontext: grep-first, chunk, recurse přes sub-agenty

Co umí

Prose-only guidance skill, který codifies strategies pro tasks exceeding comfortable context limits: filter s grep/glob before reading, check file size s wc -l first, partition lists over 10 items a recurse přes sub-agents. Spouští se na requests jako 'analyze all files', 'process this large document', 'aggregate information from' nebo 'search across the codebase', a na tasks spanning 10+ files nebo 50k+ tokens.

Testovací report

Pure-prose guidance skill (no scripts), který codifies large-context tactics: grep before read, wc -l before opening files, partition lists over 10, recurse přes sub-agents. Na representative multi-file analysis task recommended method a final answer byly identical k no-skill baseline, protože capable agent already does exactly this, takže no measurable delta nebyla demonstrated. Four reference files (677 lines) jsou well written a accurately reflect RLM paper concept, a install runs clean z bare HOME. Useful jako reminder nebo pro weaker agents, ale it did not beat the baseline zde.

Testováno: 2026-07-17 · Claude Code 2.x (agent harness)

Instalace

git clone https://github.com/massimodeluisa/recursive-decomposition-skill.git
mkdir -p ~/.claude/skills
cd recursive-decomposition-skill && cp -r plugins/recursive-decomposition/skills/recursive-decomposition ~/.claude/skills/recursive-decomposition

Příkazy a ukázkové prompty

  • /recursive-decompositionTaktiky pro velký kontext: grep-first, chunk, recurse přes sub-agenty

Skilly se spouštějí běžnými požadavky — žádné příkazy k zapamatování. Po instalaci ho aktivují prompty jako tyto (anglicky):

  • analyze every file in this huge repo without blowing up context
  • aggregate the key findings from these forty PDFs into one summary
  • search across the whole codebase for every authentication pattern