Don't Retrieve, Navigate: Distilling Enterprise Knowledge into Navigable Agent Skills for QA and RAG

Yiqun Sun, Pengfei Wei, Lawrence B. Hsieh
4/16/2026
cs.IRcs.AIcs.CL

Official code: dukesun99/Corpus2Skill (92 stars, last commit 2026-05-14).

Abstract

Retrieval-Augmented Generation (RAG) grounds LLM responses in external evidence but treats the model as a passive consumer of search results, with no view of how the corpus is organized or what it has not yet seen. We present Corpus2Skill, which distills a document corpus offline into a hierarchical skill directory and lets an LLM agent navigate it at serve time, drilling from a bird's-eye view through progressively finer summaries down to documents, and backtracking when a branch is unproductive. On an enterprise customer-support benchmark, Corpus2Skill improves both answer quality and grounding over single-shot dense, hybrid, hierarchical-retrieval, and agentic RAG baselines at a moderate cost tradeoff. A ten-subset generalization study further shows that corpus navigation is not a universal replacement for retrieval: it consistently helps on single-domain corpora with a recoverable topical taxonomy, but flat retrieval remains preferable on open-domain factoid pools or homogeneous-tabular corpora that defeat top-level clustering. We characterize this scope distinction and discuss it as a design guideline for knowledge-grounded systems. Code is available at https://github.com/dukesun99/Corpus2Skill.

View on arXivView PDF

Code Implementations(1)

Distill any document corpus into a navigable skill hierarchy for LLM agents — no retrieval system needed at serve time.

929PythonApr 17, 20265 months ago

Similar Papers

Cite this paper

@article{sun2026dont,
  title  = {Don't Retrieve, Navigate: Distilling Enterprise Knowledge into Navigable Agent Skills for QA and RAG},
  author = {Yiqun Sun and Pengfei Wei and Lawrence B. Hsieh},
  year   = {2026},
  eprint = {2604.14572},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.14572v3}
}

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/2604.14572.svg)](https://codeofpaper.com/paper/2604.14572)

Discussion