arXiv(opens in a new tab)cs.AISep 2026Cited by 4 papers on PaperVantage

Manuscript Offprint

arXiv:2609.08228

SE-GoS: Self-Evolving Graph-of-Skills for Skill Library at Scale

Dawei Fu, Cheng Jiang, Sitian Qian, Huainan Wang, Zhongkai Hao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Dawei Fu¹,², Cheng Jiang³, Sitian Qian⁴, Huainan Wang², Zhongkai Hao⁵

¹Peking University, ²Tencent, ³University of Edinburgh, ⁴Northwestern University, ⁵Tsinghua University

Modern LLM agents increasingly rely on reusable skills, yet as skill libraries scale to thousands of entries, effective retrieval becomes a bottleneck. Graph-of-Skills (GoS) addresses this challenge by exploiting dependency-aware graph structure for scalable skill retrieval, while SkillDAG further demonstrates that skill graphs can accumulate execution-backed structure online. However, these approaches leave open whether historical execution traces can be systematically distilled into a better retrieval graph that generalizes to unseen tasks. We present Self-Evolving Graph-of-Skills (SE-GoS), a training-free framework that evolves an existing GoS graph from execution traces while preserving the original retrieval pipeline. SE-GoS performs three complementary updates: topology evolution that discovers and prunes skill relationships from execution evidence, edge-weight evolution that reinforces retrieval-relevant relationships based on historical effectiveness, and description evolution that optimizes retrieval-facing skill descriptions using execution feedback. Across three LLMs on SkillsBench, SE-GoS consistently improves task reward while reducing input tokens relative to full skill loading, with gains varying across model families. In a representative setting, one evolution round improves reward from 52.4% to 59.4% while reducing input tokens by approximately one-third relative to full skill loading, and the resulting graph transfers to a disjoint held-out split with a 5.4-point improvement over the static GoS baseline. These results show that skill graphs can be improved from execution experience without model training, changes to the retrieval algorithm, or modifications to skill content, turning a static retrieval graph into an evolving retrieval infrastructure.

Date: September 9, 2026

Correspondence: Dawei Fu at fudw@pku.edu.cn

Tencent

Figure

Figure 1 The SE-GoS framework. Left: a deterministic similarity graph over the skill library, built without an LLM. Center: one offline evolution round turns execution traces into topology, edge-weight, and description updates. Right: the unchanged GoS retrieval procedure reads the evolved graph.

1 Introduction

Large Language Model (LLM) agents solve complex technical tasks by invoking external tools and reusable skills (Schick et al., 2023; Mialon et al., 2023). As skill repositories grow from dozens to thousands of entries (Patil et al., 2023; Li et al., 2023; Xu et al., 2023; Qin et al., 2024), the bottleneck shifts from deciding whether to use a skill to retrieving the bounded subset that suffices for a task, and skill retrieval itself is now a major obstacle in realistic tool ecosystems (Shi et al., 2025). Prepending the entire library scales poorly: token cost grows linearly and the model overlooks key skills inside an overloaded context (Agent Skills, 2026; Liu et al., 2024a). Vector-based retrieval (Lewis et al., 2020; Karpukhin et al., 2020) picks semantically similar skills but ignores their functional prerequisites: the top match is often a high-level solver whose lower-level parser or setup utility is semantically weak yet functionally necessary—the prerequisite gap.

Graph-of-Skills (GoS) (Liu et al., 2026) closes this gap with a typed, directed skill graph, seeded by hybrid semantic-lexical signals and explored by reverse-aware Personalized PageRank (PPR) (Page et al., 1999; Haveliwala, 2002; Yang et al., 2024b), returning a bounded, budgeted execution bundle. On the 1,000-skill SkillsBench under GPT-5.2 Codex, GoS attains a peak reward gain of roughly 25.6% over full loading while cutting token cost by roughly 56.7% (Liu et al., 2026). Yet GoS is static: the graph is built once and never updated from execution feedback. When an induced dependency is wrong, a useful relation is missing, or a description systematically fails to match the queries that need it, the repository cannot self-correct.

We observe that the missing resource is free signal: every trial already records which skills were retrieved, which were actually used, and whether the task succeeded. We propose Self-Evolving Graph-of-Skills (SE-GoS), which lets the same GoS retrieval procedure improve the graph it reads through three training-free updates—topology induction and pruning from successful co-occurrence, edge-weight reinforcement toward skills actually used, and single-round textual-gradient node-content optimization for used-but-missed skills (Pryzant et al., 2023). Because PPR reads the graph's edge weights directly, re-weighting and re-wiring the graph changes what is retrieved without touching the retrieval code, editing any SKILL.md, or training a parameter.

Our core contributions are as follows:

  1. We isolate the static-graph bottleneck of structural skill retrieval, a limitation GoS itself acknowledges (Liu et al., 2026), and show that the signal needed to repair it is already recorded by every trial: which skills were retrieved, which were used, and whether the task succeeded.

  2. We propose SE-GoS, which turns that signal into three complementary, training-free updates over the retrieval substrate: topology induction and pruning, edge-weight reinforcement, and single-round description optimization. The induced structure is execution-grounded (workflow, dependency, and avoid edges, never GoS's alternative relation), nothing is trained, and neither the retrieval code nor the skill content is modified.

  3. We explain why editing the graph is enough: because PPR reads edge weights directly, re-wiring the graph changes what gets retrieved while the pipeline stays a fixed consumer, and confidence-weighted updates protect edges that have seen little evidence.

  4. We characterize the system along three deployment axes: the full benchmark, where one evolution round is compared against flat, vector, static-graph, and self-evolving baselines; the multi-round curve, which asks whether the update should be repeated; and the held-out split, which asks whether the gain survives on tasks the graph never saw.

References (34)