AlignEvoSkill: Towards Knowledge-Aware and Task-Aligned
Agent Skill Evolution

Dingzirui Wang\(^1\), Xuanliang Zhang\(^1\), Keyan Xu\(^1\)
Qingfu Zhu\(^1\), Wanxing Che\(^1\), Yang Deng\(^2\)
\(^1\)Harbin Institue of Technology \(^2\)Singapore Management University
{dzrwang, xuanliangzhang, kyxu, qfzhu, car}
ir.hit.edu.cn?
ydeng@smu.edu.sg


Abstract

Reusable skills play a key role in improving LLM-based agents, but existing skill-evolution methods often fail to ensure that evolved skills both cover the knowledge required by the task and remain aligned with the target task. As a result, evolved skills could be incomplete or irrelevant. To address this limitation, we propose AlignEvoSkill, a skill-evolution framework that jointly models knowledge coverage and task alignment. Given failed task trajectories, AlignEvoSkill first identifies task-relevant knowledge tags, retrieves complementary prior skills, and adapts them into candidate skills that address missing knowledge. It then selects high-quality candidates using a joint filtering criterion based on knowledge-coverage and task-alignment scores. Experiments on \(3\) benchmarks with \(4\) LLM backbones show a \(34.7\%\) relative gain of AlignEvoSkill over the non-evolution baseline and achieves a new SOTA in skill evolution with lower cost.

1 Introduction↩︎

Agent skills have recently been introduced as reusable units of procedural knowledge that enhance the long-term capabilities of large language model (LLM) agents [1]. By maintaining skills in external libraries, agents can retrieve and reuse prior experience for new tasks. However, manually annotating such skills is expensive, which has motivated recent studies on skill evolution, where agents automatically refine skill libraries from past experiences by generating reusable skills, leveraging both the trajectory and the existing skill library [2]. Existing methods can be broadly grouped into two categories: skill-driven methods, which organize and expand existing skills [3][5], and trajectory-driven methods, which distill execution traces and failures into reusable skills [6][9].

Figure 1: Illustration of two failure cases in current agent skill-evolving methods. The cases are sampled from SkillLearnBench and abridged for clarity.

Despite recent progress, current skill-evolving methods still face two key limitations, as shown in Figure 1. (i) Improper knowledge coverage: When evolving a new skill from existing skills, most methods either rely on a single skill or simply concatenate multiple skills. The former may overlook task-relevant knowledge scattered across different skills, while the latter may introduce irrelevant or conflicting information. Consequently, the evolved skill can be incomplete or noisy, limiting its usefulness for the target task [10]. (ii) Weak task alignment: When evolving skills from trajectories, existing methods mainly summarize, compress, or repair the observed execution process. However, focusing too heavily on the trajectory may cause the evolved skill to reflect the execution history rather than the actual task requirements. As a result, the skill may appear reasonable with respect to the trajectory but still fail to guide the agent toward solving the target task [11].

To overcome these limitations, we propose knowledge-aware and task-alignment agent skill evolution (AlignEvoSkill), a skill-evolving framework that improves evolved skills through knowledge-tag-guided generation and likelihood-based task alignment. AlignEvoSkill is built on two key designs. (i) Knowledge-tag-guided skill evolution: We associate agent skills with knowledge tags and use these tags to identify task-relevant prior knowledge. Given a target task and its trajectory, AlignEvoSkill first extracts the required knowledge tags and then evolves new skills from existing skills that share these tags. This design enables effective transfer from relevant skills while reducing irrelevant or noisy information. (ii) Likelihood-based task alignment: We further evaluate whether an evolved skill is aligned with the target task by estimating the likelihood of generating the skill conditioned on the task description. AlignEvoSkill retains only highly aligned candidate skills, ensuring that the evolved skills provide task-specific and effective guidance.

We evaluate AlignEvoSkill on \(4\) widely used LLMs and \(3\) skill benchmarks. Experimental results show that AlignEvoSkill leads to a \(34.7\%\) relative gain over the non-evolution baseline and establishes a new state-of-the-art (SOTA) result in skill evolution at a lower cost. Further analysis shows that AlignEvoSkill improves the knowledge-tag coverage score for task-relevant knowledge by \(9.9\%\) and increases the task-alignment likelihood by \(8.9\%\) over the strongest baseline. These results demonstrate that AlignEvoSkill effectively alleviates improper knowledge coverage and weak task alignment.

Our contributions are summarized as follows:

  • We identify two key limitations of current agent skill-evolving methods, namely improper knowledge coverage and weak task alignment, and propose AlignEvoSkill to address such limitations through knowledge-tag-guided generation and likelihood-based task alignment.

  • We conduct comprehensive experiments on \(4\) LLMs and \(3\) agent skill benchmarks. Results show that AlignEvoSkill leads to a \(34.7\%\) relative gain over the non-evolution baseline and achieves a new SOTA result with lower cost.

  • Compared with existing skill-evolving baselines, further analysis shows that AlignEvoSkill improves knowledge coverage and task alignment by \(9.9\%\) and \(8.9\%\), respectively, demonstrating its ability to mitigate the above limitations.

2 Related Work↩︎

Skill evolution aims to continually improve external skill libraries by revising, composing, specializing, and extending reusable procedural knowledge [1]. Existing studies can be broadly divided into trajectory-driven and skill-driven approaches. Trajectory-driven approaches treat task trajectories as the primary source for skill acquisition. Representative systems such as ExpeL [12] and Voyager [6] convert successful executions, failures, environmental feedback, and self-verification into reusable lessons or executable skills. Later studies further extract structured knowledge from interaction traces: AutoManual [7] transforms interactive experiences into task manuals, Agent Skill Induction [8] derives verified programmatic skills from web trajectories, and Trace2Skill [9] distills trajectory-local lessons into transferable skills. These methods ground skill construction in concrete executions, but their dependence on observed trajectories may cause evolved skills to capture trace-specific patterns rather than the knowledge actually required for the target task.

Skill-driven approaches focus on refining skills within the library. SkillAct [3] studies skill abstractions to improve interactive agents, while CUA-Skill [4] builds a parameterized skill base for computer-use agents. Recent systems such as AutoSkill [5] and SkillX [13] further maintain explicit skill repositories through continual extraction, refinement, hierarchical organization, and expansion from agent experiences. Although these methods support long-term skill reuse, they still face a coverage–alignment trade-off: adapting a single retrieved skill may overlook task-relevant knowledge distributed across multiple skills, while directly combining multiple skills may introduce irrelevant or conflicting information.

In contrast, AlignEvoSkill jointly addresses improper knowledge coverage and weak task alignment. It uses knowledge tags to identify task-relevant requirements and retrieve complementary prior skills, thereby transferring missing knowledge while reducing noisy information. It further applies a task-conditioned likelihood criterion to filter candidate skills, ensuring that retained skills are both knowledge-complete and well aligned with the target task, thus effectively guiding future tasks.

3 Task Formulation↩︎

We formulate agent skill evolution as improving an LLM-based agent whose parameters remain fixed, by updating only its external library of reusable skills. Let \(\pi_\theta\) denote the base agent with frozen parameters \(\theta\), and let \(\mathcal{L}\) denote its skill library. Given a task \(x\), the agent retrieves and applies relevant skills from \(\mathcal{L}\) to generate an execution trajectory: \[\tau \sim \pi_\theta(\cdot \mid x, \mathcal{L}),\] where a task evaluator \(q(x,\tau) \in \{0,1\}\) returns \(1\) if the task is successfully completed and \(0\) otherwise.

