Manuscript Offprint

arXiv:2611.00544

Skill++: Towards Lifelong Agents via Routing-Aware Skill Refinement

Hanrong Zhang, Minghao Liang, Jiawei Wu, Yankai Chen, Shicheng Fan, Zhiwei Liu, Enze Ma, Junwei Yuan, Tianyi Wang, Dehai Min, Kening Zheng, Xue Liu, Philip S. Yu

Abstract

Large language model (LLM) agents extend their capabilities with skills, each with a name, a description, and a body. Under progressive disclosure, an LLM router selects skills by name and description alone and loads only the selected bodies. Skill libraries grow continually as users and agents add new skills. Because the router relies on this metadata, a similar new skill can displace an earlier one, breaking previously correct routing even though the earlier skill and the router are unchanged. This routing interference is aggravated for public skills, whose descriptions may not match their bodies. We formulate the problem as lifelong skill routing, a class-incremental continual learning problem. A solution must keep earlier skills selectable without suppressing new ones. Existing approaches fall short, since continually retraining the router risks catastrophic forgetting and rewriting methods either ignore similar skills or require per-skill feedback. We therefore propose SKILL++, which rewrites only the name and description of each incoming skill, without router training or labeled data. The new description states what the body supports, how the skill differs from its closest predecessor, and what related work it excludes. As a library grows to 731 skills over ten sessions, SKILL++ selects all required skills for 76.3% of queries, versus 36.4% under the original metadata. Across three benchmarks and five LLM routers, it outperforms all compared approaches, and it also improves on the original metadata in the Codex CLI agent harness.

1 Introduction

LLM agents (Zou et al., 2026a,b) increasingly acquire new capabilities through skills (Song et al., 2026). A skill is a reusable package that teaches an agent how to perform a specific type of task.

Figure

Figure 1: This figure presents an example of routing interference, to show why incoming metadata needs refinement. The router reads only skill names and descriptions. (a) For a query about an AI paper, it selects the AI paper-writing skill. (b) A biology paper-writing skill arrives with the same metadata, and the router selects it instead. (c) SKILL++ refines only the incoming skill against the earlier one, so the router selects the correct skill again.

It consists of a name, a short description, and a body that holds instructions, code, and reference material, such as a guide to drawing charts with matplotlib. Because loading every body would exceed the context window, agents follow a design known as progressive disclosure, in which a skill's body is read only after the skill is selected (Zheng et al., 2026). Skill selection therefore relies on a router that sees only the names and short descriptions of skills, which we call routing metadata. As a result, a skill is effective only if the router selects it when a query calls for it. Such selection would be straightforward in a small, fixed library, but in practice, skill libraries rarely stay fixed. Users continually install community skills for new tools and domains, and some agents even generate new skills without human authoring (Zhang et al.,

¹ University of Illinois Chicago ² Trip.com Group ³ Rutgers University ⁴ MBZUAI ⁵ McGill University ⁶ Recursive ⁷ Independent Researcher

  • Equal contribution. † Corresponding authors: yankaichen@acm.org, {hzhan135, psyu}@uic.edu

Figure

Figure 2: This figure compares three ways of handling a growing skill library, to position our problem. (a) Continuous router training follows arriving skills but retrains the router at every step, risking catastrophic forgetting of earlier skills. (b) One-shot skill optimization refines a fixed skill set once, so it ignores skills that arrive later. (c) SKILL++ keeps the router frozen and refines each new batch against similar earlier skills, so both earlier and new skills are selected for the queries that need them.

2026b; Yan et al., 2026; Yang et al., 2026). For instance, a recent analysis covers 138K public skill files (Zhang et al., 2026a), and controlled audits (Kang, 2026) show that a router reading only names and descriptions easily confuses synonymous or overlapping skills (Fig. 1).

