How should agents route across thousands of skills?
As skill libraries grow, should routing focus on selecting one skill or composing many? This explores whether decomposition and chaining creates better task execution than single-skill selection.
Modern agents lean on skills — modular, reusable tool specifications (e.g. Anthropic's SKILL.md format) that bundle a capability with documentation for when and how to invoke it. As community skill libraries swell to thousands of entries, the obvious framing is a selection problem: given a query, which skill do I call? But real tasks rarely map to a single skill; they require composing several. That reframes routing as Compositional Skill Routing: decompose a complex query into atomic sub-tasks, retrieve the appropriate skill for each, and compose them into a dependency-aware executable plan (a DAG), rather than picking one tool off the shelf.
The reframing matters because it moves the hard part upstream. Selection accuracy is bounded by how well the query was carved into sub-tasks in the first place — a bad decomposition asks retrieval to find skills for the wrong steps. This is the skill-library instantiation of a principle the vault already holds: since Does separating planning from execution improve reasoning accuracy?, treating decomposition as its own stage (with its own failure mode and its own fixes) beats folding it into selection.
It also connects to how skill repositories should be built and maintained — Can a separate trained curator improve skill libraries better than frozen agents? — because composition quality depends on skills being scoped and documented well enough to be retrieved and chained. Compose-not-select is the demand side of the same skill-as-first-class-artifact shift.
Inquiring lines that read this note 3
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
What memory abstraction level best enables agent knowledge reuse? Does decoupling planning from execution improve multi-step reasoning accuracy?Related concepts in this collection 3
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
What blocks skill retrieval in task decomposition?
When routing queries across a skill library, does the granularity of task decomposition determine whether retrieval can succeed? This explores whether fixing decomposition precision unlocks better skill matching.
where this framing localizes the difficulty
-
Does separating planning from execution improve reasoning accuracy?
Can modular LM architectures that split problem decomposition from solution execution outperform monolithic models? This explores whether decoupling these cognitive operations reduces interference and boosts performance.
the decompose-as-its-own-stage principle
-
Can a separate trained curator improve skill libraries better than frozen agents?
Explores whether decoupling skill curation from agent execution enables better long-term learning of what skills to keep, delete, or refine. Matters because manual curation doesn't scale and heuristic approaches lack feedback.
the supply side: building the skills that get composed
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Compositional Skill Routing for LLM Agents: Decompose, Retrieve, and Compose
- When is Routing Meaningful? Diversity and Robustness in Language Model Societies
- Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligence
- MasRouter: Learning to Route LLMs for Multi-Agent Systems
- LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents
- Divide-or-Conquer? Which Part Should You Distill Your LLM?
- Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models
- MUSE-Autoskill: Self-Evolving Agents via Skill Creation, Memory, Management, and Evaluation
Original note title
real agent tasks require composing multiple skills not selecting one so skill routing becomes decompose-retrieve-compose