Starting from an initial skill library \(\mathcal{L}_0\), agent skill evolution iteratively updates the skill library using experiences collected from evolution tasks. At each evolution epoch \(r\), the agent collects a set of trajectories together with their feedback, denoted by \(\mathcal{E}_r\). An evolution procedure \(\mathcal{U}\) then uses these experiences, together with the current library, to produce an updated skill library: \[\mathcal{L}_{r+1} = \mathcal{U}(\mathcal{L}_r, \mathcal{E}_r).\] Since the base agent is frozen, any performance improvement must come from better skill acquisition, revision, or reuse within \(\mathcal{L}_{r+1}\).

The goal is to obtain a final skill library \(\mathcal{L}_R\) that improves the frozen agent’s generalization performance on unseen test tasks: \[J(\mathcal{L}_R) = \mathbb{E}_{x \sim \mathcal{D}_{\mathrm{test}}} \mathbb{E}_{\tau \sim \pi_\theta(\cdot \mid x, \mathcal{L}_R)} [q(x,\tau)].\] During evolution, only trajectories and feedback from evolution tasks are available; no test-task trajectories or feedback can be used.

4 AlignEvoSkill: Knowledge-Aware and Task-Aligned Skill Evolution↩︎

Figure 2: Illustration of AlignEvoSkill, which instantiates the skill evolution operator \mathcal{U} in three steps. (i) Knowledge-tag-guided source skill selection: infer required tags and retrieve covering prior skills. (ii) Knowledge-tag-guided skill evolution: generate candidates from selected skills, failed trajectories, and uncovered tags. (iii) Skill filtering by knowledge coverage and task alignment: retain high-scoring candidates and update the library.
Figure 3: AlignEvoSkill

In this section, we introduce AlignEvoSkill, a skill evolution framework that improves skill libraries by increasing task-relevant knowledge coverage and selecting skills that are better aligned with target tasks. At the evolution epoch \(r\), we consider the following failed task–trajectory pairs: \[\mathcal{F}_r = \{(x,\tau) \mid (x,\tau,q(x,\tau)) \in \mathcal{E}_r,\;q(x,\tau)=0\}.\] We focus on failed pairs because successful trajectories indicate that the current skill library already provides sufficient guidance for those tasks. Therefore, to balance effectiveness and cost, AlignEvoSkill evolves skills only from failures.

For each failed pair \((x,\tau)\), AlignEvoSkill first infer task-relevant knowledge tags and retrieve skills with matching knowledge from the current library \(\mathcal{L}_r\). It then generates candidate skills conditioned on the selected skills, the failure trajectory, and the uncovered knowledge tags. Finally, AlignEvoSkill filters candidates using both knowledge-tag coverage and likelihood-based task alignment, and adds the retained skills to the library. Figure 2 and Algorithm 3 summarize the overall workflow. All prompts are in Appendix 7.

4.1 Knowledge-Tag-Guided Source Skill Selection↩︎

We first retrieve source skills that provide knowledge relevant to the failed task. Specifically, each skill is associated with a set of knowledge tags1, where each tag is a short phrase describing the procedural knowledge contained in the skill, such as video editing or PDF text extraction. Before evolution, we generate a tag set \(\mathcal{K}_{s_i}\) for each initial skill \(s_i \in \mathcal{L}_0\). Whenever a new skill is added, its tag set is stored together for future epochs.

Given a task-failure pair \((x,\tau)\), we use an LLM to infer the target knowledge tag set \(\mathcal{K}^{\star}(x,\tau)\), which describes the knowledge required by the task. For a subset of source skills \(S \subseteq \mathcal{L}_r\), we define the union of their knowledge tags as \[\mathcal{K}_S = \bigcup_{s \in S} \mathcal{K}_s .\] We select source skills by first maximizing the coverage of target tags and then, among subsets with the same coverage, minimizing irrelevant tags: \[\label{equ:sample95optimize} \begin{gather} \mathcal{S}_{\max}(x,\tau) = \mathop{\mathrm{arg\,max}}_{S \subseteq \mathcal{L}_r} \left| \mathcal{K}^{\star}(x,\tau) \cap \mathcal{K}_S \right|, \\ S^{\star}(x,\tau) = \mathop{\mathrm{arg\,min}}_{S \in \mathcal{S}_{\max}(x,\tau)} \left| \mathcal{K}_S \setminus \mathcal{K}^{\star}(x,\tau) \right|. \end{gather}\tag{1}\] This objective encourages the selected skills to transfer sufficient task-relevant knowledge while suppressing unrelated information.

We further identify the target knowledge tags not covered by the selected skills using: \[\mathcal{K}^{\star}_{\mathrm{un}}(x,\tau;S^{\star}) = \mathcal{K}^{\star}(x,\tau) \setminus \mathcal{K}_{S^{\star}} ,\] which serve as guidance for subsequent skill generation. Since LLM-generated tags may express the same concept with different surface forms, we embed all tags and treat two tags as equivalent when their cosine similarity is above \(0.9\), following [14]. Details of the source skill selection algorithm are provided in Appendix 8.

4.2 Knowledge-Tag-Guided Skill Evolution↩︎

After selecting source skills, AlignEvoSkill uses an LLM to generate candidate skills. For each failed pair \((x,\tau) \in \mathcal{F}_r\), the LLM takes as input the task description \(x\), the failure trajectory \(\tau\), the selected source skills \(S^{\star}(x,\tau)\), and the uncovered tags \(\mathcal{K}^{\star}_{\mathrm{un}}(x,\tau;S^{\star})\). The LLM is prompted to transfer useful knowledge from the selected skills, cover missing knowledge when possible, and produce a reusable skill that can address the observed failure.

To avoid overfitting to a single failed instance, the generated skill is required to generalize to a class of related tasks rather than only to describe the current trajectory and the task. All generated skills are collected into the candidate set \(\mathcal{C}_r\).

4.3 Skill Filtering by Knowledge Coverage and Task Alignment↩︎

Candidate skills generated by the previous step may still be incomplete, noisy, or weakly related to the target task. Therefore, AlignEvoSkill filters \(\mathcal{C}_r\) using two complementary criteria: knowledge-tag coverage and likelihood-based task alignment.

For each candidate skill \(c \in \mathcal{C}_r\), let \((x_c,\tau_c)\) denote the failed pair that produces it. We first generate the tag set \(\mathcal{K}_c\) for \(c\) and compare it with the target tag set \(\mathcal{K}^{\star}(x_c,\tau_c)\). The precision and recall of knowledge coverage are defined as \[P_{\mathrm{tag}}(c) = \frac{ \left|\mathcal{K}_c \cap \mathcal{K}^{\star}(x_c,\tau_c)\right| }{ \left|\mathcal{K}_c\right| },\] \[R_{\mathrm{tag}}(c) = \frac{ \left|\mathcal{K}_c \cap \mathcal{K}^{\star}(x_c,\tau_c)\right| }{ \left|\mathcal{K}^{\star}(x_c,\tau_c)\right| }.\] We compute the knowledge coverage score based on the two values above as their F1 score: \[F_{\mathrm{tag}}(c) = \frac{ 2 P_{\mathrm{tag}}(c) R_{\mathrm{tag}}(c) }{ P_{\mathrm{tag}}(c) + R_{\mathrm{tag}}(c) }.\]

