SkillSentry:通过运行时保障实现LLM智能体的可靠技能执行 SkillSentry: Reliable Skill Execution for LLM Agents via Runtime Assurance 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-08-10
👁️ 预览文献
💡 AI 中文简介
针对LLM智能体在执行技能时不稳定、易偏离技能流程或单步出错的问题,本文提出SkillSentry——一个基于领域特定语言(DSL)的技能运行时保障框架。它从技能文档提取规范并结合历史成功/失败轨迹挖掘经验,初始化运行时指导,包裹在智能体执行循环外进行监控与引导,并迭代优化。在15个技能、两种智能体(Claude Code、Codex)及四种骨干模型上评估,任务成功率平均提升24.1%,且重复运行波动更小。
领域软件工程 / LLM智能体可靠性
适合谁读需要一定专业背景(了解LLM智能体、技能抽象与运行时监控)
核心贡献1. 提出面向技能执行的运行时保障框架SkillSentry,通过新DSL表示运行时指导,结合技能规范与历史轨迹经验初始化并迭代优化。2. 在不改变底层模型参数的前提下,包裹智能体执行循环进行监控与引导,显著提升技能执行的可靠性与一致性。
关键数据在15个技能、2种智能体(Claude Code、Codex)各配2个骨干模型(Claude-Haiku-4.5、Claude-Opus-4.6、GPT-5.2、GPT-5.4)上评估,任务成功率平均提升24.1%,重复运行变异性更低。
推荐理由如果你正被LLM智能体“时灵时不灵”的技能执行折磨,这篇用运行时保障把成功率拉高24.1%的工作值得一读。
关键词["LLM智能体", "技能执行", "运行时保障", "领域特定语言", "可靠性", "执行轨迹挖掘"]

原文摘要

查看英文原文摘要

LLM agents are increasingly equipped with skills to perform complex tasks through multi-step reasoning and tool use. Although skills provide reusable procedural knowledge, agents may still execute them unreliably. Even when an agent has demonstrated the capability to complete tasks under the guidance of a skill, it may fail to do so consistently across similar tasks or repeated runs due to deviations from the skill procedure or incorrect execution of individual steps. Such instability limits the practical reliability of LLM agents. To address this problem, we propose SkillSentry, a skill-oriented runtime assurance framework built upon a new domain-specific language (DSL) for representing runtime guidance for skill execution. SkillSentry initializes the runtime guidance by combining a skill specification extracted from the corresponding skill document with execution experience mined from historical successful and failed traces. It then wraps around the agent execution loop to monitor and guide skill execution under the current guidance, while iteratively refining the guidance using newly collected traces. We evaluate SkillSentry on 15 skills across two LLM agents, each paired with two backbone models, i.e., Claude Code with Claude-Haiku-4.5 and Claude-Opus-4.6, and Codex with GPT-5.2 and GPT-5.4. Our results show that SkillSentry improves the task success rate of LLM agents by 24.1% across skills, on average, while exhibiting lower variability across repeated runs.