arXiv:2610.10088cs.AIOct 2026

Manuscript Offprint

arXiv:2610.10088

SkillSandbox: Skill Verification via Dynamic Scenario Synthesis

Serin Kim, Kwangwook Seo, Dokyung Song, Jinyoung Yeo, Dongha Lee

ABSTRACT

Self-evolving agents distill task-solving experience into skills for future reuse, but these skills can encode incorrect procedures or non-transferable knowledge. It is therefore critical to verify each skill's reusability: whether its guidance remains useful beyond the experience from which it was distilled. Such verification requires observing how a skill affects execution in new tasks, yet existing tasks may not expose the situations where the target skill can actually be exercised. To construct such situations, we propose SKILLSANDBOX, a framework that dynamically synthesizes a task and its environment for each skill that are skill-relevant yet novel. A PROPOSER specifies the conditions to preserve and the source-specific details to vary, a BUILDER constructs an executable scenario, and a VERIFIER compares executions with and without the skill. The VERIFIER assesses executability, utility, and efficiency to assign a Keep or Reject verdict, determining whether the skill enters the library. Across ALFWorld and WebShop with three models, SKILLSANDBOX consistently yields the strongest downstream performance and improved execution efficiency. Further analyses examine whether these gains reflect accurate assessment of skill reusability and identify which components of SKILLSANDBOX contribute to them. [CODE]

1 INTRODUCTION

Self-evolving agents seek to improve their capabilities by learning from their own experiences (ang Gao et al., 2026; Yang et al., 2026). They distill task-solving experience into skills (Anthropic, 2025) that provide procedural guidance and store them in a library for future reuse (Wang et al., 2023; Ouyang et al., 2026b). However, distilled skills do not always guarantee the performance improvement (Li et al., 2026; Han et al., 2026; Gautam et al., 2026). Because task-solving experience contains redundant exploration, mistakes, and task-specific details, distillation may yield incorrect procedures or non-transferable knowledge (Ni et al., 2026; Ma et al., 2026; Xiong et al., 2026). Once stored and retrieved, such skills can repeatedly interfere with the agent's behavior (Dong et al., 2026; Liang et al., 2026). Self-evolving agents therefore need to verify each skill's reusability: whether the guidance remains useful when applied beyond the source experience.

Such verification requires execution evidence from a scenario that is both skill-relevant and novel. That is, the agent should actually encounter the situation the skill addresses in a new environment, so that the evidence reveals whether the guidance improves its behavior beyond the source experience. Because different skills address different situations, the scenario that provides this evidence is inherently skill-specific. However, existing approaches (Wang et al., 2025a; Zhang et al., 2026; Ouyang et al., 2026a) verify skills against a static pool of tasks that already exists, and merely select from it. Replaying the source task likely exposes the targeted situation, but only in the context the skill was distilled from, so the evidence is relevant but not novel (Chen et al., 2026a; Liu et al., 2026). Evaluating the skill on other existing tasks introduces new contexts, but since these tasks are defined independently of the skill, they need not expose the targeted situation.

Verification should therefore shift from selecting existing tasks, to constructing the task and environment around the target skill, on demand. To this end, we propose SKILLSANDBOX, a framework

†^{\dagger}Corresponding author.

that dynamically synthesizes a task and environment where the target situation arises in a context different from the source experience to verify skills. Each synthesized task and its configured environment form a verification scenario, which serves as a controlled test of that skill. SKILLSANBOX consists of a PROPOSER, a BUILDER, and a VERIFIER, which design, construct, and evaluate this test, respectively. (i) The PROPOSER specifies the conditions that reproduce this situation and the modifications that distinguish the scenario from the source experience. (ii) The BUILDER realizes this specification as an executable task and its configured environment. (iii) The VERIFIER compares executions in the scenario with and without the skill and measures the effect of the skill in terms of executability, task success, and efficiency. Consequently, a reusable skill yields a positive effect across its scenarios and is admitted to the library, whereas a skill that is incorrect, overly specific, or not actionable yields no benefit or degrades execution and is rejected.

We evaluate SKILLSANBOX on ALFWorld and WebShop by comparing the library of verified skills with libraries constructed by baseline methods, which either accumulate every generated skill or continually update the library as experience accumulates. Across three models, the verified library achieves the highest success rate with the fewest steps on both benchmarks. Further analyses show that the performance gains originate from the synthesized scenarios, as verification on source tasks or randomly selected tasks yields smaller gains and the gap widens on task types unseen in the source experience. In addition, the verification predicts the helpful and harmful effects of individual skills on held-out tasks. Each criterion also proves necessary, as the full VERIFIER outperforms variants that omit executability or efficiency.

Our contributions are as follows:

  • We identify that skill verification should shift from selecting existing tasks to constructing the task and environment around the target skill on demand.

  • We propose SKILLSANBOX, which synthesizes a task and environment that expose the situation needed to verify the skill. Its PROPOSER and BUILDER generate scenarios, and VERIFIER measures the reusability of skill and determines whether to keep or reject it.

  • Our experiment confirms that the skill library verified by SKILLSANBOX significantly improves downstream performance. Extensive analyses validate the effect of SKILLSANBOX and show that the synthesized scenarios provide a reliable verification environment.

References (34)