We then estimate whether the candidate skill is specifically aligned with the target task. Instead of relying on trajectory-centered filtering, which may favor skills that merely explain the observed execution, we measure task alignment by the conditional likelihood of the skill given the task description: \[A(c)=\sigma\left( \frac{1}{|c|} \left( \log{\hat{p}(c \mid x_c)} - \log{\hat{p}(c \mid \emptyset)} \right) \right),\] where \(|c|\) is the token length of \(c\) and \(\sigma(\cdot)\) is the sigmoid function. The task-conditioned likelihood \(\log{\hat{p}(c \mid x_c)}\) measures how well the skill is supported by the target task, calculated as the log probability of generating \(c\) taken \(x_c\) as input. Subtract the unconditional likelihood \(\log{\hat{p}(c \mid \emptyset)}\) removes the model’s prior preference for generally plausible but task-agnostic skills. Thus, \(A(c)\) assigns higher scores to skills whose content is specifically grounded in the task requirements.

Finally, we combine knowledge coverage and task alignment using their geometric mean: \[\mathrm{Score}(c) = \sqrt{ F_{\mathrm{tag}}(c) A(c) }.\] This scoring function rewards candidates that perform well on both dimensions [15]. We retain the top-ranked candidates as \(\widetilde{\mathcal{C}}_r\) and update the skill library as \[\mathcal{L}_{r+1} = \mathcal{L}_r \cup \widetilde{\mathcal{C}}_r.\]

5 Experiment↩︎

5.1 Setup↩︎

5.1.0.1 Models

To fully evaluate the generality and effectiveness of AlignEvoSkill, we instantiate the agent with four representative LLM backbones: DeepSeek-V4-Flash [16], Claude-Haiku-4.5 [17], GPT-5.4-nano [18], and GPT-5.4 [18]. These backbones differ in model family, access setting, and scale, allowing us to test whether the evolved skill libraries transfer robustly across heterogeneous agents.

5.1.0.2 Benchmarks and Metrics

We evaluate AlignEvoSkill on three mainstream agent-skill benchmarks: SRA-Bench [19], SkillsBench (S-Bench) [20], and SkillLearnBench (SL-Bench) [11]. Appendix 9 provides detailed descriptions of these benchmarks. To match realistic skill-use scenarios, we do not provide the oracle skill for each test instance. Instead, the agent retrieves relevant skills and uses them to solve the task. We report the official metric: accuracy for SRA-Bench and pass rate for S-Bench and SL-Bench.

5.1.0.3 Baselines

We compare AlignEvoSkill with three current representative SOTA skill-evolution baselines: CoEvoSkills [21], Trace2Skill [9], and SkillX [13]. These methods cover major skill-evolution paradigms, including verification-driven refinement, trajectory-based distillation, and hierarchical skill-library construction. Their strong reported results and complementary designs make them suitable references for evaluating skill evolution. We introduce them in detail in Appendix 10.

5.1.0.4 Implementation Details

We run our method for \(3\) evolution epochs and report the resulting library sizes in Appendix 11. For semantic matching between knowledge tags, we use all-MiniLM-L6-v2 [22] with the threshold defined in §4. The log-likelihood terms in the task-alignment score are estimated with Qwen3.6-27B [23], where Appendix 13.5 analyzes the sensitivity to this score model. In each epoch, we generate one candidate skill for each failed task–trajectory pair with temperature \(0.0\) and a maximum length of \(16{,}394\) tokens, and retain the top \(20\%\) candidates according to the final skill score2. Following [12], we use a \(3\)-fold protocol with \(3\) runs to avoid data leakage: skills are evolved on two folds and evaluated on the held-out fold. All evaluations use the official benchmark frameworks, and skills are retrieved with BM25 for each test instance. All analytical experiments of AlignEvoSkill use GPT-5.4-nano with human-labeled initial skills to reduce inference costs while preserving reliable trends.

5.2 Main Experiment↩︎

3pt

Table 1: Main results across skill-evolution methods. From-Scratch denotes evolution without human-labeled initial skills, while Human-Labeled denotes evolution from the original human-labeled skill library. Base denotes direct reasoning in From-Scratch and retrieval from the original skill library in Human-Labeled. Except Base, all results are averaged on \(3\)-fold runs. The best result of each setting is marked in bold.
Setting From-Scratch Human-Labeled
1-2 (lr)3-5 (lr)6-8 LLM Baseline SRA-Bench S-Bench SL-Bench SRA-Bench S-Bench SL-Bench
DeepSeek-V4-Flash Base \(60.0\) \(13.1\) \(4.0\) \(68.9\) \(22.6\) \(21.0\)
CoEvoSkills \(64.2\) \(23.8\) \(15.1\) \(72.6\) \(32.1\) \(30.0\)
Trace2Skill \(65.8\) \(21.4\) \(18.0\) \(73.7\) \(29.8\) \(33.0\)
SkillX \(65.3\) \(22.6\) \(16.0\) \(73.2\) \(31.0\) \(32.0\)
AlignEvoSkill \(\mathbf{67.8 \pm 0.7}\) \(\mathbf{26.2 \pm 1.7}\) \(\mathbf{22.0 \pm 1.6}\) \(\mathbf{75.1 \pm 0.5}\) \(\mathbf{34.5 \pm 3.4}\) \(\mathbf{37.0 \pm 2.6}\)
Claude-Haiku-4.5 Base \(51.8\) \(19.0\) \(13.0\) \(60.2\) \(9.5\) \(20.0\)
CoEvoSkills \(57.9\) \(26.2\) \(21.0\) \(64.8\) \(28.6\) \(29.0\)
Trace2Skill \(59.3\) \(22.6\) \(24.1\) \(66.4\) \(23.8\) \(32.9\)
SkillX \(58.6\) \(25.0\) \(22.0\) \(65.7\) \(27.4\) \(31.0\)
AlignEvoSkill \(\mathbf{62.4 \pm 0.5}\) \(\mathbf{28.6 \pm 2.9}\) \(\mathbf{27.0 \pm 2.8}\) \(\mathbf{68.1 \pm 0.6}\) \(\mathbf{31.0 \pm 1.7}\) \(\mathbf{35.0 \pm 2.3}\)
GPT-5.4-nano Base \(43.6\) \(3.6\) \(17.0\) \(47.3\) \(9.5\) \(30.0\)
CoEvoSkills \(50.3\) \(16.7\) \(24.0\) \(53.6\) \(25.0\) \(36.0\)
Trace2Skill \(52.1\) \(14.3\) \(26.1\) \(55.9\) \(22.6\) \(39.0\)
SkillX \(51.5\) \(15.5\) \(25.0\) \(54.9\) \(23.8\) \(38.1\)
AlignEvoSkill \(\mathbf{55.5 \pm 0.7}\) \(\mathbf{19.0 \pm 3.4}\) \(\mathbf{28.0 \pm 2.7}\) \(\mathbf{58.0 \pm 0.5}\) \(\mathbf{26.2 \pm 1.7}\) \(\mathbf{41.0 \pm 2.0}\)
GPT-5.4 Base \(64.1\) \(39.3\) \(42.0\) \(70.7\) \(45.2\) \(48.0\)
CoEvoSkills \(68.6\) \(46.4\) \(50.0\) \(74.9\) \(52.4\) \(56.0\)
Trace2Skill \(69.8\) \(42.9\) \(52.0\) \(75.7\) \(50.0\) \(58.0\)
SkillX \(69.2\) \(45.2\) \(51.0\) \(75.3\) \(51.2\) \(57.0\)
AlignEvoSkill \(\mathbf{72.2 \pm 0.3}\) \(\mathbf{48.8 \pm 1.7}\) \(\mathbf{54.0 \pm 3.1}\) \(\mathbf{77.3 \pm 0.7}\) \(\mathbf{54.8 \pm 3.4}\) \(\mathbf{59.0 \pm 2.2}\)

