cs.CLFeb 2, 2026

MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents

Authors: Haozhen Zhang, Quanyu Long, Jianzhu Bao, Tao Feng, Weizhi Zhang, Haodong Yue, Wenya Wang

Organizations: Nanyang Technological University · University of Illinois Urbana-Champaign · University of Illinois Chicago · Tsinghua University

Abstract

Most Large Language Model (LLM) agent memory systems rely on a small set of static, hand-designed operations for extracting memory. These fixed procedures hard-code human priors about what to store and how to revise memory, making them rigid under diverse interaction patterns and inefficient on long histories. To this end, we present MemSkill, which reframes these operations as learnable and evolvable memory skills, structured and reusable routines for extracting, consolidating, and pruning information from interaction traces. Inspired by the design philosophy of agent skills, MemSkill employs a controller that learns to select a small set of relevant skills, paired with an LLM-based executor that produces skill-guided memories. Beyond learning skill selection, MemSkill introduces a designer that periodically reviews hard cases where selected skills yield incorrect or incomplete memories, and evolves the skill set by proposing refinements and new skills. Together, MemSkill forms a closed-loop procedure that improves both the skill-selection policy and the skill set itself. Experiments on LoCoMo, LongMemEval, HotpotQA, and ALFWorld demonstrate that MemSkill improves task performance over strong baselines and generalizes well across settings. Further analyses shed light on how skills evolve, offering insights toward more adaptive, self-evolving memory management for LLM agents. Code is available at https://github.com/ViktorAxelsen/MemSkill

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ERSkill: Evolving for Skill-Guided Adaptive Memory Retrieval

    Aug 13, 2026Haolong Chen, Liang Zhang, Zhuo Li +2LLM Agent MemoryLLM Agent Skill Learning

  2. HyperSkill: Self-Evolving LLM Agents via Hypergraph-Structured Skill Memory

    Aug 17, 2026Ruiyao Xu, Tiankai Yang, Wei-Chieh HuangAgent MemoryLLM Agent Memory

  3. AutoMem: Automated Learning of Memory as a Cognitive Skill

    Jul 1, 2026Shengguang Wu, Hao Zhu, Yuhui Zhang +2LLM Agent Skill LearningLong-Horizon LLM Agents