arXiv(opens in a new tab)cs.AIAug 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2608.28241

Beyond Task-Only Matching: Personalized Skill Routing with Counterfactual Evaluation

Tianle Wang, Yanghe Zou, Xiang Liu, Ziyao Huang, Chenchen Fu, Weiwei Wu

Abstract

The rapid expansion of reusable skill repositories makes skill routing a critical capability for large language model (LLM) agents. Existing methods treat routing as task-only semantic matching. However, when users with incompatible constraints issue an identical request, this assumption conflates task relevance with skill suitability: a task-only router can select a semantically plausible skill that is unsuitable for the requesting user. To expose this failure mode, we formulate personalized skill routing as profile-conditioned retrieval, in which relevance depends jointly on the task and the user profile. We first introduce a profile-counterfactual benchmark, in which the task is held fixed while changes in the user profile induce changes in the reference skill. We further construct paired counterfactual supervision and propose SkillFeed, a progressive retrieve-and-rerank framework that first establishes task-skill alignment and then learns profile-conditioned discrimination. By retrieving body-level evidence and reranking semantically similar but profile-conflicting candidates, SkillFeed identifies skills that satisfy both task requirements and user constraints. On SkillFeed-Bench, SkillFeed attains 75.1% top-1 retrieval accuracy, a 23.1-point improvement over the corresponding pretrained routing baseline. Adding profile conditioning yields a 35.1-point gain on queries where user profile changes the reference skill. This contrast shows that user profiles are most consequential precisely when they change skill suitability. Our website is publicly available at http://www.aiskillfeed.com.

1 Introduction

Large language model (LLM) agents increasingly reason, call tools, and execute multi-step workflows (Yao et al. 2023; Schick et al. 2024; Shen et al. 2023). In these systems, skills package reusable procedures, tool-use strategies, and execution constraints in versioned bundles with SKILL.md manifests (OpenAI 2026; Zheng et al. 2026). As public repositories grow, an agent must route each request to the skill that best supports its intended execution, making skill routing a central retrieval problem (Li, Tagkopoulos, and Tagkopoulos 2026; Zheng et al. 2026).

Most existing methods cast skill routing as task-to-skill semantic matching (Zheng et al. 2026; Li, Tagkopoulos, and Tagkopoulos 2026; Wang et al. 2026). This formulation assumes that the task uniquely determines the appropriate skill.

User Instruction

I want to plan a trip to Shanghai including attractions and a simple schedule.

Figure

User A Profile

Student

Low budget

Subway preferred

User B Profile

Business

Flexible budget

Taxi preferred

Recommend

Skill A

Recommend

Name: budget-travel-planner

Description: ...

Reason: User A needs a low-cost itinerary with subway-based routes

Skill B

Name: luxury-itinerary-planner

Description: ...

Reason: User B values comfort, time efficiency and taxi-based routes.

Figure 1: Motivation example of personalized skill recommendation. The same task, "planning a trip to Shanghai," is routed to a budget travel planner for a student and to a luxury itinerary planner for a business traveler. The target skill changes with user profile.

In practice, however, a task describes what a user wants to accomplish, whereas a user profile can determine how that task should be carried out. When two users issue the same request under incompatible constraints, a task-only router may select a skill that is semantically relevant but unsuitable for one of them. For example, a workflow that relies on an unavailable platform, exceeds a budget, or assumes expertise the user does not have. As illustrated in Figure 1, the same travel-planning request calls for a budget itinerary skill for a student and a premium itinerary skill for a business traveler. The task is unchanged, but the appropriate skill changes with profile attributes such as budget, payment preference, platform ecosystem, and professional background.

This failure mode cannot be established with conventional task-level evaluation. Prior benchmarks for skill learning, execution, and routing pair a request with suitable skills, while existing retrieve-and-rerank systems are trained and evaluated primarily on task–skill relevance (Li et al. 2026; Zheng et al. 2026; Wang et al. 2026). Such evaluation cannot distinguish a system that truly uses a profile from one that ignores it: when the task remains fixed, it never asks whether the predicted skill should change as the user profile changes. The

∗^{*}These authors contributed equally.

resulting data also provide limited supervision for separating skills that are equally relevant to the task but conflict in their compatibility with user constraints.

We therefore formulate personalized skill routing as profile-conditioned retrieval, in which skill relevance is jointly determined by a task and its task-relevant user profile. This setting raises three coupled requirements: (1) a benchmark must isolate profile-induced changes in the reference skill; (2) training data must teach the model to discriminate among profile-conflicting alternatives; (3) and the routing system must scale to large repositories while using the fine-grained applicability conditions encoded in skill bodies. We meet these requirements by constructing controlled profile-counterfactual instances that hold the task fixed while varying the user profile and reference skill. These instances both evaluate whether routing responds to profile shifts and provide supervision for profile-conditioned retrieval and reranking.

Building on this formulation, we introduce SkillFeed-Bench and SkillFeed retrieval framework. SkillFeed-Bench evaluates profile-conditioned routing over a 228K-skill repository. SkillFeed first establishes task–skill alignment and then learns profile-conditioned discrimination; at inference time, it combines broad candidate recall with test-level evidence and profile-aware reranking. This design separates the need to preserve candidate coverage at repository scale from the need to resolve profile-specific suitability among semantically similar skills. Our contributions are as follows:

• We formulate personalized skill routing as retrieval conditioned jointly on a task and a user profile. We introduce SkillFeed-Bench, a benchmark over 228K candidate skills with 329 annotated instances, including counterfactual profile-shift cases in which an unchanged task has different reference skills under different user profiles.

• We construct task-centric and counterfactual profile-conditioned training instances with semantically similar, profile-conflicting hard negatives. This supervision progressively adapts a dense retriever and trains a listwise reranker to recognize when a profile changes the suitable skill.

• We develop SkillFeed, a two-stage framework that combines dense and lexical candidate retrieval, profile-conditioned retrieval over skill chunks, reciprocal-rank fusion, and profile-aware reranking. Experiments on SkillFeed-Bench show that SkillFeed achieves 75.1% Hit@1, outperforming the pretrained baseline by 23.1%. Profile conditioning contributes a 18.6-point gain on profile-sensitive queries, and 35.1-points on profile-counterfactual samples.

References (48)