Table 1 shows that AlignEvoSkill achieves the best result across all benchmarks, backbone models, and initialization settings. Compared with Base, AlignEvoSkill improves average performance by \(11.9\) points, corresponding to a relative gain of \(\mathbf{34.7\%}\). It also consistently outperforms existing agent skill evolution baselines, exceeding the strongest prior method by \(3.3\) points on average and establishing a new SOTA for skill evolution. Case studies of skills generated by AlignEvoSkill are provided in Appendix 14. We can also see that:

5.2.0.1 Benchmark.

AlignEvoSkill brings stable gains on all three experimental benchmarks. On SRA-Bench, where Base is already relatively strong, AlignEvoSkill still yields a \(15.9\%\) relative improvement, indicating that the evolved skills further improve skill utilization. On S-Bench, it achieves the largest relative gain of \(134.8\%\), showing strong generalization and effectiveness to diverse real-world tasks. On SL-Bench, it obtains the largest absolute gain of \(13.5\) points, demonstrating its effectiveness in skill evolution.

5.2.0.2 Model.

AlignEvoSkill improves all four backbone models, suggesting that its benefits are largely model-agnostic. The gains are especially notable for smaller models, including DeepSeek-V4-Flash, Claude-Haiku-4.5, and GPT-5.4-nano, where evolved skills provide valuable procedural guidance. For the stronger GPT-5.4, the relative improvement is smaller because of its higher Base performance, but AlignEvoSkill still remains the best-performing method on this model, showing its effectiveness.

5.2.0.3 Baseline.

The clear improvement over Base confirms the necessity of skill evolution. Compared with CoEvoSkills, Trace2Skill, and SkillX, AlignEvoSkill improves average performance by \(3.7\), \(3.3\), and \(3.4\) points, respectively. While prior methods exhibit benchmark-dependent strengths, AlignEvoSkill achieves the best results in every setting and a new SOTA result, indicating more generally effective skill evolution.

5.3 Ablation Study↩︎

Table 2: Component ablation of AlignEvoSkill. - Sampling removes knowledge-tag-guided source-skill selection. - Generation directly concatenates selected source skills without synthesizing a new candidate skill. - Filter keeps all generated candidate skills.
Method SRA-Bench S-Bench SL-Bench
AlignEvoSkill \(58.0\) \(25.8\) \(41.4\)
- Sampling \(53.6\) \(18.2\) \(36.5\)
- Generation \(54.1\) \(16.7\) \(35.4\)
- Filter \(55.0\) \(20.3\) \(38.2\)

We conduct ablation studies to isolate the contribution of each component in AlignEvoSkill. As shown in Table 2, removing any component adversely affects performance. (i) Removing knowledge-tag-guided sampling causes a \(5.6\)-point average drop, showing that selecting source skills based on task-required knowledge is important for effective generation. (ii) Removing skill generation leads to the largest drop of \(6.3\) points, indicating that directly reusing selected source skills is insufficient and that the agent must adapt and synthesize transferable knowledge according to the failed task–trajectory pair. (iii) Removing filtering also reduces performance, confirming that post-generation control is needed to suppress noisy or weakly aligned skills before they enter the library.

5.4 Evolution Efficiency across Baselines↩︎

Figure 4: Token and wall-clock costs of skill evolution on each benchmark across various methods. The lowest cost under each setting is marked in bold.

Figure 4 compares the evolution cost of AlignEvoSkill with existing skill-evolution baselines. AlignEvoSkill achieves the lowest token and wall-clock cost on all three benchmarks while also producing the strongest downstream performance. Thus, its gains do not come from a larger evolution budget. Instead, AlignEvoSkill offers a better cost–performance trade-off.

Besides, we can make three observations. (i) AlignEvoSkill is consistently more efficient than prior baselines. Compared with the average cost of existing skill-evolution methods, it reduces token usage by about \(33.2\%\) and time cost by about \(28.1\%\). Even compared with the cheapest baseline, SkillX, AlignEvoSkill still saves about \(12.5\%\) tokens and time on average. (ii) These savings become more important as benchmark scale increases. For example, compared with Trace2Skill, AlignEvoSkill saves \(2{,}223\)K tokens and \(813.5\)s on S-Bench, and \(1{,}508\)K tokens and \(551.7\)s on SL-Bench. This suggests that targeted skill evolution scales better than broader trajectory distillation or library-construction pipelines. (iii) Higher evolution costs do not necessarily produce better skills. Trace2Skill consumes the most tokens and time, but it does not achieve the best downstream performance. These results indicate that effective evolution should improve the utility of each generated skill rather than merely generating or refining more content. By selecting source skills with task-relevant knowledge tags and filtering candidates through coverage and alignment scores, AlignEvoSkill avoids many redundant or weakly useful evolution steps, leading to both stronger performance and lower costs.

5.5 Performance Across Knowledge Coverage and Task Alignment↩︎

Figure 5: Joint relation between knowledge-tag coverage, task alignment, and downstream performance averaged across benchmarks. The x- and y-axes show the averaged scores across SRA-Bench, S-Bench, and SL-Bench, while the number beside each point denotes the average performance.
Table 3: Performance of AlignEvoSkill under different source-skill sampling and candidate-skill filtering strategies. We replace the sampling and filtering methods of AlignEvoSkill. SRA, S, and SL denote SRA-Bench, S-Bench, and SL-Bench, respectively. The best result within each strategy group is marked in bold.
Method Source-Skill Sampling Candidate-Skill Filtering
SRA S SL Avg. SRA S SL Avg.
BM25 \(54.9\) \(20.7\) \(37.9\) \(37.8\) \(55.6\) \(21.6\) \(39.1\) \(38.8\)
Embedding \(55.6\) \(21.8\) \(38.8\) \(38.7\) \(56.4\) \(23.1\) \(39.9\) \(39.8\)
LLM-Based \(56.7\) \(23.5\) \(40.2\) \(40.1\) \(57.0\) \(24.3\) \(40.5\) \(40.6\)
AlignEvoSkill \(\mathbf{58.0}\) \(\mathbf{25.8}\) \(\mathbf{41.4}\) \(\mathbf{41.7}\) \(\mathbf{58.0}\) \(\mathbf{25.8}\) \(\mathbf{41.4}\) \(\mathbf{41.7}\)

In this paper, we further examine whether knowledge coverage and task alignment are associated with downstream skill quality, and whether AlignEvoSkill improves both dimensions simultaneously. Figure 5 plots each method by its averaged knowledge-tag coverage score \(F_{\mathrm{tag}}\), task-alignment score \(A\), and downstream performance across benchmarks, settings, and backbone models.

The results show a clear positive trend: methods with higher \(F_{\mathrm{tag}}\) and \(A\) generally achieve better task-solving performance. Base appears in the lower-left region and obtains the weakest result, while skill-evolution baselines move toward higher coverage and alignment, improving downstream performance. AlignEvoSkill lies in the upper-right region, achieving the best averaged \(F_{\mathrm{tag}}\), the best averaged \(A\), and the highest averaged performance. Compared with the strongest baseline, it improves task-relevant knowledge coverage by \(9.9\%\) and task-alignment likelihood by \(8.9\%\). This supports our motivation, where effective skill evolution should not only retrieve or synthesize broadly relevant skills but also ensure that evolved skills cover the knowledge required by the task and remain aligned with the task objective.

