Trackable Skill Library Lifecycle Management for Agentic Reinforcement Learning

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

TL;DR

TrackRL is a novel framework that treats skill evaluation as a series of online randomized controlled experiments within the reinforcement learning loop. By precisely tracking the causal utility and model mastery of individual skills, it dynamically manages a skill library—retiring skills the model has internalized and purging those that are harmful or redundant.

What Problem Does This Paper Address?

Agentic Large Language Models (LLMs) often use "skill libraries"—collections of textual prompts or strategies—to solve complex, multi-step tasks. While effective, these libraries face a "lifecycle" problem. As an agent learns through Reinforcement Learning (RL), its relationship with its skills changes: it might internalize a skill (making the prompt redundant), find a skill harmful after a policy update, or keep a skill as necessary "scaffolding."

Existing systems struggle to manage this because they can't isolate a single skill's contribution. They suffer from free-riding (where a useless skill gets credit because it was retrieved alongside a great one) and difficulty confounding (where a skill looks good simply because it was used on an easy task). Without a way to measure a skill's true marginal utility, libraries become bloated with "zombie" skills that waste context space and degrade performance.

Methods

TrackRL introduces Skill Tracking to drive full lifecycle management. It builds on Group Relative Policy Optimization (GRPO), a standard RL algorithm, but adds a clever experimental twist:

  1. Randomized Skill Injection: Within a group of rollouts for the exact same task, TrackRL independently randomizes whether a specific retrieved skill is shown to the model. This turns each training step into a randomized controlled experiment (RCT).
  2. Dual Metrics:
    • Skill Utility ($u_s$): The causal change in success rate when a skill is present vs. absent.
  3. Model Mastery ($m_s$): The model's success rate on a task when the skill is withheld, indicating how much of that capability has been internalized into the model's weights.
  4. Evidence-Gated Lifecycle: Skills aren't just added or deleted based on a single score. They move through a state-transition process (Generation $\rightarrow$ Admission $\rightarrow$ Incubation $\rightarrow$ Retention/Retirement/Removal). Transitions are "gated" by statistical confidence; a skill stays in "incubation" until enough evidence ($E_s$) is collected to make a reliable decision.
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.

Datasets

The authors evaluated TrackRL on two distinct benchmarks:

  • ALFWorld: A text-based household simulator where agents must perform tasks like "put a clean sponge in the cabinet." It features six task families and requires long-horizon planning.
  • AppWorld: A more complex, code-based environment where agents interact with 457 APIs across 9 applications (e.g., mail, Spotify, banking) to solve multi-step tasks by writing Python code.

Key Insights and Ideas

  • RL as an Experimental Lab: The core "aha moment" is realizing that the "group" structure in GRPO provides the perfect environment for within-group contrasts. By varying skill assignments across identical task trials, you get "counterfactual" evidence for free.
  • Internalization is Measurable: By tracking success rates in the "control arm" (no skill injected), the system can detect when a model no longer needs external help. This allows for Skill Retirement, keeping the prompt context clean and focused.
  • Soft Capacity Bounds: Instead of a hard limit that might prune a promising new skill too early, TrackRL uses a soft capacity. It only evicts skills that have sufficient evidence of being non-beneficial, protecting those still in their "incubation" phase.
Figure 2. Overview of TrackRL. We maintain a skill library of task-level and step-level skills, where we randomize their injection within GRPO groups to create per-skill treatment and control arms. From these comparisons, we track skill utility, model mastery, and evidence to guide skill lifecycle management. The updated library then supports subsequent policy optimization, closing the loop of policy–library co-evolution.

Key Results

TrackRL consistently outperformed recent baselines like SkillRL and D2Skill across both benchmarks:

  • Superior Performance: On ALFWorld (starting from a base model), TrackRL achieved a 78.1% success rate in skill-assisted mode, significantly higher than SkillRL's 62.1%.
  • Better Policy Learning: Even when evaluated without the skill library (skill-free mode), TrackRL's policy reached 72.7%, beating the standard GRPO baseline (58.6%). This proves that the lifecycle management effectively helps the model internalize knowledge.
  • Efficiency: The system successfully retired internalized skills and removed harmful ones, preventing the library from growing indefinitely while maintaining high performance.
Table 1. Results on ALFWorld.

Limitations and Future Work

  • Statistical Delay: The "removal" rule requires a certain amount of evidence to trigger. In high-stakes or real-world deployments, waiting for statistical significance to remove a truly harmful or "poisoned" skill might be too slow. The authors suggest supplementing this with immediate safety checks.
  • Data Sensitivity: Since skills are distilled from successful/failed trajectories, they may inherit sensitive information present in those trajectories.
  • Future Directions: The authors suggest exploring how these evidence-driven transitions could be applied to multi-modal agents or more diverse "tool-use" scenarios beyond textual skills.

Summary updated

Abstract

