测试大模型在真实场景中使用技能的能力,发现越真实效果越差。
How Well Do Agentic Skills Work in the Wild: Benchmarking LLM Skill Usage in Realistic Settings

- 从3.4万个真实技能中检索并使用,模拟真实应用环境。
- 在最严苛条件下,有技能反而不如无技能,通过率接近基线。
- 针对查询优化技能的改进方法可显著提升表现,适合实际部署者参考。
代理技能作为可复用的领域特定知识单元,已成为扩展基于大模型代理的重要方式,但其实际性能评估仍不充分。现有基准测试多在理想化条件下进行,即直接提供为任务量身定制的手工技能;而在真实场景中,代理需自主搜索和选择相关技能,且即使最匹配的技能也可能不够精准。本文首次系统研究了在逐步逼近现实条件下的技能有效性:代理需从包含34,000个真实世界技能的大集合中检索技能,且无法获得任何手工标注技能。结果表明,技能带来的优势极为脆弱——随着环境趋于真实,性能收益持续下降,在最严峻场景下,通过率几乎与无技能基线相当。为进一步缩小差距,我们探索了查询相关与无关两种技能优化策略,发现查询相关的细化方法在初始技能质量合理时能显著恢复性能。我们在Terminal-Bench 2.0上验证了该方法的通用性,使Claude Opus 4.6的通过率从57.7%提升至65.5%。多个模型的结果一致,凸显了技能在大模型代理中的潜力与当前局限。
原文摘要 · Abstract (English)
Agent skills, which are reusable, domain-specific knowledge artifacts, have become a popular mechanism for extending LLM-based agents, yet formally benchmarking skill usage performance remains scarce. Existing skill benchmarking efforts focus on overly idealized conditions, where LLMs are directly provided with hand-crafted, narrowly-tailored task-specific skills for each task, whereas in many realistic settings, the LLM agent may have to search for and select relevant skills on its own, and even the closest matching skills may not be well-tailored for the task. In this paper, we conduct the first comprehensive study of skill utility under progressively challenging realistic settings, where agents must retrieve skills from a large collection of 34k real-world skills and may not have access to any hand-curated skills. Our findings reveal that the benefits of skills are fragile: performance gains degrade consistently as settings become more realistic, with pass rates approaching no-skill baselines in the most challenging scenarios. To narrow this gap, we study skill refinement strategies, including query-specific and query-agnostic approaches, and we show that query-specific refinement substantially recovers lost performance when the initial skills are of reasonable relevance and quality. We further demonstrate the generality of retrieval and refinement on Terminal-Bench 2.0, where they improve the pass rate of Claude Opus 4.6 from 57.7% to 65.5%. Our results, consistent across multiple models, highlight both the promise and the current limitations of skills for LLM-based agents. Our code is available at https://github.com/UCSB-NLP-Chang/Skill-Usage.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。