Manuscript Offprint

arXiv:2611.01386

Learning by Doing: Autonomously Compiling and Curating Agent Skills from Verified Traces

Daniel Chalef, Peter Evans, Pavlo Paliychuk, Mehul Patel, Preston Rasmussen, Jack Ryan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Memory systems for production LLM agents mostly store semantic memory (facts about users and domains) or episodic memory (earlier interactions). Research systems such as Trace2Skill, WikiSkill, and SkillRevise learn procedures from agent runs, package them as Skills, and evaluate them on benchmarks. We describe Zep Agent Skills, a production service that gives deployed agents this procedural memory. The service uses only verified attempts as evidence, cites the supporting events for each field of a Skill, and governs the admission and distribution of each Skill version. The service records each task attempt as a Trace with ordered events, an outcome, and a verification strength. A compiler with separate Reflector and Curator roles turns verified Traces into versioned Skills. Scans and admission gates control which candidates become active, and verified use outcomes change the search rank of each Skill. The Agent Skills format is an open standard that Anthropic originated and donated to the Agentic AI Foundation, so any host of the format can load a compiled Skill. Agents retrieve Skills through lexical search with progressive disclosure, over an API or MCP. We evaluate Zep Agent Skills on τ3\tau^3-bench banking, AppWorld, and EnterpriseOps-Gym. Skills compiled from the Traces of a teacher model increase the pass rate of three weaker executor models on the same tasks, at every reasoning effort, by 4.5 to 18.8 points. Most of the gain is on the tasks that the teacher solved. On ALFWorld, Skills compiled from the runs of a small model give a gain similar to or larger than the gain that prior work reports for continuous fine-tuning, with no training.

1 Introduction

Engineers can write a prompt or a Skill for a stable, known process. A deployed agent also meets variations and exceptions of a process, changes to a process over time, and processes that are new. A support agent gets a ticket type that its instructions do not cover, and an operations agent must follow a changed approval rule. Each run of a large language model (LLM) agent starts from the same weights and the same prompt, so a successful run does not change the next run. The agent must solve the same problem again, and it can make the same errors again.

Two common answers are fine-tuning and retrieval of earlier transcripts. Fine-tuning on successful runs changes the weights, but it needs training rounds, it is tied to one model, and it is difficult to inspect or to undo. Each change to a process needs a new training round. Retrieval of earlier transcripts (episodic memory) is cheap, but a transcript is long, it carries the values of one instance, and it can carry data that a later user must not see. Procedural memory is a third answer (Section 3.1). Research systems such as Voyager [Wang et al., 2023], Agent Workflow Memory [Wang et al., 2024], ExpeL [Zhao et al., 2023], and ACE [Zhang et al., 2025] show that procedures learned from experience can increase task success.

The Agent Skills format [Agent Skills, 2026] gives agents a portable package for procedures: a folder with a SKILL.md file, frontmatter with a name and a description, and optional files. Agent harnesses such as Claude Code [Anthropic, 2026a], Claude Cowork [Anthropic, 2026b], and OpenAI Codex [OpenAI, 2026] load a Skill with progressive disclosure: the agent first sees the name and the description, and it reads the body only when the Skill applies. Anthropic published the format as an open standard in December 2025 and donated it to the Agentic AI Foundation (AAIF) of the Linux Foundation in October 2026 [Anthropic, 2026c]. The AAIF also holds the Model Context Protocol (MCP) [Model

A PREPRINT

Context Protocol, 2026a]. The format defines how a Skill is packaged and loaded. The format does not define how a Skill is learned from runs, verified, versioned, or governed, and in most deployments a human writes each Skill.

A production service that learns Skills has requirements in addition to those of a research system. The service must learn only from verified attempts. Each claim in a Skill must trace to its evidence. A new version must not silently replace a version that works. A Skill must not carry the instance data of one user or organization to another. Deletion of a source must remove its effect. The service must work with any agent framework and any model, and it must accept Traces from existing trace stores such as Braintree and LangSmith.

We evaluate the service with a teacher-executor protocol. A strong model solves each task, Zep compiles Skills from its verified Traces, and weaker models then do the same tasks with and without the Skills. This protocol models a production pattern: a strong model solves a task one time, and a cheaper model then does it again. Skills increase the pass rate of each executor at each reasoning effort, mostly on the tasks that the teacher solved. The main benchmarks do not test transfer to new tasks.

The contributions of this paper are:

  1. A resource model for procedural memory: namespace, Trace, Skill, Skill version, and Skill use (Sections 3 and 4).

  2. A compiler that turns verified Traces into structured Skill contracts with event citations for each field, and that makes local edits to existing Skills (Section 5.3).

  3. An admission and lifecycle model: scans, gates, maturity tiers, and a search weight from verified use (Section 5.4).

  4. A retrieval and delivery path: lexical search, progressive disclosure, and MCP delivery of packages in the Agent Skills format (Section 5.5).

  5. A teacher-executor evaluation protocol with paired arms and leakage controls, and results on four benchmarks (Sections 6 to 8).

Section 2 reviews related work. Sections 3 to 5 describe the problem and the design. Sections 6 and 7 give the evaluation, Section 8 gives the analysis, and Section 9 gives the limits and the future work.

References (31)