arXiv:2608.30785cs.AI2026-08

让智能体技能包动态压缩,不改框架还能省下三成存储和运行开销。

SkillZip Pro: Execution-Aware Dynamic Compression of Progressively Loaded Skills for Self-Evolving Agents

论文配图:SkillZip Pro: Execution-Aware Dynamic Compression of Progressively Loaded Skills for Self-Evolving Agents
图 1 · 摘自论文原文
  • 跨文件去重,根目录已有内容不再重复加载
  • 压缩后仍能精准访问所有功能入口,无路径丢失
  • 支持持续更新与按需构建,适合生产级智能体部署

生产环境中的智能体技能是目录结构的包,而非孤立提示。根目录在激活时加载,引用、模式、脚本、资源及嵌套子技能仅在执行路径需要时才加载。仅压缩根目录会遗漏大部分部署成本,且可能将分支专属内容放入常驻上下文。扁平化处理则破坏了渐进加载边界。我们提出 extit{SkillZip Pro},一种无需评估的完整、渐进加载技能包压缩器。它保持智能体框架不变,输出标准目录结构。该方法包含双重保护机制:首先,跨文件压缩,当根目录或声明的环境契约已提供内容时,移除引用或子技能中的重复项;其次,保留路由逻辑,确保所有必要文件和可直接调用的入口在重写后依然可达。用户可沿两个独立维度配置: extit{One-Shot} 模式重建完整包; extit{Continual} 模式复用状态,每次演化补丁应用时执行“写入即压缩”。 extit{Persistent} 压缩修改发行包以减少存储和运行上下文; extit{Transient} 压缩保持原包字节一致,构建任务专用视图,仅降低运行时上下文开销。入口契约标记私有、公开与条件资源;多入口审计保障独立可运行的公开子技能。在一个由工业级多轮测试框架评估的内容审核技能上, extit{SkillZip Pro} 在无质量损失下,移除了 38% 的技能包令牌和 10.4% 的端到端每轮令牌。而未受保护的 71% 配置导致准确率最高下降 26 点,产生单边误报。在多入口包上,该方法高效降低令牌成本,近乎完美保留所有路径与公共入口。

原文摘要 · Abstract (English)

Production agent skills are directory bundles, not isolated prompts. The root is loaded at activation; references, schemas, scripts, assets, and nested subskills are loaded only when an execution path needs them. Compressing only the root misses most deployment cost and may move branch-specific details into the always-loaded context. Flattening instead destroys progressive-loading boundaries. We introduce \method, an evaluation-free compressor for complete, progressively loaded skill bundles. It leaves the agent harness unchanged and emits an ordinary directory. The method combines two safeguards. First, it compresses \emph{across files}, removing content from a reference or subskill when the root or a declared environment contract already provides it. Second, it preserves routing, so every required file and directly callable entry remains reachable after rewriting. Users can configure \method along two independent axes. \emph{One-Shot} mode rebuilds the full bundle; \emph{Continual} mode reuses state and applies Zip-on-Write after each evolution patch. \emph{Persistent} compression rewrites the shipped bundle to reduce storage and runtime context. \emph{Transient} compression keeps that bundle byte-identical and builds a task-specific view, reducing only per-run context after build cost. Entry contracts mark private, public, and conditional resources; a multi-entry audit preserves standalone public subskills. On a production content-moderation skill evaluated by our industrial multi-round harness, \method removes \hl{38\%} of skill bundle tokens and \hl{10.4\%} of end-to-end per-run tokens with no quality loss, while an unprotected 71\% configuration loses up to 26 accuracy points to one-sided false positives. On a multi-entry bundle, \method effeciently reduces token cost while near-perfectly preserving every route and public entry.

智能体压缩渐进加载生产部署

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。