WikiSkill is a framework designed to improve how AI agents develop and refine specialized skills. While existing methods allow agents to learn from experience, they often leave insights scattered across history, making it difficult to build on past lessons. WikiSkill addresses this by introducing a persistent knowledge base—a "wiki"—that compiles raw execution experience into structured, reusable knowledge that supports long-term skill evolution. Methods and results are detailed in the full paper on arxiv.org.
The Three-Layer Architecture
WikiSkill organizes an agent’s workspace into three distinct layers to separate raw data from executable procedures:
Raw Layer: Stores immutable execution traces, including step-by-step reasoning, tool calls, and final answers from training tasks.
Wiki Layer: Acts as a persistent knowledge base that compounds over time. It maintains a catalog of patterns, failure modes, and successful strategies. This layer is never reset, allowing the agent to learn from past successes and avoid repeating failed interventions.
Skills Layer: Contains the active, modular skills that the agent uses to perform tasks. Each skill is linked to the specific wiki patterns that inspired its creation. The same AI Evaluation question is explored in CAFE, which adds a research perspective.
The Evolutionary Loop
The framework operates through an iterative loop involving four components: 1. Inference Agent: Executes tasks using the current skill set. 2. Wiki Maintainer: Analyzes execution traces to update the wiki with new patterns and logs. 3. Skill Proposer: Reviews the updated wiki and execution history to create or modify skills. 4. Gating and Rollback: Tests new skills on a validation set. If performance improves, the skills are accepted; if not, the system reverts to the previous configuration. The wiki, however, retains all accumulated knowledge regardless of the skill update's success. The same AI Evaluation question is explored in Recursive Experiential-Working Memory Evolution for Long-Horizon..., which adds a research perspective.
Performance and Scaling
Researchers evaluated WikiSkill across five benchmarks, including mathematical reasoning, web search, spreadsheet manipulation, document question answering, and interactive embodied tasks. The framework consistently outperformed existing skill-evolution methods and no-skill baselines. The study found that skill evolution complements model scaling. Larger models generally saw greater performance gains from evolved skills, but smaller models equipped with WikiSkill were able to outperform significantly larger models that lacked these skills. For example, a Qwen-3.5-9B model using WikiSkill outperformed a Qwen-3.6-27B model without skills. Additionally, the researchers observed that skills evolved by one model can be transferred to others, sometimes performing better than skills the model evolved for itself. The same AI Evaluation question is explored in GraphMemix, which adds a research perspective.
Comments