Because new skills continue to arrive while earlier ones must remain usable, routing in a growing library is naturally a continual learning problem (also known as lifelong learning). More specifically, it is class-incremental, because new kinds of skills arrive over time while the router must still recognize the earlier ones. We formulate it as lifelong skill routing (Fig. 2c), with skills arriving in batches, the router kept frozen, and only the metadata of each incoming skill allowed to change. This setting raises two challenges. ① Whether a skill's metadata identifies the skill depends on the other skills in the library. A description that singled out a skill at insertion can lose its distinctiveness once similar skills arrive. The problem is more severe for skills collected from public sources, whose quality varies widely and whose routing metadata is often defective (Zhang et al., 2026a; Hao et al., 2026; Zhang et al., 2025a), so a name or description may not reflect what the body covers. In our experiments with the original metadata, 62 of the 115 queries that were routed correctly when their required skills first became available fail once the library reaches 731 skills (Appendix C.1). We call this effect routing interference, a form of forgetting

at access rather than in parameters. It takes two forms. In substitution, a similar incoming skill is selected in place of the required skill (Fig. 1a–b). In crowding, incoming skills occupy the few selected slots and thereby exclude the required skill. These two forms cause 87.5% of the errors under the original metadata (Fig. 5a).

② Avoiding this interference is itself difficult, because protecting earlier skills conflicts with adding new ones. This conflict mirrors the stability–plasticity dilemma of continual learning (De Lange et al., 2022), where shared parameters must retain earlier knowledge (stability) while acquiring new knowledge (plasticity). In our setting, the same tension arises in skill metadata. Stability requires that each earlier skill is still selected for the queries that need it after new skills arrive, and plasticity requires that each new skill is selected for its own queries. Concretely, a narrow description prevents a new skill from competing for the queries of earlier skills but leaves it rarely selected, whereas a broad description makes it selectable but diverts queries meant for earlier skills.

Existing approaches address these challenges only in part. Retraining a learned router (Zheng et al., 2026; Wang et al., 2026a) after each addition requires new training data and computation, and sequential updates can overwrite what the router learned about earlier skills, a problem known as catastrophic forgetting (Murtaza et al., 2026). Rewriting the text the router reads avoids retrain-ing, but current rewriters fall short in our setting. Specifically, descriptions written from each tool's own documentation ignore which similar skills the tool competes with (Lu et al., 2026a; Guo et al., 2026). Rewriting from routing errors (Zhou et al., 2026) requires labeled queries for each new skill, which our setting does not provide. Contrasting skills within a cluster needs no feedback but has been tested only on fixed libraries, so its effect on earlier skills is unknown (Wang et al., 2026b). Moreover, none of them measures stability and plasticity together as the library grows (Fig. 2).

To address both challenges, we propose SKILL++, a simple yet effective method that refines the metadata of each incoming skill against the earlier skills it is most likely to be confused with (Fig. 1c). Our key observation is that routing metadata cannot be written in isolation, because the router needs to know not only what a skill does but also what separates it from similar skills in the library. SKILL++ realizes this idea with three components. Description differentiation rewrites the description from the skill's own body, which keeps it aligned with what the skill does, and centers it on what distinguishes the skill from its most similar predecessor. Scope exclusions state related work that the skill does not cover, and name clarification qualifies a name that overlaps with an earlier one. Differentiation and clarified names thus reduce substitution, and exclusions reduce crowding (challenge ①, Fig. 5c). Earlier skills stay selectable while each new skill is selected for its own queries, which addresses the trade-off of challenge ②. Refinement is performed once at insertion, without router training or labeled feedback, so routers use the revised metadata directly.

In summary, our contributions are as follows:

  • To the best of our knowledge, we are the first to formalize lifelong skill routing, in which skills arrive sequentially into the skill library. Within this formulation, we show that routing interference prevents earlier skills from being selected for the queries that need them, even though their content and the router are unchanged, and that mitigating it raises the stability-plasticity dilemma of traditional continual learning at the level of skill metadata rather than model parameters.

  • We propose SKILL++, a simple yet effective method that incrementally optimizes the skill library for skill routing. Whenever a skill arrives, SKILL++ refines only that skill's name and description against similar earlier skills, without router training or labeled feedback.

  • We evaluate SKILL++ on three skill benchmarks (SRA-Bench, SkillRet, and SkillRouter) with five LLM routers and the Codex CLI harness. Averaged over the five routers, SKILL++ improves routing accuracy at the final session by 23.1 percentage points (pp) over the original metadata, and achieves state-of-the-art performance among all compared approaches across benchmarks and routers.

References (24)