cs.IROct 8, 2026

SkillContrast: Difference-Guided Text Selection for Agent Skill Reranking

Authors: Jiandong Ding, Honglei Ji, Ming Liu, Tao Duan

Organizations: Department of Obstetrics Shanghai East Hospital, Tongji University School of Medicine Shanghai, China

Abstract

Similar agent skills can share instructions but differ in their conditions of use. Query-based text selection may retain shared instructions and omit these distinctions. We introduce SkillContrast, a training-free selector that compares retrieved skills and retains their differing text with local context for a pretrained reranker. On 1,235 requests from SameCapRisk-Bench, it yields 54-72 more clean hits (requests that retrieve a helpful skill without its marked risky sibling) than TF-IDF query selection at identical per-candidate input lengths, across 2 retrievers and 2 reranker sizes. Length-matched component replacements identify differing text as the main contributor in the primary setting, with smaller, mixed context effects. Relative to full skill bodies, SkillContrast uses 51.1-58.8% fewer model-input tokens, with 10-18 fewer clean hits at 0.6B and matching or higher observed clean-hit counts at 4B. Candidate-relative differences thus complement query relevance in selecting compact reranking inputs.

Figures & tables

Explore similar work

CardsList
  1. SkillSight: Calibrating Generic Content Bias for Skill Retrieval

    Jul 21, 2026Jinying Xiao, Bin Li, Xiaopeng Li +7Lexical RetrievalLLM Agent Skill Retrieval

  2. SkillSeek: Revisiting Agent Skill Retrieval at Marketplace Scale

    Sep 30, 2026Guanqun Yang, Wenlong Zhang, Tian Shi +1LLM Agent Skill RetrievalInformation Retrieval

  3. SkillReason: Reasoning-Enhanced Agent Skill Retrieval for Implicit User Requests

    Aug 9, 2026Donghong Jiang, Endian Lin, Luoping Cui +6AI Agent BenchmarksLLM Agent Skill Retrieval