Paper deep dive
WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolution
Liyan Tang, Cyrus Rashtchian, Chun-Sung Ferng, Andrew Tomkins, Da-Cheng Juan, Tu Vu
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 95%
Last extracted: 8/29/2026, 3:10:01 AM
Summary
The paper introduces WikiSkill, a framework that co-evolves AI agent skills with a persistent knowledge base (wiki) to systematically compile agent experience. It separates raw execution traces, accumulated structured knowledge, and executable skills. WikiSkill outperforms state-of-the-art skill-evolution methods (EvoSkill, SkillOpt, Trace2Skill) and no-skill baselines across five benchmarks. Key findings include that skill evolution complements model scaling, transferred skills can outperform self-evolved ones, and persistent knowledge accumulation is critical for performance gains.
Entities (11)
Relation Signals (10)
WikiSkill ā complements ā Model Scaling
confidence 95% Ā· skill evolution complements model scaling: larger models generally benefit more from evolved skills
WikiSkill ā evaluatedon ā LiveMathematicianBench
confidence 95% Ā· We evaluate WikiSkill across five benchmarks... mathematical reasoning (LiveMathematicianBench...)
WikiSkill ā evaluatedon ā ALFWorld
confidence 95% Ā· We evaluate WikiSkill across five benchmarks... interactive embodied tasks (ALFWorld...)
Qwen 3.5 9B ā outperforms ā Qwen-3.6-27B
confidence 95% Ā· Qwen-3.5-9B with WikiSkill outperforms Qwen-3.6-27B without skills (47.4% vs. 39.4%)
WikiSkill ā outperforms ā EvoSkill
confidence 95% Ā· WikiSkill consistently outperforms state-of-the-art skill-evolution methods
WikiSkill ā outperforms ā SkillOpt
confidence 95% Ā· WikiSkill consistently outperforms state-of-the-art skill-evolution methods
WikiSkill ā outperforms ā Trace2Skill
confidence 95% Ā· WikiSkill consistently outperforms state-of-the-art skill-evolution methods
WikiSkill ā uses ā Wiki Maintainer
confidence 95% Ā· Wiki Maintainer that consolidates traces into the wiki
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Agent skills package specialized knowledge and workflows into reusable resources that extend AI agent capabilities. Recent work automatically discovers such skills from agent experience, which enables agents to progressively adapt through interaction. However, the insights that guide skill development typically remain scattered across optimization histories, limiting their systematic reuse across iterations. We introduce WikiSkill, a framework that co-evolves agent skills with a persistent knowledge base (wiki). At a high level, WikiSkill separates raw execution experience, accumulated knowledge, and executable skills, while continuously consolidating experience into the wiki, which subsequent skill updates can build on. Across diverse benchmarks and models, WikiSkill consistently outperforms state-of-the-art skill-evolution methods and improves over no-skill baselines in most model-benchmark settings. We find that skill evolution complements model scaling: larger models generally benefit more from evolved skills, while smaller models with skills can outperform substantially larger models without them. We also find that evolved skills transfer effectively across models and model families, and skills evolved by other models can outperform self-evolved skills. Finally, our ablation studies confirm that persistent knowledge accumulation in the wiki is critical for effective skill evolution. These results demonstrate the benefits of systematically accumulating and refining agent experience for developing reusable and transferable skills.
Tags
Links
- Source: https://arxiv.org/abs/2608.27454v1
- Canonical: https://arxiv.org/abs/2608.27454v1
Trouble viewing inline? Open PDF directly ā
Full Text
88,076 characters extracted from source content.
Expand or collapse full text
WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolution Liyan Tang Affiliation: Google Research Cyrus Rashtchian Affiliation: Google Research Chun-Sung Ferng Affiliation: Google Research Andrew Tomkins Affiliation: Google Research Da-Cheng Juan Affiliation: Google Research Tu Vu Corresponding author: lytang@google.com, ttvu@google.com Affiliation: Google Research Affiliation: Virginia Tech Abstract Agent skills package specialized knowledge and workflows into reusable resources that extend AI agent capabilities. Recent work automatically discovers such skills from agent experience, which enables agents to progressively adapt through interaction. However, the insights that guide skill development typically remain scattered across optimization histories, limiting their systematic reuse across iterations. We introduce WikiSkill, a framework that co-evolves agent skills with a persistent knowledge base (wiki). At a high level, WikiSkill separates raw execution experience, accumulated knowledge, and executable skills, while continuously consolidating experience into the wiki, which subsequent skill updates can build on. Across diverse benchmarks and models, WikiSkill consistently outperforms state-of-the-art skill-evolution methods and improves over no-skill baselines in most model-benchmark settings. We find that skill evolution complements model scaling: larger models generally benefit more from evolved skills, while smaller models with skills can outperform substantially larger models without them. We also find that evolved skills transfer effectively across models and model families, and skills evolved by other models can outperform self-evolved skills. Finally, our ablation studies confirm that persistent knowledge accumulation in the wiki is critical for effective skill evolution. These results demonstrate the benefits of systematically accumulating and refining agent experience for developing reusable and transferable skills. Figure 1: WikiSkill consistently improves over both the no-skill baseline and existing skill-evolution methods. Interestingly, its advantage becomes more pronounced for stronger models. We report average accuracy across the evaluated benchmarks for each model using no skills or skills evolved by EvoSkill, SkillOpt, and WikiSkill (see Table 1 for details). 1 Introduction General-purpose AI agents are increasingly capable of performing complex tasks across domains (Patwardhan et al., 2026; Jackson et al., 2025; Merrill et al., 2026; Phan et al., 2026). However, reliably accomplishing real-world tasks often requires domain-specific expertise (e.g., procedural knowledge and workflows). Agent skills (Zhang et al., 2025; Li et al., 2026; Chen et al., 2026a; Liu et al., 2026) provide a lightweight, open format for capturing such expertise without updating model parameters. At its core, a skill packages instructions, scripts, and other resources into a reusable filesystem-based module (i.e., an organized directory) (Zhang et al., 2025; Li et al., 2026; Anthropic, 2026; Xia et al., 2026b). This design makes specialized knowledge consistent, auditable, and reusable across skill-compatible agents. It also supports progressive disclosure (Jiang et al., 2026), where agents only load relevant content at any given time, which saves context space. More broadly, skills provide a natural mechanism for accumulating knowledge independently of model parameters. Developing effective skills, however, remains challenging. Most agent skills are manually authored, which requires anticipating the procedural knowledge and workflows that an agent will need (Li et al., 2026; Liang et al., 2026; Xu and Yan, 2026). This challenge motivates recent work that iteratively develops agent skills by executing agents on training tasks, analyzing successful and failed trajectories, and refining skills based on the resulting experience (Yuksekgonul et al., 2025; Agrawal et al., 2026; Alzubi et al., 2026; Ni et al., 2026; Ouyang et al., 2026; Yang et al., 2026). A key design question is how to preserve and organize what an agent learns throughout skill evolution. Prior work addresses this question in different ways. EvoSkill (Alzubi et al., 2026) maintains a cumulative history of prior proposals and their evaluation outcomes; Trace2Skill (Ni et al., 2026) extracts and consolidates lessons across execution trajectories into skill updates; and SkillOpt (Yang et al., 2026) uses rejected-edit feedback and epoch-wise meta guidance. However, these methods do not maintain what has been learned as a separate, evolving knowledge representation. Inspired by Karpathy (2026)ās perspective on LLM Wiki, which advocates compiling experience into persistent, compounding knowledge, we ask: Can agent experience be similarly compiled into persistent knowledge to support long-term skill evolution? We introduce WikiSkill, which adds a structured knowledge layer between raw experience and executable procedures (i.e., skills). This layer allows skill development to build on increasingly well-supported and integrated knowledge across iterations, rather than on knowledge scattered across skill-evolution artifacts. WikiSkill organizes the agent workspace into three layers: a Raw Layer that stores immutable execution traces, a Wiki Layer that maintains structured knowledge, and a Skill Layer that contains evolving procedural knowledge (Figure 2). Each iteration involves four components: an Inference Agent that executes rollouts using the current skills, a Wiki Maintainer that consolidates traces into the wiki, a Skill Proposer that uses the wiki and traces to propose skill updates, and a Gating and Rollback mechanism that retains updates that improve validation performance. While skill updates can be rolled back, the wiki persists so that future updates can build on accumulated knowledge. At a high level, these components form a continual loop in which experience is consolidated into persistent knowledge that supports skill evolution. We evaluate WikiSkill across five benchmarks spanning mathematical reasoning (LiveMathematicanBench (He et al., 2026)), web search (SealQA (Pham et al., 2026)), spreadsheet manipulation (SpreadSheetBench (Ma et al., 2024)), long-context document question answering (OfficeQA (Singhvi et al., 2025)), and interactive embodied tasks (ALFWorld (Shridhar et al., 2021)), using five models from the Qwen (Qwen Team, 2026a; Qwen Team, 2026b), Gemma (Gemma Team, 2026), and Gemini (Google DeepMind, 2026) families. We find that WikiSkill outperforms existing skill-evolution methods and improves over no skills in most settings. Interestingly, skill evolution complements model scaling. Within the Qwen family, WikiSkill improves average performance by 12.3%, 17.5%, and 23.9% for 4B, 9B, and 27B models, respectively, with gains increasing with model scale. At the same time, evolved skills can compensate for substantial model scale: Qwen-3.5-9B with WikiSkill outperforms Qwen-3.6-27B without skills (47.4% vs. 39.4%). We further find that evolved skills transfer effectively across model families and can outperform self-evolved skills. On ALFWorld, for example, Qwen-3.5-9B reaches 70.2% with a Qwen-3.6-27B-evolved skill, compared with 63.4% using its own skill. These results suggest that skill discovery and skill execution are distinct capabilities. Finally, our analysis shows that the persistent wiki is critical to these gains, supporting our hypothesis that accumulating and refining knowledge across iterations improves skill evolution. In summary, our main contributions are: ⢠We introduce WikiSkill, a framework that co-evolves agent skills with a persistent knowledge base that continually organizes and refines knowledge from agent experience. ⢠We demonstrate across five benchmarks and five models that WikiSkill consistently outperforms existing skill-evolution methods, with ablations confirming the importance of persistent knowledge accumulation. ⢠We systematically study how evolved skills interact with model capability, showing that skill evolution complements model scaling and that evolved skills can transfer effectively across models, sometimes outperforming self-evolved skills. Taken together, we hope that our work will spur more fundamental research on how agents can accumulate, organize, and reuse knowledge from experience. 2 Problem Setup We formalize the task of iterative skill evolution for LLM agents. Let =(xi,yi)i=1ND=\(x_i,y_i)\_i=1^N be a dataset of tasks, where xix_i denotes a task instance and yiy_i denotes its ground-truth answer. We partition D into three disjoint splits: training tasks trainD_train, validation tasks valD_val, and testing tasks testD_test. An agent Ļ is an LLM-based system equipped with a set of tools U (e.g., a bash shell, search APIs, or file readers) and an active skill set S=s1,s2,ā¦,sMS=\s_1,s_2,ā¦,s_M\. A skill is a modular, filesystem-based directory that packages domain-specific procedural knowledge into instructions, scripts, and other resources (Zhang et al., 2025; Li et al., 2026; Chen et al., 2026a; Liu et al., 2026). Specifically, each skill contains a SKILL.md file with frontmatter metadata (a unique name and concise description) alongside full procedural instructions and applicability conditions. The skill set S is initialized to empty (ā ) and developed for each dataset through the evolution process. When executing a task xix_i, the agent receives the task context xix_i and access to the available skills S. The agent interacts with the environment over multiple steps using its tools and skills to generate an execution trajectory Ļiā¼Ļā”(xi,S) _i Ļ(x_i;S). The trajectory Ļi=(o1,a1,o2,a2,ā¦,oT,aT) _i=(o_1,a_1,o_2,a_2,ā¦,o_T,a_T) consists of observations oto_t and actions ata_t (which may include calls to tools in U). The final action aTa_T emits a predicted answer y^i y_i. The correctness of the prediction is evaluated by a domain-specific scoring function fā”(y^i,yi)ā[0,1]f( y_i,y_i)ā[0,1]. For any task split splitāD_split , rolling out the agent Ļā”(ā ,S)Ļ(Ā·;S) across all task instances in splitD_split yields a corresponding set of execution trajectories split=Ļiā¼Ļ(xi;S)(xi,yi)āsplitT_split=\ _i Ļ(x_i;S)\_(x_i,y_i) _split. The performance on a task split āā”(split)R(T_split) is the average score across all task instances (xi,yi)āsplit(x_i,y_i) _split. In WikiSkill, the system state at iteration k is represented by the tuple (Sk,Wk)(S_k,W_k), where Sk=s1,ā¦,sMS_k=\s_1,ā¦,s_M\ denotes the active procedural skill set and WkW_k denotes the persistent knowledge base (Wiki). While candidate skill updates are subject to validation gating and rollback upon score degradation, the knowledge base WkW_k persists and compounds across iterations. Starting from (S0,W0)=(ā ,ā )(S_0,W_0)=( , ), WikiSkill co-evolves the joint state (Sk,Wk)(S_k,W_k) across iterations kā1,ā¦,Kkā\1,ā¦,K\, leveraging training rollouts train,kT_train,k, pattern consolidation, and validation gating based on val,kT_val,k to maximize final test performance āā”(test)R(T_test) on unseen tasks testD_test. 3 Methodology Figure 2: Overview of the WikiSkill framework. The agent workspace is structured into three layers: immutable execution traces (Raw Layer), a persistent knowledge base that compounds across iterations (Wiki Layer), and active procedural instructions (Skills Layer). In each evolutionary loop, the Inference Agent runs rollouts (injecting active skills but restricting Wiki access), the Wiki Maintainer consolidates traces into the Wiki, and the Skill Proposer (with the ReAct mechanism) suggests updates while the Wiki is retained across all iterations. We present WikiSkill, a framework that co-evolves agent skills and a persistent knowledge base (wiki). Built around a three-layer knowledge architecture (§3.1), WikiSkill executes an orchestrated evolutionary loop in which the agent runs rollouts, a Wiki Maintainer consolidates traces and updates the wiki, a Skill Proposer proposes skill updates, and a gating mechanism filters changes (§3.2). 3.1 Three-Layer Knowledge Architecture The WikiSkill workspace consists of three distinct layers, as shown in Figure 2 and described below. Raw Layer (raw/) This layer stores the raw execution traces Ļiātrain,k _i _train,k collected from training examples in each iteration. These traces capture the agentās complete step-by-step interactions, including reasoning, tool calls, tool-call outputs, and final answers. In our setup, the Wiki Maintainer and Skill Proposer agents can access these raw traces to analyze agent behavior. To preserve the raw history, this layer is immutable. Wiki Layer (wiki/) This layer compiles raw traces into structured, compounding knowledge and is maintained throughout skill evolution. It contains a pattern directory (patterns/) populated with individual markdown files that document specific failure modes or successful strategies, along with actionable workarounds. Crucially, this layer provides long-term historical awareness across optimization iterations through an evolution log (logs.md, updated by the Wiki Maintainer) and a skill impact tracker (skill-impact.md, updated programmatically by the outer-loop harness after validation gating). These records allow the Wiki Maintainer and Skill Proposer to (1) observe the complete skill acceptance history so that rejected interventions are not proposed again, (2) track what was proposed in prior iterations and whether those proposals succeeded, and (3) identify which errors recur across iterations. The wiki is not reset between iterations, but rather accumulates and compiles knowledge continuously throughout the evolution process. Skills Layer (skills/) This layer contains the active set of evolved skills S, which encode the procedural knowledge that the Inference Agent can read. Each skill directory in WikiSkill contains two files: SKILL.md, which contains the full content of the skill; and PURPOSE.md, which maps the skill back to the motivating Wiki patterns that inspired its creation or modification. A detailed example of interactions between the Skill Layer and the Wiki Layer is illustrated in Figure 3 and explained in the case study in Section 5.3. 3.2 Evolutionary Agents and Wiki Orchestration The WikiSkill loop consists of four components. In each iteration, the Inference Agent (§3.2.1) executes tasks using the active skills in skills/, producing immutable execution traces in raw/. During the training rollouts, the Inference Agent is restricted from accessing the Wiki Layer, as our ablation study (§5.1) shows that allowing wiki access during training negatively affects skill development. Next, the Wiki Maintainer (§3.2.2) analyzes these raw traces alongside the existing wiki/ layer to diagnose failures and extract successful strategies, updating the persistent pattern catalog and evolution logs. The Skill Proposer (§3.2.3) then reviews the updated wiki and reads execution traces from the latest iteration to generate or modify candidate skills in skills/. Finally, a Gating and Rollback mechanism (§3.2.4) evaluates the candidate skills on a validation split, accepting successful modifications or rolling back the skill set if the changes degrade performance. The entire evolution algorithm is described in Algorithm 1 in Appendix A. 3.2.1 Skill Provisioning for the Inference Agent At iteration k, the Inference Agent Ļ is conditioned on the active skill set Skā1S_k-1 and executes a multi-turn trajectory using environment tools U: Ļiā¼Ļā”(xi,Skā1) _i Ļ(x_i;S_k-1) (1) In WikiSkill, the full content of active skills Skā1S_k-1 is injected directly into the Inference Agentās system prompt. Following prior work (Yang et al., 2026; Ni et al., 2026), this full-injection setting ensures that procedural instructions are immediately available during task execution, thereby eliminating skill triggering or retrieval failures as confounding variables in our study. 3.2.2 Wiki Maintainer: Pattern Consolidation At iteration k, after obtaining rollout traces train,kT_train,k on the training split trainD_train, we sample a subset of successful and failing execution traces sample,kātrain,kT_sample,k _train,k (see Appendix C for sampling budget and stratification criteria) to avoid context window limitations. The Wiki Maintainer agent ā³WMM_WM consolidates these observations into the persistent wiki Wkā1W_k-1, producing the intermediate wiki state Wkā²W _k: Wkā²āā³WMā(Wkā1,sample,k)W _k _WM(W_k-1,T_sample,k) (2) The Wiki Maintainer agent receives the full wiki context Wkā1W_k-1 alongside sampled traces sample,kT_sample,k. It performs root cause analysis on the failing tasks, and extracts successful strategies from the passing tasks. In each iteration, the Wiki Maintainer can create new pattern pages under wiki/patterns/ and update existing pattern pages with new evidence or refined solutions. Updates to pattern pages are applied using incremental, patch-based editing (e.g., appending, replacing, or inserting text spans). Whenever patterns are modified, the Wiki Maintainer revises the index.md catalog to reflect the current state and appends a summary of the iterationās findings to the evolution log logs.md. There is no hard limit on the number of patterns created or updated per iteration; the Wiki Maintainer decides what updates are warranted based on the traces and the current wiki state. 3.2.3 Wiki-Informed Skill Proposer The Proposer ā³PM_P is an LLM-based agent responsible for skill discovery and refinement. At iteration k, the proposer operates in a multi-turn ReAct style (Yao et al., 2023). To avoid context window exhaustion when analyzing long execution histories, the proposer is not given a fixed set of pre-sampled traces; instead, it is initially provided with the wiki index Iā”(Wkā²)I(W _k), the historical skill impact tracker (skill-impact.md), and a concise summary of all training task outcomes (pass/fail status, predictions and ground-truth answers). Operating as an autonomous agent, it actively reasons and uses environment tools (read_file) to select and inspect specific pattern pages and raw execution traces Ļiātrain,k _i _train,k on demand to diagnose root causes before synthesizing a proposal PkP_k: Pkāā³Pā(Wkā²,Skā1,train,k)P_k _P(W _k,S_k-1,T_train,k) (3) In each iteration, the Skill Proposer produces an atomic proposal PkP_k that targets a single skill, either creating a new skill or applying an incremental, patch-based edit to the targeted existing skill. 3.2.4 Gating and Rollback Once a proposal PkP_k is generated, it is applied to the workspace to yield a candidate skill set Skā²=Applyā(Skā1,Pk)S _k=Apply(S_k-1,P_k). The system evaluates Skā²S _k on the validation split valD_val, obtaining validation traces val,kT_val,k and score āā”(val,k)R(T_val,k). The acceptance decision is governed by: SkāSkā²if āāā(val,k)>ābestSkā1otherwiseS_kā casesS _k&if R(T_val,k)>R_best\\ S_k-1&otherwise cases (4) If accepted, the candidate skills are preserved as the new active skill set SkS_k, and the benchmark performance threshold ābestR_best is updated to āā”(val,k)R(T_val,k). Prior to the evolution loop, ābestR_best is initialized to the baseline validation score āā”(val,0)R(T_val,0) obtained by evaluating the empty skill set S0S_0 on valD_val. If the validation score reaches the maximum (ābest=1.0R_best=1.0) at any point during evolution, the evolution loop terminates early. If rejected, the system discards the candidate skill modifications and reverts the skill set to the most recent successful configuration Skā1S_k-1. Notably, the wiki WkW_k is never rolled back regardless of the acceptance decision; accumulated patterns and logs persist across all iterations to ensure long-term knowledge retention. Following each validation evaluation, the outer-loop orchestration harness programmatically appends an entry to wiki/skill-impact.md via WkāUpdateā(Wkā²,Pk,āā”(val,k),ak)W_k (W _k,P_k,R(T_val,k),a_k), recording the proposal metadata, target skill name, unified diff of the modification, validation score āā”(val,k)R(T_val,k), and final acceptance outcome akāAccepted,Rejecteda_kā\Accepted,Rejected\. This completes the wiki state transition Wkā1āWkW_k-1ā W_k for iteration k, providing an objective, ground-truth audit trail of past interventions that the Skill Proposer can consult in subsequent iterations to avoid repeating failed modifications. 4 Experiments and Results 4.1 Experimental Setup Datasets We evaluate across five benchmarks spanning diverse domains: mathematical reasoning (LiveMathematicianBench (LiveMath) (He et al., 2026)), web search (SealQA (Pham et al., 2026)), spreadsheet manipulation (SpreadsheetBench (SpreadSheet) (Ma et al., 2024)), long-context document question answering OfficeQA (Singhvi et al., 2025)), and interactive embodied tasks (ALFWorld (Shridhar et al., 2021)). Dataset details and statistics are provided in Appendix B. Baselines We compare WikiSkill against three representative skill-evolution baselines, including Trace2Skill (Ni et al., 2026), EvoSkill (Alzubi et al., 2026), and SkillOpt (Yang et al., 2026), all of which share the same general loop of rolling out an agent, analyzing execution traces, proposing skill modifications, and gating changes via validation. We also evaluate each model without skills as a no-skill baseline. A detailed description and an analysis of the complexity of optimizer API calls across these frameworks are provided in Appendix D. We focus our comparison on dedicated skill-evolution frameworks rather than general automatic prompt optimizers (e.g., GEPA (Agrawal et al., 2026)), following prior work that shows specialized skill-evolution pipelines consistently outperform general prompt optimization methods (Yang et al., 2026). Models We experiment with both closed and open-weight models to evaluate WikiSkill and the baselines. For closed models, we use Gemini-3.5-Flash (Google DeepMind, 2026). For open-weight models, we evaluate Qwen-3.5-4B/9B-Instruct (Qwen Team, 2026a), Qwen-3.6-27B (Qwen Team, 2026b), and Gemma-4-31B-It (Gemma Team, 2026), which we deploy using the vLLM framework (Kwon et al., 2023). 4.2 Main Results Model Method LiveMath SealQA SpreadSheet OfficeQA ALFWorld Avg. Qwen-3.5-4B No skill 29.1 32.5 14.6 30.2 24.4 26.2 Trace2Skill 31.5 37.6 17.5 31.0 42.8 32.1 EvoSkill 41.7 37.3 18.6 29.5 41.5 33.7 SkillOpt 48.7 33.3 14.0 34.5 45.3 35.2 WikiSkill 49.7 39.4 21.1 28.5 53.7 38.5 Qwen-3.5-9B No skill 28.2 26.3 24.3 35.9 34.7 29.9 Trace2Skill 33.1 36.9 26.5 38.4 48.8 36.7 EvoSkill 58.1 34.5 35.4 34.9 48.5 42.3 SkillOpt 48.7 29.4 29.0 38.0 55.7 40.2 WikiSkill 56.3 43.1 33.6 40.5 63.4 47.4 Qwen-3.6-27B No skill 33.9 27.5 40.8 42.1 52.8 39.4 Trace2Skill 36.3 37.3 53.3 54.3 55.5 47.3 EvoSkill 57.3 32.9 59.5 52.5 64.2 53.3 SkillOpt 51.9 34.5 53.2 54.8 59.2 50.7 WikiSkill 61.9 41.6 81.7 53.7 77.6 63.3 Gemma-4-31B No skill 33.9 30.6 48.3 43.3 50.4 41.3 Trace2Skill 32.3 37.7 58.5 43.2 57.2 45.8 EvoSkill 29.8 38.4 56.4 39.9 52.6 43.4 SkillOpt 40.1 36.1 63.1 44.4 61.9 49.1 WikiSkill 56.7 41.2 68.0 44.2 64.4 54.9 Gemini-3.5-Flash No skill 33.0 29.4 50.5 48.6 85.9 49.5 Trace2Skill 41.9 44.3 56.0 50.0 85.9 55.6 EvoSkill 44.6 43.6 55.4 51.2 85.9 56.1 SkillOpt 49.7 28.2 66.1 49.8 85.9 55.9 WikiSkill 72.6 44.7 76.6 60.7 85.9 68.1 Table 1: Method comparison across inference models and test sets. Each horizontal block evaluates a specific inference model without skills (No skill) and with skills developed by different skill-evolution methods. To ensure a fair comparison, all skill-evolution methods start with an empty skill set, and evolved skills are injected into the Inference Agentās prompt at inference time. All reported scores are the average test performance across three independent runs of the full evolution process. Our method (WikiSkill) is highlighted. Bold indicates the best performance for each dataset; multiple bold results indicate methods that are not significantly different from the best under a paired bootstrap test with 1,000 iterations (p<0.05p<0.05). We evaluate WikiSkill across models and tasks and study whether evolved skills transfer across models. Table 1 presents the main skill-evolution results across models and tasks, including how the benefits of skill evolution vary with model scale, while Table 2 presents the cross-model skill transfer results. We analyze these results in detail below. To account for variability, we repeat the full evolution process across three independent runs for each method, and all reported scores represent the average test performance across the three resulting evolved skill sets. Statistical significance of performance differences is evaluated using paired bootstrap testing at p<0.05p<0.05 (Appendix C). Note that for Gemini-3.5-Flash on ALFWorld, all evolution methods yield the same performance (85.9%) as the no-skill baseline because Gemini-3.5-Flash achieves a 100% score on the validation split (valD_val) before skill evolution. This also explains why Gemini-3.5-Flash is marked with āā-ā as a skill source on ALFWorld in the cross-model transfer evaluation (Table 2). 4.2.1 Skill Evolution Across Models and Tasks WikiSkill yields consistent improvements across models and datasets As shown in Table 1, WikiSkill achieves the highest average performance across all five models. Compared with the strongest competing skill-evolution method for each model, WikiSkill improves average performance by 3.3, 5.1, 10.0, 5.8, and 12.0 points for Qwen-3.5-4B, Qwen-3.5-9B, Qwen-3.6-27B, Gemma-4-31B, and Gemini-3.5-Flash, respectively. These improvements are consistent across settings: WikiSkill improves over the no-skill baseline in most model-dataset pairs and matches or exceeds the strongest competing method across all models in the average performance across 5 datasets. The improvements also span diverse domains and can be substantial. For example, WikiSkill improves Gemini-3.5-Flash from 33.0% to 72.6% on LiveMath and from 50.5% to 76.6% on SpreadSheet, while improving Qwen-3.6-27B from 52.8% to 77.6% on ALFWorld. In contrast, existing skill-evolution methods are less consistent. For example, EvoSkill improves Qwen-9B substantially on LiveMath (28.2% ā 58.1%) but degrades Gemma-4-31B on the same benchmark (33.9 % ā 29.8%), while SkillOpt degrades Gemini-3.5-Flash on SealQA (29.4 % ā 28.2%). These results show that WikiSkill produces both stronger and more reliable improvements across settings. The benefits of skill evolution increase with model capability and complement model scaling Within the Qwen family, the average improvement from WikiSkill increases with model scale, from +12.3 points for Qwen-3.5-4B to +17.5 points for Qwen-3.5-9B and +23.9 points for Qwen-3.6-27B. This trend is particularly pronounced on SpreadSheet, where WikiSkill improves the three models by +6.5, +9.3, and +40.9 points, respectively, showing that the benefits of skill evolution can increase substantially with model scale. At the same time, evolved skills can compensate for substantial differences in model scale: Qwen-3.5-9B with WikiSkill reaches 47.4% average accuracy, outperforming Qwen-3.6-27B without skills at 39.4%, while Qwen-3.5-4B with WikiSkill reaches 38.5%. Our results suggest that model capability and evolved procedural knowledge provide complementary sources of performance: stronger models can derive greater value from skill evolution by developing and executing more effective skills, while effective skills can allow smaller models to outperform substantially larger models that do not use skills. The benefits of skill evolution also vary substantially across datasets Our results suggest that some datasets are more amenable to skill evolution than others. For Qwen-3.6-27B, WikiSkill improves performance by 11.6 points on OfficeQA and 14.1 points on SealQA, compared with 24.8 points on ALFWorld, 28.0 points on LiveMath, and 40.9 points on SpreadSheet. Similar differences appear across other models. LiveMath consistently benefits from skill evolution, with gains ranging from 20.6 to 39.6 points across all five models, while ALFWorld yields gains of 14.0 to 29.3 points across the four models for which WikiSkill evolves skills (excluding Gemini-3.5-Flash due to early stopping). In contrast, OfficeQA presents unique challenges due to its long-context document-retrieval requirements. Larger models effectively leverage evolved search workflows to navigate lengthy documents (e.g., +11.6 points for Qwen-3.6-27B and +12.1 points for Gemini-3.5-Flash), whereas Qwen-3.5-4B struggles to execute these multi-step search workflows across long contexts and reverts to its default reading behavior, resulting in slight degradation. Model Skill Source LiveMath SealQA SpreadSheet OfficeQA ALFWorld Qwen-3.5-4B None 29.1 32.5 14.6 30.2 24.4 Qwen-3.5-4B 49.7 39.4 21.1 28.5 53.7 Qwen-3.6-27B 59.7 38.8 33.0 25.4 57.0 Gemini-3.5-Flash 62.6 37.3 23.0 32.2 - Qwen-3.5-9B None 28.2 26.3 24.3 35.9 34.7 Qwen-3.5-4B 61.0 40.4 25.0 40.3 69.2 Qwen-3.5-9B 56.3 43.1 33.6 40.5 63.4 Qwen-3.6-27B 59.1 40.4 50.5 39.9 70.2 Gemini-3.5-Flash 53.0 39.6 48.8 40.5 - Qwen-3.6-27B None 33.9 27.5 40.8 42.1 52.8 Qwen-3.5-4B 62.6 41.6 40.6 52.9 72.1 Qwen-3.6-27B 61.9 41.6 81.7 53.7 77.6 Gemini-3.5-Flash 65.1 51.0 76.0 52.5 - Gemma-4-31B None 33.9 30.6 48.3 43.3 50.4 Qwen-3.5-4B 73.1 38.8 37.1 42.1 66.9 Qwen-3.6-27B 73.7 37.7 72.0 44.2 66.9 Gemma-4-31B 56.7 41.2 68.0 44.2 64.4 Gemini-3.5-Flash 61.8 37.7 68.8 43.4 - Gemini-3.5-Flash None 33.0 29.4 50.5 48.6 85.9 Qwen-3.5-4B 67.5 40.0 18.1 48.5 87.3 Qwen-3.6-27B 73.9 43.5 63.4 47.7 86.8 Gemini-3.5-Flash 72.6 44.7 76.6 60.7 - Table 2: Cross-model skill transfer results. We evaluate inference models using no skills (None) and skills evolved by WikiSkill with Qwen-3.5-4B, Qwen-3.6-27B, and Gemini-3.5-Flash as source models. Skills are injected into the Inference Agentās system prompt at inference time. Highlighted rows indicate self-evolved skills, where the inference model and skill source are the same. The highest performance per benchmark within each model block is bolded. āā-ā indicates that the source model reached 100% validation performance before skill evolution, so no skill was evolved. 4.2.2 Cross-Model Skill Transfer with WikiSkill Evolved skills transfer effectively across models, and transferred skills can outperform self-evolved skills Table 2 evaluates how skills evolved by WikiSkill transfer across inference models when developed using different source models. Transferred skills frequently outperform both the no-skill baseline and self-evolved skills. For example, Qwen-3.6-27B skills improve Qwen-3.5-9B to 50.5% on SpreadSheet, compared with 24.3% without skills and 33.6% with self-evolved skills, and improve Gemma-4-31B to 73.7% on LiveMath, compared with 33.9% and 56.7%, respectively. Notably, effective transfer also occurs from smaller to larger models: Qwen-3.5-4B skills improve Gemma-4-31B to 73.1% on LiveMath and 66.9% on ALFWorld. Our results indicate that stronger source models do not necessarily produce better skills and that procedural knowledge developed by one modelās experience can transfer across model scales and families. The transferability of evolved skills depends on whether they capture general procedures or model-specific workarounds Our results in Table 2 suggest that WikiSkill can produce both general procedural knowledge that transfers across models and model-specific strategies that can cause negative transfer. LiveMath skills transfer particularly well across models: Qwen-3.5-4B and Qwen-3.6-27B skills improve Gemini-3.5-Flash from 33.0% to 67.5% and 73.9%, respectively. In contrast, SpreadSheet exhibits strong source-target interactions. Qwen-3.5-4B skills reduce Gemini-3.5-Flash performance from 50.5% to 18.1%, while Qwen-3.6-27B skills improve it to 63.4%. Our error analysis identifies two factors behind this negative transfer. First, Qwen-3.5-4B skills encode low-level workarounds, such as single-line Python commands and string-conversion rules, which help the smaller model avoid execution failures but constrain stronger models such as Gemini-3.5-Flash from using comprehensive end-to-end scripts. Second, fragmented diagnostic procedures introduce redundant tool calls that can exhaust Gemini-3.5-Flashās interaction budget before task completion. The utility of transferred skills also depends on the inference modelās ability to execute them We now turn toward how different inference models use skills developed by the same source model. Within the Qwen family, stronger models can derive greater value from the same procedural knowledge. For example, Qwen-3.6-27B SpreadSheet skills improve Qwen-3.5-4B, Qwen-3.5-9B, and Qwen-3.6-27B over their no-skill baselines by 18.4%, 26.2%, and 40.9%, respectively. OfficeQA provides a case where a model develops skills that are more useful to another model than to itself: Qwen-3.5-4B skills decrease its own performance from 30.2% to 28.5%, but improve Qwen-3.6-27B from 42.1% to 52.9%. Our trajectory analysis suggests that in long-context settings, smaller models can become distracted by lengthy document contexts and fail to follow detailed multi-step search instructions, instead reverting to their default document-reading behavior. Stronger models, in contrast, more reliably execute the structured navigation procedures specified by the skill across long contexts. Taken together, these results distinguish two capabilities that self-evolution normally conflates: discovering useful procedural knowledge from experience and effectively executing that knowledge at inference time. 5 Analysis and Discussion 5.1 Role of Persistent Knowledge in Skill Evolution To understand where persistent knowledge contributes to skill evolution, we ablate wiki access for the two components that can use it during evolution (Table 3). Specifically, using Gemini-3.5-Flash, we independently vary wiki access for the Inference Agent during training rollouts and the Skill Proposer during skill development, which results in four configurations. When the Skill Proposer has no wiki access, we also remove the Wiki Maintainer, eliminating persistent knowledge accumulation across iterations. Our default WikiSkill configuration gives wiki access to the Skill Proposer but not the Inference Agent. WikiSkill Components Benchmarks Inference Agent Skill Proposer LiveMath SealQA SpreadSheet OfficeQA Avg. Wiki Access Wiki Access No skill 33.0 29.4 50.5 48.6 40.4 43.8 42.0 44.4 51.0 45.3 51.3 38.4 49.9 55.2 48.7 64.8 42.8 80.2 55.6 60.9 72.6 44.7 76.6 60.7 63.7 Table 3: Ablation study on WikiSkill using Gemini-3.5-Flash. We evaluate performance across benchmarks under four configurations that vary whether the Inference Agent and Skill Proposer have wiki access during skill evolution. When the Skill Proposer has no Wiki access, we also remove the Wiki Maintainer, eliminating persistent knowledge accumulation across iterations. The bottom row represents our default WikiSkill configuration. Persistent wiki knowledge dramatically improves skill evolution As shown in Table 3, when wiki access for the Inference Agent is disabled, providing the Skill Proposer with access to the persistent wiki increases average benchmark performance from 48.7% to 63.7% (+15.0%), with substantial gains on LiveMath (51.3% to 72.6%) and SpreadsheetBench (49.9% to 76.6%). Without persistent knowledge accumulated across iterations, the Skill Proposer struggles to resolve intricate failure modes. Wiki access for the Inference Agent during evolution degrades final skill quality When the Skill Proposer has access to the persistent wiki, providing the Inference Agent with wiki access during training rollouts reduces average benchmark performance from 63.7% to 60.9%, with a substantial drop on LiveMath from 72.6% to 64.8%. We hypothesize that when the Inference Agent has access to both skills and the wiki during training rollouts, some task-solving knowledge may be obtained directly from the wiki rather than the skills, which can make the resulting trajectories less informative for skill development. 5.2 Qualitative Analysis: Skill and Wiki Dynamics To better understand how WikiSkill evolves knowledge and skills across models and datasets, we analyze the wiki patterns accumulated and skills produced during evolution (Table 4) and when successful skill updates are accepted across iterations (Appendix Table 5). WikiSkill continuously accumulates wiki patterns while producing concise skills Table 4 summarizes the creation and editing of skills and wiki patterns across models and benchmarks, along with their average lengths. Across models, Qwen models produce longer procedural skills (118.9-128.6 lines), whereas Gemma-4-31B and Gemini-3.5-Flash produce more compact skills (45.1 and 81.2 lines, respectively). Wiki pattern accumulation also varies across models, with 6.3-8.9 patterns created and 7.0ā18.4 edits on average. Across benchmarks, SpreadSheet produces the longest skills (142.5 lines) and most wiki patterns (9.8), whereas LiveMath produces the shortest skills (84.6 lines) and fewest wiki patterns (4.4). Overall, these results show that both skill structure and wiki accumulation vary across models and datasets. Figure 3: Case study of Wiki-guided skill evolution on ALFWorld (Qwen-3.6-27B). The persistent Wiki Layer compiles cross-iteration patterns, an audit trail of past proposal diffs and acceptance decisions, and chronological history. Informed by the rejection of the skill proposal at Iteration 0, the proposer synthesizes the accepted skill update at Iteration 1, and later refines it with new pattern evidence. File contents are simplified for clarity. Skill refinement continues throughout the evolution process Appendix Table 5 groups accepted skill updates into early (Iterations 0ā1), middle (Iterations 2ā4), and late (Iterations 5ā7) stages. Across models, the initial stage accounts for 39%-52% of accepted updates, with substantial fractions continuing into the middle and late stages. A similar pattern holds across benchmarks, where 39%-58% of accepted updates occur during the initial stage. Continued refinement is particularly pronounced on SealQA, where 33% of accepted updates occur in the middle stage and 28% in the late stage. Combined with the ablation in Section 5.1, these results suggest that persistent knowledge accumulation supports continued skill refinement across iterations. The Wiki Layer preserves recurring errors, rejected proposals, and evolution history, which provide the Skill Proposer with accumulated context for subsequent updates. Below, we present a case study that illustrates how this accumulated knowledge informs skill evolution. 5.3 Case Study: Anatomy of Wiki-Guided Skill Evolution To illustrate how the Wiki and Skill Layers interact during evolution, we trace a concrete example from Qwen-3.6-27B on ALFWorld, as shown in Figure 3 (simplified for presentation). At Iteration 0, the Wiki Maintainer identifies a basic looping behavior (take-examine-move-loop.md), while the Skill Proposer proposes goal-directed-action, which fails to improve performance on the validation set and is rejected. Crucially, skill-impact.md preserves the proposal diff and rejection outcome, allowing subsequent skill updates to account for this failed attempt. Informed by this audit trail, the Skill Proposer creates break-repetition-loop at Iteration 1 with a concrete action rule (Never Return an Item to Its Origin Location), which is accepted. As new loop variants emerge across rollouts (multi-operation-loop.md), the Wiki Maintainer accumulates new evidence in the persistent wiki. Guided by these accumulated wiki patterns and newly stored trajectories (not shown in the figure), the Skill Proposer further refines the skill at Iteration 4 with a new rule (Each Operation Type ONCE Per Item). This example illustrates how persistent knowledge from prior iterations informs subsequent skill refinement. Category Skills Wiki Patterns Create (Proposed / Accepted) Edit (Proposed / Accepted) Avg. Length Create Edit Avg. Length By Model (All-Dataset Average) Qwen-3.5-4B 3.1 / 1.6 4.9 / 1.3 126.2 8.8 18.4 48.2 Qwen-3.5-9B 4.6 / 1.4 3.4 / 0.7 128.6 7.3 10.9 26.6 Qwen-3.6-27B 4.4 / 1.5 3.6 / 0.8 118.9 6.5 17.9 47.7 Gemma-4-31B 4.8 / 1.3 3.2 / 0.8 45.1 6.3 13.7 23.7 Gemini-3.5-Flash 2.3 / 1.2 5.7 / 1.1 81.2 8.9 7.0 18.1 By Benchmark (All-Model Average) LiveMath 1.9 / 1.1 6.1 / 1.9 84.6 4.4 12.1 31.7 SealQA 4.9 / 0.9 3.1 / 0.4 98.5 9.4 15.9 26.9 SpreadSheet 4.5 / 1.4 3.5 / 1.1 142.5 9.8 11.3 38.5 OfficeQA 4.7 / 1.8 3.3 / 0.3 102.9 8.3 14.9 31.4 ALFWorld 3.9 / 1.6 4.1 / 0.8 93.5 5.8 14.3 40.6 Table 4: Statistics of evolved skills and wiki patterns across inference models (top) and benchmarks (bottom). For skills, we report the numbers of proposed/accepted creations and edits, along with average length in markdown lines. For wiki patterns, we report the numbers of creations and edits, along with average length in markdown lines. All wiki pattern creations and edits are retained. 6 Related Work Experience-Driven Agent Skill Evolution Agent skills encode reusable procedural knowledge that allows LLM agents to leverage past experience for future tasks (Zhang et al., 2025; Li et al., 2026; Anthropic, 2026; Xia et al., 2026b; Zhou et al., 2026; Wang et al., 2026; Xu and Yan, 2026). Recent frameworks enable agents to self-improve by discovering and refining procedural knowledge from past execution traces (Yuksekgonul et al., 2025; Agrawal et al., 2026; Ouyang et al., 2026; Xia et al., 2026a; Lu et al., 2026). Methods like EvoSkill (Alzubi et al., 2026), Trace2Skill (Ni et al., 2026), and SkillOpt (Yang et al., 2026) use specialized agent pipelines to analyze task rollouts and update modular skill documents (Zhang et al., 2026b). However, these methods do not maintain what has been learned as a separate, evolving knowledge representation. WikiSkill introduces a persistent Wiki Layer that consolidates experience into structured knowledge across iterations, allowing subsequent skill updates to build systematically on accumulated knowledge. Skill-Augmented Agents and Agent Self-Improvement Beyond constructing high-quality skills, skill-augmented agents must effectively select and utilize relevant skills during execution (Chen et al., 2026a; Liu et al., 2026). As the number of reusable skills grows, recent work has explored skill retrieval to select relevant skills from a library for each task (Zheng et al., 2026; Su et al., 2026; Cho et al., 2026; Shi et al., 2026; Ye et al., 2026). WikiSkill instead focuses on skill quality itself, separately from skill retrieval. Another line of work optimizes the broader agent harness, including prompts, context, tools, memory, and workflows (Lou et al., 2026; Lee et al., 2026; Zhang et al., 2026a; Chen et al., 2026b; Lin et al., 2026). These methods improve the agent system by analyzing execution traces and environment feedback to search for better agent configurations. This direction is complementary to WikiSkill, which focuses specifically on evolving reusable procedural skills while holding the broader agent harness fixed. 7 Conclusion We presented WikiSkill, a framework that co-evolves agent skills with a persistent, compounding knowledge base (wiki). By structuring the agent workspace into three distinct layers, WikiSkill enables skill development to build on increasingly well-supported and integrated knowledge across iterations. An orchestrated loop consolidates experience into the wiki, proposes skill refinements from accumulated knowledge, and gates changes based on validation performance. Empirically, WikiSkill consistently outperforms existing skill-evolution methods across five benchmarks and five inference models and improves over no-skill baselines in most model-dataset pairs. Beyond these overall gains, skill evolution complements model scaling: larger models generally benefit more from evolved skills, while smaller models with skills can outperform substantially larger models without them. At the same time, evolved skills transfer effectively across models and model families and can outperform self-evolved skills. Finally, our ablations confirm that persistent knowledge accumulation is critical for effective skill evolution. Limitations WikiSkill has several limitations that motivate future work. First, to isolate skill quality and avoid confounding effects from skill retrieval, our study follows prior work by directly injecting active skills into the agent prompt. This setup does not evaluate skill retrieval or triggering, which becomes important as the number of available skills grows. Second, our validation gating requires each accepted proposal to improve the validation score, which excludes neutral proposals that preserve immediate performance but could enable gains in subsequent iterations. We adopt this strict criterion following prior skill-evolution frameworks (Yang et al., 2026; Alzubi et al., 2026) to ensure a fair comparison. Exploring more flexible acceptance criteria is an important direction for future work. Third, the Wiki Layer continuously accumulates pattern pages, evolution logs, and proposal diffs across iterations, but WikiSkill currently lacks an automated mechanism to prune the wiki. Such pruning may become necessary as knowledge accumulates over longer evolution runs. Finally, while our benchmark suite includes long-context document reasoning (OfficeQA) and multi-step tool interactions, it does not cover very long-horizon tasks that span hundreds of environment actions or multiple hours. Developing online skill adaptation methods that refine procedural knowledge within a single long execution rollout remains an important direction for future work. AI Disclosure Large language models and coding agents are used to aid with and polish writing and generate some tables and plots. References Agrawal et al. (2026) L. A. Agrawal, S. Tan, D. Soylu, N. Ziems, R. Khare, K. Opsahl-Ong, A. Singhvi, H. Shandilya, M. J. Ryan, M. Jiang, C. Potts, K. Sen, A. Dimakis, I. Stoica, D. Klein, M. Zaharia, and O. Khattab GEPA: reflective prompt evolution can outperform reinforcement learning. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §1, §4.1, §6. Alzubi et al. (2026) S. Alzubi, N. Provenzano, J. Bingham, W. Chen, and T. Vu Evoskill: automated skill discovery for multi-agent systems. arXiv preprint arXiv:2603.02766. External Links: Link Cited by: Appendix B, Appendix B, §D.1, §1, §1, §4.1, §6, Limitations. Anthropic (2026) Anthropic A complete guide to building skills for claude. Note: https://claude.com/blog/complete-guide-to-building-skills-for-claude Cited by: §1, §6. Chen et al. (2026a) S. Chen, J. Gai, R. Zhou, J. Zhang, T. Zhu, J. Li, K. Wang, Z. Wang, Z. Chen, K. Kaleb, et al. Skillcraft: can llm agents learn to use tools skillfully?. arXiv preprint arXiv:2603.00718. External Links: Link Cited by: §1, §2, §6. Chen et al. (2026b) T. Chen, S. Lu, K. Zhao, W. Meng, H. Teng, T. Li, C. Li, X. Liu, J. Liang, Z. Zhang, et al. Harnessx: a composable, adaptive, and evolvable agent harness foundry. arXiv preprint arXiv:2606.14249. External Links: Link Cited by: §6. Cho et al. (2026) H. Cho, R. Kang, and Y. Kim SkillRet: a large-scale benchmark for skill retrieval in llm agents. arXiv preprint arXiv:2605.05726. External Links: Link Cited by: §6. Gemma Team (2026) Gemma Team Gemma 4 technical report. arXiv preprint arXiv:2607.02770. External Links: Link Cited by: §1, §4.1. Google DeepMind (2026) Google DeepMind Gemini 3.5 flash. Note: https://deepmind.google/models/model-cards/gemini-3-5-flash/ Cited by: §1, §4.1. He et al. (2026) L. He, Q. Yu, H. Dong, B. Liao, X. Xu, M. Goldblum, J. Bian, and N. Mesgarani Livemathematicianbench: a live benchmark for mathematician-level reasoning with proof sketches. arXiv preprint arXiv:2604.01754. External Links: Link Cited by: Appendix B, §1, §4.1. Jackson et al. (2025) D. Jackson, W. Keating, G. Cameron, and M. Hill-Smith A-omniscience: evaluating cross-domain knowledge reliability in large language models. arXiv preprint arXiv:2511.13029. External Links: Link Cited by: §1. Jiang et al. (2026) Y. Jiang, D. Li, H. Deng, B. Ma, X. Wang, Q. Wang, and G. Yu SoK: agentic skillsābeyond tool use in llm agents. arXiv preprint arXiv:2602.20867. External Links: Link Cited by: §1. Karpathy (2026) A. Karpathy LLM Wiki. Note: GitHub Gist External Links: Link Cited by: §1. Kwon et al. (2023) W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. Gonzalez, H. Zhang, and I. Stoica Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles, SOSP ā23, New York, NY, USA, p. 611ā626. External Links: ISBN 9798400702297, Link, Document Cited by: §4.1. Lee et al. (2026) Y. Lee, R. Nair, Q. Zhang, K. Lee, O. Khattab, and C. Finn Meta-harness: end-to-end optimization of model harnesses. arXiv preprint arXiv:2603.28052. External Links: Link Cited by: §6. Li et al. (2026) X. Li, Y. Liu, W. Chen, B. You, Z. Di, Y. He, S. Zheng, K. W. Choe, J. Sun, S. Wang, et al. SkillsBench: benchmarking how well agent skills work across diverse tasks. arXiv preprint arXiv:2602.12670. External Links: Link Cited by: §1, §1, §2, §6. Liang et al. (2026) Y. Liang, R. Zhong, H. Xu, C. Jiang, Y. Zhong, R. Fang, J. Gu, S. Deng, Y. Yao, M. Wang, et al. Skillnet: create, evaluate, and connect ai skills. arXiv preprint arXiv:2603.04448. External Links: Link Cited by: §1. Lin et al. (2026) J. Lin, S. Liu, C. Pan, L. Lin, S. Dou, Z. Xi, X. Huang, H. Yan, Z. Han, T. Gui, et al. Agentic harness engineering: observability-driven automatic evolution of coding-agent harnesses. arXiv preprint arXiv:2604.25850. External Links: Link Cited by: §6. Liu et al. (2026) Y. Liu, J. Ji, L. An, T. Jaakkola, Y. Zhang, and S. Chang How well do agentic skills work in the wild: benchmarking llm skill usage in realistic settings. arXiv preprint arXiv:2604.04323. External Links: Link Cited by: §1, §2, §6. Lou et al. (2026) X. Lou, M. LĆ”zaro-Gredilla, A. Dedieu, C. Wendelken, W. Lehrach, and K. P. Murphy Autoharness: improving llm agents by automatically synthesizing a code harness. arXiv preprint arXiv:2603.03329. External Links: Link Cited by: §6. Lu et al. (2026) Z. Lu, Z. Yao, J. Wu, C. Han, Q. Gu, X. Cai, W. Lu, J. Xiao, Y. Zhuang, and Y. Shen Skill0: in-context agentic reinforcement learning for skill internalization. arXiv preprint arXiv:2604.02268. External Links: Link Cited by: §6. Ma et al. (2024) Z. Ma, B. Zhang, J. Zhang, J. Yu, X. Zhang, X. Zhang, S. Luo, X. Wang, and J. Tang SpreadsheetBench: towards challenging real world spreadsheet manipulation. In The Thirty-eight Conference on Neural Information Processing Systems Datasets and Benchmarks Track, External Links: Link Cited by: Appendix B, §1, §4.1. Merrill et al. (2026) M. A. Merrill, A. G. Shaw, N. Carlini, B. Li, H. Raj, I. Bercovich, L. Shi, J. Y. Shin, T. Walshe, E. K. Buchanan, J. Shen, G. Ye, H. Lin, J. Poulos, M. Wang, M. Nezhurina, D. Lu, O. M. Mastromichalakis, Z. Xu, Z. Chen, Y. Liu, R. Zhang, L. L. Chen, A. Kashyap, J. Uslu, J. Li, J. Wu, M. Yan, S. Bian, V. Sharma, K. Sun, S. Dillmann, A. Anand, A. Lanpouthakoun, B. Koopah, C. Hu, E. K. Guha, G. H. S. Dreiman, J. Zhu, K. Krauth, L. Zhong, N. Muennighoff, R. K. Amanfu, S. Tan, S. Pimpalgaonkar, T. Aggarwal, X. Lin, X. Lan, X. Zhao, Y. Liang, Y. Wang, Z. Wang, C. Zhou, D. Heineman, H. Liu, H. Trivedi, J. Yang, J. Lin, M. Shetty, M. Yang, N. Omi, N. Raoof, S. Li, T. Y. Zhuo, W. Lin, Y. Dai, Y. Wang, W. Chai, S. Zhou, D. Wahdany, Z. She, J. Hu, Z. Dong, Y. Zhu, S. Cui, A. Saiyed, A. Kolbeinsson, C. M. Rytting, R. Marten, Y. Wang, J. Jitsev, A. Dimakis, A. Konwinski, and L. Schmidt Terminal-bench: benchmarking agents on hard, realistic tasks in command line interfaces. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §1. Ni et al. (2026) J. Ni, Y. Liu, X. Liu, Y. Sun, M. Zhou, P. Cheng, D. Wang, E. Zhao, X. Jiang, and G. Jiang Trace2skill: distill trajectory-local lessons into transferable agent skills. arXiv preprint arXiv:2603.25158. External Links: Link Cited by: §D.1, §1, §1, §3.2.1, §4.1, §6. Ouyang et al. (2026) S. Ouyang, J. Yan, Y. Chen, R. Han, Z. Wang, B. D. Mishra, R. Meng, C. Li, Y. Jiao, K. Zha, et al. Skillos: learning skill curation for self-evolving agents. arXiv preprint arXiv:2605.06614. External Links: Link Cited by: §1, §6. Patwardhan et al. (2026) T. Patwardhan, R. Dias, E. Proehl, G. Kim, M. Wang, O. Watkins, S. P. Fishman, M. Aljubeh, P. Thacker, L. Fauconnet, N. S. Kim, S. Miserendino, G. Chabot, D. Li, P. Chao, M. Sharman, A. Barr, A. Glaese, and J. Tworek GDPval: evaluating AI model performance on real-world economically valuable tasks. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §1. Pham et al. (2026) T. Pham, N. P. Nguyen, P. Zunjare, W. Chen, Y. Tseng, and T. Vu SealQA: raising the bar for reasoning in search-augmented language models. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix B, §1, §4.1. Phan et al. (2026) L. Phan, A. Gatti, Z. Han, N. Li, J. Hu, H. Zhang, C. B. C. Zhang, M. Shaaban, J. Ling, S. Shi, et al. Humanityās last exam. Nature 649 (8099), p. 1139ā1146. External Links: ISSN 1476-4687, Document, Link Cited by: §1. Qwen Team (2026a) Qwen Team Qwen3.5: towards native multimodal agents. Note: https://qwen.ai/blog?id=qwen3.5 Cited by: §1, §4.1. Qwen Team (2026b) Qwen Team Qwen3.6-27b. Note: https://qwen.ai/blog?id=qwen3.6-27b Cited by: §1, §4.1. Shi et al. (2026) Y. Shi, Y. Chen, Z. Lu, Y. Miao, S. Liu, Q. Gu, X. Cai, X. Wang, and A. Zhang Skill1: unified evolution of skill-augmented agents via reinforcement learning. arXiv preprint arXiv:2605.06130. External Links: Link Cited by: §6. Shridhar et al. (2021) M. Shridhar, X. Yuan, M. Cote, Y. Bisk, A. Trischler, and M. Hausknecht ALFWorld: aligning text and embodied environments for interactive learning. In International Conference on Learning Representations, External Links: Link Cited by: Appendix B, §1, §4.1. Singhvi et al. (2025) A. Singhvi, K. Opsahl-Ong, J. Collins, I. Zhou, C. Wang, A. Baheti, J. Portes, S. Havens, E. Elsen, M. Bendersky, M. Zaharia, and X. Chen Introducing OfficeQA: a benchmark for end-to-end grounded reasoning. Databricks. Note: Databricks Blog External Links: Link Cited by: Appendix B, §1, §4.1. Su et al. (2026) W. Su, J. Long, Q. Ai, Q. He, Y. Tang, C. Wang, Y. Tu, Y. Wang, and Y. Liu Skill retrieval augmentation for agentic ai. arXiv preprint arXiv:2604.24594. External Links: Link Cited by: §6. Wang et al. (2026) H. Wang, Y. Lan, B. Cao, L. Lin, and J. Chen SkillGrad: optimizing agent skills like gradient descent. arXiv preprint arXiv:2605.27760. External Links: Link Cited by: §6. Xia et al. (2026a) 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. External Links: Link Cited by: §6. Xia et al. (2026b) P. Xia, J. Chen, X. Yang, H. Tu, J. Liu, K. Xiong, S. Han, S. Qiu, H. Ji, Y. Zhou, et al. MetaClaw: just talkāan agent that meta-learns and evolves in the wild. arXiv preprint arXiv:2603.17187. External Links: Link Cited by: §1, §6. Xu and Yan (2026) R. Xu and Y. Yan Agent skills for large language models: architecture, acquisition, security, and the path forward. arXiv preprint arXiv:2602.12430. External Links: Link Cited by: §1, §6. Yang et al. (2026) Y. Yang, Z. Gong, W. Huang, Q. Yang, Z. Zhou, Z. Huang, Y. Li, X. Gao, Q. Dai, B. Liu, et al. SkillOpt: executive strategy for self-evolving agent skills. arXiv preprint arXiv:2605.23904. External Links: Link Cited by: Appendix B, Appendix B, Appendix B, §D.1, §1, §1, §3.2.1, §4.1, §6, Limitations. Yao et al. (2023) 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, External Links: Link Cited by: §3.2.3. Ye et al. (2026) H. Ye, X. He, V. Arak, H. Dong, and G. Song Meta context engineering via agentic skill evolution. In Forty-third International Conference on Machine Learning, External Links: Link Cited by: §6. Yuksekgonul et al. (2025) M. Yuksekgonul, F. Bianchi, J. Boen, S. Liu, P. Lu, Z. Huang, C. Guestrin, and J. Zou Optimizing generative ai by backpropagating language model feedback. Nature 639 (8055), p. 609ā616. External Links: ISSN 1476-4687, Document, Link Cited by: §1, §6. Zhang et al. (2025) B. Zhang, K. Lazuka, and M. Murag Equipping agents for the real world with agent skills. Note: https://w.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills Cited by: §1, §2, §6. Zhang et al. (2026a) H. Zhang, S. Zhang, K. Li, C. Zhang, Y. Chen, Y. Zhang, L. Bai, and S. Hu Self-harness: harnesses that improve themselves. arXiv preprint arXiv:2606.09498. External Links: Link Cited by: §6. Zhang et al. (2026b) H. Zhang, S. Fan, H. P. Zou, Y. Chen, Z. Wang, J. Zhou, C. Li, W. Huang, Y. Yao, K. Zheng, et al. Coevoskills: self-evolving agent skills via co-evolutionary verification. arXiv preprint arXiv:2604.01687. External Links: Link Cited by: §6. Zheng et al. (2026) Y. Zheng, Z. Zhang, C. Ma, Y. Yu, J. Zhu, Y. Wu, T. Xu, B. Dong, H. Zhu, R. Huang, et al. Skillrouter: skill routing for llm agents at scale. arXiv preprint arXiv:2603.22455. External Links: Link Cited by: §6. Zhou et al. (2026) H. Zhou, S. Guo, A. Liu, Z. Yu, Z. Gong, B. Zhao, Z. Chen, M. Zhang, Y. Chen, J. Li, et al. Memento-skills: let agents design agents. arXiv preprint arXiv:2603.18743. External Links: Link Cited by: §6. Appendix A Method Details A.1 Algorithm The full skill-evolution algorithm for WikiSkill is described in Algorithm 1. 1: Training tasks trainD_train, validation tasks valD_val, performance metric āR, iterations K 2: Initialize skill set S0āā S_0ā , wiki W0āā W_0ā 3: Baseline Validation: val,0āĻiā¼Ļ(xi;S0)xiāvalT_val,0ā\ _i Ļ(x_i;S_0)\_x_i _val, ābestāāā”(val,0)R_best (T_val,0) 4: for k=1,ā¦,Kk=1,ā¦,K do 5: if ābest=1.0R_best=1.0 then 6: break 7: end if 8: Inference: Roll out train,kāĻiā¼Ļ(xi;Skā1)xiātrainT_train,kā\ _i Ļ(x_i;S_k-1)\_x_i _train 9: Sample subset sample,kātrain,kT_sample,k _train,k 10: Wiki Maintenance: Wkā²āā³WMā(Wkā1,sample,k)W _k _WM(W_k-1,T_sample,k) 11: Skill Proposal: Pkāā³Pā(Wkā²,Skā1,train,k)P_k _P(W _k,S_k-1,T_train,k) 12: Apply: Skā²āApplyā(Skā1,Pk)S _k (S_k-1,P_k) 13: Validate: val,kāĻiā¼Ļ(xi;Skā²)xiāvalT_val,kā\ _i Ļ(x_i;S _k)\_x_i _val 14: if āā”(val,k)>ābestR(T_val,k)>R_best then 15: SkāSkā²S_kā S _k, ābestāāā”(val,k)R_best (T_val,k), akāAccepteda_k 16: else 17: SkāSkā1S_kā S_k-1, akāRejecteda_k ā³ Roll back skills only; wiki retained 18: end if 19: Update Wiki Log: WkāUpdateā(Wkā²,Pk,āā”(val,k),ak)W_k (W _k,P_k,R(T_val,k),a_k) 20: end for 21: return SKS_K, WKW_K Algorithm 1 WikiSkill evolution loop. At each iteration k, the inference agent rolls out on training tasks using active skills Skā1S_k-1, the maintainer consolidates sampled traces into the intermediate wiki Wkā²W _k, the proposer generates candidate skill modifications PkP_k, validation gating determines whether to accept Skā²S _k or roll back to Skā1S_k-1, and the system appends the proposal outcome and skill diff to produce the final wiki state WkW_k. A.2 Distribution of Accepted Skill Updates We show when the updated skill proposals are accepted in Table 5. Appendix B Dataset Details and Splits We describe the five benchmarks used in our evaluation below. LiveMathematicianBench (LiveMath) (He et al., 2026) consists of multiple-choice mathematics competition problems from recent months. It tests the modelās capacity for complex mathematical reasoning, quantifiers, and extremal conditions. SealQA (Pham et al., 2026) is a factual question-answering benchmark composed of scholarly questions across various topics. It evaluates the agentās ability to formulate effective search queries and extract answers from web search results using a search tool. SpreadsheetBench (SpreadSheet) (Ma et al., 2024) tests the agentās ability to write correct code under library constraints (such as formula evaluation limitations) and execute complex table transformations. OfficeQA (Singhvi et al., 2025) evaluates long-context question-answering over a large repository of historical Treasury bulletins. Tasks require synthesizing evidence across long contexts and multi-page financial tables. Following the setup in Yang et al. (2026), the agent is provided with pre-parsed oracle reference pages as initial document evidence in the prompt, while retaining access to local text-processing tools (glob, grep, read) to search, cross-reference, and inspect full Treasury bulletin files on disk. ALFWorld (Shridhar et al., 2021) is an interactive text-based embodied environment where an agent solves multi-step household tasks (e.g., picking and placing objects, heating or cooling items) by outputting text actions to a simulator. Unlike static QA benchmarks, ALFWorld tests sequential decision-making, spatial reasoning, and error recovery from simulator feedback. Category Early (Iter 0ā1) Mid (Iter 2ā4) Late (Iter 5ā7) By Model Qwen-3.5-4B 39% 39% 21% Qwen-3.5-9B 52% 30% 19% Qwen-3.6-27B 43% 40% 17% Gemma-4-31B 52% 37% 11% Gemini-3.5-Flash 50% 46% 4% By Benchmark LiveMath 44% 42% 14% SealQA 39% 33% 28% SpreadSheet 41% 48% 11% OfficeQA 58% 26% 16% ALFWorld 55% 34% 10% Table 5: Distribution of accepted skill updates across evolution iterations, grouped by model (top) and benchmark (bottom). Percentages indicate the proportion of accepted updates that occur during each stage of evolution. Benchmark Interaction Train Val Test Environment Tools LiveMath Single-Step 35 18 124 None (Direct Reasoning) SealQA Multi-Step 16 10 85 web_search, read_file SpreadSheet Multi-Step 80 40 280 bash OfficeQA Multi-Step 50 24 172 glob, grep, read ALFWorld Multi-Step 39 18 134 Admissible Actions Table 6: Benchmark statistics, data splits, interaction modes, and available environment tools. Table 6 summarizes the sample counts across training, validation, and test splits, interaction modes, and available tools for each benchmark evaluated in our experiments. All task splits and available toolsets are strictly matched with prior work (Yang et al., 2026; Alzubi et al., 2026). For tool setup, LiveMath operates as a single-step reasoning benchmark without external tools, where the model generates final answers directly; SealQA equips the agent with web search (using Google Search API) and file reading for multi-step factual retrieval (we use the July, 2026 version of SealQA for all experiments); SpreadSheet provides a bash shell tool for Python code execution and table manipulation; OfficeQA provides local text-search utilities for multi-step Treasury bulletin navigation; and ALFWorld provides an interactive simulator action space for multi-step embodied decision making. Evaluation robustness with small validation sets Following established setups in prior work (Yang et al., 2026; Alzubi et al., 2026), benchmark validation splits are relatively small, which can introduce evaluation noise into gating decision. To account for this variability, all reported scores represent the average test performance across three independent runs of the entire evolutionary pipeline, with paired bootstrap significance testing (detailed in Appendix C). Appendix C Implementation Details To provide diagnostic feedback for the Wiki maintainer, we apply a stratified sampling strategy (sample,kātrain,kT_sample,k _train,k) at each iteration k. Specifically, the system samples up to 8 traces per iteration, stratified into a maximum of 5 failing traces (to perform root-cause analysis of errors) and up to 3 passing traces (to identify effective strategies and prevent regressions in working behaviors). Each individual execution log is capped at 15,000 characters prior to injection into the prompt. Statistical significance testing We perform paired bootstrap significance tests with 1,0001,000 iterations for each benchmark. In each bootstrap iteration, task instances are sampled with replacement from the test split testD_test to construct a bootstrap evaluation set of size |test||D_test|, from which candidate accuracy scores and pairwise performance margins are computed. To evaluate overall cross-benchmark performance, we conduct stratified macro-average bootstrap resampling: in each iteration, task instances are resampled independently with replacement within each benchmark, and we calculate macro-average accuracy by assigning equal weight to all benchmarks. We determine top-performing methods in our evaluation tables as follows. Methods are initially ranked by their observed performance (or macro-average performance across benchmarks). A top-ranked method MāM^* is the sole top performer if and only if it achieves a statistically significant gain over all competing methods at p<0.05p<0.05. If MāM^* is not statistically distinguishable (pā„0.05pā„ 0.05) against one or more lower-ranked methods, no single method is declared the sole top performer. Instead, all methods whose performance is not statistically distinguishable from MāM^* (pā„0.05pā„ 0.05) are grouped into a top-tier statistical tie (and bolded accordingly). Appendix D Baseline Details and Optimizer API Call Analysis D.1 Baseline Methods Trace2Skill (Ni et al., 2026) Trace2Skill employs a three-stage pipeline centered on parallel trace analysis and hierarchical merging. It evaluates the current skill on training tasks and dispatches parallel success analysts and error analysts to extract effective strategies from passing tasks and diagnose root causes of failures. The resulting structured patches are recursively consolidated via a hierarchical merge operator into a single patch set. The consolidated patches are applied to the skill document and accepted based on validation performance. EvoSkill (Alzubi et al., 2026) EvoSkill frames skill evolution as a search over a frontier of candidate programs. In each iteration, it samples training tasks via a round-robin category schedule and executes rollouts. EvoSkill feeds only failure traces to the proposer alongside a flat feedback history of past proposal outcomes. The proposer generates candidate skill modifications that are materialized into SKILL.md files, scored on a validation split, and added to a bounded frontier of top-performing programs. SkillOpt (Yang et al., 2026) SkillOpt implements a six-stage ReflACT pipeline (Rollout, Reflect, Aggregate, Select, Update, Evaluate) for iterative skill optimization. In each epoch, the system rolls out the agent on training tasks and reflects on full execution traces, including both successes and failures, to generate candidate patches. These patches are hierarchically aggregated and selected to update a single monolithic skill document, which is accepted or rejected based on validation performance. D.2 Optimizer API Call Complexity In this section, we analyze optimizer API call complexity, denoted by C, across self-improving agent frameworks. We define one evolution iteration as rolling out the agent on the full training split trainD_train once (Ntrain=|train|N_train=|D_train| training task instances), processed in minibatches of size B (Bā¤NtrainB⤠N_train). Table 7 summarizes the per-iteration optimizer API call complexity for WikiSkill and prior methods. Framework Per-Iteration Formula Complexity Trace2Skill Ntrain+(1+1cā1)āNtrainB+1N_train+ (1+ 1c-1 ) N_trainB+1 ā”(Ntrain+NtrainB)O (N_train+ N_trainB ) EvoSkill 2āNtrainB 2N_trainB ā”(NtrainB)O ( N_trainB ) SkillOpt Koptā NtrainB K_optĀ· N_trainB ā”(NtrainB)O ( N_trainB ) WikiSkill (1+TReAct)āNtrainB(1+T_ReAct) N_trainB ā”(NtrainB)O ( N_trainB ) Table 7: Comparison of optimizer API call complexity per evolution iteration across self-improving agent frameworks. Ntrain=|train|N_train=|D_train| denotes the number of training tasks, B denotes the batch size, TReActT_ReAct denotes the number of interactive ReAct reasoning turns used by the Skill Proposer agent in WikiSkill, KoptK_opt denotes the number of reflection and merging calls per step in SkillOpt, and c denotes the reduction-tree branching factor in Trace2Skill. WikiSkill uses B=NtrainB=N_train across all datasets. In full-batch mode, WikiSkillās optimizer call count is independent of training set size NtrainN_train, requiring 1+TReAct1+T_ReAct optimizer calls per iteration. WikiSkill For each batch of size B, the Wiki Maintainer requires one LLM call to analyze sampled traces sample,kT_sample,k and consolidate pattern pages into the intermediate wiki Wkā²W _k. The Skill Proposer then runs as an autonomous multi-turn ReAct agent, executing interactive tool calls over TReActT_ReAct reasoning turns (roughly 10ā¤TReActā¤2010⤠T_ReAct⤠20 across our experiment runs), where each ReAct turn requires 11 LLM call. When processing training data in batches of size B, completing one full iteration over NtrainN_train tasks requires NtrainB N_trainB steps: WikiSkill=(1+TReAct)āNtrainBC_WikiSkill=(1+T_ReAct) N_trainB (5) In our experiments, we set the batch size to the full training size (B=NtrainB=N_train) across all datasets. In this full-batch setting (NtrainB=1 N_trainB=1), WikiSkill=1+TReActC_WikiSkill=1+T_ReAct. Because TReActT_ReAct does not depend on NtrainN_train, WikiSkillās optimizer API call complexity is ā”(1)O(1) with respect to training set size. Specifically, each iteration requires 1+TReAct1+T_ReAct optimizer LLM calls, regardless of the number of training instances. While this constant call complexity may incur higher inference cost on some datasets, the additional computation is accompanied by consistent performance gains over prior skill-evolution methods across our evaluation. EvoSkill EvoSkill partitions training tasks into minibatches of size B. For each minibatch, EvoSkill uses one Proposer LLM call for error diagnosis and one Generator LLM call for skill updates. Processing the full training split of NtrainN_train tasks requires NtrainB N_trainB minibatch steps, resulting in: EvoSkill=2āNtrainBC_EvoSkill= 2N_trainB (6) Thus, EvoSkillās optimizer API call complexity scales linearly with training set size NtrainN_train (ā”(Ntrain/B)O(N_train/B)). SkillOpt SkillOpt evaluates minibatches of size B, completing each iteration in NtrainB N_trainB optimization steps. During each step, SkillOpt executes its ReflACT pipeline (parallel analyst reflections, hierarchical patch synthesis, and candidate selection), requiring Koptā6āāā8K_optā 6--8 optimizer LLM calls per step: SkillOpt=Koptā NtrainBC_SkillOpt= K_optĀ· N_trainB (7) SkillOpt similarly scales linearly with training set size NtrainN_train, as ā”(Ntrain/B)O(N_train/B). Trace2Skill Trace2Skill processes training trajectories through a three-stage pipeline per iteration: 1. Trace analysis stage: Every individual execution trajectory is analyzed independently with one LLM call, incurring NtrainN_train total calls. 2. Patch map stage: Analysis records are chunked into batches of size B, requiring NtrainB N_trainB calls to generate local skill patches. 3. Hierarchical reduce & apply stage: The NtrainB N_trainB local patches are recursively merged via a c-ary reduction tree (where c is the branching factor). Summing across levels yields ā1cā1āNtrainBā 1c-1 N_trainB merge calls, plus one final call to format the skill document. Combining all stages: Trace2SkillāNtrain+(1+1cā1)āNtrainB+1C_Trace2Skillā N_train+ (1+ 1c-1 ) N_trainB+1 (8) Because Trace2Skill performs individual LLM analysis on every training trajectory (NtrainN_train calls), its complexity is lower-bounded by ā”(Ntrain)O(N_train), scaling linearly with training set size. Full-batch training vs. minibatch optimization Across all datasets, we set the batch size B to the full training set size (B=NtrainB=N_train) for WikiSkill, processing the entire training set at once per iteration. The Skill Proposer dynamically searches, selects, and reads specific execution traces on demand to diagnose root causes before proposing skill updates. In contrast, EvoSkill and SkillOpt achieve their best performance under minibatch settings (B<NtrainB<N_train), which causes their optimizer API call complexity to scale linearly with training set size. Finally, Trace2Skill remains strictly ā”(Ntrain)O(N_train) regardless of minibatch size because it requires an independent LLM call for every training trajectory. Appendix E System and Agent Prompts We provide the exact system prompts used for (1) the Inference Agent for each task across all methods, (2) the Wiki Maintainer, and (3) the Skill Proposer in WikiSkill. E.1 Task Inference Agent System Prompts LiveMathematicianBench Inference Agent System Prompt ⬠You are an expert mathematical reasoning agent solving multiple-choice questions. skill_section ## Task Format You will receive one mathematics multiple-choice question and its answer choices. Reason carefully about quantifiers, hypotheses, extremal wording, and exact equality conditions. ## Answer Format Think step by step, then provide your final answer inside <answer>...</answer> tags. Inside the tags, output only the single choice label, such as A or C. Example: <answer>B</answer> SealQA Inference Agent System Prompt ⬠You are a knowledgeable question-answering assistant with access to web_search and read_file tools. skill_section ## Task You will receive a factual question. To answer it: 1. You can check the available skills. They contain guidance that can improve your search queries and answer accuracy. 2. You can use web_search to find relevant information. You can call it multiple times with different queries. 3. You can do web_search anytime during the process depending on your needs. 4. After gathering enough information, provide your final answer. ## Answer Format You MUST wrap your final answer in <answer> tags: <answer> ... your final answer (exact value only, no explanation) ... </answer> SpreadsheetBench Inference Agent System Prompt ⬠You are a spreadsheet expert who can manipulate spreadsheets through Python code. skill_section You need to solve the given spreadsheet manipulation question, which contains the following information: - working_directory: The absolute path to your working directory where files are located. - instruction: The question about spreadsheet manipulation. - spreadsheet_path: The absolute path of the spreadsheet file you need to manipulate. - spreadsheet_content: The first few rows of the content of spreadsheet file. - instruction_type: There are two values (Cell-Level Manipulation, Sheet-Level Manipulation) used to indicate whether the answer to this question applies only to specific cells or to the entire worksheet. - answer_position: The position need to be modified or filled. For Cell-Level Manipulation questions, this field is filled with the cell position; for Sheet-Level Manipulation, it is the maximum range of cells you need to modify. You only need to modify or fill in values within the cell range specified by answer_position. - output_path: The absolute path where you must save the modified spreadsheet. ## CRITICAL RESTRICTIONS You can ONLY read and write files within the **working_directory**. Any attempt to access files outside this directory will fail. - **Allowed paths**: working_directory (and its subdirectories) - **Read from**: spreadsheet_path (inside working_directory) - **Write to**: output_path (inside working_directory) Do NOT create files outside the working_directory. Use the exact absolute paths provided. You have access to a bash tool that can execute any shell command. OfficeQA Inference Agent System Prompt ⬠You are an expert OfficeQA agent working over local Treasury bulletin text files. skill_section ## Rules 1. Use only the provided local document tools to inspect candidate files. 2. Narrow to the most relevant file before reading long passages. 3. Prefer short targeted searches, then small reads around matching evidence. 4. Do not invent values that are not grounded in the retrieved text. 5. When the question requires arithmetic, compute only after extracting the exact operands. 6. If you have enough evidence, return the final answer inside <answer>...</answer>. ## Tool Use Use the provided function tools directly when you need them. Prefer searching and small reads before answering. Do not ask the user for permission to use tools; just call the tools. ## Final Answer Format When you are ready to answer, emit the final answer inside <answer>...</answer> and do not request another tool. ALFWorld Inference Agent System Prompt ⬠You are an expert agent operating in the ALFRED Embodied Environment. Your task is to: task_description skill_section Prior to this step, you have already taken step_count step(s). Below are the most recent history_length observations and the corresponding actions you took: action_history You are now at step current_step and your current observation is: current_observation Your admissible actions of the current situation are: [admissible_actions]. Now itās your turn to take an action. You should first reason step-by-step about the current situation. This reasoning process MUST be enclosed within <think> </think> tags. Once youāve finished your reasoning, you should choose an admissible action for current step and present it within <action> </action> tags. E.2 Wiki Maintainer Agent System Prompt Wiki Maintainer Agent System Prompt ⬠You are a Wiki Maintainer Agent for an LLM skill evolution system. Your job is to maintain a structured knowledge base (wiki) that documents patterns observed during agent execution -- both successes and failures. You must perform DEEP ANALYSIS of execution logs to identify root causes, not just surface-level symptoms. ## Wiki Structure The wiki is organized as: - wiki/index.md -- Concise catalog of known patterns (one line per pattern) - wiki/log.md -- Chronological evolution log (iterations, scores, accept/reject) - wiki/skill-impact.md -- Record of which skills were tried and their outcomes - wiki/patterns/ -- One page per pattern with detailed evidence and analysis ## Your Input 1. Execution traces from the latest iteration -- including full agent execution logs showing what actions the agent took, what commands it ran, and what environment feedback it observed 2. The current wiki context (index, log, pattern pages) ## Your Output (Incremental Edit Mode) Return a JSON object with these keys: - "create_patterns": list of "name": "pattern-name.md", "content": "..." -- new patterns (full content) - "update_patterns": list of "name": "existing-pattern.md", "edits": [...] -- patch existing patterns - "update_index": full updated content of index.md (always provide the complete index) - "append_log": "brief summary of this iterationās findings and actions" "update_index" and "append_log" are REQUIRED. Always provide them, even if there are no new patterns. For "update_index", always provide the complete updated index content including all existing entries plus any new ones. ### Patch Operations (for update_patterns only) For "update_patterns", each entry uses an "edits" list of patch operations: - "op": "append", "content": "text to add at end" - "op": "replace", "target": "exact text to find", "content": "replacement text" - "op": "insert_after", "target": "exact text to find", "content": "text to insert after" Rules for patch operations: 1. "target" must be an EXACT substring of the existing content. 2. Use "append" to add new evidence. Use "replace" to fix or refine existing text. 3. Use "insert_after" to add entries after a specific line. 4. Keep each edit minimal -- only change whatās needed. 5. For NEW patterns (create_patterns), use full "content". ## Analysis Guidelines ### Deep Trace Analysis (CRITICAL) When execution logs are provided, you MUST: 1. Read the agentās actual actions -- what commands did it issue? 2. Compare successful vs failed tasks -- what did successful tasks do differently? 3. Identify ACTION PATTERNS and strategies, not just error messages. 4. Check whether the agent followed any active skills, and whether the skill guidance was helpful or not ### Pattern Documentation Rules 1. Each pattern page should document: - What the pattern is (description) - Root cause analysis (WHY it happens, not just WHAT happens) - Exact command sequences from traces (what the agent did wrong / right) - Known solutions or workarounds (concrete action patterns with exact syntax) 2. Capture BOTH success and failure patterns: - **Failure patterns**: Document what went wrong and how to avoid it - **Success patterns**: Document strategies that consistently lead to task completion 3. Do NOT create duplicate patterns -- update existing ones with new evidence 4. Be concise. Pattern pages should be 10-30 lines, not essays. 5. Only create patterns for meaningful, generalizable observations. ### Index Description Quality (CRITICAL) The index.md entries are the MOST IMPORTANT part of the wiki because they determine whether inference agents will read the full pattern pages. Each index entry MUST follow this format: - [pattern-name](wiki/patterns/pattern-name.md): PROBLEM + ROOT CAUSE + FIX in one or two sentence. The description must be specific enough that an agent can judge relevance without reading the full page. Include the problem, root cause, AND solution. E.3 Skill Proposer Agent System Prompt (ReAct Mode) Skill Proposer Agent System Prompt ⬠You are a Skill Proposer Agent for an LLM agent that solves task_desc. Your job is to explore the wiki knowledge base and execution traces, diagnose root causes of failures, and propose a skill change (create or patch). ## Tools Available You have two tools: 1. āread_file(path)ā -- Read a wiki file or execution log. Paths are relative to the workspace root. 2. āfinish(proposal)ā -- Submit your final skill proposal as a JSON object. ## Workflow 1. Start by reading āwiki/index.mdā to understand what patterns exist 2. Read āwiki/skill-impact.mdā to see what was tried before (includes full content of rejected proposals -- DO NOT repeat rejected approaches) 3. Read specific pattern pages that seem relevant to the current failures 4. Read execution traces for failed tasks via ātraces/<task_id>ā to understand root causes 5. Decide: create (new skill) or patch (edit existing skill), or no_action 6. If proposing a change, call āfinishā with the full proposal ## finish() Proposal Format For creating a new skill: - "action": "create" - "name": skill directory name (snake_case) - "skill_md": full SKILL.md content with YAML frontmatter + When to Apply + When NOT to Apply + Instructions - "purpose_md": full PURPOSE.md content with Origin + Patterns Addressed + Evolution History For patching an existing skill: - "action": "patch" - "name": existing skill directory name - "edits": list of patch operations: - "op": "append", "content": "text to add at end" - "op": "replace", "target": "exact text to find", "content": "replacement" - "op": "insert_after", "target": "exact text to find", "content": "text to insert after" Each "replace" target should be a short, specific section -- not the entire file. If you need to change most of the file, use "action": "create" instead. If no action is needed, call finish with: "action": "no_action" ## Rules 1. Read the wiki FIRST -- donāt propose something that was already tried and rejected. skill-impact.md contains full content of rejected proposals. 2. Focus on action patterns and concrete strategies. 3. Keep skills concise and actionable. 4. You MUST read at least 4 execution traces before proposing a skill change. Target your exploration based on the trace summary. 5. Prefer patching existing skills over creating new ones when the existing skill is partially correct. Note that execution traces are physically stored in the Raw Layer (raw/traces/), while the workspace environment resolves read_file("traces/<task_id>") calls by automatically mapping the traces/ alias to the corresponding execution log under raw/ for the Skill Proposer.