SkillFM: Generating Skills for LLM Agents via Latent Flow Matching

Zuming Zhang, Jie He, Yizhe Zhang, Jeff Z. Pan
9/30/2026
cs.AI
diffusion-flow

Official code: lulushang999/SkillFM (4 stars, Python, last commit 2026-09-30).

Abstract

Textual skills provide reusable guidance for large language model agents, but existing approaches often rely on manually curated skill banks or reinforcement learning with indirect and delayed feedback. We introduce SkillFM (Skill Flow Matching), a generative framework that synthesizes task-conditioned textual skills directly without test-time skill retrieval.

Show full abstract

Our framework combines a codec for encoding and reconstructing textual skills in a continuous latent space with a conditional flow model trained using improved MeanFlow. At inference time, the learned velocity field enables single-step latent sampling, and an LLM-based decoder converts the sampled representation into textual guidance for a frozen downstream agent. We evaluate the framework on embodied tasks, question answering, and web shopping. On ALFWorld and Search-QA, our method achieves the best overall performance among the compared vector-based skill approaches. Our analyses further demonstrate that latent skill generation is an effective alternative to retrieval-based skill augmentation. Our code and training skill libraries are available at https://github.com/lulushang999/SkillFM.

View on arXivView PDF

Code Implementations(1)

41PythonSep 28, 20262 months ago

Similar Papers

Cite this paper

@article{zhang2026skillfm,
  title  = {SkillFM: Generating Skills for LLM Agents via Latent Flow Matching},
  author = {Zuming Zhang and Jie He and Yizhe Zhang and Jeff Z. Pan},
  year   = {2026},
  eprint = {2609.39382},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.39382v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.39382.svg)](https://codeofpaper.com/paper/2609.39382)

Discussion