Paper deep dive
SkillForge: Co-Evolving Skills and Agents via Dynamic Skill Lifecycles
Yuyao Ge, Yiwei Wang, Yuchen He, Baolong Bi, Lingrui Mei, Jiayu Yao, Lizhe Chen, Shenghua Liu
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 93%
Last extracted: 10/11/2026, 3:18:29 AM
Summary
The paper introduces SkillForge, a reinforcement learning method for LLM agents that manages a dynamic skill library through a fitness-driven lifecycle (trial, active, stable, retired). Unlike previous append-only methods, SkillForge co-evolves skills and the agent policy by pre-retiring low-fitness skills, performing supervised fine-tuning on filtered data, and using LLM-guided mutation to improve borderline skills during RL training. This approach prevents 'delayed obsolescence' and maintains a compact, high-quality skill library, achieving up to 7.8% relative improvement over baselines. The authors also release the SkillFurnace dataset.
Entities (8)
Relation Signals (7)
SkillForge ā manages ā Skill Library
confidence 95% Ā· SkillForge... compiles and evolves the skill library through a fitness-driven skill lifecycle
SkillForge ā produces ā SkillFurnace
confidence 95% Ā· We introduce SkillFurnace... to support research on skill quality and lifecycle management
SkillForge ā evaluatedon ā ALFWorld
confidence 92% Ā· Across multiple interactive agent benchmarks... SkillForge achieves the highest aggregate success rate
SkillForge ā evaluatedon ā WebShop
confidence 92% Ā· Across multiple interactive agent benchmarks... SkillForge achieves the highest aggregate success rate
SkillForge ā evaluatedon ā Search-Augmented QA
confidence 92% Ā· Across multiple interactive agent benchmarks... SkillForge achieves the highest aggregate success rate
SkillForge ā uses ā GRPO
confidence 90% Ā· SkillForge runs in three stages... switch to RL training... GRPO estimates advantages
SkillForge ā outperforms ā SkillRL
confidence 88% Ā· SkillForge achieves the highest aggregate success rate, delivering up to 7.8% relative improvement over the strongest baseline
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
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.
Tags
Links
- Source: https://arxiv.org/abs/2610.09832v1
- Canonical: https://arxiv.org/abs/2610.09832v1
Trouble viewing inline? Open PDF directly ā
Full Text
91,982 characters extracted from source content.
Expand or collapse full text
SkillForge: Co-Evolving Skills and Agents via Dynamic Skill Lifecycles Yuyao Ge Affiliation: Institute of Computing Technology, Chinese Academy of Sciences Email: geyuyao24z@ict.ac.cn Yiwei Wang Affiliation: University of California, Merced¶Tsinghua University Email: liushenghua@ict.ac.cn Yuchen He Affiliation: Institute of Computing Technology, Chinese Academy of Sciences Baolong Bi Affiliation: Institute of Computing Technology, Chinese Academy of Sciences Lingrui Mei Affiliation: Institute of Computing Technology, Chinese Academy of Sciences Jiayu YaoLizhe Chen¶ Affiliation: Institute of Computing Technology, Chinese Academy of Sciences Shenghua Liu ā thanks: Corresponding author. Affiliation: Institute of Computing Technology, Chinese Academy of Sciences 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. 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. 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. 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, (i) cold-start fine-tuning on the surviving fitness-verified skills, and (i) 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. 2 Related Work Experience accumulation for LLM agents. Early work took the form of in-context reflection: self-critiquing the current output (Shinn et al., 2023; Madaan et al., 2023), and subsequently mining cross-trajectory insights (Majumder et al., 2023; Zhao et al., 2024). In parallel, skill-library methods emerged: Wang et al. (2023) introduced an executable-code library for open-ended exploration, followed by reusable task workflows (Wang et al., 2024), and more recently procedural memory mixing step-level instructions with script-level abstractions (Fang et al., 2025). A related thread autonomously discovers new skills for the agent to practice (Zhou et al., 2024; Yang et al., 2025). On the RL side, memory-augmented methods couple such repositories to the training loop: earlier work used external memory to support tool-assisted planning (Putta et al., 2024; Bai et al., 2024), and later closed an offline-to-online loop between distillation and retrieval (Wu et al., 2025). Most recently, Xia et al. (2026) combined skill libraries with RL training, injecting retrieved skills into the context during each rollout. In all of them the repository is monotone: entries persist once added and cannot be corrected as the policy evolves. SkillForge instead treats the library as a dynamic population under fitness-driven selection, retiring low-fitness skills and reshaping borderline ones via LLM-guided mutation in step with the online RL optimizer. 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 d drawn from a training task distribution taskD_task, a uniform distribution over the training tasks of each environment, the old policy ĻĪøold _ _old samples G episodes Ļnn=1G\ _n\_n=1^G with binary rewards rn=Rā”(Ļn)ā0,1r_n=R( _n)ā\0,1\, and computes group-normalized advantages A^n=(rnāμG)/ĻG A_n=(r_n- _G)/ _G. Let n=(yn,1,ā¦,yn,|n|) y_n=(y_n,1,ā¦,y_n,| y_n|) denote the concatenation of action tokens produced autoregressively by the policy during episode Ļn _n; agent contexts and observations serve as conditioning inputs rather than generation targets, and n y_n aligns with the step-level actions at\a_t\ of Section 3.2. Token-level importance ratios are Ļn,l=ĻĪøā(yn,lā£cn,l)/ĻĪøoldā(yn,lā£cn,l) _n,l= _Īø(y_n,l c_n,l)/ _ _old(y_n,l c_n,l), where cn,lc_n,l denotes the left context of token yn,ly_n,l, comprising all prior agent contexts, observations, and earlier action tokens of the episode. The index n indexes episodes within a GRPO group and is distinct from the skill index i used in Section 4. The policy is updated by maximizing: GRPOā(Īø)= _GRPO(Īø)= dā¼task,Ļnā[1Gāān=1G1|n|āāl=1|n|minā”(Ļn,lāA^n,clipā”(Ļn,l,āϵ,+ϵ)āA^n)] _d _task,\,\ _n\\! [ 1G _n=1^G 1| y_n| _l=1^| y_n| \! ( _n,l\, A_n,\;clip( _n,l,\,1\!-\!ε,\,1\!+\!ε)\, A_n ) ] (1) āβDKL(ĻĪøā„Ļref), -β\,D_KL( _Īø\| _ref), 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 s=(v,b,Ļ)s=(v,b,Ļ) comprises a name v, a behavioral principle b, and an applicability condition Ļ. Given task description d from Eq. (1), a retrieval function Ļā”(d,)Ļ(d,S) selects the top-K skills whose condition Ļ matches the task-type label of d and concatenates them into the agentās context: pt=dāĻā”(d,)āhtāot,p_t=d Ļ(d,S) h_t o_t, (2) where hth_t is a sliding window of the last W observationāaction pairs, oto_t is the current observation, and ā denotes string concatenation. At each step t, an action atā¼ĻĪø(ā ā£pt)a_t _Īø(Ā· p_t) is sampled, and the trajectory Ļ=(p1,a1,o2,ā¦,pT,aT)Ļ=(p_1,a_1,o_2,ā¦,p_T,a_T) decomposes into contextāaction pairs (pt,at)t=1T\(p_t,a_t)\_t=1^T used as SFT supervision units. Each episode receives a binary reward Rā”(Ļ)ā0,1R(Ļ)ā\0,1\. Initially, skills are distilled from trajectories via OpenAI o3 (OpenAI, 2025), and a cold-start fine-tuning checkpoint ĻĪøsft _ _sft serves as both RL initialization and reference policy Ļref _ref. 4 SkillForge As illustrated in Figure 1, SkillForge runs in three stages: (i) pre-retirement evaluation filters low-fitness seed skills, (i) retirement-aware cold-start fine-tuning on the surviving library, and (i) 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 0S_0 released by SkillRL (Xia et al., 2026) with base model ĻĪø0 _ _0, which performs M rollout episodes with skills injected. For each siā0s_i _0 we accumulate usage Ui(0)U_i^(0) and success Ci(0)C_i^(0). Skills whose proto-fitness falls below a conservative threshold Ī“pre _pre and that have been used at least NminN_min times are pre-retired: f^i=Ci(0)Ui(0),retire(0)=siā0ā£f^i<Ī“preā§Ui(0)ā„Nmin. f_i= C_i^(0)U_i^(0), _retire^(0)=\s_i _0 f_i< _pre U_i^(0)ā„ N_min\. (3) The surviving library (0)=0āretire(0)S^(0)=S_0 _retire^(0) seeds both the cold-start fine-tuning data and the RL phase described in Section 4.4. Let evalT_eval denote the trajectories from this evaluation, and Ļevalā(d,0) _eval(d,S_0) the retrieval ĻĻ from Eq. (2) on the full library 0S_0 before pre-retirement. We construct the SFT dataset from successful trajectories: SFT=(pt,at)ā£Ļāeval,(pt,at)āĻ,R(Ļ)=1,Ļeval(dĻ,0)ā©retire(0)=ā ,D_SFT=\(p_t,a_t) Ļ _eval,\,(p_t,a_t)āĻ,\,R(Ļ)=1,\, _eval(d_Ļ,S_0) _retire^(0)= \, (4) where dĻd_Ļ is the task description of Ļ; the filter excludes trajectories that relied on subsequently retired skills. Fine-tuning the base model on SFTD_SFT via standard cross-entropy āSFTā(Īø)=ā(pt,at)ā¼SFTā[logā”ĻĪøā(atā£pt)],L_SFT(Īø)=-E_(p_t,a_t) _SFT [ _Īø(a_t p_t) ], (5) produces ĻĪøsft _ _sft, which serves as both the RL initialization and the reference policy Ļref _ref. The filtered SFTD_SFT, the surviving library (0)S^(0), 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 Ī“stable _stable 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. 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 4.2 Skill Fitness Tracking For each skill sis_i, we maintain a usage count UiU_i (episodes in which sis_i was retrieved) and a success count CiC_i (episodes that succeeded). At the start of RL, the counters are initialized from the preliminary evaluation phase: CiāCi(0)C_iā C_i^(0) and UiāUi(0)U_iā U_i^(0) for each surviving skill siā(0)s_i ^(0), so proto-fitness information from Section 4.1 is preserved rather than discarded. The fitness is: fi=Ci/Uiif āUiā„Nwarmfdefaultotherwisef_i= casesC_i/U_i&if U_iā„ N_warm\\ f_default&otherwise cases (6) where NwarmN_warm is a minimum usage count before trusting the empirical success rate and fdefaultf_default is a neutral prior for new skills. We use fi(k)f_i^(k) for the running estimate at training step k when dependence on k matters, as formalized in Section 4.4; for any skill with Ui(0)ā„NwarmU_i^(0)ā„ N_warm we have fi(0)=f^if_i^(0)= f_i, 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 Ļ=Ļā”(d,)S_Ļ=Ļ(d,S), all K retrieved skills receive the binary reward signal: UiāUi+[siāĻ],CiāCi+[siāĻ]ā R(Ļ),U_iā U_i+1[s_i _Ļ], C_iā C_i+1[s_i _Ļ]Ā· R(Ļ), (7) where ā[ā ]1[Ā·] 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 trial,active,stable,retired\ trial, active, stable, retired\; the active library S retains only non-retired skills. Transitions depend on fitness thresholds Ī“retire<Ī“demote<Ī“stable _retire< _demote< _stable, where Ī“demote _demote 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 [Ī“low,Ī“high][ _low, _high], minimum usage counts NpromoteN_promote and NstableN_stable, and a generation-aware retirement threshold: Nretire(gi)=Nprotectif āgi=0NretireotherwiseN_retire^(g_i)= casesN_protect&if g_i=0\\ N_retire&otherwise cases (8) where gig_i is the mutation generation; distilled (gi=0g_i=0) skills require a higher usage bar Nprotect>NretireN_protect>N_retire before they can be retired. The lifecycle update rule is then: āā”(si)āactiveif āāā(si)=trialā§Uiā„Npromotestableif āāā(si)=activeā§fiā„Ī“stableā§Uiā„Nstableactiveif āāā(si)=stableā§fi<Ī“demoteretiredif āāā(si)=activeā§fi<Ī“retireā§Uiā„Nretire(gi) (s_i)ā cases active&if (s_i)= trial U_iā„ N_promote\\ stable&if (s_i)= active f_iā„ _stable U_iā„ N_stable\\ active&if (s_i)= stable f_i< _demote\\ retired&if (s_i)= active f_i< _retire U_iā„ N_retire^(g_i) cases (9) If none applies, for example an active skill with Ī“retireā¤fi<Ī“stable _retire⤠f_i< _stable, āā”(si) (s_i) 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 NpromoteN_promote 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 gig_i is 0 for skills distilled into 0S_0 and is incremented by 1 at each mutation. Initial skills surviving pre-retirement enter as stable if f^iā„Ī“stable f_iā„ _stable, 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 [Ī“low,Ī“high][ _low, _high] and which have been used at least NmutateN_mutate times, so that the fitness estimate used to select mutation parents is informative. From the resulting candidate pool ā³candM_cand, we select up to KmutateK_mutate parents via inverse-fitness-weighted sampling (Pā”(si)ā1āfiP(s_i) 1-f_i), collect their recent failure trajectories failT_fail, and query our teacher model (ā³TM_T) to generate improved variants: ā³cand _cand =siāā£āā”(si)=activeā§Ī“lowā¤fiā¤Ī“highā§Uiā„Nmutate, =\s_i (s_i)= active _low⤠f_i⤠_high U_iā„ N_mutate\, (10) schild s_child =ā³Tā(μā(sparent,fparent,fail)), =M_T (P_μ(s_parent,\,f_parent,\,T_fail) ), where μP_μ assembles the parent skillās content, fitness statistics, and failure examples into a structured template. Each child enters with āā”(schild)=trial (s_child)= trial and generation gchild=gparent+1g_child=g_parent+1. The inverse-fitness weighting Pā”(si)ā1āfiP(s_i) 1-f_i biases selection toward skills with more room to improve without concentrating mutation on a single outlier. We instantiate ā³TM_T 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 E validation epochs, with per-cycle budgets KretireK_retire and KmutateK_mutate and a total skill cap SmaxS_max bounding computational cost. Algorithm 1 SkillForge Forging Cycle 0: Skill library S, fitness scores fi\f_i\, usage counts Ui\U_i\, failed trajectories failT_fail 0: Updated skill library S 1: for siās_i where āā”(si)=trialā§Uiā„Npromote (s_i)= trial U_iā„ N_promote do 2: āā”(si)āactive (s_i)ā active ā³ Promote: trial ā active 3: end for 4: for siās_i where āā”(si)=stableā§fi<Ī“demote (s_i)= stable f_i< _demote do 5: āā”(si)āactive (s_i)ā active ā³ Demote: stable ā active 6: end for 7: āāsiāā£āā”(si)=activeā§fi<Ī“retireā§Uiā„Nretire(gi)Rā\s_i (s_i)= active f_i< _retire U_iā„ N_retire^(g_i)\ ā³ Retirement candidates 8: āābottom-āmā(ā),m=minā”(Kretire,|ā|)S -m(R),\ m= (K_retire,|R|) ā³ bottom-āmā(ā)bottom-m(R): m skills in āR with lowest fif_i 9: for siās_i where āā”(si)=activeā§fiā„Ī“stableā§Uiā„Nstable (s_i)= active f_iā„ _stable U_iā„ N_stable do 10: āā”(si)āstable (s_i)ā stable ā³ Stabilize: active ā stable 11: end for 12: ā³candāsiāā£āā”(si)=activeā§Ī“lowā¤fiā¤Ī“highā§Uiā„NmutateM_candā\s_i (s_i)= active _low⤠f_i⤠_high U_iā„ N_mutate\ ā³ Mutation pool 13: Select KmutateK_mutate parents from ā³candM_cand; Pā”(si)ā1āfiP(s_i) 1-f_i ā³ Lower fitness ā higher chance 14: for each selected sparents_parent do 15: schildāā³Tā(μā(sparent,fparent,fail))s_child _T(P_μ(s_parent,f_parent,T_fail)) ā³ LLM-guided mutation 16: āāŖschildS āŖ\s_child\; āā”(schild)ātrial (s_child)ā trial; gchildāgparent+1g_childā g_parent+1 ā³ Child enters as trial 17: end for 18: while ||>Smax|S|>S_max āsiāā s_i with āā”(si)=active (s_i)= active do 19: āāargminsi:āā”(si)=activefiS \ _s_i:\, (s_i)= activef_i\ ā³ Enforce size bound 20: end while 21: return S Making the non-stationarity introduced at the start of Section 4 explicit, the fitness estimate at training step k depends on the policy trajectory: fi(k)=ājā¤k[siāĻ(j)]ā R(Ļ(j))ājā¤k[siāĻ(j)],Ļ(j)ā¼ĻĪøj(ā ā£p(j)),f_i^(k)= _j⤠k1[s_i _Ļ^(j)]Ā· R(Ļ^(j)) _j⤠k1[s_i _Ļ^(j)], Ļ^(j) _ _j(Ā· p^(j)), (11) where p(j)p^(j) denotes the agentās context at step j, constructed via Eq. (2) with the library (j)S^(j). The j=0j=0 term covers the pre-retirement rollouts under ĻĪø0 _ _0, consistent with the counter initialization in Section 4.2 and yielding fi(0)=f^if_i^(0)= f_i. 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 k, the policy is updated via Eq. (1) conditioned on the current library, and the forging cycle updates the library based on accumulated fitness: Īøk+1=argā”maxĪøāGRPOā(Īø,(k)),(k+1)=Forgeā”((k),fi(k)), _k+1= _Īø\,J_GRPO(Īø;\,S^(k)), ^(k+1)=Forge (S^(k),\,\f_i^(k)\ ), (12) where ForgeForge 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 āk1<k2:fi(k1)ā„Ī“stableā§fi(k2)<Ī“retireā k_1<k_2:\ f_i^(k_1)ā„ _stable f_i^(k_2)< _retire. 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. 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 48.5ā²15.1 35.4ā²13.8 34.3ā²15.0 13.2ā²6.3 18.2ā²15.4 17.6ā²14.4 31.2ā²16.4 46.2ā²19.8 19.5ā²11.7 Reflexion 62.0ā²28.6 41.6ā²20.0 44.9ā²25.6 30.9ā²24.0 36.3ā²33.5 23.8ā²20.6 42.7ā²27.9 58.1ā²31.7 28.8ā²21.0 Mem0 54.0ā²20.6 55.0ā²33.4 26.9ā²7.6 36.4ā²29.5 20.8ā²18.0 7.7ā²4.5 33.6ā²18.8 23.9ā¼2.5 2.0ā¼5.8 ExpeL 21.0ā¼12.4 67.0ā²45.4 55.0ā²35.7 52.0ā²45.1 71.0ā²68.2 6.0ā²2.8 46.3ā²31.5 30.9ā²4.5 11.2ā²3.4 MemP 54.3ā²20.9 38.5ā²16.9 48.1ā²28.8 56.2ā²49.3 32.0ā²29.2 16.7ā²13.5 41.4ā²26.6 25.3ā¼1.1 6.4ā¼1.4 SimpleMem 64.5ā²31.1 33.3ā²11.7 20.0ā²0.7 12.5ā²5.6 33.3ā²30.5 3.8ā²0.6 29.7ā²14.9 33.2ā²6.8 8.6ā²0.8 RL-based Methods RLOO 87.6ā²54.2 78.2ā²56.6 87.3ā²68.0 81.3ā²74.4 71.9ā²69.1 48.9ā²45.7 75.5ā²60.7 80.3ā²53.9 65.7ā²57.9 GRPO 90.8ā²57.4 66.1ā²44.5 89.3ā²70.0 74.7ā²67.8 72.5ā²69.7 64.7ā²61.5 77.6ā²62.8 79.3ā²52.9 66.1ā²58.3 Memory-Augmented RL MemRL 62.8ā²29.4 38.5ā²16.9 22.2ā²2.9 12.5ā²5.6 8.0ā²5.2 0.0ā¼3.2 21.4ā²6.6 29.5ā²3.1 9.2ā²1.4 EvolveR 64.9ā²31.5 33.3ā²11.7 46.4ā²27.1 13.3ā²6.4 33.3ā²30.5 33.3ā²30.1 43.8ā²29.0 42.5ā²16.1 17.6ā²9.8 Mem0+GRPO 78.1ā²44.7 54.8ā²33.2 56.1ā²36.8 31.0ā²24.1 65.0ā²62.2 26.9ā²23.7 54.7ā²39.9 58.1ā²31.7 37.5ā²29.7 SimpleMem+GRPO 89.5ā²56.1 36.3ā²14.7 60.0ā²40.7 50.0ā²43.1 64.9ā²62.1 26.3ā²23.1 62.5ā²47.7 67.8ā²41.4 46.9ā²39.1 SkillRL 97.9ā²64.5 71.4ā²49.8 90.0ā²70.7 90.0ā²83.1 95.5ā²92.7 87.5ā²84.3 89.9ā²75.1 85.2ā²58.8 72.7ā²64.9 SkillForge 98.2ā²64.8 86.6ā²65.0 89.8ā²70.5 93.7ā²86.8 95.6ā²92.8 88.4ā²85.2 92.4ā²77.6 87.8ā²61.4 78.4ā²70.6 (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. 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 the retirement-aware SFT described in Section 4.1 to produce environment-specific initializations. Training runs for 200 steps with a learning rate of 1Ć10ā61Ć 10^-6, clipping range ϵ=0.2ε=0.2, and a KL penalty coefficient β=0.001β=0.001. Rollout generation uses temperature 1.01.0 with a group size of G=8G=8. The forging cycle executes every 10 training steps, with up to Kmutate=5K_mutate=5 mutations and Kretire=3K_retire=3 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 92.4% on ALFWorld and 78.4% on WebShop, outperforming the closed-source GPT-4o and Gemini-2.5-Pro baselines by a wide margin and improving over SkillRL by 2.8% relative on ALFWorld and 7.8% relative on WebShop. The largest per-subtask relative improvement over SkillRL is on ALFWorldās Look at 21.3%; the Clean subtask remains within 0.2% of SkillRL, within sampling noise. On Search-Augmented QA, as illustrated in Figure 22(a), SkillForge reaches 48.7±0.3%48.7± 0.3\% 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 22(b), SkillForge and SkillRL both climb from ā¼ 60% to ā¼ 70% between steps 50 and 65, but SkillForge separates beyond step 75 as the forging lifecycle takes effect, reaching ā¼ 90% while SkillRL oscillates in the ā¼ 80ā88% range over the rest of the training budget. Table 3: Ablation study of SkillForge across three environments. āLibraryā reports the final non-retired skill count (coinciding with |0||S_0| 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ā¼2.6 66 72.6ā¼5.8 41 46.3ā¼2.4 w/o pre-retirement 100 90.7ā¼1.7 95 74.9ā¼3.5 85 47.5ā¼1.2 w/o retirement 132 91.4ā¼1.0 121 75.9ā¼2.5 111 47.9ā¼0.8 w/o mutation 44 91.8ā¼0.6 66 76.8ā¼1.6 41 48.2ā¼0.5 5.3 Ablation Study As shown in Table 3, removing the entire SkillForge lifecycle produces the largest relative drops on every environment, peaking at 7.4% on WebShop. Pre-retirement is the single most impactful component, with per-stage relative drops of 1.8%, 4.5%, and 2.5% on ALFWorld, WebShop, and 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%72.6\% baseline to 75.9%75.9\%; adding retirement trims the library from 121 skills to 95 and closes the remaining 3.2%3.2\% relative gap to the full 78.4%78.4\%, confirming that quality control, not scale, drives the gain. 5.4 Forging Dynamics (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). 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. (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. - -: Ī“retire=0.4 _retire=0.4; - -: Ī“stable=0.7 _stable=0.7. Retirement depletes the left tail, mutation populates the middle band via newly born skills, and stabilization maintains the high-fitness regime. 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-Ī“retire _retire fraction shrinks from 7.5% to 2.0% across training, while mutation expands the middle band [Ī“retire,Ī“stable)[ _retire, _stable) 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 Ahmadian et al. (2024) A. Ahmadian, C. Cremer, M. GallĆ©, M. Fadaee, J. Kreutzer, O. Pietquin, A. Ćstün, and S. Hooker Back to basics: revisiting REINFORCE-style optimization for learning from human feedback in LLMs. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), L. Ku, A. Martins, and V. Srikumar (Eds.), Bangkok, Thailand, p. 12248ā12267. External Links: Link, Document Cited by: §5.1. Anthropic (2025) Anthropic Claude Code. Note: https://claude.ai/ Cited by: §1. Bai et al. (2024) H. Bai, Y. Zhou, M. Cemri, J. Pan, A. Suhr, S. Levine, and A. Kumar Digirl: training in-the-wild device-control agents with autonomous reinforcement learning. Advances in Neural Information Processing Systems 37, p. 12461ā12495. Cited by: §2. Bradley et al. (2023) H. Bradley, A. Dai, H. Teufel, J. Zhang, K. Oostermeijer, M. Bellagente, J. Clune, K. Stanley, G. Schott, and J. Lehman Quality-diversity through ai feedback. arXiv preprint arXiv:2310.13032. Cited by: §2. Chhikara et al. (2025) P. Chhikara, D. Khant, S. Aryan, T. Singh, and D. Yadav Mem0: building production-ready ai agents with scalable long-term memory. arXiv preprint arXiv:2504.19413. Cited by: §1, §5.1. Fang et al. (2025) R. Fang, Y. Liang, X. Wang, J. Wu, S. Qiao, P. Xie, F. Huang, H. Chen, and N. Zhang Memp: exploring agent procedural memory. ArXiv abs/2508.06433. Cited by: §1, §2, §5.1. Fernando et al. (2023) C. Fernando, D. Banarse, H. Michalewski, S. Osindero, and T. RocktƤschel Promptbreeder: self-referential self-improvement via prompt evolution. arXiv preprint arXiv:2309.16797. Cited by: §2. Guo et al. (2025) Q. Guo, R. Wang, J. Guo, B. Li, K. Song, X. Tan, G. Liu, J. Bian, and Y. Yang EvoPrompt: connecting llms with evolutionary algorithms yields powerful prompt optimizers. External Links: 2309.08532, Link Cited by: §2. Ho et al. (2020) X. Ho, A. Duong Nguyen, S. Sugawara, and A. Aizawa Constructing a multi-hop QA dataset for comprehensive evaluation of reasoning steps. In Proceedings of the 28th International Conference on Computational Linguistics, D. Scott, N. Bel, and C. Zong (Eds.), Barcelona, Spain (Online), p. 6609ā6625. External Links: Link, Document Cited by: §5.1. Jaderberg et al. (2017) M. Jaderberg, V. Dalibard, S. Osindero, W. M. Czarnecki, J. Donahue, A. Razavi, O. Vinyals, T. Green, I. Dunning, K. Simonyan, et al. Population based training of neural networks. arXiv preprint arXiv:1711.09846. Cited by: §2. Jin et al. (2025) B. Jin, H. Zeng, Z. Yue, J. Yoon, S. Arik, D. Wang, H. Zamani, and J. Han Search-r1: training llms to reason and leverage search engines with reinforcement learning. arXiv preprint arXiv:2503.09516. Cited by: Table 10, §5.1, §5.1. Joshi et al. (2017) M. Joshi, E. Choi, D. S. Weld, and L. 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), p. 1601ā1611. Cited by: §5.1. Kwiatkowski et al. (2019) T. Kwiatkowski, J. Palomaki, O. Redfield, M. Collins, A. Parikh, C. Alberti, D. Epstein, I. Polosukhin, J. Devlin, K. Lee, et al. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics 7, p. 453ā466. Cited by: §5.1. Li et al. (2026a) X. Li, W. Chen, Y. Liu, S. Zheng, X. Chen, Y. He, Y. Li, B. You, H. Shen, J. Sun, et al. SkillsBench: benchmarking how well agent skills work across diverse tasks. External Links: 2602.12670, Link Cited by: §1, §4.3. Li et al. (2025) X. Li, G. Dong, J. Jin, Y. Zhang, Y. Zhou, Y. Zhu, P. Zhang, and Z. Dou Search-o1: agentic search-enhanced large reasoning models. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, p. 5420ā5438. Cited by: Table 10, §5.1. Li et al. (2026b) Y. Li, Y. Zuo, B. He, J. Zhang, C. Xiao, C. Qian, T. Yu, H. Gao, W. Yang, Z. Liu, et al. Rethinking on-policy distillation of large language models: phenomenology, mechanism, and recipe. arXiv preprint arXiv:2604.13016. Cited by: §4.4. Liu et al. (2025) J. Liu, Y. Su, P. Xia, Y. Zhou, S. Han, Z. Zheng, C. Xie, M. Ding, and H. Yao SimpleMem: efficient lifelong memory for llm agents. arXiv preprint arXiv:2601.02553. External Links: Link Cited by: §1, §5.1. Madaan et al. (2023) A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prabhumoye, Y. Yang, et al. Self-refine: iterative refinement with self-feedback. ArXiv abs/2303.17651. Cited by: §2. Majumder et al. (2023) B. P. Majumder, B. D. Mishra, P. Jansen, O. Tafjord, N. Tandon, L. Zhang, C. Callison-Burch, and P. Clark Clin: a continually learning language agent for rapid task adaptation and generalization. arXiv preprint arXiv:2310.10134. Cited by: §2. Mallen et al. (2023) A. Mallen, A. Asai, V. Zhong, R. Das, D. Khashabi, and H. 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), p. 9802ā9822. Cited by: §5.1. OpenAI (2024) OpenAI GPT-4o system card. Note: https://openai.com/index/gpt-4o-system-card/ Cited by: §5.1. OpenAI (2025) OpenAI Introducing o3 and o4-mini. Note: https://openai.com/index/introducing-o3-and-o4-mini/ Cited by: §3.2. OpenClaw (2026) OpenClaw OpenClaw. Note: https://github.com/openclaw/openclaw Cited by: §1. Press et al. (2023) O. Press, M. Zhang, S. Min, L. Schmidt, N. Smith, and M. Lewis Measuring and narrowing the compositionality gap in language models. In Findings of the Association for Computational Linguistics: EMNLP 2023, H. Bouamor, J. Pino, and K. Bali (Eds.), Singapore, p. 5687ā5711. External Links: Link, Document Cited by: §5.1. Putta et al. (2024) P. Putta, E. Mills, N. Garg, S. Motwani, C. Finn, D. Garg, and R. Rafailov Agent q: advanced reasoning and learning for autonomous ai agents. arXiv preprint arXiv:2408.07199. Cited by: §2. Romera-Paredes et al. (2023) B. Romera-Paredes, M. Barekatain, A. Novikov, M. Balog, M. P. Kumar, E. Dupont, F. J. R. Ruiz, J. S. Ellenberg, P. Wang, O. Fawzi, et al. Mathematical discoveries from program search with large language models. Nature 625, p. 468 ā 475. Cited by: §2. Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. Li, Y. Wu, et al. Deepseekmath: pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300. Cited by: §3.1, §5.1. Sheng et al. (2025) G. Sheng, C. Zhang, Z. Ye, X. Wu, W. Zhang, R. Zhang, Y. Peng, H. Lin, and C. Wu HybridFlow: a flexible and efficient rlhf framework. In Proceedings of the Twentieth European Conference on Computer Systems, EuroSys ā25, p. 1279ā1297. External Links: Link, Document Cited by: §5.1. Shinn et al. (2023) N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan, and S. Yao Reflexion: language agents with verbal reinforcement learning. Advances in neural information processing systems 36, p. 8634ā8652. Cited by: §2, §5.1. Shridhar et al. (2020) M. Shridhar, X. Yuan, M. CĆ“tĆ©, Y. Bisk, A. Trischler, and M. Hausknecht Alfworld: aligning text and embodied environments for interactive learning. arXiv preprint arXiv:2010.03768. Cited by: §5.1. Sun et al. (2025) H. Sun, Z. Qiao, J. Guo, X. Fan, Y. Hou, Y. Jiang, P. Xie, Y. Zhang, F. Huang, and J. Zhou Zerosearch: incentivize the search capability of llms without searching. arXiv preprint arXiv:2505.04588. Cited by: Table 10, §5.1. Team (2025a) D. Team DeepSeek-r1: incentivizing reasoning capability in llms via reinforcement learning. ArXiv abs/2501.12948. Cited by: Table 10, §5.1. Team (2025b) G. Team Gemini 2.5: pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. ArXiv abs/2507.06261. Cited by: §5.1. Team et al. (2026) K. Team, T. Bai, Y. Bai, Y. Bao, S. H. Cai, Y. Cao, Y. Charles, H. S. Che, C. Chen, G. Chen, et al. Kimi k2.5: visual agentic intelligence. External Links: 2602.02276, Link Cited by: Table 6, §5.1. Team (2023) Q. Team Qwen technical report. ArXiv abs/2309.16609. Cited by: Appendix B, Table 10, §5.1. Trivedi et al. (2022) H. Trivedi, N. Balasubramanian, T. Khot, and A. Sabharwal MuSiQue: multihop questions via single-hop question composition. Transactions of the Association for Computational Linguistics 10, p. 539ā554. Cited by: §5.1. Wang et al. (2023) G. Wang, Y. Xie, Y. Jiang, A. Mandlekar, C. Xiao, Y. Zhu, L. Fan, and A. Anandkumar Voyager: an open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291. Cited by: §2. Wang et al. (2024) Z. Wang, J. Mao, D. Fried, and G. Neubig Agent workflow memory. Cited by: §2. Wu et al. (2025) R. Wu, X. Wang, J. Mei, P. Cai, D. Fu, C. Yang, L. Wen, X. Yang, Y. Shen, Y. Wang, et al. Evolver: self-evolving llm agents through an experience-driven lifecycle. arXiv preprint arXiv:2510.16079. Cited by: Table 10, §1, §2, §5.1. Xia et al. (2026) P. Xia, J. Chen, H. Wang, J. Liu, K. Zeng, Y. Wang, S. Han, Y. Zhou, X. Zhao, H. Chen, et al. Skillrl: evolving agents via recursive skill-augmented reinforcement learning. arXiv preprint arXiv:2602.08234. Cited by: Appendix B, Appendix C, Table 8, Table 8, Appendix C, Table 10, §1, §2, §3.2, §4.1, §5.1. Yang et al. (2023) C. Yang, X. Wang, Y. Lu, H. Liu, Q. V. Le, D. Zhou, and X. Chen Large language models as optimizers. In The Twelfth International Conference on Learning Representations, Cited by: §2. Yang et al. (2025) Y. Yang, S. Kang, J. Lee, D. Lee, S. Yun, and K. Lee Automated skill discovery for language agents through exploration and iterative feedback. ArXiv abs/2506.04287. Cited by: §1, §2. Yang et al. (2018) Z. Yang, P. Qi, S. Zhang, Y. Bengio, W. Cohen, R. Salakhutdinov, and C. 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, p. 2369ā2380. Cited by: §5.1. Yao et al. (2022a) S. Yao, H. Chen, J. Yang, and K. Narasimhan Webshop: towards scalable real-world web interaction with grounded language agents. Advances in Neural Information Processing Systems 35, p. 20744ā20757. Cited by: §5.1. Yao et al. (2022b) S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. R. Narasimhan, and Y. Cao React: synergizing reasoning and acting in language models. In The eleventh international conference on learning representations, Cited by: §5.1. Zhang et al. (2026) S. Zhang, J. Wang, R. Zhou, J. Liao, Y. Feng, W. Zhang, Y. Wen, Z. Li, F. Xiong, Y. Qi, et al. MemRL: self-evolving agents via runtime reinforcement learning on episodic memory. ArXiv abs/2601.03192. Cited by: §1, §5.1. Zhao et al. (2024) A. Zhao, D. Huang, Q. Xu, M. Lin, Y. Liu, and G. Huang Expel: llm agents are experiential learners. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38, p. 19632ā19642. Cited by: §2, §5.1. Zheng et al. (2025) X. Zheng, K. An, Z. Wang, Y. Wang, and Y. Wu StepSearch: igniting LLMs search ability via step-wise proximal policy optimization. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, C. Christodoulopoulos, T. Chakraborty, C. Rose, and V. Peng (Eds.), Suzhou, China, p. 21805ā21830. External Links: Link, Document, ISBN 979-8-89176-332-6 Cited by: Table 10, §5.1. Zhou et al. (2024) Y. Zhou, Q. Yang, K. Lin, M. Bai, X. Zhou, Y. Wang, S. Levine, and E. L. Li Proposer-agent-evaluator(pae): autonomous skill discovery for foundation model internet agents. ArXiv abs/2412.13194. Cited by: §2. Appendix 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 d Task description Query input to the agent; dĻd_Ļ denotes the instance tied to trajectory Ļ taskD_task Training task distribution Uniform over per-environment training tasks R Reward function Rā”(Ļ)ā0,1R(Ļ)ā\0,1\, binary task success ĻĪø _Īø Agent policy Parameterized by Īø ĻĪø0 _ _0 Base model policy Before any fine-tuning ĻĪøold _ _old Old policy (GRPO) Generates rollouts; updated each training step ĻĪøsft _ _sft SFT checkpoint policy RL initialization and reference policy Ļref _ref Ļ=(p1,a1,o2,ā¦)Ļ=(p_1,a_1,o_2,ā¦) Episode trajectory Contexts, actions, observations over one episode ata_t Agent action at step t Sampled as atā¼ĻĪø(ā ā£pt)a_t _Īø(Ā· p_t) oto_t Observation at step t Current environment observation ptp_t Agent context at step t Built via Eq. (2); p(j)p^(j) uses library (j)S^(j) at training step j hth_t Interaction history Sliding window of the last W=5W=5 (o,a)(o,a) pairs Skill Library si=(v,b,Ļ)s_i=(v,b,Ļ) Skill Name, behavioral principle, applicability condition S Skill library Set of all non-retired skills 0S_0 Initial skill library Input to Eq. (3); retire(0)S_retire^(0) is the pre-retired subset (k)S^(k) Library at step k After k forging updates; (0)=0āretire(0)S^(0)=S_0 _retire^(0) K Retrieval count Number of skills retrieved per episode Ļā”(d,)Ļ(d,S) Retrieval function Selects top-K skills for task d; Ļeval _eval is the pre-retirement variant ĻS_Ļ Retrieved skill set Ļā”(d,)Ļ(d,S) for trajectory Ļ UiU_i Usage count Cumulative retrievals of sis_i; superscript (0)(0) marks pre-retirement value CiC_i Success count Cumulative episodes in which sis_i was retrieved and succeeded fif_i Skill fitness Ci/UiC_i/U_i when Uiā„NwarmU_iā„ N_warm, else fdefaultf_default fdefaultf_default Default fitness Neutral prior for skills with Ui<NwarmU_i<N_warm f^i f_i Proto-fitness Ci(0)/Ui(0)C_i^(0)/U_i^(0) from pre-retirement rollouts; equals fi(0)f_i^(0) fi(k)f_i^(k) Fitness at step k Non-stationary estimate (Eq. (11)) āā”(si) (s_i) Lifecycle state ātrial,active,stable,retiredā\ trial, active, stable, retired\ gig_i Generation Mutation depth; gi=0g_i=0 for distilled skills ā³candM_cand Mutation candidate pool Active skills with moderate fitness (Eq. (10)) ā³TM_T Teacher model Generates mutations via μP_μ μP_μ Mutation template Assembles parent skill, fitness, and failures failT_fail Failure trajectories Recent failed episodes used as mutation context SFTD_SFT SFT dataset Successful trajectories filtered by retirement (Eq. (4)) Forgeā”(ā )Forge(Ā·) Forging operator Full forging cycle (Algorithm 1) Hyperparameters M Preliminary eval episodes Rollout count for pre-retirement Ī“pre _pre Pre-retirement threshold Proto-fitness below which initial skills are discarded Ī“retire _retire Retirement threshold Fitness boundary below which active skills are retired Ī“stable _stable Stabilization threshold Fitness boundary for active ā stable Ī“demote _demote Demotion threshold Fitness boundary for stable ā active [Ī“low,Ī“high][ _low, _high] Mutation fitness range Bounds for mutation eligibility NminN_min Proto-fitness min usage Min usage before proto-fitness is evaluated NwarmN_warm Fitness warm-up Min usage before fitness replaces fdefaultf_default NpromoteN_promote Promotion min usage Min usage for trial ā active NstableN_stable Stabilization min usage Min usage for active ā stable NmutateN_mutate Mutation min usage Min usage for mutation eligibility NretireN_retire Retirement min usage Min usage before an active skill can be retired Nretire(gi)N_retire^(g_i) Generation-aware retirement NprotectN_protect if gi=0g_i=0, else NretireN_retire NprotectN_protect Protection threshold Higher usage bar for generation-0 skills KretireK_retire Retirement budget Max retirements per forging cycle KmutateK_mutate Mutation budget Max mutations per forging cycle SmaxS_max Skill cap Maximum library size E Forging period Validation epochs between forging cycles W History window size Recent (o,a)(o,a) pairs kept in hth_t; W=5W=5 GRPO Training āSFTL_SFT SFT loss Cross-entropy on retirement-filtered trajectories (Eq. (5)) G Group size Trajectories sampled per task A^n A_n Group-normalized advantage (rnāμG)/ĻG(r_n- _G)/ _G ϵε Clipping range PPO-style surrogate clipping β KL coefficient Regularization against reference policy Ļn _n Episode n in a GRPO group Used for A^n A_n and reward rn=Rā”(Ļn)r_n=R( _n) n y_n Token sequence of Ļn _n Action tokens produced autoregressively by ĻĪø _Īø Ļ(j)Ļ^(j) Trajectory at step j Rollout from ĻĪøj _ _j for the non-stationary fitness (Eq. (11)) yn,ly_n,l Token at position l l-th action token in n y_n cn,lc_n,l Left context of yn,ly_n,l Environment-step context plus earlier tokens Ļn,l _n,l Importance ratio ĻĪøā(yn,lā£cn,l)/ĻĪøoldā(yn,lā£cn,l) _Īø(y_n,l c_n,l)/ _ _old(y_n,l c_n,l) Appendix 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 1Ć10ā61Ć 10^-6 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 Ī“pre=0.3 _pre=0.3 is looser than the runtime Ī“retire=0.4 _retire=0.4 because the pre-retirement phase uses the unadapted base policy ĻĪø0 _ _0, 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 Nmin=3N_min=3 (Eq. (3)) is smaller than the runtime warm-up Nwarm=5N_warm=5 (Eq. (6)) because proto-fitness is estimated under the fixed base policy over M dedicated rollouts, so three observations already yield a low-variance estimate for the binary filter f^i<Ī“pre f_i< _pre. 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 Ui(0)ā„NminU_i^(0)ā„ N_min are simply not candidates for removal and remain in (0)S^(0). In contrast, Eq. (6) must emit a numeric score for retrieval and ranking, so it falls back to the neutral prior fdefault=0.5f_default=0.5 when the usage count is too low to trust the empirical rate. A second boundary case arises because Ī“low=Ī“retire=0.4 _low= _retire=0.4: a skill with fif_i exactly equal to this value satisfies both the retirement condition (strict inequality fi<Ī“retiref_i< _retire is false, so retirement does not fire) and the mutation range (closed interval [Ī“low,Ī“high][ _low, _high] includes the endpoint), so such a skill is eligible for mutation but not retirement and behaves identically to skills with fif_i slightly above 0.40.4. Table 6: Forging hyperparameters for SkillForge. Slash-separated values apply to ALFWorld, WebShop, and Search-Augmented QA respectively; SmaxS_max and M scale with the initial library size of each environment. Hyperparameter Symbol Value Proto-fitness min usage NminN_min 3 Pre-retirement threshold Ī“pre _pre 0.3 Preliminary eval episodes M 500 / 450 / 400 Fitness warm-up threshold NwarmN_warm 5 Default fitness (new skills) fdefaultf_default 0.5 Promotion min usage NpromoteN_promote 10 Retirement fitness threshold Ī“retire _retire 0.4 Retirement min usage NretireN_retire 20 Stabilization fitness threshold Ī“stable _stable 0.7 Stabilization min usage NstableN_stable 30 Demotion fitness threshold Ī“demote _demote 0.5 Mutation fitness range [Ī“low,Ī“high][ _low, _high] [0.4,0.7][0.4,0.7] Mutation min usage NmutateN_mutate 5 Max mutations per cycle KmutateK_mutate 5 Max retirements per cycle KretireK_retire 3 Total skill cap SmaxS_max 100 / 95 / 85 Original skill protection NprotectN_protect 50 Forging frequency E 2 (every 10 training steps) Teacher model ā³TM_T Kimi-K2.5 [Team et al., 2026] Skill retrieval top-K 6 (task-type matching) Lifecycle well-definedness. The four branches of Eq. (9) have pairwise disjoint guards: they require āā”(si)ātrial,active,stable,active (s_i)ā\ trial, active, stable, active\ respectively, and the two active branches trigger on disjoint fitness ranges, one requiring fiā„Ī“stablef_iā„ _stable and the other fi<Ī“retiref_i< _retire, 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. Mutation weighting. We use the simplest monotone-decreasing weighting, Pā”(si)ā1āfiP(s_i) 1-f_i, rather than sharper alternatives such as 1/fi1/f_i or expā”(āĪ»āfi) (-Ī» f_i). Because mutation candidates already satisfy Ī“lowā¤fiā¤Ī“high _low⤠f_i⤠_high (default [0.4,0.7][0.4,0.7]), the weights 1āfi1-f_i lie in [0.3,0.6][0.3,0.6], giving at most a 2Ć2Ć 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 Ī“retire _retire and the library cap SmaxS_max, around their default values on ALFWorld. The overall success rate varies within ±1.4%± 1.4\% across the swept range, showing robustness to threshold choices. We observe a mild concavity: overly aggressive retirement (Ī“retire=0.5 _retire=0.5) removes borderline-but-useful skills before they stabilize, while overly permissive retirement (Ī“retire=0.3 _retire=0.3) retains low-fitness skills that dilute the retrieved context. The default Ī“retire=0.4 _retire=0.4 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 Ī“retire _retire (default 0.4) Ī“retire _retire 0.3 0.4 0.5 0.6 Success (%) 91.3 92.4 91.8 91.0 Library cap SmaxS_max (default 100) SmaxS_max 70 85 100 130 Success (%) 91.0 91.9 92.4 91.6 Compute resources. All RL runs use 64Ć NVIDIA H200 GPUs under the verl framework. Estimated wall-clock per 200-step training run is ā24ā24 hours for ALFWorld, ā18ā18 hours for WebShop, and ā72ā72 hours for Search-Augmented QA (retrieval-dominated), for a total of ā114ā114 wall-clock hours Ć 64 GPUs =7,296=7,296 GPU-hours across the three environments per full training run. The pre-retirement evaluation phase (Section 4.1) adds ā6ā6 hours per environment on the same hardware. Evaluation is run five times per reported number (sampling seeds 30,40,42,50,62\30,40,42,50,62\) and adds ā1.5ā1.5ā4.54.5 hours per environment per seed. Teacher model overhead is negligible relative to RL: a forging cycle runs every E=2E=2 validation epochs (every 10 training steps) and issues up to Kmutate=5K_mutate=5 mutation calls per cycle, for at most ā200/10āĆ5=100 200/10 Ć 5=100 mutation calls per training run, all dispatched asynchronously during validation so they do not block GPU training. The teacher ā³TM_T 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 μP_μ 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 μP_μ, which is sent to the teacher model ā³TM_T: Mutation Template μP_μ You are improving a skill for an embodied AI agent in environment. The following skill has moderate performance (fitness=fif_i, used UiU_i times, succeeded CiC_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. Appendix 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; (i) 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; (i) 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. Table 8: SkillFurnace evolved-library composition per environment. Initial |0||S_0| 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 |0||S_0| 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 (giā„1g_iā„ 1) 57 29 44 130 SFT trajectories. The preliminary evaluation phase executes M rollout episodes with the Qwen2.5-7B-Instruct base model ĻĪø0 _ _0 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-related hyperparameters. We retain every successful trajectory whose retrieved-skill set is disjoint from the pre-retired set retire(0)S_retire^(0), yielding the SFT corpus SFTD_SFT 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 b, applicability condition Ļ, cumulative usage count UiU_i, cumulative success count CiC_i, current fitness fif_i, lifecycle state āā”(si)ātrial,active,stable,retired (s_i)ā\ trial, active, stable, retired\, generation depth gig_i, and parent id for mutated skills. The initial library 0S_0 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 SmaxS_max, 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 (giā„1g_iā„ 1), 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 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 C-BY-4.0. Appendix 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 2(a). 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. 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. Method NQā TriviaQAā PopQAā HotpotQAā 2Wikiā MuSiQueā Bamboogleā Overall Test samples 3,610 11,313 14,267 7,405 12,576 2,417 125 51,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 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+3.4 over the strongest baseline) and HotpotQA (+0.7+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. Appendix 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 Īŗ=0.5Īŗ=0.5 inter-annotator agreement, and remaining disagreements were resolved by discussion. The dominant failure mode is overly rigid ordering at 74.5%, where the skill imposes a fixed procedural sequence that fails for edge cases; the second most common is overly specific at 9.4%, where skills work for narrow task subsets but fail broadly. Only 10 of the 318 retirement events (3.1%) are labeled redundant with policy; the remaining 96.9% 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. Appendix 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 (k)S^(k) enters the policy through the context ptp_t 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 DKL(ĻĪøā„Ļref)D_KL( _Īø\| _ref) is always evaluated at the same context cn,lc_n,l seen by both ĻĪø _Īø and Ļref _ref, so the divergence is well-defined at every training step, regardless of how far (k)S^(k) has drifted from (0)S^(0). Two structural properties align the fixed anchor Ļref _ref with the library-conditioned inputs it encounters during RL. First, mutated skills are teacher-model rewrites of surviving parents that preserve the (v,b,Ļ)(v,b,Ļ) schema of Section 3.2, so new prompts differ from SFT-time prompts mainly in skill content rather than in structural form, on which Ļref _ref remains a calibrated next-token predictor. Second, we use β=10ā3β=10^-3 (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 Ļref _ref 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. Appendix 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%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 ā³TM_T: 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. Appendix 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 (NretireN_retire, NstableN_stable) 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 KmutateK_mutate 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 |0| _0 , 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 Ī“pre=0.3 _pre=0.3 with Nmin=3N_min=3 discards only initial skills that demonstrably hurt the base-model policy, and on the three environments this is a small fraction of 0S_0 (typically 0ā3 skills); the remaining skills then accumulate enough usage during RL to stay above Ī“retire _retire, 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 ĻĪøsft _ _sft 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 KmutateK_mutate 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.01.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 30,40,42,50,62\30,40,42,50,62\. The mean ± standard deviation of the overall success rate is 92.4±0.5%92.4± 0.5\% on ALFWorld, 78.4±0.4%78.4± 0.4\% on WebShop, and 48.7±0.3%48.7± 0.3\% 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 H0:μSkillForge=μSkillRLH_0\!: _ SkillForge\!=\! _SkillRL with our five-seed evaluation sample (n=5n\!=\!5, df=4df\!=\!4). On ALFWorld (t=11.18t\!=\!11.18, p=Ć10ā4p\!=\!1.8\!Ć\!10^-4), WebShop (t=31.86t\!=\!31.86, p=Ć10ā6p\!=\!2.9\!Ć\!10^-6), and Search-Augmented QA (t=14.16t\!=\!14.16, p=Ć10ā5p\!=\!7.2\!Ć\!10^-5), the improvement is significant at p<10ā3p<10^-3 on all three environments. The corresponding two-sided 95%95\% confidence intervals, [91.78,93.02][91.78,93.02], [77.90,78.90][77.90,78.90], and [48.33,49.07][48.33,49.07], do not overlap the SkillRL baseline values of 89.989.9, 72.772.7, and 46.846.8, so the 1.91.9ā5.7%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.5\%, 0.4%0.4\%, and 0.3%0.3\% respectively, a pooled Welchās t-test yields t=7.91t=7.91 (ALFWorld), t=22.51t=22.51 (WebShop), and t=10.03t=10.03 (Search-Augmented QA), with p<10ā4p<10^-4 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.