Skill Adapter: Personalized Modification and Online Routing of General-Purpose Skills

Qijia Zhuang, Yanyi Gou, Wenbin Ma, Yuxiang Ren

Large Language Model (LLM) agents are evolving from simple chatbots into sophisticated operators capable of navigating the web, managing workflows, and even controlling robots. To handle these complex, "long-horizon" tasks, agents rely on skills—reusable procedures that wrap up tool calls and logic. However, a "one-size-fits-all" skill library often fails because different users have different requirements, and environments change as a task progresses.

A new paper, "Skill Adapter: Personalized Modification and Online Routing of General-Purpose Skills," introduces a framework to solve this by allowing agents to tweak skills for specific users and dynamically select them as the situation evolves.

TL;DR

Skill Adapter enables LLM agents to personalize general-purpose skills using lightweight "Adapters" and dynamically route them during complex tasks. By optimizing these modifications and routing decisions via reinforcement learning (GRPO), the system significantly improves task success rates and execution speed, even as skill libraries scale to thousands of entries.

What Problem Does This Paper Address?

Current LLM agents face three major hurdles when using skill libraries:

  1. The Personalization Gap: A general skill like "Extract PDF" might work for most, but one user might need to preserve the original layout while another only cares about the text. Standard libraries struggle to represent these nuances without creating a redundant mess of nearly identical skills.
  2. Dynamic Environments: In long tasks, the "right" skill depends on what happened in the previous step. If a tool fails or an intermediate result changes the goal, the agent needs to pivot.
  3. The Scaling Wall: As you add more skills to a library, retrieval becomes harder. Most agents get "confused" or slow down significantly when the skill pool grows from 50 to 1,000.
Figure 1: The influence of user requirements on skill selection and composition. In contract translation, layout-preservation requirements affect document extraction and make layout reconstruction part of the subsequent workflow. Task descrip- tions and user feedback jointly inform skill adjustments and the selection of execution procedures.

Methods

The authors propose a two-part system: Personalized Modification and Online Routing.

1. Personalized Adapters

Instead of rewriting a skill, the system creates an Adapter. This is a small set of local adjustments (tool choices, parameters, or extra verification steps) linked to a base "general-purpose" skill. This keeps the library clean while allowing for infinite user-specific variations.

2. Online Routing Agent

During execution, a dedicated routing agent manages a task-level online skill library. It doesn't just look at the current step; it looks at the task's Directed Acyclic Graph (DAG) to preload candidate skills for future steps. As the environment provides feedback, the router refreshes the library, replacing invalid skills with better-suited ones.

3. Optimization via GRPO

The authors use Group Relative Policy Optimization (GRPO) to train two policies:

  • Modification Policy: Learns to propose Adapters that maximize the change in task success rate.
  • Routing Policy: Learns to select the best skill-Adapter pairs based on execution outcomes and an F1 score compared to "gold" skill selections.
Figure 2: The Skill Adapter framework. The system extracts general-purpose skills from historical trajectories and maintains the Adapters associated with each skill based on user requirements and execution feedback. During task execution, the routing agent selects general-purpose skills and applicable Adapters for the current DAG node, incrementally updates the online skill library, and preloads candidates for subsequent nodes. The main LLM reads skills and Adapters as needed, while execution progress and environment feedback inform the next routing round. GRPO optimizes the two policies using the gains from personalized modification and the execution outcomes of online routing, respectively.

Datasets

The framework was evaluated on three diverse benchmarks:

  • ALFWorld: Embodied tasks like "find a clean sponge and put it in the cabinet."
  • WebShop: Navigating an e-commerce site to find products meeting specific user constraints.
  • SkillsBench: A benchmark specifically designed to test an agent's ability to identify and use external skills.

The researchers used Qwen3-8B and GPT-5-mini as the underlying "executor" models for these tests.

Key Insights and Ideas

  • Decoupling is Key: By separating the procedure (the skill) from the preference (the adapter), the system achieves better generalization. The agent doesn't have to relearn how to "extract a PDF" every time a user changes their layout preference.
  • Anticipatory Execution: The "preloading" mechanism is a major win for efficiency. By preparing skills for future nodes in the task graph before they are strictly needed, the agent avoids the "stop-and-think" latency common in reactive systems.
  • Robustness to Distractors: One of the most impressive findings is how well the system handles "skill bloat." While other methods see a sharp drop in success as the library grows, Skill Adapter maintains a significant lead, proving that its routing logic is effective at filtering out irrelevant "distractor" skills.

Key Results

Skill Adapter outperformed the previous state-of-the-art (SkillRL) across the board:

  • Success Rates: Improved by an average of 11.43 percentage points. On ALFWorld, success jumped from 87.14% to 95.48%.
  • Efficiency: Execution time dropped significantly. For example, on SkillsBench, the mean time fell from 529.4 seconds to 398.9 seconds.
  • Scaling: In experiments with 1,000 skills, Skill Adapter retained a ~20% success rate advantage over its closest competitors.
Figure 3: Skill pool scaling and policy training. Left: success rates at different skill pool sizes. Right: changes in the success rates of the two policies over 100 training steps.

Limitations and Future Work

While powerful, the authors note a few areas for growth:

  • Cold Start: The system relies on "historical trajectories" to distill adapters. Performance might be lower in entirely novel domains where no prior execution data exists.
  • Architectural Complexity: Maintaining a dynamic DAG and an online library adds overhead that might be overkill for very simple, short tasks.
  • Future Directions: The authors suggest exploring how adapters could be shared across different users who have similar preferences, potentially creating a "social" layer of skill refinement.

Summary updated

Abstract

Large language model (LLM) agents use external skills to reuse task procedures and experience with tools. General-purpose skills describe shared execution procedures, while specific tool choices, operating practices, and output requirements vary across users. In long-horizon tasks, subgoals, available inputs, and environmental states change as execution progresses. Agents must select currently applicable skills from an expanding skill pool and prepare candidates for subsequent steps. We propose Skill Adapter, which enables personalized modification and online routing of general-purpose skills. The system distills local adjustments from user requirements and execution feedback and stores them as Adapters linked to general-purpose skills. The routing agent selects general-purpose skills and applicable Adapters based on the current subtask, execution progress, and environmental feedback, incrementally maintaining a task-level online skill library that the main LLM reads on demand. The system preloads candidates for subsequent nodes and rechecks their applicability once actual inputs are determined. Reinforcement learning optimizes the two types of decisions using modification gains and routing outcomes, respectively. We evaluate Skill Adapter on ALFWorld, WebShop, and SkillsBench. Compared with SkillRL, it improves task success rates by an average of 11.43 percentage points and reduces mean execution time on all three benchmarks. Skill Adapter retains its performance advantage when the skill pool grows to 1,000 skills.
BibTeX
@misc{zhuang2026skill,
  author = {Qijia Zhuang and Yanyi Gou and Wenbin Ma and Yuxiang Ren},
  title = {{Skill Adapter: Personalized Modification and Online Routing of General-Purpose Skills}},
  year = {2026},
  eprint = {2611.17007},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17007},
}
Figure