SkillSeek:重新审视市场规模的智能体技能检索

·

研究论文 · 2026/10/01

Anthropic 的 Agent Skills 将可复用的程序性知识打包为 SKILL.md 目录,开源聚合已超过 23 万个技能,使得选择而非编写成为瓶颈。文献中的现有答案将选择外包给智能体本身:一种 LLM 介导的检索循环,在智能体的决策循环内重写查询并优化候选,每个任务都消耗 LLM token。我们提出 SkillSeek,一个开源的两阶段技能检索器,基于标准 IR 配方(BGE-base 双编码器馈入小型交叉编码器,通过 MCP 暴露)。在 89 个任务的 SkillsBench 基准上,跨池、骨干和方法的 4×11 网格中,SkillSeek 在基本无额外成本的情况下达到与 Liu 等人的 LLM 介导循环观察到的同等水平:仅 bm25 在四种设置中的三种上记录到等于或高于其精炼循环的通过率,小型交叉编码器在第四种上弥补了剩余差异。第一阶段召回上限解释了这一模式,每次试验总支出从 51.30 美元降至 27.54 美元(与无技能基线相差不到五十美分)。在我们测试的 SkillsBench 任务和 OpenHands 框架下,这将标准 IR 配方定位为智能体技能检索的强默认选择,而 LLM 介导的替代方案自然适用于确定性方法不足的情况。

该研究挑战了当前依赖 LLM 介导检索循环的默认做法,证明标准信息检索方法在智能体技能检索中能以更低成本达到相当性能,为大规模技能选择提供了高效替代方案。

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 retrieval loop that rewrites queries and refines candidates inside the agent's decision loop, paying LLM tokens on every task. We present SkillSeek, an open-source two-stage skill retriever built from the standard IR recipe (a BGE-base bi-encoder feeding a small cross-encoder, exposed over MCP). Across a 4 times 11 grid of pool, backbone, and method on the 89-task SkillsBench benchmark, SkillSeek reaches observed parity with the LLM-mediated loop of Liu et al. at essentially no extra cost: plain bm25 alone records a pass rate at or above their refined loop on three of four settings, and a small cross-encoder covers the remaining difference on the fourth. A first-stage recall ceiling explains the pattern, and total per-trial spend drops from USD 51.30 to USD 27.54 (within fifty cents of the no-skill baseline). Under the SkillsBench tasks and OpenHands harness we tested, this positions the standard IR recipe as a strong default for agent-skill retrieval, with LLM-mediated alternatives a natural fit for cases where deterministic methods fall short.

阅读原文

参与讨论