massimodeluisa/recursive-decomposition-skill / skills/recursive-decomposition
recursive-decomposition
VerifiedDecompose dense codebase-wide, multi-document, PDF, and aggregation work even when the input fits the context window, following Recursive Language Models (Zhang, Kraska, Khattab, 2025). Use when the user asks to analyse all files, a whole repo, all docs, large PDFs, or to aggregate or multi-hop across scattered sources. Skip one file, one function, a single needle, or a one-page PDF conversion. Triggers: long context, context rot, large codebase, many files, all files, big document, multi-document, PDF, aggregate, summarize everything, codebase-wide, multi-hop, recursive, sub-agents, map-reduce.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.5 KB |
| evals/README.md | markdown | 2.3 KB |
| evals/evals.json | config | 1.2 KB |
| evals/gold/pdf-corpus.json | config | 253 B |
| evals/trigger-queries.json | config | 3.0 KB |
| references/codebase-analysis.md | markdown | 2.9 KB |
| references/cost-analysis.md | markdown | 3.8 KB |
| references/document-aggregation.md | markdown | 3.5 KB |
| references/rlm-strategies.md | markdown | 4.9 KB |
evals/trigger-queries.json
View on GitHub{
"skill_name": "recursive-decomposition",
"queries": [
{
"id": "t01",
"should_trigger": true,
"query": "Analyze error handling patterns across this entire codebase"
},
{
"id": "t02",
"should_trigger": true,
"query": "Find all TODO comments in the project and categorize by priority"
},
{
"id": "t03",
"should_trigger": true,
"query": "What features are planned across all our PRD documents?"
},
{
"id": "t04",
"should_trigger": true,
"query": "Summarize the key decisions from all meeting notes in docs/"
},
{
"id": "t05",
"should_trigger": true,
"query": "Find security issues across all TypeScript files"
},
{
"id": "t06",
"should_trigger": true,
"query": "hey can you aggregate every API error type in src/"
},
{
"id": "t07",
"should_trigger": true,
"query": "Which Q2 features depend on Q1 auth? Check every PRD."
},
{
"id": "t08",
"should_trigger": true,
"query": "codebase-wide catch/throw report please"
},
{
"id": "t09",
"should_trigger": true,
"query": "Process every markdown file under docs/product and list shipped vs planned"
},
{
"id": "t10",
"should_trigger": true,
"query": "I need a map of HACK comments in all files"
},
{
"id": "t21",
"should_trigger": true,
"query": "Summarize every PDF in this folder without swallowing them whole"
},
{
"id": "t22",
"should_trigger": true,
"query": "Extract the conclusions from all the papers under papers-we-love"
},
{
"id": "t11",
"should_trigger": false,
"query": "What does wrapError do in src/utils/wrap.ts?"
},
{
"id": "t12",
"should_trigger": false,
"query": "Find the definition of ApiError"
},
{
"id": "t13",
"should_trigger": false,
"query": "Read src/api/auth.ts and explain login"
},
{
"id": "t14",
"should_trigger": false,
"query": "What is the value of MAGIC_NEEDLE?"
},
{
"id": "t15",
"should_trigger": false,
"query": "Write a fibonacci function"
},
{
"id": "t16",
"should_trigger": false,
"query": "Commit the current diff"
},
{
"id": "t17",
"should_trigger": false,
"query": "How do I install this skill?"
},
{
"id": "t18",
"should_trigger": false,
"query": "Fix the typo on line 3 of README.md"
},
{
"id": "t19",
"should_trigger": false,
"query": "Explain what a TODO comment is"
},
{
"id": "t20",
"should_trigger": false,
"query": "Rename wrapError to wrapErr in src/utils/wrap.ts"
},
{
"id": "t23",
"should_trigger": false,
"query": "Convert this one-page receipt.pdf to markdown"
},
{
"id": "t24",
"should_trigger": false,
"query": "What is the MIME type of a PDF file?"
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |