SkillContrast: Difference-Guided Text Selection for Agent Skill Reranking
cs.IR, cs.AI
Submitted: 2026-10-08
Updated: 2026-10-08
Comments: 5 pages, 2 figures, 3 tables
License: http://creativecommons.org/licenses/by/4.0/
The gist: Similar agent skills can share instructions but differ in their conditions of use.
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.
Sources
- Right Family, Wrong Skill: Evaluating Risk Exposure in Agent Skill Retrieval
- SkillRet: A Large-Scale Benchmark for Skill Retrieval in LLM Agents
- Skill Is Not Document: Query-Conditioned Compatibility for LLM Agent Skill Routing
- SkillSight: Calibrating Generic Content Bias for Skill Retrieval
- Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models
- SkillRouter: Skill Routing for LLM Agents at Scale
Related papers
- The Price of Isolation: Estimating the Ecosystem Cost of Symmetric Two-Sided A/B Testing
- SCAR: Semantic Continuity-Aware Retrieval for Efficient Context Expansion in RAG
- MixLoRA-DSI: Dynamically Expandable Mixture-of-LoRA Experts for Rehearsal-Free Generative Retrieval over Dynamic Corpora
- How Do LLM-Generated Texts Impact Term-Based Retrieval Models?
- MemSyco-Bench: Benchmarking Sycophancy in Agent Memory
- Training with Missed Targets in Generative Recommendation: Separating Supervision from Probability Competition