Search papers, labs, and topics across Lattice.
This paper introduces Skill-to-LoRA (S2L), a novel approach that transforms traditional skill representations in LLM agents from static runtime text to dynamic, behavior-centric LoRA adapters. By synthesizing skill-guided demonstrations offline and activating learned behaviors online through these adapters, S2L significantly enhances token efficiency and performance. Evaluations on a subset of SWE-Skills-Bench demonstrate that S2L outperforms both no-skill and full skill text baselines, achieving a pass rate improvement of up to 5.2 percentage points while reducing token costs by 6.6%.
Transforming agent skills into dynamically loadable behavioral modules could redefine how we implement and optimize LLM capabilities.
Agent skills are commonly distributed as SKILL.md files: human-readable procedural documents that describe workflows, tools, resources, and domain conventions. While convenient for inspection and reuse, this design requires the same reusable procedure to be repeatedly injected into the runtime context. We propose Skill-to-LoRA(S2L), a behavior-centric skill representation that replaces runtime skill text with skill-specific LoRA adapters. Rather than compressing the skill document itself, S2L models the behavioral change induced by the skill text: offline, the complete SKILL.md is used to synthesize skill-guided demonstrations; online, the full document is omitted and the corresponding LoRA adapter is dynamically loaded to activate the learned skill behavior. We evaluate S2L with Qwen3.6-27B on a 21-skill subset of SWE-Skills-Bench. Compared with the no-skill and Full Skill Text baselines, S2L improves pass rate by 2.9 and 5.2 percentage points, respectively, while reducing per-step token cost by 6.6% relative to Full Skill Text prompting. S2L matches or improves Full Skill Text on 18/21 skills and the no-skill baseline on 15/21 skills. Control experiments further show that the gains depend on skill-specific adapter alignment: Wrong-LoRA and Shared-LoRA both reduce performance. These results suggest that many procedural agent skills can be converted from runtime instructions into trainable, dynamically loadable behavioral modules. Code will be released upon acceptance.