The baseline comparison further shows that knowledge coverage and task alignment are complementary. SkillX achieves relatively strong knowledge-tag coverage among baselines, whereas Trace2Skill obtains stronger task alignment, yet their downstream performance is similar. This suggests that improving only one dimension can create a bottleneck. By optimizing both dimensions jointly, AlignEvoSkill produces more balanced and task-useful skills, which explains its consistent advantage over prior skill-evolution methods.

5.6 Effect of Sampling and Filtering Method↩︎

We further analyze two key decisions in skill evolution: selecting source skills before generation and filtering generated candidates afterward. These two stages affect skill quality from different directions: source-skill sampling determines what prior knowledge is transferred into generation, while candidate-skill filtering controls which generated skills are finally added to the library. The corresponding experimental results are shown in Table 3.

For source-skill sampling, the average score increases from \(37.8\) with BM25 to \(38.7\) with Embedding, \(40.1\) with LLM-Based selection, and \(41.7\) with AlignEvoSkill. This trend shows that the quality of retrieved source skills directly affects the generated skills. Lexical matching and generic semantic similarity can miss fine-grained procedural knowledge, whereas knowledge-tag-guided sampling better identifies the missing knowledge required by failed tasks. By maximizing target-tag coverage while reducing irrelevant tags, AlignEvoSkill provides less noisy evidence for the skill evolution.

For candidate-skill filtering, the average score improves from \(38.8\) to \(41.7\). This confirms that post-generation filtering is also important for building a useful skill library. However, candidate filtering is not simply a relevance-ranking problem. By jointly considering knowledge coverage and likelihood-based task alignment, AlignEvoSkill removes superficially related but weakly useful candidates and retains skills that better support downstream task solving. This complements source skill sampling: even when relevant source skills are selected, generated candidates may still overfit the trajectory, omit key knowledge, or include task-agnostic procedures. The gains are especially clear for both sampling and filtering, suggesting that precise knowledge transfer and alignment-aware filtering are most valuable when tasks involve diverse execution constraints.

6 Conclusion↩︎

In this paper, we propose AlignEvoSkill, a knowledge-aware and task-aligned framework for agent skill evolution. AlignEvoSkill uses knowledge tags to identify task-required procedural knowledge, retrieve complementary source skills, and generate candidate skills for failed tasks. It further filters evolved skills by combining knowledge-tag coverage with likelihood-based task alignment, retaining skills that are both informative and task-relevant while reducing noisy or incomplete transfer. Experiments on \(3\) benchmarks with \(4\) LLM backbones show that AlignEvoSkill consistently improves agent performance, achieving an average gain of \(11.9\) points over Base and outperforming existing skill-evolution baselines. Ablation studies and diagnostic analyzes confirm the importance of knowledge-guided sampling, adaptive skill generation, and alignment-aware filtering in building higher-quality skill libraries. Overall, these results show that effective skill evolution should explicitly model both the knowledge required and the alignment to the target task.

Limitations↩︎

While AlignEvoSkill improves skill evolution through knowledge-tag-guided sampling and alignment filtering, our study has several limitations. First, our experiments are conducted on three skill-oriented benchmarks and four LLM backbones. These settings are diverse, but they may not cover all real-world agent scenarios. Besides, our method benefits from informative failure trajectories and reliable task feedback, and noisy traces may lead to less useful evolved skills. Future work can extend AlignEvoSkill to broader environments and explore stronger tag normalization, verification, and alignment scoring.

Ethics Statement↩︎

This work aims to improve reusable skill evolution for benign LLM-agent tasks. It does not involve private user data or new human-subject annotation. The usage of benchmarks and LLMs follows their licenses. We employ the LLM tool to polish the paper writing.

7 Prompt↩︎

None

Figure 6: Prompt for generating knowledge tags from a given skill..

None

Figure 7: Prompt for inferring target knowledge tags from a task-trajectory pair..

None

Figure 8: Prompt for synthesizing a candidate skill during skill evolution..

Figure 6, Figure 7, and Figure 8 show the prompts used in AlignEvoSkill for skill-level tag generation, task-trajectory-level target tag generation, and candidate-skill synthesis, respectively.

8 Algorithm of Sampling Source Skill↩︎

Table 4: Performance of AlignEvoSkill with different source-skill sampling algorithms.
Method SRA-Bench S-Bench SL-Bench
Greedy \(58.0\) \(25.8\) \(41.4\)
Primal-Dual \(57.3\) \(25.2\) \(40.6\)
LP Relaxation \(58.2\) \(25.7\) \(41.8\)

The source-skill selection objective in Equation 1 can be regarded as a variant of the minimum set cover problem, where the goal is to cover as many target knowledge tags as possible while introducing as few irrelevant tags as possible. Since the current skill library may not contain skills covering every target tag, all algorithms first operate on the coverable subset of \(\mathcal{K}^{\star}\) and keep the remaining uncovered tags for subsequent candidate-skill generation. Table 4 compares three sampling algorithms. Because their performance differences are small, AlignEvoSkill adopts greedy search by default for lower computational cost.

8.0.0.1 Greedy Search.

Greedy search builds the source-skill subset iteratively. Starting from an empty subset, it repeatedly selects the skill that provides the largest marginal coverage over the currently uncovered target tags. In our setting, the benefit is the number of newly covered tags in \(\mathcal{K}^{\star}\), and the cost is the number of newly introduced tags outside \(\mathcal{K}^{\star}\). Thus, the algorithm prefers skills that cover more missing task-relevant knowledge while adding less unrelated knowledge. The selection stops when all coverable target tags are covered or no remaining skill can increase coverage. We then remove redundant skills whose deletion does not reduce the covered target-tag set.

8.0.0.2 Primal-Dual Approximation.

We formulate each target knowledge tag as an element to be covered and each source skill as a candidate set with a cost. The cost of a skill is determined by the irrelevant tags it introduces, i.e., tags in \(\mathcal{K}_{s_i} \setminus \mathcal{K}^{\star}\). The algorithm maintains dual variables for uncovered target tags and increases them until at least one skill becomes cost-effective. That skill is selected, and the newly covered tags are removed from the uncovered set. This process continues until all coverable target tags are covered. By incorporating irrelevant-tag cost, the primal-dual algorithm follows the same principle as AlignEvoSkill: improving knowledge coverage while reducing noisy knowledge passed to skill generation.

8.0.0.3 LP Relaxation with Rounding.

LP relaxation casts source-skill sampling as a relaxed integer optimization problem. Each skill has a selection variable, and each irrelevant tag has an auxiliary variable indicating whether it is introduced by the selected skills. The coverage constraints require every coverable target tag in \(\mathcal{K}^{\star}\) to be covered by at least one selected skill, while the objective minimizes the number of introduced irrelevant tags. Instead of solving the binary program directly, we relax the selection variables to continuous values in \([0,1]\). The final source-skill subset is obtained by rounding high-valued skills and, when necessary, applying a greedy repair step to satisfy any remaining coverage constraints.

9 Experimental Benchmark↩︎

9.0.0.1 SRA-Bench.

