MCP
arXivarXiv
Preprint
Published: November 26, 2026
cs.AI

Learning When Skills Work: Boundary-Aware Composition for LLM Agents

1*2*1112
1 Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences, Hangzhou, China
2 Computer Network Information Center, Chinese Academy of Sciences, Beijing, China
* Equal contribution
Abstract
Skill optimization enhances agent capabilities by iteratively refining reusable skill instructions from execution feedback. Guided by distinct strategies and priorities, different optimization methods yield specialized skills that each excel at specific behaviors. Skill composition has therefore been explored to consolidate these skills into a unified one. However, existing composition approaches suffer from three critical problems: instruction conflicts, behavioral granularity mismatches, and context-insensitive behavior transfer. To resolve these problems, we propose History-Based Behavior Transfer (HBT), a framework for conditional skill composition. First, HBT selects a main skill from a set of candidate optimized skills to establish a coherent structural foundation. Second, it isolates behavioral differences from the remaining optimized skills and links them to task-level gains and regressions in their optimization histories. Finally, by contrasting these beneficial and detrimental outcomes, HBT infers explicit applicability conditions for each candidate behavior and integrates the resulting condition-behavior pairs into the main skill for selective activation. Extensive evaluations across diverse benchmarks and skill optimizers demonstrate that HBT consistently outperforms both the best single optimized skills and existing composition baselines. Further ablations on historical evidence and conditional gating confirm the effectiveness of HBT in achieving reliable skill composition.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first