Manuscript Offprint

arXiv:2610.25126

Trackable Skill Library Lifecycle Management for Agentic Reinforcement Learning

Xi Zhu, Yuanlin Duan, Changyi Yang, Kai Mei, Riyang Bao, Shichao Zhu, Dimitris N. Metaxas

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

Abstract

Skill-augmented agentic reinforcement learning (RL) has emerged as an effective approach to improving LLM agents on long-horizon tasks. Despite this progress, individual skills may follow distinct trajectories as the policy evolves, with some becoming redundant after the model internalizes their capabilities, others remaining valuable as external scaffolding, and still others turning harmful. However, existing skill library systems fail to identify each skill's true contribution due to free-riding among co-retrieved skills, difficulty confounding across tasks, and the absence of skill-specific counterfactual evidence, which prevents reliable skill lifecycle management. We propose TrackRL, an agentic RL framework in which skill tracking drives full lifecycle management of the skill library. Specifically, within each GRPO group, we turn grouped sampling into an online randomized controlled experiment. Independent random injection and within-group contrasts on the same task isolate each skill's true contribution from co-retrieved skills and task difficulty, and reliability-weighted aggregation accumulates this evidence across groups. As evidence accumulates, we continuously track skill utility, which measures the skill's causal contribution as external scaffolding, and model mastery, which reflects how far the corresponding capability has been internalized. Along this line, we formulate skill lifecycle management as an evidence-gated state-transition process that governs each skill from generation and admission through protected incubation to retention, retirement, or removal, while a soft capacity bound controls library growth. Extensive experiments show that TrackRL outperforms recent skill-augmented RL baselines in both library-assisted and skill-free evaluation, with further analyses revealing how skill value shifts during policy learning and how evidence-driven state transitions shape skill library evolution. Our code is now available at https://github.com/xizhu1022/TrackRL.

1 Introduction

Agentic reinforcement learning (RL) has substantially improved LLM agents on long-horizon tasks, including household planning (Shridhar et al., 2021), web navigation (Yao et al., 2022), and interactive coding tasks (Trivedi et al., 2024). Existing skill-augmented approaches optimize model policies through RL while distilling experience into reusable skills stored in an external library (Xia et al., 2026a; Yao et al., 2026). As the skill library grows, relevant skills are retrieved as context to guide subsequent policy updates, enabling policy–library co-evolution (Shi et al., 2026; Li et al., 2026b).

∗^{*}Equal contribution. Contact: xi.zhu@rutgers.edu

This co-evolution dynamically couples the model’s internal policy with its external skill library. A skill derived from reflection on a failed trajectory fills a capability gap at one stage of training, but that gap may narrow or shift as the policy evolves. As RL continually reshapes model capabilities and, in turn, revalues existing skills (Yu et al., 2026b,a), an effective skill library should evolve with the policy it supports, rather than be constructed and maintained in isolation (He et al., 2026).

Figure 1 illustrates the distinct evolutionary trajectories of individual skills. As the model policy evolves, some skills lose marginal value and become redundant once the model internalizes the capability (Xiao et al., 2026; Xia et al., 2026b). Others remain valuable as external scaffolding for long-tail cases or hard-to-internalize knowledge (Wang et al., 2024; Suzgun et al., 2025), while some become harmful due to reflection errors or policy changes (Liu, 2026; Zhang & Li, 2026). To manage these divergent trajectories, a continually learning agent must track each skill's current utility and the model's mastery of the corresponding capability, and use the accumulated evidence to govern each skill's full lifecycle, keeping the skill library aligned with the evolving model policy (Pu et al., 2026; Lin et al., 2026b).

However, today's skill library systems cannot identify what an individual skill contributes or whether the current model still needs it. First, a successful rollout typically relies on multiple retrieved skills, yet its episode-level outcome is attributed indiscriminately to all of them (Tu et al., 2026; Li et al., 2026a), allowing non-contributing skills to free-ride on those that actually drive success. This ambiguity can be amplified when the skill library contains both task-level planning skills and step-level execution skills, as each action draws on a different set of step-level skills, but all such

Figure

Figure 1. Skill lifecycle. Tracked skill utility, model mastery, and evidence drive the lifecycle of each skill. Retained skills serve as external scaffolding, whereas retired skills have been internalized by the policy.

sets are still evaluated against a single episode-level outcome (Wang et al., 2026a). Second, because skills are retrieved rather than randomly assigned (Xia et al., 2026a; Wang et al., 2023), a skill's observed utility depends partly on the difficulty of the tasks it serves, a phenomenon we term difficulty confounding. Successes on easy tasks may inflate its apparent contribution, while failures on hard tasks may obscure meaningful assistance. Most critically, existing pipelines lack the skill-specific counterfactual evidence needed to estimate a skill's marginal utility and the model's mastery of the corresponding capability (Hu et al., 2026), leaving its evolving value difficult to assess. We therefore need a debiased, longitudinal estimator that tracks each skill's utility across task types and co-retrieved skill sets, together with the model's mastery of the corresponding capability, to provide an evidence-based foundation for skill library lifecycle management.

Even as skill-level evidence accumulates, existing frameworks lack a principled mechanism for translating it into reliable skill lifecycle decisions. On the one hand, they address capacity constraints through utility-based pruning, without protecting skills whose limited evidence may conceal latent value during their incubation periods. On the other hand, they fail to distinguish the diversity of skill lifecycle states and the complexity of transitions between them. Each skill follows a distinct life course: born from reflection, incubated as evidence accumulates, evolves through repeated retrieval and use, and may eventually retire once the model internalizes the corresponding capability (Deng et al., 2024), persist as an external scaffold (Suzgun et al., 2025), or be removed if it becomes harmful. We therefore need trackable, state-driven skill lifecycle management that leverages skill utility and model mastery to identify each skill's evolving state, gates every transition on sufficient evidence, and guides each skill from generation and admission through protected incubation to eventual retention, retirement, or harmful removal.

We propose TrackRL, an agentic RL framework in which skill tracking drives full lifecycle management of the skill library, closing the loop of policy–library co-evolution. Building on the standard skill-augmented RL pipeline, TrackRL turns the grouped sampling of agentic RL into an online randomized controlled experiment by independently randomizing the injection of each selected skill within a group. The resulting within-group contrasts yield two quantities that jointly characterize the evolving state of a skill, namely skill utility, its causal contribution as external scaffolding, and model mastery, the extent to which its capability has been internalized, while addressing free-riding and difficulty confounding by design. Grounded in this evidence, we formulate skill library lifecycle management as an evidence-gated state-transition process. Using tracked utility, mastery, and accumulated evidence, we govern each skill from generation and admission through protected incubation to retention, retirement, or removal under a soft capacity, with each transition supported by sufficient evidence.

Experiments on ALFWorld and AppWorld show that TrackRL outperforms recent skill-augmented RL baselines in both skill-assisted and skill-free evaluation, and further analyses reveal how skill value shifts as the policy learns and how evidence-driven transitions shape the evolution of the library. Extensive experiments show that TrackRL outperforms recent skill-augmented RL baselines in both library-assisted and skill-free evaluation. Further analyses demonstrate how skill value shifts as the policy learns and how evidence-driven state transitions shape library evolution.

References (41)