Manuscript Offprint
arXiv:2610.09832SkillForge: Co-Evolving Skills and Agents via Dynamic Skill Lifecycles
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Memory-augmented reinforcement learning strengthens LLM agents' ability to solve complex long-horizon tasks. Skills are one such form of memory, pairing instructions with an applicability condition over task types. However, retaining every skill indiscriminately as the policy improves lets obsolete or harmful entries accumulate and mislead the agent. We propose SKILLFORGE, an agentic RL method that compiles and evolves the skill library through a fitness-driven skill lifecycle of trial, active, stable, and retired states, so that the skills and the model co-evolve throughout training. A pre-RL evaluation phase first uses the base model's own rollouts to pre-retire low-fitness skills, yielding a filtered library that then seeds supervised fine-tuning. Reinforcement learning takes over from this checkpoint, and at each iteration selective retirement, stabilization, and LLM-guided mutation continue to forge the skill library alongside policy optimization. Across multiple interactive agent benchmarks, SKILLFORGE achieves the highest aggregate success rate, delivering up to 7.8% relative improvement over the strongest baseline while keeping the skill library compact throughout training. We introduce SKILLFURNACE, a dataset of 5k+ annotated records bundling retirement-filtered SFT trajectories, evolved skill libraries with fitness annotations, and retirement events with human-annotated failure categories to support research on skill quality and lifecycle management.
1 Introduction
Generalist agents such as Claude Code [Anthropic, 2025] and OpenClaw [OpenClaw, 2026] derive much of their capability from modular, reusable abstractions provided at inference time. Even frontier large language models (LLMs) sit behind a fixed knowledge cutoff, so they cannot absorb personalized workflows [Chhikara et al., 2025] or adapt to post-deployment tooling conventions [Liu et al., 2025]. To close this gap at inference time, recent work centers on the skill: a bundle of instructions, examples, and applicability conditions retrieved into the agent's context on demand. Skill libraries are assembled from procedural memory combining step-level and script-level abstractions [Fang et al., 2025], or through autonomous skill-discovery loops [Yang et al., 2025]. As libraries grow, however, retrieval-based augmentation degrades: top-k retrieval returns noisier context, outdated skills crowd out high-quality ones, and many entries no longer match the agent's current capability. Li et al. [2026a] confirm these risks empirically: curated libraries contain skills that hurt performance, and larger libraries yield diminishing returns.
Corresponding author.
40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure 1: Overview of SKILLFORGE. Top: seed skills are pre-retired under the base model's own rollouts; surviving fitness-verified skills seed retirement-aware cold-start and skill-policy co-evolving RL, yielding a trained agent with an adapted skill library. Bottom-left: cold-start fine-tunes on successful trajectories with surviving skills. Bottom-right: skills and model co-evolve through the fitness-driven lifecycle across trial, active, stable, and retired via selective retirement, stabilization, demotion, and LLM-guided mutation.
A complementary line of work trains the policy via agentic reinforcement learning (Agentic RL) against environment reward. Pairing skills or other accumulated memory with RL is a natural combination: skills focus exploration with behavioral priors, while RL shapes the policy through interaction. Recent skill-augmented RL injects retrieved skills into the agent's context each rollout [Xia et al., 2026]; related threads close an offline-to-online distillation loop [Wu et al., 2025] or run policy updates directly over episodic memory [Zhang et al., 2026]. Yet these methods all treat the library as append-only, leaving the agent's context polluted by low-quality skills, bloated by unbounded accumulation, and misled by once-useful skills that turn counterproductive as the policy improves, a failure mode we call delayed obsolescence: a skill whose fitness once reached the stable state but later drops below the retirement threshold as the policy matures.
We propose SKILLFORGE, which treats skill library management as an active forging process rather than passive accumulation. Starting from a seed skill library distilled from trajectories, as illustrated in Figure 1, SKILLFORGE runs in three stages: (i) pre-retire seed skills that fail under the base model's own rollouts, (ii) cold-start fine-tuning on the surviving fitness-verified skills, and (iii) switch to RL training where skills and model co-evolve each iteration. Each cycle reads runtime fitness and moves every skill along the skill lifecycle trial, active, stable, retired, with borderline-fitness skills rewritten by an LLM-guided mutation operator. Skills and model co-evolve, keeping the active set compact and aligned with the agent's capability. We contribute the following:
• SKILLFORGE and the skill lifecycle: We propose SKILLFORGE, a fitness-driven skill lifecycle augmented with LLM-guided mutation that moves each skill through trial, active, stable, and retired states so that skills and model co-evolve, replacing the append-only accumulation of prior skill-augmented RL.
• SKILLFURNACE dataset: We release SKILLFURNACE, a three-part bundle of 5k+ annotated records spanning retirement-filtered SFT trajectories, evolved skill libraries with fitness annotations, and retirement events with human-annotated failure categories.
• Empirical validation: Across three interactive agent benchmarks spanning embodied control, web navigation, and Search-Augmented QA, SKILLFORGE surpasses the strongest baseline on every environment while keeping the library compact, delivering up to 7.8% relative improvement in aggregate success rate.
LLM-guided evolutionary optimization. Jaderberg et al. [2017] introduced population-based training, applying fitness-based selection and mutation over the hyperparameter schedules of concurrent workers. The same evaluate-select-mutate template has since been instantiated with LLMs: LLM-as-optimizer rewrites evolve a population of natural-language instructions against a fixed held-out metric [Yang et al., 2023, Guo et al., 2025], self-referential variants let instructions evolve each other [Fernando et al., 2023], and quality-diversity searches pair a pretrained LLM with an evaluator to discover diverse high-performing programs [Bradley et al., 2023, Romera-Paredes et al., 2023]. These methods all optimize static text artifacts against a stationary held-out metric in an offline loop. SKILLFORGE brings fitness-driven selection and mutation into LLM agentic reinforcement learning, where the evolving entities are skills that augment the agent's context during interactive rollouts. Joint online training makes skill fitness inherently non-stationary, requiring a lifecycle that retires and reshapes skills as the policy evolves.
3 Preliminaries
3.1 Group Relative Policy Optimization
GRPO [Shao et al., 2024] estimates advantages from grouped samples without a separate value function. Given task description drawn from a training task distribution , a uniform distribution over the training tasks of each environment, the old policy samples episodes with binary rewards , and computes group-normalized advantages . Let denote the concatenation of action tokens produced autoregressively by the policy during episode ; agent contexts and observations serve as conditioning inputs rather than generation targets, and aligns with the step-level actions of Section 3.2. Token-level importance ratios are , where denotes the left context of token , comprising all prior agent contexts, observations, and earlier action tokens of the episode. The index indexes episodes within a GRPO group and is distinct from the skill index used in Section 4. The policy is updated by maximizing:
(1)
with token-level clipping and a trajectory-level KL penalty against the reference policy.
3.2 Skill-Augmented RL
SkillRL [Xia et al., 2026] augments GRPO with a textual skill library S, where each skill comprises a name v, a behavioral principle b, and an applicability condition . Given task description d from Eq. (1), a retrieval function selects the top-K skills whose condition matches the task-type label of d and concatenates them into the agent's context:
where is a sliding window of the last observation–action pairs, is the current observation, and denotes string concatenation. At each step , an action is sampled, and the trajectory decomposes into context–action pairs used as SFT supervision units. Each episode receives a binary reward . Initially, skills are distilled from trajectories via OpenAI o3 [OpenAI, 2025], and a cold-start fine-tuning checkpoint serves as both RL initialization and reference policy .
4 SKILLFORGE
As illustrated in Figure 1, SKILLFORGE runs in three stages: (i) pre-retirement evaluation filters low-fitness seed skills, (ii) retirement-aware cold-start fine-tuning on the surviving library, and (iii) agentic RL with a fitness-driven skill lifecycle where skills and policy co-evolve each iteration. This design addresses the non-stationarity of skill fitness under online RL: as the policy matures, once-useful skills may slip below the retirement threshold, delayed obsolescence formalized in Eq. (11).
4.1 SKILLFURNACE Initialization
We evaluate the initial skill library released by SkillRL [Xia et al., 2026] with base model , which performs rollout episodes with skills injected. For each we accumulate usage and success . Skills whose proto-fitness falls below a conservative threshold and that have been used at least times are pre-retired:
The surviving library seeds both the cold-start fine-tuning data and the RL phase described in Section 4.4. Let denote the trajectories from this evaluation, and the retrieval from Eq. (2) on the full library before pre-retirement. We construct the SFT dataset from successful trajectories:
where is the task description of ; the filter excludes trajectories that relied on subsequently retired skills. Fine-tuning the base model on via standard cross-entropy
produces , which serves as both the RL initialization and the reference policy .
The filtered , the surviving library , and human-annotated retirement events from previously recorded training runs together form SKILLFURNACE, our released dataset. As summarized in Table 1, retired skills peak at an average fitness of 0.67, close to the stabilization threshold of 0.7, before dropping by 0.28 at retirement, and 57.2% first reach the stable state before this decay: a direct empirical signature of delayed obsolescence. Appendix C gives per-component details.
4.2 Skill Fitness Tracking
For each skill , we maintain a usage count (episodes in which was retrieved) and a success count (episodes that succeeded). At the start of RL, the counters are initialized from the preliminary evaluation phase: and for each surviving skill , so proto-fitness information from Section 4.1 is preserved rather than discarded. The fitness is:
Table 1: SKILLFURNACE dataset statistics. The top block reports per-component record counts across SFT trajectories, library snapshots, and retirement events; the bottom block reports detailed retirement-event metrics. Total records (#) is summed across components within each environment.
| Statistic | ALFWorld | WebShop | Search-Aug. QA | Total |
|---|---|---|---|---|
| Dataset scale | ||||
| SFT trajectories (#) | 412 | 348 | 253 | 1,013 |
| Library snapshot records (#) | 1,512 | 1,683 | 1,326 | 4,521 |
| Retirement events (#) | 138 | 121 | 59 | 318 |
| Total records (#) | 2,062 | 2,152 | 1,638 | 5,852 |
| Retirement event statistics | ||||
| Avg. peak fitness | 0.696 | 0.709 | 0.515 | 0.667 |
| Avg. fitness drop from peak | 0.294 | 0.279 | 0.239 | 0.278 |
| Avg. lifespan (steps) | 38.8 | 31.7 | 49.4 | 38.0 |
| Stable before retirement (%) | 60.1 | 58.7 | 47.5 | 57.2 |
where is a minimum usage count before trusting the empirical success rate and is a neutral prior for new skills. We use for the running estimate at training step when dependence on matters, as formalized in Section 4.4; for any skill with we have , so the proto-fitness from Eq. (3) is the runtime fitness at step 0, reused rather than recomputed.
Credit is assigned at the episode level: for each episode with trajectory and retrieved skill set , all retrieved skills receive the binary reward signal:
where denotes the indicator function.
4.3 Skill Lifecycle Management
Based on accumulated fitness, we define a lifecycle update rule that assigns each skill one of four states ; the active library retains only non-retired skills. Transitions depend on fitness thresholds , where lies strictly between the retirement and stabilization thresholds to provide hysteresis so that a stable skill whose fitness slips must first be demoted to active before becoming eligible for retirement. Transitions also depend on a mutation range , minimum usage counts and , and a generation-aware retirement threshold:
where is the mutation generation; distilled skills require a higher usage bar before they can be retired. The lifecycle update rule is then:
If none applies, for example an active skill with , is left unchanged; Appendix B states the well-definedness and per-cycle ordering used by Algorithm 1. Only active skills are eligible for retirement; trial skills must first accumulate usages and promote to active, and stable skills must first be demoted. This two-gate design prevents premature retirement of newly created skills and shields proven skills from transient fitness dips. The mutation generation is 0 for skills distilled into and is incremented by 1 at each mutation.
Initial skills surviving pre-retirement enter as stable if , or as active otherwise; newly generated skills enter as trial. The lifecycle operates through promotion, demotion, retirement, stabilization, and mutation, per Algorithm 1. Because demotion precedes retirement, a skill can be demoted and retired in one cycle, so once-stable skills can be retired as the policy evolves.
Mutation reshapes active skills whose fitness lies in a moderate range and which have been used at least times, so that the fitness estimate used to select mutation parents is
Algorithm 1 SKILLFORGE Forging Cycle
Require: Skill library , fitness scores , usage counts , failed trajectories
Ensure: Updated skill library
1: for where do 2: 3: end for 4: for where do 5: 6: end for 7: 8: , : skills in with lowest 9: for where do 10: 11: end for 12: 13: Select parents from ; 14: for each selected do 15: 16: ; ; 17: end for 18: while and with do 19: 20: end while 21: return
informative. From the resulting candidate pool , we select up to parents via inverse-fitness-weighted sampling , collect their recent failure trajectories , and query our teacher model to generate improved variants:
where assembles the parent skill's content, fitness statistics, and failure examples into a structured template. Each child enters with and generation . The inverse-fitness weighting biases selection toward skills with more room to improve without concentrating mutation on a single outlier. We instantiate from a different model family than the trained policy, since Li et al. [2026a] report that self-generated skills provide negligible or negative benefit compared with externally authored ones.
4.4 Training Integration
As given in Algorithm 1, a forging cycle runs every validation epochs, with per-cycle budgets and and a total skill cap bounding computational cost.
Making the non-stationarity introduced at the start of Section 4 explicit, the fitness estimate at training step depends on the policy trajectory:
where denotes the agent's context at step , constructed via Eq. (2) with the library . The term covers the pre-retirement rollouts under , consistent with the counter initialization in Section 4.2 and yielding . As Li et al. [2026b] report, on-policy formulations avoid the exposure bias of off-policy alternatives, justifying the non-stationarity above. At each step , the policy is updated via Eq. (1) conditioned on the current library, and the forging cycle updates the library based on accumulated fitness:
Table 2: Performance on ALFWorld and WebShop (%). WebShop Score is the partial-credit reward; Succ. is binary task success. Bold: best; underline: second best.
| Method | ALFWorld | WebShop | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Pick | Look | Clean | Heat | Cool | Pick2 | All | Score | Succ. | |
| Closed-source LLMs | |||||||||
| GPT-4o | 75.3 | 60.8 | 31.2 | 56.7 | 21.6 | 49.8 | 48.0 | 31.8 | 23.7 |
| Gemini-2.5-Pro | 92.8 | 63.3 | 62.1 | 69.0 | 26.6 | 58.7 | 60.3 | 42.5 | 35.9 |
| Base Model | |||||||||
| Vanilla | 33.4 | 21.6 | 19.3 | 6.9 | 2.8 | 3.2 | 14.8 | 26.4 | 7.8 |
| Context / Memory Methods | |||||||||
| ReAct | |||||||||
| Reflexion | |||||||||
| Mem0 | |||||||||
| ExpeL | |||||||||
| MemP | |||||||||
| SimpleMem | |||||||||
| RL-based Methods | |||||||||
| RLOO | |||||||||
| GRPO | |||||||||
| Memory-Augmented RL | |||||||||
| MemRL | |||||||||
| EvolveR | |||||||||
| Mem0+GRPO | |||||||||
| SimpleMem+GRPO | |||||||||
| SkillRL | |||||||||
| SKILLFORGE | |||||||||
where Forge denotes a full forging cycle. Skills and policy thus co-evolve: as improves, fitness estimates shift, and the forging cycle retires skills whose utility has diminished. Delayed obsolescence is then the formal event .
5 Experiments
5.1 Experimental Setup
Environments. Three interactive agent benchmarks are used: ALFWorld [Shridhar et al., 2020], WebShop [Yao et al., 2022a], and Search-Augmented QA [Jin et al., 2025], with the Search-Augmented QA setting spanning NQ [Kwiatkowski et al., 2019], TriviaQA [Joshi et al., 2017], PopQA [Mallen et al., 2023], HotpotQA [Yang et al., 2018], 2WikiMultiHopQA [Ho et al., 2020], MuSiQue [Trivedi et al., 2022], and Bamboogle [Press et al., 2023].
Baselines. Baselines fall into three categories. Context and memory methods rely on in-context reasoning or external experience without updating the policy: ReAct [Yao et al., 2022b], Reflexion [Shinn et al., 2023], Mem0 [Chhikara et al., 2025], ExpeL [Zhao et al., 2024], MemP [Fang et al., 2025], and SimpleMem [Liu et al., 2025]. RL-based methods optimize the policy via group-relative advantage estimation: RLOO [Ahmadian et al., 2024] and GRPO [Shao et al., 2024]. Memory-augmented RL methods couple persistent memory with policy optimization and form the most direct comparison: MemRL [Zhang et al., 2026], EvolveR [Wu et al., 2025], SkillRL [Xia et al., 2026], and two additional combinations, Mem0+GRPO and SimpleMem+GRPO, implemented by adding GRPO optimization to the respective memory mechanisms. For Search-Augmented QA the comparison additionally includes Search-o1 [Li et al., 2025], R1-Instruct [Team, 2025a], Search-R1 [Jin et al., 2025], ZeroSearch [Sun et al., 2025], and StepSearch [Zheng et al., 2025]. GPT-4o [OpenAI, 2024] and Gemini-2.5-Pro [Team, 2025b] are reported as frontier reference points.
Implementation. All experiments are built on the verl [Sheng et al., 2025] framework with GRPO as the policy optimizer. The base model is Qwen2.5-7B-Instruct [Team, 2023], first fine-tuned via

(a) Search-Augmented QA comparison (%).

(b) ALFWorld validation success rate across training.
Figure 2: Main-results diagnostics. (a) Per-dataset accuracy on Search-Augmented QA; per-axis numbers in bold red report SKILLFORGE accuracy on each dataset. —: SKILLFORGE (Ours); —: SkillRL; --: EvolveR; --: ZeroSearch; --: Search-R1; --: Search-o1; --: R1-Instruct. In-domain; *out-of-domain. (b) SKILLFORGE achieves faster convergence and higher success rates than vanilla GRPO and memory-augmented RL.
Table 3: Ablation study of SKILLFORGE across three environments. “Library” reports the final non-retired skill count (coinciding with for –forging/–mutation). Each row disables one forging stage: w/o forging removes the entire SKILLFORGE lifecycle, w/o pre-retirement keeps runtime stages but skips the pre-RL fitness filter, w/o retirement disables skill removal and size capping, and w/o mutation disables LLM-guided refinement. Bold: best.
| Configuration | ALFWorld | WebShop | Search-Aug. QA | |||
|---|---|---|---|---|---|---|
| Library | Succ. (%) | Library | Succ. (%) | Library | Succ. (%) | |
| SKILLFORGE | 100 | 92.4 | 95 | 78.4 | 85 | 48.7 |
| w/o forging | 44 | 89.8 | 66 | 72.6 | 41 | 46.3 |
| w/o pre-retirement | 100 | 90.7 | 95 | 74.9 | 85 | 47.5 |
| w/o retirement | 132 | 91.4 | 121 | 75.9 | 111 | 47.9 |
| w/o mutation | 44 | 91.8 | 66 | 76.8 | 41 | 48.2 |
the retirement-aware SFT described in Section 4.1 to produce environment-specific initializations. Training runs for 200 steps with a learning rate of , clipping range , and a KL penalty coefficient . Rollout generation uses temperature 1.0 with a group size of . The forging cycle executes every 10 training steps, with up to mutations and retirements per cycle; the teacher model for mutation is Kimi-K2.5 [Team et al., 2026]. Full hyperparameters, hardware details, and forging thresholds are listed in Appendix B.
5.2 Main Results
As shown in Table 2, SKILLFORGE achieves on ALFWorld and on WebShop, outperforming the closed-source GPT-4o and Gemini-2.5-Pro baselines by a wide margin and improving over SkillRL by relative on ALFWorld and relative on WebShop. The largest per-subtask relative improvement over SkillRL is on ALFWorld's Look at ; the Clean subtask remains within of SkillRL, within sampling noise. On Search-Augmented QA, as illustrated in Figure 2a, SKILLFORGE reaches micro-averaged accuracy on the full test set, the highest overall among all methods; per-dataset results are in Appendix D.
As illustrated in Figure 2b, SKILLFORGE and SkillRL both climb from to between steps 50 and 65, but SKILLFORGE separates beyond step 75 as the forging lifecycle takes effect, reaching while SkillRL oscillates in the range over the rest of the training budget.
5.3 Ablation Study
As shown in Table 3, removing the entire SKILLFORGE lifecycle produces the largest relative drops on every environment, peaking at on WebShop. Pre-retirement is the single most impactful component, with per-stage relative drops of , , and on ALFWorld, WebShop, and

(a) ALFWorld
(b) WebShop
(c) Search-Augmented QA
Figure 3: Skill library dynamics across three environments. Stable, Active, Trial: lifecycle states (stacked areas). Retired: cumulative retired (below zero). —: total non-retired; --: mutated (gen≥1).

(a) ALFWorld
(b) WebShop
(c) Search-Augmented QA
Figure 4: Fitness distribution at three training stages. Step 40, Step 120, Step 195: KDE at each stage. - -: ; - -: . Retirement depletes the left tail, mutation populates the middle band via newly born skills, and stabilization maintains the high-fitness regime.
Search-Augmented QA respectively. The single-component drops consistently sum to more than the joint w/o forging drop, consistent with sub-additive interactions among the three components.
Larger libraries do not imply better performance. Without retirement the library grows to over 130 skills on ALFWorld, yet SKILLFORGE outperforms it with a compact set of 100. On WebShop, enabling pre-retirement and mutation lifts the static 72.6% baseline to 75.9%; adding retirement trims the library from 121 skills to 95 and closes the remaining 3.2% relative gap to the full 78.4%, confirming that quality control, not scale, drives the gain.
5.4 Forging Dynamics
As shown in Figure 3, the skill library evolves similarly across the three environments. On ALFWorld, 200 training steps grow the library to 100 non-retired skills, with 132 created and 32 retired; the cap binds near step 170, after which mutations and retirements balance into dynamic equilibrium. At the final checkpoint 76 skills are stable and 24 active or trial.
As illustrated in Figure 4, the distribution evolves through two opposing flows rather than a monotone rightward shift. Retirement depletes the left tail: on ALFWorld the sub- fraction shrinks from 7.5% to 2.0% across training, while mutation expands the middle band from 18.9% to 22.0% as children enter with a neutral prior at 0.5. The stable regime retains most of the library throughout and mean fitness stays near 0.73, an equilibrium in which pruning and churn rebalance. Appendix E provides concrete mutation examples and the deepest forging lineages.
6 Conclusion
SKILLFORGE treats skill-library management as a fitness-driven forging process in which skills and the model co-evolve under online RL through retirement, stabilization, and LLM-guided mutation, delivering up to 7.8% relative improvement over the strongest memory-augmented RL baseline across ALFWorld, WebShop, and Search-Augmented QA while keeping the active library compact. We release SKILLFURNACE, a 5k+ annotated record bundle of retirement-filtered SFT trajectories, evolved skill libraries with fitness annotations, and retirement events with human-annotated failure categories, in which procedural rigidity emerges as the dominant mode by which once-useful skills turn into active interference, the empirical signature of delayed obsolescence.
References
Anthropic. Claude Code. https://claude.ai/, 2025.
OpenClaw. OpenClaw. https://github.com/openclaw/openclaw, 2026.
Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. Mem0: Building production-ready ai agents with scalable long-term memory. arXiv preprint arXiv:2504.19413, 2025.
Jiaqi Liu, Yaofeng Su, Peng Xia, Yiyang Zhou, Siwei Han, Zeyu Zheng, Cihang Xie, Mingyu Ding, and Huaxiu Yao. Simplemem: Efficient lifelong memory for llm agents. arXiv preprint arXiv:2601.02553, 2025. URL https://github.com/aiming-lab/SimpleMem.
Runnan Fang, Yuan Liang, Xiaobin Wang, Jialong Wu, Shuofei Qiao, Pengjun Xie, Fei Huang, Huajun Chen, and Ningyu Zhang. Memp: Exploring agent procedural memory. ArXiv, abs/2508.06433, 2025.
Yongjin Yang, Sinjae Kang, Juyong Lee, Dongjun Lee, Se young Yun, and Kimin Lee. Automated skill discovery for language agents through exploration and iterative feedback. ArXiv, abs/2506.04287, 2025.
Xiangyi Li, Wenbo Chen, Yimin Liu, Shenghan Zheng, Xiaokun Chen, Yifeng He, Yubo Li, Bingran You, Haotian Shen, Jiankai Sun, et al. Skillsbench: Benchmarking how well agent skills work across diverse tasks, 2026a. URL https://arxiv.org/abs/2602.12670.
Peng Xia, Jianwen Chen, Hanyang Wang, Jiaqi Liu, Kaide Zeng, Yu Wang, Siwei Han, Yiyang Zhou, Xujiang Zhao, Haifeng Chen, et al. Skillrl: Evolving agents via recursive skill-augmented reinforcement learning. arXiv preprint arXiv:2602.08234, 2026.
Rong Wu, Xiaoman Wang, Jianbiao Mei, Pinlong Cai, Daocheng Fu, Cheng Yang, Licheng Wen, Xuemeng Yang, Yufan Shen, Yuxin Wang, et al. Evolver: Self-evolving llm agents through an experience-driven lifecycle. arXiv preprint arXiv:2510.16079, 2025.
Shengtao Zhang, Jiaqian Wang, Ruiwen Zhou, Junwei Liao, Yuchen Feng, Weinan Zhang, Ying Wen, Zhiyu Li, Feiyu Xiong, Yutao Qi, et al. Memrl: Self-evolving agents via runtime reinforcement learning on episodic memory. ArXiv, abs/2601.03192, 2026.
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. Advances in neural information processing systems, 36:8634–8652, 2023.
Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, et al. Self-refine: Iterative refinement with self-feedback. ArXiv, abs/2303.17651, 2023.
Bodhisattwa Prasad Majumder, Bhavana Dalvi Mishra, Peter Jansen, Oyvind Tafjord, Niket Tandon, Li Zhang, Chris Callison-Burch, and Peter Clark. Clin: A continually learning language agent for rapid task adaptation and generalization. arXiv preprint arXiv:2310.10134, 2023.
Andrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin, Yong-Jin Liu, and Gao Huang. Expel: Llm agents are experiential learners. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 19632–19642, 2024.
Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291, 2023.
Zhiruo Wang, Jiayuan Mao, Daniel Fried, and Graham Neubig. Agent workflow memory. 2024.
Yifei Zhou, Qianlan Yang, Kaixiang Lin, Min Bai, Xiong Zhou, Yu-Xiong Wang, Sergey Levine, and Erran L. Li. Proposer-agent-evaluator(pae): Autonomous skill discovery for foundation model internet agents. ArXiv, abs/2412.13194, 2024.
Pranav Putta, Edmund Mills, Naman Garg, Sumeet Motwani, Chelsea Finn, Divyansh Garg, and Rafael Rafailov. Agent q: Advanced reasoning and learning for autonomous ai agents. arXiv preprint arXiv:2408.07199, 2024.
Hao Bai, Yifei Zhou, Mert Cemri, Jiayi Pan, Alane Suhr, Sergey Levine, and Aviral Kumar. Digirl: Training in-the-wild device-control agents with autonomous reinforcement learning. Advances in Neural Information Processing Systems, 37:12461–12495, 2024.
Max Jaderberg, Valentin Dalibard, Simon Osindero, Wojciech M Czarnecki, Jeff Donahue, Ali Razavi, Oriol Vinyals, Tim Green, Iain Dunning, Karen Simonyan, et al. Population based training of neural networks. arXiv preprint arXiv:1711.09846, 2017.
Chengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu, Quoc V Le, Denny Zhou, and Xinyun Chen. Large language models as optimizers. In The Twelfth International Conference on Learning Representations, 2023.
Qingyan Guo, Rui Wang, Junliang Guo, Bei Li, Kaitao Song, Xu Tan, Guoqing Liu, Jiang Bian, and Yujiu Yang. Evoprompt: Connecting llms with evolutionary algorithms yields powerful prompt optimizers, 2025. URL https://arxiv.org/abs/2309.08532.
Chrisantha Fernando, Dylan Banarse, Henryk Michalewski, Simon Osindero, and Tim Rocktäschel. Promptbreeder: Self-referential self-improvement via prompt evolution. arXiv preprint arXiv:2309.16797, 2023.
Herbie Bradley, Andrew Dai, Hannah Teufel, Jenny Zhang, Koen Oostermeijer, Marco Bellagente, Jeff Clune, Kenneth Stanley, Grégory Schott, and Joel Lehman. Quality-diversity through ai feedback. arXiv preprint arXiv:2310.13032, 2023.
Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M. Pawan Kumar, Emilien Dupont, Francisco J. R. Ruiz, Jordan S. Ellenberg, Pengming Wang, Omar Fawzi, et al. Mathematical discoveries from program search with large language models. Nature, 625:468 – 475, 2023.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.
OpenAI. Introducing o3 and o4-mini. https://openai.com/index/introducing-o3-and-o4-mini/, 2025.
Yaxuan Li, Yuxin Zuo, Bingxiang He, Jinqian Zhang, Chaojun Xiao, Cheng Qian, Tianyu Yu, Huanang Gao, Wenkai Yang, Zhiyuan Liu, et al. Rethinking on-policy distillation of large language models: Phenomenology, mechanism, and recipe. arXiv preprint arXiv:2604.13016, 2026b.
Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. Alfworld: Aligning text and embodied environments for interactive learning. arXiv preprint arXiv:2010.03768, 2020.
Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. Webshop: Towards scalable real-world web interaction with grounded language agents. Advances in Neural Information Processing Systems, 35:20744–20757, 2022a.
Bowen Jin, Hansi Zeng, Zhenrui Yue, Jinsung Yoon, Sercan Arik, Dong Wang, Hamed Zamani, and Jiawei Han. Search-r1: Training llms to reason and leverage search engines with reinforcement learning. arXiv preprint arXiv:2503.09516, 2025.
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:453–466, 2019.
Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1601–1611, 2017.
Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. When not to trust language models: Investigating effectiveness of parametric and non-parametric memories. In Proceedings of the 61st annual meeting of the association for computational linguistics (volume 1: Long papers), pages 9802–9822, 2023.
Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 conference on empirical methods in natural language processing, pages 2369–2380, 2018.
Xanh Ho, Anh-Khoa Duong Nguyen, Saku Sugawara, and Akiko Aizawa. Constructing a multi-hop QA dataset for comprehensive evaluation of reasoning steps. In Donia Scott, Nuria Bel, and Chengqing Zong, editors, Proceedings of the 28th International Conference on Computational Linguistics, pages 6609–6625, Barcelona, Spain (Online), December 2020. International Committee on Computational Linguistics. doi: 10.18653/v1/2020.coling-main.580. URL https://aclanthology.org/2020.coling-main.580/.
Harsh Trivedi, Niranjan Balasubramanian, Tushar Khot, and Ashish Sabharwal. Musique: Multihop questions via single-hop question composition. Transactions of the Association for Computational Linguistics, 10:539–554, 2022.
Ofir Press, Muru Zhang, Sewon Min, Ludwig Schmidt, Noah Smith, and Mike Lewis. Measuring and narrowing the compositionality gap in language models. In Houda Bouamor, Juan Pino, and Kalika Bali, editors, Findings of the Association for Computational Linguistics: EMNLP 2023, pages 5687–5711, Singapore, December 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.findings-emnlp.378. URL https://aclanthology.org/2023.findings-emnlp.378/.
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models. In The eleventh international conference on learning representations, 2022b.
Arash Ahmadian, Chris Cremer, Matthias Gallé, Marzieh Fadaee, Julia Kreutzer, Olivier Pietquin, Ahmet Üstün, and Sara Hooker. Back to basics: Revisiting REINFORCE-style optimization for learning from human feedback in LLMs. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar, editors, Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12248–12267, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.662. URL https://aclanthology.org/2024.acl-long.662/.
Xiaoxi Li, Guanting Dong, Jiajie Jin, Yuyao Zhang, Yujia Zhou, Yutao Zhu, Peitian Zhang, and Zhicheng Dou. Search-ol: Agentic search-enhanced large reasoning models. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 5420–5438, 2025.
DeepSeek Team. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. ArXiv, abs/2501.12948, 2025a.
Hao Sun, Zile Qiao, Jiayan Guo, Xuanbo Fan, Yingyan Hou, Yong Jiang, Pengjun Xie, Yan Zhang, Fei Huang, and Jingren Zhou. Zerosearch: Incentivize the search capability of llms without searching. arXiv preprint arXiv:2505.04588, 2025.
Xuhui Zheng, Kang An, Ziliang Wang, Yuhang Wang, and Yichao Wu. StepSearch: Igniting LLMs search ability via step-wise proximal policy optimization. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng, editors, Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 21805–21830, Suzhou, China, November 2025. Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi:10.18653/v1/2025.emnlp-main.1106. URL https://aclanthology.org/2025.emnlp-main.1106/.
OpenAI. Gpt-4o system card, 2024. https://openai.com/index/gpt-4o-system-card/.
Gemini Team. Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. ArXiv, abs/2507.06261, 2025b.
Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, and Chuan Wu. Hybridflow: A flexible and efficient rlhf framework. In Proceedings of the Twentieth European Conference on Computer Systems, EuroSys '25, page 1279–1297. ACM, March 2025. doi: 10.1145/3689031.3696075. URL http://dx.doi.org/10.1145/3689031.3696075.
Qwen Team. Qwen technical report. ArXiv, abs/2309.16609, 2023.
Kimi Team, Tongtong Bai, Yifan Bai, Yiping Bao, S. H. Cai, Yuan Cao, Y. Charles, H. S. Che, Cheng Chen, Guanduo Chen, et al. Kimi k2.5: Visual agentic intelligence, 2026. URL https://arxiv.org/abs/2602.02276.
A Notation
Table 4 summarizes the symbols used throughout the paper, grouped by domain.
Table 4: Notation used throughout the paper.
| Symbol | Definition | Description |
|---|---|---|
| Environment and Agent | ||
| Task description | Query input to the agent; denotes the instance tied to trajectory | |
| Training task distribution | Uniform over per-environment training tasks | |
| Reward function | , binary task success | |
| Agent policy | Parameterized by | |
| Base model policy | Before any fine-tuning | |
| Old policy (GRPO) | Generates rollouts; updated each training step | |
| SFT checkpoint policy | RL initialization and reference policy | |
| Episode trajectory | Contexts, actions, observations over one episode | |
| Agent action at step | Sampled as | |
| Observation at step | Current environment observation | |
| Agent context at step | Built via Eq. (2); uses library at training step | |
| Interaction history | Sliding window of the last pairs | |
| Skill Library | ||
| Skill | Name, behavioral principle, applicability condition | |
| Skill library | Set of all non-retired skills | |
| Initial skill library | Input to Eq. (3); is the pre-retired subset | |
| Library at step | After forging updates; | |
| Retrieval count | Number of skills retrieved per episode | |
| Retrieval function | Selects top- skills for task ; is the pre-retirement variant | |
| Retrieved skill set | for trajectory | |
| Usage count | Cumulative retrievals of ; superscript (0) marks pre-retirement value | |
| Success count | Cumulative episodes in which was retrieved and succeeded | |
| Skill fitness | when , else | |
| Default fitness | Neutral prior for skills with | |
| Proto-fitness | from pre-retirement rollouts; equals | |
| Fitness at step | Non-stationary estimate (Eq. (11)) | |
| Lifecycle state | ||
| Generation | Mutation depth; for distilled skills | |
| Mutation candidate pool | Active skills with moderate fitness (Eq. (10)) | |
| Teacher model | Generates mutations via | |
| Mutation template | Assembles parent skill, fitness, and failures | |
| Failure trajectories | Recent failed episodes used as mutation context | |
| SFT dataset | Successful trajectories filtered by retirement (Eq. (4)) | |
| Forge() | Forging operator | Full forging cycle (Algorithm 1) |
| Hyperparameters | ||
| Preliminary eval episodes | Rollout count for pre-retirement | |
| Pre-retirement threshold | Proto-fitness below which initial skills are discarded | |
| Retirement threshold | Fitness boundary below which active skills are retired | |
| Stabilization threshold | Fitness boundary for active stable | |
| Demotion threshold | Fitness boundary for stable active | |
| Mutation fitness range | Bounds for mutation eligibility | |
| Proto-fitness min usage | Min usage before proto-fitness is evaluated | |
| Fitness warm-up | Min usage before fitness replaces | |
| Promotion min usage | Min usage for trial active | |
| Stabilization min usage | Min usage for active stable | |
| Mutation min usage | Min usage for mutation eligibility | |
| Retirement min usage | Min usage before an active skill can be retired | |
| Generation-aware retirement | if , else | |
| Protection threshold | Higher usage bar for generation-0 skills | |
| Retirement budget | Max retirements per forging cycle | |
| Mutation budget | Max mutations per forging cycle | |
| Skill cap | Maximum library size | |
| Forging period | Validation epochs between forging cycles | |
| History window size | Recent pairs kept in ; | |
| GRPO Training | ||
| SFT loss | Cross-entropy on retirement-filtered trajectories (Eq. (5)) | |
| Group size | Trajectories sampled per task | |
| Group-normalized advantage | ||
| Clipping range | PPO-style surrogate clipping | |
| KL coefficient | Regularization against reference policy | |
| Episode in a GRPO group | Used for and reward | |
| Token sequence of | Action tokens produced autoregressively by | |
| Trajectory at step | Rollout from for the non-stationary fitness (Eq. (11)) | |
| Token at position | -th action token in | |
| Left context of | Environment-step context plus earlier tokens | |
| Importance ratio | ||
B Implementation Details
Training configuration. Table 5 lists the training hyperparameters and hardware setup. The base model is Qwen2.5-7B-Instruct [Team, 2023], fine-tuned with GRPO on 64× NVIDIA H200 GPUs using the verl framework. The initial skill library is environment-specific: ALFWorld uses 44 skills (12 general, 21 task-specific, 11 common-mistake), WebShop uses 66 skills (15 general, 39 task-specific, 12 common-mistake), and Search-Augmented QA uses 41 skills (10 general, 20 query-type, 11 common-mistake), all inherited from the SkillRL release [Xia et al., 2026]. General skills encode cross-task heuristics (e.g., “always verify inventory after pickup”), task-specific skills target individual task types, and common-mistake skills capture frequently observed failure patterns from initial rollouts (e.g., “do not leave an object behind after finding it”).
Evaluation sample sizes. ALFWorld reports per-sub-task accuracy on the 130-task unseen-test set, partitioned as Pick (24), Look (15), Clean (27), Heat (26), Cool (21), and Pick2 (17); the All column in Table 2 is the sample-weighted micro-average across these. WebShop uses the standard 500-task held-out test set for both Score and Succ. Search-Augmented QA per-sub-dataset sample sizes appear in Table 10.
Table 5: Training configuration for SKILLFORGE. All three environments share the GRPO optimizer, group size, and training budget; hardware is identical across runs.
| Hyperparameter | Value |
|---|---|
| Base model | Qwen2.5-7B-Instruct |
| GRPO learning rate | |
| Batch size | 16 |
| Group size G | 8 |
| Clipping range | 0.2 |
| KL coefficient | 0.001 |
| Training steps | 200 |
| History window size W | 5 |
| Sampling temperature (train & eval) | 1.0 |
| Validation epoch | 5 steps |
| Hardware | 64× NVIDIA H200 |
| Framework | verl |
Forging hyperparameters. Table 6 lists all forging-specific hyperparameters. The pre-retirement threshold is looser than the runtime because the pre-retirement phase uses the unadapted base policy , whose success rates are systematically lower than those observed during RL; a lower bar avoids discarding borderline-but-potentially-useful skills before RL has had a chance to re-evaluate them. Two usage-count thresholds also deserve clarification. The proto-fitness minimum (Eq. (3)) is smaller than the runtime warm-up (Eq. (6)) because proto-fitness is estimated under the fixed base policy over dedicated rollouts, so three observations already yield a low-variance estimate for the binary filter . Runtime fitness, in contrast, is estimated under a moving policy and feeds into continuous lifecycle transitions (promotion, stabilization, demotion, retirement), which justifies a slightly more conservative warm-up. Correspondingly, Eq. (3) is a hard filter: skills without are simply not candidates for removal and remain in . In contrast, Eq. (6) must emit a numeric score for retrieval and ranking, so it falls back to the neutral prior when the usage count is too low to trust the empirical rate. A second boundary case arises because : a skill with exactly equal to this value satisfies both the retirement condition (strict inequality is false, so retirement does not fire) and the mutation range (closed interval includes the endpoint), so such a skill is eligible for mutation but not retirement and behaves identically to skills with slightly above 0.4.
Lifecycle well-definedness. The four branches of Eq. (9) have pairwise disjoint guards: they require respectively, and the two active branches trigger on disjoint fitness ranges, one requiring and the other , so at most one branch fires per skill per cycle. Eq. (9) is declarative; Algorithm 1 specifies the per-cycle ordering, with promotion and demotion preceding retirement and stabilization preceding mutation.
Table 6: Forging hyperparameters for SKILLFORGE. Slash-separated values apply to ALFWorld, WebShop, and Search-Augmented QA respectively; and scale with the initial library size of each environment.
| Hyperparameter | Symbol | Value |
|---|---|---|
| Proto-fitness min usage | 3 | |
| Pre-retirement threshold | 0.3 | |
| Preliminary eval episodes | 500 / 450 / 400 | |
| Fitness warm-up threshold | 5 | |
| Default fitness (new skills) | 0.5 | |
| Promotion min usage | 10 | |
| Retirement fitness threshold | 0.4 | |
| Retirement min usage | 20 | |
| Stabilization fitness threshold | 0.7 | |
| Stabilization min usage | 30 | |
| Demotion fitness threshold | 0.5 | |
| Mutation fitness range | [0.4, 0.7] | |
| Mutation min usage | 5 | |
| Max mutations per cycle | 5 | |
| Max retirements per cycle | 3 | |
| Total skill cap | 100 / 95 / 85 | |
| Original skill protection | 50 | |
| Forging frequency | 2 (every 10 training steps) | |
| Teacher model | Kimi-K2.5 [Team et al., 2026] | |
| Skill retrieval | top- | 6 (task-type matching) |
Mutation weighting. We use the simplest monotone-decreasing weighting, , rather than sharper alternatives such as or . Because mutation candidates already satisfy (default [0.4, 0.7]), the weights lie in [0.3, 0.6], giving at most a preference for lower-fitness parents. This is enough to bias selection toward skills with more room to improve without concentrating mutation on a single outlier.
Threshold sensitivity. Table 7 sweeps the two most load-bearing thresholds, the retirement threshold and the library cap , around their default values on ALFWorld. The overall success rate varies within across the swept range, showing robustness to threshold choices. We observe a mild concavity: overly aggressive retirement () removes borderline-but-useful skills before they stabilize, while overly permissive retirement () retains low-fitness skills that dilute the retrieved context. The default sits near the peak of this trade-off.
Table 7: Sensitivity of overall ALFWorld success (%) to the two most load-bearing thresholds, sweeping one parameter while fixing all others at their default values. Default values are boxed.
| Retirement threshold (default 0.4) | ||||
|---|---|---|---|---|
| 0.3 | 0.4 | 0.5 | 0.6 | |
| Success (%) | 91.3 | 92.4 | 91.8 | 91.0 |
| Library cap (default 100) | ||||
| 70 | 85 | 100 | 130 | |
| Success (%) | 91.0 | 91.9 | 92.4 | 91.6 |
Compute resources. All RL runs use NVIDIA H200 GPUs under the verl framework. Estimated wall-clock per 200-step training run is hours for ALFWorld, hours for WebShop, and hours for Search-Augmented QA (retrieval-dominated), for a total of wall-clock hours 64 GPUs = 7,296 GPU-hours across the three environments per full training run. The pre-retirement evaluation phase (Section 4.1) adds hours per environment on the same hardware. Evaluation is run five times per reported number (sampling seeds ) and adds hours per environment per seed. Teacher model overhead is negligible relative to RL: a forging cycle runs every validation epochs (every 10 training steps) and issues up to mutation calls per cycle, for at most mutation calls per training run, all dispatched asynchronously during validation so they do not block GPU training. The teacher is treated as a frozen black-box LLM: any sufficiently capable instruction-tuned model (proprietary or open-weight) can serve in this role, since the interface is only a structured template and a single-shot text response. We use Kimi-K2.5 here for mutation quality, but the framework imposes no dependence on a specific teacher.
Mutation template. The mutation operator (Section 4.3, Eq. (10)) assembles the parent skill's metadata, fitness statistics, and recent failure examples into the following structured template , which is sent to the teacher model :
Mutation Template
You are improving a skill for an embodied AI agent in {environment}.
The following skill has moderate performance (fitness={f_i}, used {U_i} times, succeeded {C_i} times):
Original skill:
- ID: {skill_id}
- Title: {title}
- Principle: {principle}
- When to apply: {when_to_apply}
[If recent failures exist:] This skill was involved in the following failed episodes:
- Task: {task description} Agent action: {failed action}
- ... Please analyze these failure patterns and generate an improved skill that specifically addresses them.
Generate ONE improved variant that addresses the weakness shown by its moderate success rate. The improved skill should be more specific, actionable, or correct than the original.
Return ONLY a JSON object with these fields: {"skill_id": {"new_id"}, "title": "...", "principle": "...", "when_to_apply": "..."}
The template includes up to 8 recent failure examples (task description and agent action, each truncated to 200 characters) from episodes where the parent skill was retrieved but the episode failed. Failure examples are omitted when no failures are recorded. The teacher model returns a single JSON object, which is parsed and assigned a new skill identifier.
C SKILLFURNACE Dataset Details
SKILLFURNACE is a three-part dataset released alongside SKILLFORGE. Each part draws from a distinct data source within our experimental pipeline: (i) SFT trajectories come from rollouts of the Qwen2.5-7B-Instruct base model during the preliminary evaluation phase, before any RL training has begun; (ii) evolved skill libraries are initialized from the seed library released by SkillRL [Xia et al., 2026] and then logged at every forging cycle as one record per skill per snapshot; (iii) retirement events are lifecycle-gate decisions aggregated across the primary training run and additional previously recorded training runs (ablation variants and replicate seeds), so that the released event count is not limited to a single seed. Every mined event is labelled and quality-controlled under the same criteria as the primary run. In total, SKILLFURNACE contains 5,852 annotated records across the three environments: 1,013 SFT trajectories, 4,521 library snapshot records, and 318 retirement events, summarized in Table 1. Table 8 summarizes the library component across environments, Table 1 reports dataset scale and retirement-event statistics, and Table 9 breaks retirement events down by failure category per environment.
SFT trajectories. The preliminary evaluation phase executes M rollout episodes with the Qwen2.5-7B-Instruct base model and retrieved skills injected via Eq. (2). Per-environment M values are 500 (ALFWorld), 450 (WebShop), and 400 (Search-Augmented QA); see Table 6 for all forging-
Table 8: SKILLFURNACE evolved-library composition per environment. Initial is the seed library released by SkillRL [Xia et al., 2026]; total ever created counts every skill ever introduced, including all mutation children; retired during training counts skills that reached retired; final non-retired is the active library size at the last training step. The final row shows what fraction of the surviving library originated from LLM-guided mutation.
| Statistic | ALFWorld | WebShop | Search-Aug. QA | Total |
|---|---|---|---|---|
| Initial | 44 | 66 | 41 | 151 |
| Total ever created | 132 | 121 | 111 | 364 |
| Retired during training | 32 | 26 | 26 | 84 |
| Final non-retired | 100 | 95 | 85 | 280 |
| of which stable | 76 | 80 | 64 | 220 |
| of which mutated () | 57 | 29 | 44 | 130 |
related hyperparameters. We retain every successful trajectory whose retrieved-skill set is disjoint from the pre-retired set , yielding the SFT corpus defined in Eq. (4): 412 trajectories in ALFWorld, 348 in WebShop, and 253 in Search-Augmented QA, for a total of 1,013 released SFT trajectories. Each trajectory is stored as an ordered sequence of context–action pairs with the retrieved-skill ids attached to each context, so downstream practitioners can reconstruct the base corpus and re-filter it under alternative retention rules without rerunning rollouts. All trajectories in this component come exclusively from the base Qwen2.5 model, making them a clean cold-start fine-tuning resource decoupled from any specific RL setup.
Evolved skill libraries. Every forging cycle emits a library snapshot recording, for each skill, the id, name, behavioral principle , applicability condition , cumulative usage count , cumulative success count , current fitness , lifecycle state , generation depth , and parent id for mutated skills. The initial library logged at snapshot 0 is the seed library released by SkillRL [Xia et al., 2026]; subsequent snapshots track how this seed evolves under RL. Forging runs every 10 training steps over the 200-step budget, producing 21 snapshots per run. Each snapshot emits one record per skill tracked at that step, yielding 1,512 records in ALFWorld, 1,683 in WebShop, and 1,326 in Search-Augmented QA, for a total of 4,521 library snapshot records. Table 8 reports the composition at the last training step. Across the three environments, the library grows from 44, 66, and 41 seed skills to a final non-retired size of 100, 95, and 85 at the cap , with 132, 121, and 111 skills created cumulatively. Of the final non-retired skills, 76, 80, and 64 reach the stable state, and 57, 29, and 44 originate from LLM-guided mutation (), making 46.4% of final skills across the three environments children rather than seed skills. Snapshots are released together with per-cycle forging logs, so any fitness trajectory or lifecycle transition can be reconstructed offline.
Retirement events. Each retirement event records the full autopsy of a retired skill: the skill content, the complete fitness history leading up to retirement, the lifecycle-transition log, parent and sibling skills from the mutation tree, a human-annotated failure category drawn from the 8-way taxonomy described in Appendix E.2, and a free-text key flaw field describing the retired skill's failure mode. To make the released sample size independent of any single seed or ablation setup, events are aggregated from the primary training run and additional previously recorded training runs; the per-environment totals in Table 1 therefore exceed the primary-run retirement counts reported in Section 5.4 by design. Retirement events exhibit an average peak fitness of 0.67 and an average lifespan of 38.0 training steps, with fitness dropping by 0.28 on average at retirement; 57.2% first reached the stable state before this decay, the defining pattern of delayed obsolescence that motivates the forging lifecycle. Figure 5 shows the lifespan distribution: retirements spread across the full training horizon rather than clustering at any single stage, so the retirement gate fires throughout RL rather than only at initialization or endgame. Table 9 reports the per-environment breakdown across the eight categories. Overly rigid ordering is the dominant mode in every environment (74.6% / 77.7% / 67.8%), confirming that procedural rigidity rather than content omission is the principal failure mode of LLM-distilled skills. Environment-specific patterns also emerge: hallucinated action accounts for 10.7% of WebShop events, corresponding to skills that reference UI elements absent from the WebShop environment, and contradicts environment is exclusive to Search-Augmented QA, corresponding to skills that invoke search operations the environment does not expose.

(a) ALFWorld
(b) WebShop
(c) Search-Augmented QA
Figure 5: Lifespan distribution of retirement events in SKILLFURNACE, measured as retired_step – born_step. Retirements spread across the full training horizon rather than clustering at any single stage; the red dashed line marks the per-environment mean.
Table 9: SKILLFURNACE retirement events by failure category (8-way human-annotated taxonomy). Percentages are within environment. Overly rigid ordering dominates in every environment, confirming that procedural rigidity, not content omission, is the principal failure mode of LLM-distilled skills. Environment-specific patterns also emerge: hallucinated action appears mostly in WebShop (UI elements absent from the environment) and contradicts environment appears only in Search-Augmented QA (search operations absent from the environment).
| Failure category | ALFWorld | WebShop | Search-Aug. QA | Total |
|---|---|---|---|---|
| Overly rigid ordering | 103 (74.6%) | 94 (77.7%) | 40 (67.8%) | 237 (74.5%) |
| Overly specific | 26 (18.8%) | 2 (1.7%) | 2 (3.4%) | 30 (9.4%) |
| Premature specialization | 6 (4.3%) | 10 (8.3%) | 0 (0.0%) | 16 (5.0%) |
| Hallucinated action | 0 (0.0%) | 13 (10.7%) | 0 (0.0%) | 13 (4.1%) |
| Redundant with policy | 2 (1.4%) | 1 (0.8%) | 7 (11.9%) | 10 (3.1%) |
| Contradicts environment | 0 (0.0%) | 0 (0.0%) | 7 (11.9%) | 7 (2.2%) |
| Scope mismatch | 0 (0.0%) | 0 (0.0%) | 3 (5.1%) | 3 (0.9%) |
| Vague or tautological | 1 (0.7%) | 1 (0.8%) | 0 (0.0%) | 2 (0.6%) |
| Total | 138 | 121 | 59 | 318 |
Release format. SKILLFURNACE is released as three top-level JSON files (sft_trajectories.json, library_snapshots.json, retirement_events.json) with a schema document. All records are keyed by a global skill_id so the three components can be joined: every skill id appearing in retirement_events.json is also present in the matching run's library_snapshots.json for every step between birth and retirement, and every skill retrieved in sft_trajectories.json is resolvable in the step-0 library snapshot. The dataset is released under CC-BY-4.0.
D Search-Augmented QA Full Per-Dataset Results
Table 10 reports accuracy on each of the seven Search-Augmented QA sub-datasets that are summarised by the radar chart in Figure 2a. Both in-domain datasets (†: NQ, HotpotQA) and out-of-domain datasets (★: TriviaQA, PopQA, 2WikiMultiHopQA, MuSiQue, Bamboogle) are included. The 48.7% aggregate number reported in the main text corresponds to micro-averaged accuracy over the 51,713-sample concatenation of these seven test sets.
SKILLFORGE obtains the best or second-best accuracy on every sub-dataset, with the largest absolute improvements on the multi-hop benchmarks Bamboogle (+3.4 over the strongest baseline) and HotpotQA (+0.7). Gains are consistent on both in-domain and out-of-domain splits, indicating that the forging lifecycle does not overfit to the training distribution.
Table 10: Per-dataset accuracy on Search-Augmented QA (%). : in-domain; : out-of-domain. Per-dataset cells for non-SKILLFORGE rows are taken from their respective source papers. The Overall column is recomputed as the sample-weighted micro-average over the 51,713-sample union shown in Test samples, so that all methods are compared on an identical test set; these values may differ from source-paper totals that used different evaluation configurations. Bold: best; underline: second best. “-”: not reported.
| MethodTest samples | NQ3,610 | TriviaQA*11,313 | PopQA*14,267 | HotpotQA7,405 | 2Wiki*12,576 | MuSiQue*2,417 | Bamboogle*125 | Overall51,713 |
|---|---|---|---|---|---|---|---|---|
| In-context / retrieval baselines | ||||||||
| Vanilla [Team, 2023] | 11.6 | 35.6 | 1.2 | 16.4 | 22.2 | 4.8 | 14.4 | 16.9 |
| CoT | 12.8 | 35.6 | 3.8 | 16.2 | 22.6 | 6.6 | 24.0 | 17.9 |
| RAG | 27.4 | 58.2 | 17.8 | 25.8 | 23.2 | 9.4 | 16.8 | 29.4 |
| Search-o1 [Li et al., 2025] | 19.4 | 40.6 | 11.4 | 17.0 | 27.0 | 8.6 | 30.4 | 22.9 |
| R1-Instruct [Team, 2025a] | 21.0 | 44.9 | 17.1 | 20.8 | 27.5 | 6.0 | 19.2 | 26.0 |
| RL-based search methods | ||||||||
| Search-R1 [Jin et al., 2025] | 39.3 | 61.0 | 39.7 | 37.0 | 40.1 | 14.6 | 36.8 | 42.9 |
| ZeroSearch [Sun et al., 2025] | 43.6 | 61.8 | 51.5 | 34.6 | 35.2 | 18.4 | 27.8 | 45.2 |
| StepSearch [Zheng et al., 2025] | - | - | - | 38.6 | 36.6 | 22.6 | 40.0 | - |
| EvolveR [Wu et al., 2025] | 43.5 | 63.4 | 44.6 | 38.2 | 42.0 | 15.6 | 54.4 | 45.8 |
| SkillRL [Xia et al., 2026] | 45.9 | 63.3 | 45.9 | 43.2 | 40.3 | 20.2 | 73.8 | 46.8 |
| SKILLFORGE (Ours) | 48.2 | 65.0 | 50.1 | 43.9 | 40.4 | 20.3 | 77.2 | 48.7 |
E Case Studies
E.1 Deepest Forging Lineages
As shown in Figure 6, mutation lineages exhibit a heavy-tailed depth distribution: most refinements converge to a stable variant within one or two generations, while a tail extends up to nine generations when niches remain. Useful variants stabilize and stop mutating, so only lineages with room to specialize keep branching.

Figure 6: Deepest forging lineages on ALFWorld. Each subplot shows a root skill (gen=0, square) and its multi-generation descendants (circles). Red = retired, blue = stable. Early variants are often retired while later, more refined variants survive.
E.2 Failure Taxonomy Details
As shown in Figure 7, the 318 retirement events were labelled into one of eight failure categories. Two annotators labelled the events under this 8-way taxonomy; an initial pass reached Cohen's inter-annotator agreement, and remaining disagreements were resolved by discussion. The dominant failure mode is overly rigid ordering at , where the skill imposes a fixed procedural sequence that fails for edge cases; the second most common is overly specific at , where skills work for narrow task subsets but fail broadly. Only 10 of the 318 retirement events are labeled redundant with policy; the remaining contain prescriptions inconsistent with successful rollouts—rigid ordering, hallucinated operations, overfit specializations, self-contradictions—so delayed obsolescence reflects once-stable skills becoming concretely misleading, not the policy outgrowing harmless crutches. Environment-specific patterns also emerge: contradicts environment failures appear exclusively in Search-Augmented QA, where LLM-guided mutation hallucinates search operations absent from the environment.

Figure 7: Failure taxonomy of 318 retirement events across three environments. Blue: ALFWorld; red: WebShop; orange: Search-Augmented QA. Overly rigid ordering dominates across all environments; environment-specific failure modes emerge in Search-Augmented QA.
E.3 WebShop: Hidden-Constraint Verification
Parent skill (“Confirm Hidden Specs”, fitness=0.84, gen=0):
Principle: Scroll to bullet points/description to verify non-title attributes (material, care, fit, design features); reject items that satisfy title keywords but fail hidden constraints.
When to apply: When evaluating candidate products against multi-attribute instructions.
Successful child (“Systematically Verify All Hidden Constraints”, fitness=0.70, gen=1, stable):
Principle: After selecting a candidate product, explicitly open the product description/features section and verify every constraint from the instruction that is not visible in the title or options.
When to apply: When a candidate product matches title keywords but contains hidden attribute constraints.
Failed child (“Systematically Verify Every Non-Visible Constraint”, fitness=0.21, gen=1, retired at step 78):
Principle: After selecting a product, scroll down and click on the ‘Description’ or ‘Features’ tab/section to read every specification.
When to apply: Whenever a product page is opened.
The successful child reaches stable status by maintaining high accuracy within its target niche; its aggregate fitness of 0.70 is below the parent's 0.84 because the child targets a narrower set of tasks, but within-niche accuracy is what matters for the lifecycle, not aggregate fitness. The failed variant referenced interface elements such as “click on the Description tab,” which is absent from WebShop; its fitness decayed rapidly and the retirement gate filtered it out at step 78. The trial gate filters the hallucinated-interface variant before it affects the active library.
E.4 ALFWorld: Mutation Outcomes
The initial skill “Pick Before You Wander” produced two mutations with opposite outcomes:
Parent (“Pick Before You Wander”, gen=0, fitness=0.84):
If the target object is visible or discovered, take it immediately; never leave it behind to explore other places.
Successful child (“Verify, Grab, and Confirm Pickup”, gen=1, fitness=0.70, stable):
When a needed object is visible, move directly to it, take it immediately, and then verify it is now in your inventory before proceeding.
→ Adds a verification step that catches pickup failures.
Failed child (“Retrieve Target Before Locating Desklamp”, gen=1, fitness=0.24, retired at step 65):
First locate and pick up the target object specified in the goal before navigating to any furniture.
→ Introduces a rigid ordering that fails for tasks where the lamp must be found first.
From the same parent, mutation produced both a beneficial specialization (adding a verification step) and a harmful over-specification (imposing a rigid task ordering). The retirement mechanism correctly identified and removed the harmful variant.
E.5 Search-Augmented QA: Query Reformulation Lineage
A multi-generation forging chain on Search-Augmented QA:
Gen-0: “Disambiguation Add-Ons” (fitness=0.88)
If the name is ambiguous, append clarifiers (birth year, nationality, known work) to the query.
↓ mutation
Gen-1: “Structured Query Escalation with Fallback” (fitness=0.21, retired at step 83)
Systematically escalate through three reformulation strategies when initial results lack evidence.
→ Too rigid; forced 3-step escalation even for simple queries.
↓ later mutation from same lineage
Gen-1: “Verify Before Acting” (fitness=0.70, stable)
Before performing any action on an entity, first confirm its identity by searching with disambiguating context.
→ Simpler, more general, and more effective.
Forging explores multiple directions from the same parent: the overly complex variant is retired while the simpler, more robust variant survives.
F KL Regularization under a Library-Conditioned Context
This appendix elaborates on how the KL penalty in Eq. (1) composes with the evolving skill library, complementing the non-stationarity of the fitness estimator formalized in Eq. (11).
Under our formulation (Eq. (2)), the library enters the policy through the context rather than through the policy parameters . The parameterization of is therefore invariant across forging cycles; what varies over training is the prompt distribution fed to the fixed network. The KL term is always evaluated at the same context seen by both and , so the divergence is well-defined at every training step, regardless of how far has drifted from .
Two structural properties align the fixed anchor with the library-conditioned inputs it encounters during RL. First, mutated skills are teacher-model rewrites of surviving parents that preserve the schema of Section 3.2, so new prompts differ from SFT-time prompts mainly in skill content rather than in structural form, on which remains a calibrated next-token predictor. Second, we use (Table 5), so the KL term acts as a soft regularizer against large single-step deviations rather than a tight anchor to the SFT policy's full conditional distribution. An alternative design is to re-anchor at each forging cycle, trading the clean separation between SFT initialization and RL optimization for tighter alignment between the reference policy and the current library; this variant is compatible with the rest of our framework, and the fixed-anchor choice is the simpler default we adopt here.
G Limitations
Fitness is defined at the episode level: the K retrieved skills share a single binary reward (Eq. (6)). This is an approximation—in episodes where multiple skills are co-retrieved, the signal cannot distinguish individual skill contributions. We mitigate this via applicability-conditioned retrieval, which spreads skills across task types; the top co-retrieval frequency across all skill pairs remains under 15% of episodes in each environment, so in practice each skill's fitness estimate is dominated by episodes where it was retrieved alone. Nevertheless, the shared-credit assumption may slow convergence on tasks where skill co-retrieval is structurally unavoidable.
All experiments use a 7B base model; lifecycle dynamics under larger models may differ, and we leave scalability to future work. LLM-guided mutation relies on an external teacher model : performance is contingent on the teacher's instruction-following ability. Any sufficiently capable instruction-tuned model can serve this role (Appendix B uses Kimi-K2.5 but imposes no dependence on a specific provider), but a weak teacher will produce low-quality mutations that the trial gate must filter.
H Discussion
Design choices. Fitness is tracked as a cumulative running average (Eq. (6)), which integrates evidence over the full lifecycle of each skill. This is the natural estimator for our detection target, skills whose accumulated success record needs to be distinguished from skills that were never effective; it is what makes “once stable, now failing” a well-defined pattern to catch. A faster estimator such as an exponential moving average would respond more quickly to fitness changes, but this sensitivity cuts both ways: a skill that encounters a transiently hard batch of tasks would be flagged before the policy has stabilized, producing false retirements. The cumulative average’s inertia is intentional—the lifecycle’s usage-count gates ( ) already guard against premature decisions; within that framework, the cumulative estimate reliably separates skills with a strong historical record from those that have consistently underperformed. Table 1 reports an average retirement-event lifespan of 38.0 training steps, showing that retirement occurs promptly relative to the 200-step training budget despite the conservative estimator.
Mutation survival. Across the three environments, 213 mutant skills were generated: 88 in ALFWorld, 55 in WebShop, and 70 in Search-Augmented QA. The majority survive the lifecycle: the mutant survival rate is 64.8%, 52.7%, and 62.9% respectively, so LLM-guided mutation produces viable skills more often than not. Each forging cycle requires up to teacher model calls for mutation plus lightweight fitness bookkeeping.
Ablation library dynamics. In Table 3 the –mutation and –forging variants both retain the initial library size (44 on ALFWorld, 66 on WebShop, 41 on Search-Augmented QA). These numbers refer to , the distilled library before pre-retirement, to make cross-variant comparison direct. For –forging the entire forging method, including pre-retirement, runtime retirement, and mutation, is disabled, so the SFT data is unfiltered and no skills are added or removed after initialization. For –mutation, pre-retirement and runtime retirement both run, but the two mechanisms remove very few skills on these environments in practice: pre-retirement at with discards only initial skills that demonstrably hurt the base-model policy, and on the three environments this is a small fraction of (typically 0–3 skills); the remaining skills then accumulate enough usage during RL to stay above , so runtime retirement triggers rarely when mutation is off and no low-fitness children are being introduced. Size changes driven by the lifecycle therefore manifest primarily once mutation is re-enabled, which is consistent with the joint role of mutation and retirement reported in Section 5.3. The –pre-retirement variant confirms this picture from the opposite direction: with runtime retirement and mutation intact, the final library still settles at the cap (100, 95, 85) because the cap is the binding constraint once mutation is active. The 1.2–3.5% success drop therefore arises not from library size but from SFT data quality: pre-retirement is an integral first stage of the lifecycle that shapes the initial policy on which the subsequent retirement and mutation operate.
The –retirement column in Table 3 reaches 132, 121, and 111 skills on the three environments, matching the total-ever-created count of the full method. This follows from the forging schedule: the number of forging cycles and the per-cycle budget are fixed, so the cumulative number of child skills generated is largely invariant to whether low-fitness parents are subsequently removed. Retirement determines which skills remain in the active library at any point, not how many are produced during training; correspondingly the full method’s active library settles at a much smaller size (100, 95, 85) while –retirement accumulates every generated skill.
Evaluation protocol. All reported numbers use stochastic decoding at temperature 1.0 for both training-time rollouts and test-time evaluation, so that evaluation noise reflects the policy’s deployed behavior rather than a degenerate argmax. Each reported score is averaged over five evaluation runs of the best validation checkpoint with sampling seeds . The mean ± standard deviation of the overall success rate is on ALFWorld, on WebShop, and on Search-Augmented QA, with the low variance confirming that reported results are stable under resampling.
Statistical significance. We test whether SKILLFORGE's overall success rate exceeds the strongest memory-augmented RL baseline, SkillRL, using a one-sample t-test against the SkillRL point estimate under the null with our five-seed evaluation sample ( , df = 4). On ALFWorld ( , ), WebShop ( , ), and Search-Augmented QA ( , ), the improvement is significant at on all three environments. The corresponding two-sided 95% confidence intervals, [91.78, 93.02], [77.90, 78.90], and [48.33, 49.07], do not overlap the SkillRL baseline values of 89.9, 72.7, and 46.8, so the 1.9–5.7% absolute gains are unlikely to be explained by sampling noise. Under the conservative assumption that SkillRL's per-seed variance matches our observed per-environment standard deviations of 0.5%, 0.4%, and 0.3% respectively, a pooled Welch's t-test yields (ALFWorld), (WebShop), and (Search-Augmented QA), with on all three environments, preserving the conclusion.
Broader impact. Treating experience accumulation as a quality-control problem improves agent performance and yields interpretable artifacts: the SKILLFURNACE dataset enables follow-up research on skill quality prediction and failure-aware generation. The contributed collection contains only SFT trajectories, evolved skill libraries with fitness annotations, and retirement events with failure annotations, and introduces no risks beyond those inherent to LLM agents that act in interactive environments.