SkillContrast: Difference-Guided Text Selection for Agent Skill Reranking

Jiandong Ding, Honglei Ji, Ming Liu, Tao Duan
10/8/2026
cs.IRcs.AI

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ding2026skillcontrast,
  title  = {SkillContrast: Difference-Guided Text Selection for Agent Skill Reranking},
  author = {Jiandong Ding and Honglei Ji and Ming Liu and Tao Duan},
  year   = {2026},
  eprint = {2610.11650},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.11650v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.11650.svg)](https://codeofpaper.com/paper/2610.11650)

Discussion