Skip to content

Comparative Approaches to Agent Retrieval over Large Skill Libraries

Aug 2026 · arXiv.org · Vol abs/2608.06196 · 2 citations · 6 references
Computer Science

TL;DR

A mechanistic account of why added structure does not improve retrieval over a strong ranker is given, and the conditions under which adding structural interdependence into the retrieval is optimal are identified.

Abstract

Agents backed by large skill libraries must decide which skills to load and in what order. Loading the entire library into context is expensive and provides no structure for autonomous sequencing. We study two systems for this problem over a corpus of 690 skills: a hybrid ranker combining lexical and dense-embedding retrieval for sparse, on-demand loading, and a typed knowledge graph encoding workflow relations such as prerequisites, data flow, and ordering. On a set of 117 realistic, non-echoing queries, the hybrid ranker retrieves the correct skill within the top five in 73.5% +/- 8.0 of cases, leaving roughly a quarter of queries unserved. When used as the design intended (substituting graph neighbours for additional ranked results at matched token budget), the graph is significantly worse (-11.2 points, p = 0.0007). Its LLM-generated edge layer adds nothing over neighbours obtained free from a local embedding pass, and 73% of the queries the ranker misses are not reachable through the graph at all. We attribute this to a pre-filter topology bound. Because the graph's candidate edges are drawn from the same embedding neighbourhood the ranker already searches, 98.6% of typed edges connect skills the ranker had already surfaced together. The graph can enrich relation semantics but cannot extend retrieval reach. We further show that evaluating on author-written queries overstates hit@5 by up to 44 points, which would have hidden these results entirely. Our contribution is a mechanistic account of why added structure does not improve retrieval over a strong ranker, and identify the conditions under which adding structural interdependence into the retrieval is optimal.

View source

Similar papers

Preprint Oct 2026

SkillRep: Characterizing and Understanding the Representation Design Space of Agent Skill Retrieval

Three quantities are measured: background, the embedding component that does not separate skills; unsaid vocabulary, the gold skill's content a request leaves unsaid; and dilution, the information lost when a skill is encoded into a single vector, which reveals that modules narrowing the same part compete for it, while...

Tian-Yi Sun, Peng-Fei Yao, Yan-Ze Wang et al. · 1 citation
Review Open access Oct 2026

From Retrieval to Evidence: A Task-Adaptive Two-Layer Knowledge Architecture for LLM Agents

A task-adaptive two-layer methodology combining a compact, reviewed knowledge layer for orientation and cross-source synthesis with a versioned evidence layer for exact lookup and claim support is presented.

A. Volkov, Taras Pustovoy, Dmitriy Istomin et al. · 0 citations

SkillSeek: Revisiting Agent Skill Retrieval at Marketplace Scale

Anthropic's Agent Skills package reusable procedural know-how for an LLM agent into SKILL.md directories, and open-source aggregations have grown past 230,000 skills, making selection rather than authoring the bottleneck. The standing answer in the literature outsources selection to the agent itself: an LLM-mediated re...

Guanqun Yang, Wen-Long Zhang, Tian Shi et al. · 3 citations
#artificial intelligence Preprint Oct 2026

Context as Infrastructure: Knowledge Compilation for Retrieval in Agentic Systems with Harnesses

RAGFlow is described, which turns the loop into five disciplined stations and keeps the context entering the model the smallest sufficient set; together they form an agent-native database: a store that hands the agent compiled, governed context instead of a ranked list of passages.

Zhi-Chang Yu, Bai-Ning Cao, Sbaaoui Idriss et al. · 0 citations
Open access Oct 2026

How AI agents search

Large Language Models (LLMs) have evolved from relying primarily on knowledge stored in their parametric memory to using non-parametric memory mechanisms such as Retrieval-Augmented Generation (RAG) to provide and ground knowledge. Recently, LLMs have begun to perform retrieval autonomously within a reasoning loop, an...

Francesca Pezzuti, O. Frieder, F. Silvestri et al. · 0 citations
#artificial intelligence Preprint Oct 2026

RECAST: Learning to Compute the Right Context through Adaptive Evidence Routing

Large language models are increasingly applied to tasks grounded in long, heterogeneous information sources. Conventional Retrieval-Augmented Generation (RAG) relies on fixed similarity-based retrieval, while agentic variants adapt queries and tool use but remain largely retrieval-centric. However, in many tasks, the e...

Yi-Lun Hao, Krishna Sayana, Isabella Ye et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.