Skill-augmented agentic 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 where skill tracking drives skill library full lifecycle management. Specifically, within each GRPO group, we turn grouped sampling into online randomized controlled experiments. Independent random injection and within-group contrasts on the same task isolate each skill's true contribution, and reliability-weighted aggregation accumulates 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. 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 available at https://github.com/xizhu1022/TrackRL.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ALFWorldTrackRL (Luna)Success Rate (SR)78.1%+8.6 vs baselinesplit: seen · skill-assisted
Source quote
L621: TrackRL achieves 78.1% and 71.9% on the seen and unseen splits with GPT-5.6-Luna, compared with
AppWorldTrackRL (Luna)Task Goal Completion (TGC)23.2%split: normal · skill-assisted
Source quote
L835: outperforms TrackRL (Luna) on TGC or SGC, including 23.2% TGC-N with skill assistance and
ALFWorldTrackRL (Luna)Success Rate (SR)71.9%+2.4 vs baselinesplit: unseen · skill-assisted
Source quote
L621: TrackRL achieves 78.1% and 71.9% on the seen and unseen splits with GPT-5.6-Luna, compared with
ALFWorldTrackRL (Luna)Success Rate (SR)72.7%+3.2 vs baselinesplit: seen · skill-free
Source quote
L627: the base model on ALFWorld, TrackRL (Luna) achieves 72.7% and 64.1% without skill injection,
ALFWorldTrackRL (Luna)Success Rate (SR)64.1%split: unseen · skill-free
Source quote
L627: the base model on ALFWorld, TrackRL (Luna) achieves 72.7% and 64.1% without skill injection,
ALFWorldTrackRL (Flash)Success Rate (SR)68.8%split: seen · skill-assisted
Source quote
L622: 62.1% and 58.2% for SkillRL. With Gemini-2.5-Flash, it achieves 68.8% and 70.3%, compared with
ALFWorldTrackRL (Flash)Success Rate (SR)70.3%+0.8 vs baselinesplit: unseen · skill-assisted
Source quote
L622: 62.1% and 58.2% for SkillRL. With Gemini-2.5-Flash, it achieves 68.8% and 70.3%, compared with
ALFWorldTrackRL (Flash)Success Rate (SR)65.6%split: seen · skill-free
Source quote
L629: exceeds both skill-augmented baselines, achieving 65.6% and 62.5%. TrackRL is the only method
ALFWorldTrackRL (Flash)Success Rate (SR)62.5%split: unseen · skill-free
Source quote
L629: exceeds both skill-augmented baselines, achieving 65.6% and 62.5%. TrackRL is the only method
AppWorldTrackRL (Luna)Task Goal Completion (TGC)22.6%split: normal · skill-free
Source quote
L836: 22.6% without it, compared with 15.5% for GRPO. From the SFT-initialized policy, it leads on nearly
AppWorldTrackRL (Luna)Task Goal Completion (TGC)33.3%split: normal · skill-assisted
Source quote
L837: all of them, achieving 33.3% and 34.5% TGC-N in the two modes, respectively. The consistent gains
AppWorldTrackRL (Luna)Task Goal Completion (TGC)34.5%split: normal · skill-free
Source quote
L837: all of them, achieving 33.3% and 34.5% TGC-N in the two modes, respectively. The consistent gains
Reported baseline / comparator measurements (8)
BenchmarkMethodMetricScoreProtocol / Evidence
ALFWorldSkillRL baselineSuccess Rate (SR)62.1%split: seen · skill-assisted
Source quote
L622: 62.1% and 58.2% for SkillRL. With Gemini-2.5-Flash, it achieves 68.8% and 70.3%, compared with
ALFWorldSkillRL baselineSuccess Rate (SR)58.2%split: unseen · skill-assisted
Source quote
L622: 62.1% and 58.2% for SkillRL. With Gemini-2.5-Flash, it achieves 68.8% and 70.3%, compared with
ALFWorldD2Skill baselineSuccess Rate (SR)66.4%split: seen · skill-assisted
Source quote
L623: 66.4% and 69.5% for D2Skill. These gains persist when the reflection model is held fixed, highlighting
ALFWorldD2Skill baselineSuccess Rate (SR)69.5%split: unseen · skill-assisted
Source quote
L623: 66.4% and 69.5% for D2Skill. These gains persist when the reflection model is held fixed, highlighting
ALFWorldD2Skill baselineSuccess Rate (SR)61.7%split: seen · skill-free
Source quote
L628: exceeding D2Skill (Flash) at 61.7% and 58.6% and GRPO at 58.6% and 53.0%. TrackRL (Flash) also
ALFWorldGRPO baselineSuccess Rate (SR)58.6%split: seen · skill-free
Source quote
L628: exceeding D2Skill (Flash) at 61.7% and 58.6% and GRPO at 58.6% and 53.0%. TrackRL (Flash) also
ALFWorldGRPO baselineSuccess Rate (SR)53.0%split: unseen · skill-free
Source quote
L628: exceeding D2Skill (Flash) at 61.7% and 58.6% and GRPO at 58.6% and 53.0%. TrackRL (Flash) also
AppWorldGRPO baselineTask Goal Completion (TGC)15.5%split: normal
Source quote
L836: 22.6% without it, compared with 15.5% for GRPO. From the SFT-initialized policy, it leads on nearly
BibTeX
@misc{zhu2026trackable,
  author = {Xi Zhu and Yuanlin Duan and Changyi Yang and Kai Mei and Riyang Bao and Shichao Zhu and Dimitris N. Metaxas},
  title = {{Trackable Skill Library Lifecycle Management for Agentic Reinforcement Learning}},
  year = {2026},
  eprint = {2610.25126},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.25126},
}
Figure