SRA-Bench evaluates skill retrieval augmentation for LLM-based agents. Rather than assuming that the oracle skill is directly provided, it studies a realistic setting where an agent must retrieve relevant skills from a large external corpus and use them for task solving. The benchmark decomposes evaluation into skill retrieval, skill incorporation, and end-task execution, allowing fine-grained analysis of agent failures. In our experiments, SRA-Bench is used to evaluate whether an evolved skill library helps the agent retrieve and use task-relevant skills for downstream execution.

9.0.0.2 SkillsBench.

SkillsBench, abbreviated as S-Bench in our experiments, measures how effectively LLM agents use external skills across diverse real-world tasks. Each task is paired with curated skills and deterministic verifiers, making it possible to compare agents under different skill-use settings, such as no skills, curated skills, and self-generated skills. Therefore, S-Bench is suitable for evaluating both the utility of high-quality expert skills and the practical limitations of automatically generated skills. We use S-Bench to test whether retrieved skills from the current library can improve task completion when the target skill is not given in advance.

9.0.0.3 SkillLearnBench.

SkillLearnBench, abbreviated as SL-Bench, focuses on continual skill learning from agent experience. It evaluates skill-dependent real-world tasks and considers not only final task success but also the quality of learned skills and execution trajectories. Unlike benchmarks that only test the use of fixed skills, SL-Bench emphasizes whether an agent can acquire, refine, and reuse skills across tasks. We use SL-Bench to examine whether the evolved skill library can provide reusable procedural guidance for future task solving.

10 Experimental Baseline↩︎

10.0.0.1 CoEvoSkills.

CoEvoSkills is a verification-driven skill evolution framework based on a generate-verify-refine loop [21]. It couples a skill generator with a surrogate verifier, which provides actionable feedback without requiring access to ground-truth test cases. This iterative design enables agents to improve complex skill packages beyond one-shot generation. We include CoEvoSkills as a representative baseline for verification-guided skill refinement.

10.0.0.2 Trace2Skill.

Trace2Skill distills transferable skills from execution trajectories [9]. Instead of relying on a single trajectory, it analyzes diverse trajectories with multiple sub-agents, extracts trajectory-local lessons, and consolidates them into a unified skill directory through inductive reasoning. It supports both creating new skills from scratch and refining existing human-written skills. We use Trace2Skill as a representative trajectory-driven skill distillation baseline.

10.0.0.3 SkillX.

SkillX automatically constructs reusable skill knowledge bases from agent experience [13]. It organizes experience into a multi-level hierarchy of planning skills, functional skills, and atomic skills, and further improves the library through iterative refinement and exploratory expansion. The resulting skill base is designed to be plug-and-play across agents and environments. We compare with SkillX as a representative structured skill-library construction baseline.

11 Evolved Scale of AlignEvoSkill↩︎

Table 5: Number of skills generated by AlignEvoSkill under each setting.
Model SRA-Bench S-Bench SL-Bench
DeepSeek-V4-Flash \(1{,}140\) \(31\) \(28\)
Claude-Haiku-4.5 \(984\) \(27\) \(25\)
GPT-5.4-nano \(1{,}036\) \(29\) \(26\)
GPT-5.4 \(829\) \(23\) \(21\)

Table 5 reports the scale of the evolved skill libraries produced by AlignEvoSkill under different models and benchmarks.

12 Reliability of Knowledge Tags Generated by LLMs↩︎

Since AlignEvoSkill uses LLM-generated knowledge tags for both source-skill selection and candidate-skill filtering, we examine whether these tags reliably capture reusable procedural knowledge. We conduct a human-audited study over two tag sources: tags generated from existing skill descriptions and target tags inferred from failed task-trajectory pairs. For each benchmark, we sample \(60\) skill descriptions and \(60\) failed task-trajectory pairs, resulting in \(360\) evaluated items in total. Two annotators assign capability-level reference tags to each item, and disagreements are resolved through discussion.

We evaluate tag quality with exact-match F1, semantic precision, semantic recall, semantic F1, and self-consistency. Exact-match F1 requires normalized tag strings to be identical. Semantic matching instead treats two tags as equivalent when their embedding cosine similarity exceeds the same threshold \(\delta=0.9\) used in AlignEvoSkill. Self-consistency is computed as the average pairwise semantic F1 across three independent tag-generation runs.

Figure 9: Reliability of LLM-generated knowledge tags. Darker cells indicate higher scores. Semantic matching improves over exact matching, suggesting that many apparent mismatches come from different surface forms of similar capability tags.

As shown in Figure 9, LLM-generated tags are reasonably reliable for both tag sources. The overall semantic F1 reaches \(0.81\), exceeding the exact-match F1 of \(0.72\). This indicates that many exact-match errors are surface-form variations, such as latex_table_generation and table_formatting. The overall self-consistency score reaches \(0.86\), showing that the tag generator produces stable capability abstractions. Tags inferred from failed task-trajectory pairs are slightly less reliable, likely because trajectories contain noisy intermediate attempts and error-recovery steps. Nevertheless, their semantic F1 remains close to \(0.8\), supporting LLM-generated tags as a lightweight signal for knowledge-aware skill selection and filtering.

13 How Different Parameters Affect AlignEvoSkill↩︎

We conduct analytical experiments to study how key design choices affect AlignEvoSkill and to provide practical guidance for applying it under different settings.

13.1 Performance across Evolution Epochs↩︎

Figure 10: Performance of AlignEvoSkill across evolution epochs.

We first analyze whether iterative skill evolution brings progressive gains. Figure 10 shows that performance improves steadily on all three benchmarks as the number of evolution epochs increases. The gains are larger in early epochs and become smaller after epoch \(3\), indicating diminishing returns. Meanwhile, performance does not degrade as more skills are added, suggesting that candidate-skill filtering helps maintain library quality. We therefore use \(3\) epochs as a practical trade-off between effectiveness and cost.

13.2 Performance across Filter Ratios↩︎

Figure 11: Performance of AlignEvoSkill under different candidate-skill filter ratios.

We next study how the candidate-skill filter ratio affects the evolved library. A larger ratio keeps more generated skills, but it may also introduce noisy or weakly task-aligned skills. As shown in Figure 11, retaining the top \(20\%\) candidates achieves the best performance on all benchmarks. Performance gradually decreases when the ratio exceeds \(0.2\), indicating that keeping too many candidates can introduce irrelevant or misleading knowledge. Nevertheless, retaining all generated skills still outperforms the base library, showing that skill generation is generally beneficial and that selective filtering further improves reliability.

13.3 Performance across Labeling Scales↩︎

Figure 12: Performance of AlignEvoSkill with different ratios of original human-labeled skills.

We further examine whether AlignEvoSkill heavily depends on costly human-labeled initial skills. Figure 12 shows that performance increases monotonically as the ratio of original human-labeled skills grows from \(0\%\) to \(100\%\). This confirms that human-labeled skills provide useful transferable knowledge for skill evolution. The improvement is modest on SRA-Bench but much larger on S-Bench and SL-Bench, suggesting that labeled skills are especially helpful when tasks rely more strongly on reusable procedural knowledge.

13.4 Robustness to Task Descriptions↩︎

Table 6: Performance of AlignEvoSkill under paraphrased task descriptions. For each task, we generate \(5\) LLM-based paraphrases of the original description.
SRA-Bench S-Bench SL-Bench
\(58.1 \pm 0.5\) \(25.8 \pm 0.9\) \(41.3 \pm 1.1\)

