Learning When Skills Work: Boundary-Aware Composition for LLM Agents
Dingyu Zhang, Jiaxin Qi, Yao Tong, Yan Cui, Yuhua Zheng, Jianqiang Huang
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.
Create a lesson
Metadata
- Comments
- 16 pages, 4 figures, 12 tables
Related papers
G-Skill: Graph-Grounded Skill Evolution for Agentic Reinforcement Learning
Shared title terminologycs.AIJue Hou, Chengyi Yang, Renxu Bao et al.
Self-Regression-Test: Persistent Behavioral Contracts for Skill-Evolving Agents
Shared title terminologycs.AIXinjian Yi, Rui Qian, Xutao Mao et al.
MeterRouter: Budget-Aware Dynamic Routing for Multi-Agent Systems
Shared title terminologycs.AIYue Xu, Leikun Yin, Ruiming Min et al.
MedSkill-E^{2}: Evaluating and Evolving Skills for Medical Agents
Shared title terminologycs.AIJingjing Hua, Shaocong Wei, Jianghan Shen et al.
What Does Skill Lift Actually Measure? A Source-Code-Level Audit and Noise-Aware Reanalysis of SkillsBench
Shared title terminologycs.AIHaozhe Zhang, Zhen Long
EGSE: Evidence-Grounded Skill Evolution for Medical Reasoning Agents
Shared title terminologycs.AIMingyuan Li, Tong Jia, Ziyuan Yang et al.