Manuscript Offprint

arXiv:2609.02094

MASkills: Continual Skills Optimization for Multi-Agent LLM Systems

Huaiyuan Yao, Xiaoou Liu, Charles Fleming, Tianlong Chen, Hua Wei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Huaiyuan Yao¹ Xiaou Liu¹ Charles Fleming² Tianlong Chen³ Hua Wei¹

¹ Arizona State University {huaiyuan, xiaouli, hua.wei}@asu.edu

² Cisco Research chflemin@cisco.com

³ University of North Carolina at Chapel Hill tianlong@cs.unc.edu

LLM-based multi-agent systems have shown strong performance on complex tasks, yet continual improvement from interaction experience remains challenging. Existing self-reflection methods build experience memories, but memories are mostly hard to invoke, refine, or scale, while agent skills offer a more actionable unit: structured procedural knowledge that specifies when to act, how to act, and which resources or tools to use. We introduce MASkills, a continual learning framework that optimizes multi-agent LLM systems through agent skills. MASkills presents a new agent-optimization pipeline that integrates skill-conditioned credit assignment, hierarchical credit aggregation, and momentum-smoothed optimization, enabling agent skill libraries to evolve through refinement, induction, consolidation, and pruning. Experiments on HotpotQA, LoCoMo, and GAIA demonstrate the effectiveness of MASkills across multiple agentic tasks. Our code is available at https://github.com/DaRL-GenAI/MASkills

Figure

1. Introduction

LLM-based multi-agent systems have emerged as a practical paradigm for solving complex tasks through coordination, role specialization, and long-horizon interaction [1, 2, 3]. However, how to continually improve a multi-agent LLM system over time remains challenging. Existing methods typically use self-reflection to construct an experience memory [4, 5]. Such memories can preserve useful experience, but they remain a weak basis for continual improvement: they record what happened in past trajectories, but not which action policy should be reused; they lack reliable invocation conditions; and as the memory grows, useful lessons become mixed with noisy, redundant, or stale free-form records [6].

A more useful unit for continual improvement is a skill. According to Anthropic [7], a skill is a structured package of procedural knowledge that tells an agent how to perform a class of tasks, including when to invoke it, how to act, which resources or tools to use. Skills make experience reusable: agents can discover relevant skills from lightweight descriptions, load detailed instructions and resources on demand, and refine them as new experience accumulates. This progressive-disclosure design makes skills more scalable and actionable than large unstructured memory stores. Recent methods [8, 9, 10] develop such reusable procedural abstractions, but remain predominantly single-agent and do not optimize skills under the coordination dynamics that determine team-level utility in multi-agent systems.

Extending skill evolution to multi-agent settings requires agents to refine their skills through interaction, so that skill updates reflect not only individual outcomes but also their contributions to team-level coordination. This goal raises three concrete challenges: (1) Skill-level credit assignment. Team rewards should be attributed not only to the correct agent, but also to the correct skill. In multi-agent settings, a skill may only be invoked at a few timesteps, and its effect is entangled with the behaviors and skills of other agents. As a result, team-level or even agent-level feedback is insufficient to determine which specific skills should be improved. (2) Noisy and heterogeneous interaction. Language-based feedback extracted from trajectories is often noisy, inconsistent, and unstable across learning cycles. Moreover, multi-agent systems may operate under very different coordination structures, such as centralized planning or decentralized peer communication, which induce different patterns of interaction dependency and credit propagation. (3) Discrete and high-risk skill updates. Unlike parameter vectors, skills are discrete language artifacts such as SKILL .md files, scripts, and references. Skill evolution, therefore, requires open-ended structural modifications rather than smooth numerical updates. Incorrect edits may directly alter the agent's effective action space, making continual skill optimization inherently high-risk and difficult to stabilize.

To address these challenges, we introduce MASkills, a language-based continual learning framework that performs policy improvement directly in agents' skill spaces rather than parameter spaces. Under decentralized execution, each agent invokes reusable skill artifacts as part of its latent policy reasoning, while the system continually evolves these skills through language-space optimization. MASkills adopts a unified language-space policy-gradient-style framework, following the structural interpretation of TextGrad [11] and LangMARL [12], with three components corresponding to the challenges above: (1) skill-conditioned credit assignment, where a critic attributes trajectory feedback to specific skill invocations through counterfactual comparison; (2) hierarchical credit aggregation and momentum-smoothed optimization, which stabilize noisy feedback across trajectories, agents, skills, and interaction topologies; and (3) credit-driven skill-space optimization, where stable credit signals drive skill refinement, induction, consolidation, and pruning, together with held-out validation and rollback mechanisms.

Our contributions are summarized as follows: (1) We introduce a new paradigm for continual multi-agent LLM learning that casts policy improvement as optimization over reusable skill spaces distilled from interaction traces. (2) We propose MASkills, a continual learning framework for multi-agent skill optimization that combines skill-conditioned credit assignment, aggregation, and optimization to evolve agent skill libraries through refinement, induction, consolidation, and pruning, together with held-out validation and rollback for stable updates. (3) We evaluate MASkills on HotpotQA, LoCoMo, and GAIA, demonstrating strong performance across memory and agentic tasks.

References (26)