Because AlignEvoSkill uses task descriptions for candidate-skill generation and likelihood-based task alignment, we test its robustness to surface-form changes. Table 6 shows that AlignEvoSkill remains stable under paraphrased task descriptions. Compared with the original results in Table 1, performance changes by only \(+0.1\), \(-0.4\), and \(+0.3\) points on SRA-Bench, S-Bench, and SL-Bench, respectively. The small standard deviations of \(0.5\), \(0.9\), and \(1.1\) further show that the evolved skills are insensitive to wording variation. This suggests that likelihood-based task alignment captures underlying task semantics rather than relying on lexical overlap.

13.5 Sensitivity to Score Model↩︎

3pt

Table 7: Sensitivity of the task-alignment score to different open-source score models. \(\bar{A}\) denotes the average task-alignment score. \(\mathrm{MAE}\) denotes the mean absolute difference from the default Qwen3.6-27B scorer. \(\rho_{\mathrm{sp}}\) denotes the Spearman correlation with the default scorer. Top-\(20\%\) Ov. denotes the overlap between the top-\(20\%\) candidates ranked by each scorer and those ranked by the default scorer.
Score Model \(\bar{A}\) \(\mathrm{MAE}\) \(\rho_{\mathrm{sp}}\) Top-\(20\%\) Ov.
Qwen3.6-7B \(0.632\) \(0.034\) \(0.927\) \(83.6\)
Qwen3.6-14B \(0.640\) \(0.021\) \(0.951\) \(88.9\)
Qwen3.6-27B \(0.646\) \(0.000\) \(1.000\) \(100.0\)
Llama-3.1-8B \(0.624\) \(0.047\) \(0.895\) \(78.2\)
Mistral-7B-v0.3 \(0.618\) \(0.055\) \(0.872\) \(74.6\)
Mixtral-8x7B \(0.631\) \(0.038\) \(0.911\) \(81.9\)

We examine whether the likelihood-based task-alignment score is sensitive to the choice of score model. For each candidate skill \(c\), we compute \[\sigma\left( \frac{1}{|c|_m} \left( \log{\hat{p}_m(c \mid x_c)} - \log{\hat{p}_m(c \mid \emptyset)} \right) \right),\] where \(m\) denotes the score model and \(|c|_m\) is the token length of \(c\) under the model’s native tokenizer. We keep the candidate skill set fixed and only replace the open-source causal language model used to compute token-level log likelihoods. Table 7 shows that the task-alignment score is stable across score models. The average score changes only moderately, and all alternative scorers have high Spearman correlation with the default Qwen3.6-27B scorer. The top-ranked candidates are also largely consistent, with top-\(20\%\) overlap ranging from \(74.6\%\) to \(88.9\%\) among non-default models. These results indicate that the contrastive likelihood form mainly captures task-specific support rather than model-specific prior preference. Thus, although different score models may assign different absolute likelihoods, they largely agree on which candidate skills are more aligned with the task.

13.6 Performance under Cross-Benchmark Transfer↩︎

Table 8: Performance under cross-benchmark transfer. Rows denote the source benchmark used to evolve the skill library, and columns denote the target benchmark used for evaluation. Base denotes evolution without human-labeled initial skills. All denotes using original skills of all benchmarks.
Source SRA-Bench S-Bench SL-Bench
Base \(55.5\) \(19.4\) \(28.3\)
SRA-Bench \(58.0\) \(19.9\) \(33.7\)
S-Bench \(49.6\) \(25.8\) \(37.2\)
SL-Bench \(47.8\) \(21.6\) \(41.4\)
All \(57.3\) \(25.4\) \(40.9\)

To evaluate the generalization ability of AlignEvoSkill, we test whether evolved skill libraries capture transferable procedural knowledge rather than merely fitting the source benchmark. Table 8 provides three observations. (i) In-domain transfer achieves the best performance on all target benchmarks, with scores of \(58.0\) on SRA-Bench, \(25.8\) on S-Bench, and \(41.4\) on SL-Bench. This shows that benchmark-specific formats and solution patterns remain useful. (ii) Cross-benchmark transfer is still effective. The best out-of-domain source retains \(85.5\%\), \(83.7\%\), and \(89.9\%\) of the corresponding in-domain performance on SRA-Bench, S-Bench, and SL-Bench, respectively. This suggests that evolved skills encode reusable knowledge beyond the benchmark on which they are generated. (iii) Transfer is asymmetric. For example, skills evolved on S-Bench transfer well to both SRA-Bench and SL-Bench, whereas skills evolved on SRA-Bench transfer less effectively to S-Bench. This indicates that cross-benchmark transfer depends on how well the source benchmark covers the procedural requirements of the target benchmark.

14 Case Study↩︎

14.1 Proper Knowledge Coverage↩︎

3pt

Table 9: Case study of proper knowledge coverage. The evolved skill preserves the Catalan-number knowledge required by the target instance while filtering unrelated applications.
Task Benchmark: SR-Agents / TheoremQA. Instance: theoremqa_00034. The task asks: “How many ways are there to arrange 6 pairs of parentheses such that they are balanced?” The gold answer is the integer 132.
Original skill Catalan Numbers (theoremqa_265) is a broad Catalan-number skill. It describes Catalan numbers for balanced parentheses, polygon triangulations, lattice paths not crossing the diagonal, binary trees, and stack-sortable permutations.
Needed knowledge Only the balanced-parentheses part is needed: balanced arrangements of \(n\) pairs are counted by the \(n\)-th Catalan number, \(C_n=\binom{2n}{n}/(n+1)\). For this instance, \(n=6\), so \(C_6=\binom{12}{6}/7=924/7=132\).
Filtered knowledge The evolved skill omits Catalan applications that are present in the original skill but unused here: polygon triangulation, diagonal-constrained lattice paths, binary trees, stack-sortable permutations, and generic path-count or wrong-index pitfalls not specific to this instance.
Evolved skill Balanced Parentheses via Catalan narrows the scope to standard balanced-parentheses / Dyck-sequence counting. It triggers when the problem asks for balanced arrangements of \(n\) pairs, sets \(n\) as the number of pairs, applies \(C_n\), computes the binomial value, divides by \(n+1\), and returns the final integer. It also guards against non-standard variants, e.g., strict-prefix conditions where the standard Catalan count may not directly apply.
Outcome The evolved run passes evaluation with reward \(1\) under sragents.evaluate; the extracted answer is 132, matching the gold answer.

Table 9 shows how AlignEvoSkill improves knowledge coverage by preserving task-relevant knowledge and removing unnecessary content. The original Catalan-number skill contains the knowledge needed for the target problem, but it also includes many unrelated applications, such as polygon triangulation, lattice paths, binary trees, and stack-sortable permutations. Directly reusing such a broad skill may introduce distracting or weakly relevant information into the agent context. In contrast, the evolved skill focuses on the exact knowledge required by the instance: balanced arrangements of \(n\) pairs of parentheses are counted by the \(n\)-th Catalan number. It also provides a concise procedure: identify \(n\), compute \(C_n=\binom{2n}{n}/(n+1)\), and return the integer answer. This case shows that AlignEvoSkill does not simply copy existing skills. Instead, it distills the useful part of prior knowledge into a narrower, more reusable, and less noisy skill.

14.2 High Task Alignment↩︎

3pt

