LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents
On the map: LLM agents and tool use → Agent skill learning and evolution
Abstract (arXiv)
Agent systems increasingly use textual skills to encode reusable task procedures, but injecting these skills into the prompt at every step incurs substantial context overhead and exposes skill content as plaintext. We present LatentSkill, a framework that converts textual skills into plug-and-play LoRA adapters through a pretrained hypernetwork. LatentSkill stores skill knowledge in weight space rather than context space, removing per-step skill tokens while preserving modular loading, scaling, and composition. On ALFWorld and Search-QA, LatentSkill outperforms the corresponding in-context skill baseline while using substantially fewer prefill tokens: it improves ALFWorld success by 21.4 and 13.4 points on the seen and unseen splits with 63.9% fewer prefill tokens on average, and improves Search-QA exact match by 3.0 points while using 71.8% fewer tokens per step. Further analysis shows that generated skill LoRAs form a structured semantic geometry, can be continuously modulated via the LoRA scaling coefficient, and can be composed through parameter-space arithmetic when skill components are aligned. These findings suggest that weight-space skills provide an efficient, modular, and less exposed substrate for extending LLM agents.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 37 of its 53 references that are in the map. First posted on arXiv 4 Jun 2026.
Builds on
37 of 53 references.
Closest ancestors · 5
Same direction, newest first
- 2026Skills on the Fly: Test-Time Adaptive Skill Synthesis for LLM Agents16 May
- 2026SkillOS: Learning Skill Curation for Self-Evolving Agents7 May
- 2026SkillRet: A Large-Scale Benchmark for Skill Retrieval in LLM Agents7 May
- 2026SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalization2 Apr
- 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning9 Feb
Other references · 32
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
20 more
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,205
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 364
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 338
- 2023FireAct: Toward Language Agent Fine-tuningcited by 256
- 2023AdaPlanner: Adaptive Planning from Feedback with Language Modelscited by 196
- 2025EvolveR: Self-Evolving LLM Agents through an Experience-Driven Lifecyclecited by 137
- 2025A Survey of AI Agent Protocolscited by 81
- 2025Text-to-LoRA: Instant Transformer Adaptioncited by 58
- 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 43
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2026SHINE: A Scalable In-Context Hypernetwork for Mapping Context to LoRA in a Single Passcited by 25
- 2026MMSkills: Towards Multimodal Skills for General Visual Agentscited by 16
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026Parametric Skillscited by 3
- 2026SKT: Skill-Use Training at Scale via Verified Synthetic Data Generationcited by 3
- 2026Skill2Query: Exploiting Skill Structure to Generate Pseudo-Queries for Agent Skill Retrievalcited by 2
- 2026MemTools: A Unified Research Framework for Interoperable Agent Memorycited by 0
- 2026AUSO: Action-Level Unified Skill Optimization from Internalization to Utilizationcited by 0
- 2026Hints Help But Do They Teach? Evaluating Skills Transfer in Code Generationcited by 0
- 2026SkillFM: Generating Skills for LLM Agents via Latent Flow Matchingcited by 0
- 2026Towards In-Parameter Memory Augmentation for Large Language Modelscited by 0
- 2026Internalizer: Portable Context-to-Parameter Mapping for Very Large Language Modelscited by 0
- 2026When Skills Remain But Access Fails: Factorized Skill Memory for Continual Skill Internalizationcited by 0
- 2026When Skills Remain But Access Fails: Factorized Skill Memory for Continual Skill Internalization11 Oct 2026
- 2026Internalizer: Portable Context-to-Parameter Mapping for Very Large Language Models8 Oct 2026
- 2026Towards In-Parameter Memory Augmentation for Large Language Models6 Oct 2026
- 2026SkillFM: Generating Skills for LLM Agents via Latent Flow Matching30 Sep 2026
- 2026Hints Help But Do They Teach? Evaluating Skills Transfer in Code Generation1 Sep 2026
- 2026AUSO: Action-Level Unified Skill Optimization from Internalization to Utilization21 Aug 2026
- 2026Skill2Query: Exploiting Skill Structure to Generate Pseudo-Queries for Agent Skill Retrieval17 Aug 2026
- 2026SKT: Skill-Use Training at Scale via Verified Synthetic Data Generation3 Aug 2026
- 2026MemTools: A Unified Research Framework for Interoperable Agent Memory23 Jul 2026
- 2026Parametric Skills29 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Skill-to-LoRA: From Using Skills to Learning Behaviors for Token-Efficient LLM Agents
- 2026SkillCorpus: Consolidating and Evaluating the Open Skill Ecosystem for Real-World LLM Agents
- 2026SkillRouter: Skill Routing for LLM Agents at Scale
- 2026Graph-of-Skills: Dependency-Aware Structural Retrieval for Massive Agent Skills
- 2026How Well Do Agentic Skills Work in the Wild: Benchmarking LLM Skill Usage in Realistic Settings
- 2026SkillSmith: Learning to Compose Parametric Skills and Textual Knowledge
- 2026SkillAxe: Sharpening LLM-Authored Agent Skills Through Evaluation-Guided Self-Refinement
- 2026SkillsInjector: Dynamic Skill Context Construction for LLM Agents