Table 10: Case study of high task alignment. The evolved skill preserves the task requirements while distilling reusable execution details from the trajectory.
Task Benchmark: SkillsBench. Instance: offer-letter-generator. The task is to write an offer letter by filling offer_letter_template.docx with required fields from employee_data.json, and save the completed document as offer_letter_filled.docx.
Task constraints The task requires replacing placeholders such as {{CANDIDATE_FULL_NAME}} and {{POSITION}}. It must also handle the conditional block {{IF_RELOCATION}}...{{END_IF_RELOCATION}}: if RELOCATION_PACKAGE is Yes, keep the relocation content but remove the conditional markers in the final DOCX.
Trace signal The successful trajectory first preloads the task-specific skill epoch-001__01__offer-letter-generator-docx-split-placeholders-conditional together with a DOCX skill. It then loads the offer-letter helper, runs python ../_merged_bundle/skills/*offer-letter-generator*/offer_letter_helper.py, produces offer_letter_filled.docx, validates the file with python-docx, and confirms that no {{...}} placeholders remain.
Preserved task The evolved skill preserves the original task identity and requirements: use offer_letter_template.docx, use employee_data.json, replace all template placeholders, correctly process the relocation conditional section, and write exactly offer_letter_filled.docx.
Learned strategy Beyond preserving the task, the evolved skill captures execution details from the trace: run the helper from the merged bundle rather than workspace/skills; handle placeholders at paragraph-text level to cover split DOCX XML runs; recurse through tables, nested tables, headers, and footers; remove relocation markers while preserving relocation text when applicable; and verify the output by reopening the DOCX and scanning for leftover placeholders.
Outcome The evolved run passes the local pytest verifier with reward \(1\); the validation summary reports 18 passed in 0.09s. The skill also includes guardrails: use it only for the SkillsBench offer-letter-generator DOCX task, do not write a PDF, and do not produce a second DOCX filename.

Table 10 illustrates that AlignEvoSkill can generate skills that remain tightly aligned with the originating task while incorporating useful procedural knowledge from the trajectory. The offer-letter task contains several concrete requirements: using the provided DOCX template, reading employee data from JSON, replacing placeholders, handling the relocation conditional section, and writing the exact output file. The evolved skill preserves these task requirements instead of abstracting them into a generic document-editing instruction. At the same time, it incorporates reusable execution details from the trajectory, such as running the helper from the merged skill bundle, handling placeholders split across DOCX runs, recursively processing tables, headers, and footers, and verifying that no placeholders remain. These details make the skill directly actionable for future executions. This case shows that AlignEvoSkill produces skills that are not only semantically related to the task, but also procedurally faithful to how the task should be solved.

References↩︎

[1]
R. Xu and Y. Yan, “Agent skills for large language models: Architecture, acquisition, security, and the path forward.” 2026, [Online]. Available: https://arxiv.org/abs/2602.12430.
[2]
H. Gao et al., Survey Certification“A survey of self-evolving agents: What, when, how, and where to evolve on the path to artificial super intelligence,” Transactions on Machine Learning Research, 2026, [Online]. Available: https://openreview.net/forum?id=CTr3bovS5F.
[3]
A. Z. Liu et al., “SkillAct: Using skill abstractions improves LLM agents,” in ICML 2024 workshop on LLMs and cognition, 2024, [Online]. Available: https://openreview.net/forum?id=6LG3cIRrF4.
[4]
T. Chen et al., “CUA-skill: Develop skills for computer using agent.” 2026, [Online]. Available: https://arxiv.org/abs/2601.21123.
[5]
Y. Yang et al., “AutoSkill: Experience-driven lifelong learning via skill self-evolution.” 2026, [Online]. Available: https://arxiv.org/abs/2603.01145.
[6]
G. Wang et al., “Voyager: An open-ended embodied agent with large language models,” Transactions on Machine Learning Research, 2024, [Online]. Available: https://openreview.net/forum?id=ehfRiF0R3a.
[7]
M. Chen, Y. Li, Y. Yang, S. Yu, B. Lin, and X. He, “AutoManual: Constructing instruction manuals by LLM agents via interactive environmental learning,” in Advances in neural information processing systems, 2024, vol. 37, pp. 589–631, doi: 10.52202/079017-0019.
[8]
Z. Z. Wang, A. Gandhi, G. Neubig, and D. Fried, “Inducing programmatic skills for agentic tasks,” in Second conference on language modeling, 2025, [Online]. Available: https://openreview.net/forum?id=lsAY6fWsog.
[9]
J. Ni et al., “Trace2Skill: Distill trajectory-local lessons into transferable agent skills.” 2026, [Online]. Available: https://arxiv.org/abs/2603.25158.
[10]
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.” 2026, [Online]. Available: https://arxiv.org/abs/2604.04323.
[11]
S. Zhong et al., “SkillLearnBench: Benchmarking continual learning methods for agent skill generation on real-world tasks.” 2026, [Online]. Available: https://arxiv.org/abs/2604.20087.
[12]
A. Zhao, D. Huang, Q. Xu, M. Lin, Y.-J. Liu, and G. Huang, “ExpeL: LLM agents are experiential learners,” in Proceedings of the thirty-eighth AAAI conference on artificial intelligence and thirty-sixth conference on innovative applications of artificial intelligence and fourteenth symposium on educational advances in artificial intelligence, 2024, doi: 10.1609/aaai.v38i17.29936.
[13]
C. Wang et al., “SkillX: Automatically constructing skill knowledge bases for agents.” 2026, [Online]. Available: https://arxiv.org/abs/2604.04804.
[14]
J. Kim, X. Huang, Z. Reza, G. Grand, K. Zhu, and R. Lagasse, “Chopping trees: Semantic similarity based dynamic pruning for tree-of-thought reasoning,” in NeurIPS 2025 workshop on efficient reasoning, 2025, [Online]. Available: https://openreview.net/forum?id=6xrbjd86dF.
[15]
M. Kubat and S. Matwin, “Addressing the curse of imbalanced training sets: One-sided selection,” in Proceedings of the fourteenth international conference on machine learning (ICML 1997), nashville, tennessee, USA, july 8-12, 1997, 1997, pp. 179–186.
[16]
DeepSeek-AI, “DeepSeek-V4: Towards highly efficient million-token context intelligence.” 2026.
[17]
Anthropic, Frontier Benchmarks AI atlas. Accessed 2026-05-08“Claude haiku 4.5.” 2025, [Online]. Available: https://frontierbenchmarks.com/models/claude-haiku-4-5.
[18]
OpenAI, Frontier Benchmarks AI atlas. Accessed 2026-05-08“GPT-5.4.” 2026, [Online]. Available: https://frontierbenchmarks.com/models/gpt-5-4.
[19]
W. Su et al., “Skill retrieval augmentation for agentic AI.” 2026, [Online]. Available: https://arxiv.org/abs/2604.24594.
[20]
X. Li et al., “SkillsBench: Benchmarking how well agent skills work across diverse tasks.” 2026, [Online]. Available: https://arxiv.org/abs/2602.12670.
[21]
H. Zhang et al., “CoEvoSkills: Self-evolving agent skills via co-evolutionary verification,” arXiv preprint arXiv:2604.01687, 2026.
[22]
N. Reimers and I. Gurevych, “Sentence-BERT: Sentence embeddings using siamese BERT-networks,” in Proceedings of the 2019 conference on empirical methods in natural language processing, Nov. 2019, [Online]. Available: https://arxiv.org/abs/1908.10084.
[23]
Qwen Team, Qwen3.6-27B: Flagship-level coding in a 27B dense model.” 2026, [Online]. Available: https://qwen.ai/blog?id=qwen3.6-27b.

  1. We verify the reliability of LLM-generated knowledge tags in Appendix 12.↩︎

  2. We analyze the effect of these parameters in Appendix 13.↩︎