Skip to content
ImagineWorld

MetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolution

node_idnode-paper_arxiv-2607.05297_metaskill-evolve-recursive-self-improvement-of-llm-agents-via-two-timescale
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2607.05297
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the recursive-self-improvement field, the work presents MetaSkill-Evolve — recursive self-improvement of LLM agents via two-timescale learning — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleMetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolution
paper_authorsZefeng Wang, Minxi Yan, Jinhe Bi, Sikuan Yan, Volker Tresp, Yunpu Ma
arxiv_id2607.05297
arxiv_urlhttps://arxiv.org/abs/2607.05297
arxiv_categories{"primary":"cs.AI","secondary":[]}
arxiv_v1
arxiv_submitted_at2026-07-06
arxiv_updated_at2026-07-06
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:57:07Z
local graph

MetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolution

Section titled “MetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolution”

Authors: Zefeng Wang, Minxi Yan, Jinhe Bi, Sikuan Yan, Volker Tresp, Yunpu Ma

arxiv: 2607.05297

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


Recent LLM agents tackle increasingly long-horizon, open-ended tasks, and external skills, reusable procedural knowledge supplied to the agent, further extend this capability. However, a fixed, hand-authored skill is rarely optimal, and cannot adapt to the diversity of tasks an agent encounters. Self-improving agents address this by rewriting their own skill files from execution traces, yielding meaningful gains on challenging benchmarks. Yet such self-evolution remains non-recursive: it improves only the task skill (what the agent does) while the improvement procedure (how it improves) is authored once and held fixed. We introduce MetaSkill-Evolve, a two-timescale framework that makes agentic skill improvement recursive: every branch carries both a task skill ss and a branch-local meta-skill m=(ψ,σ,α,π,ε)m=(\psi,\sigma,\alpha,\pi,\varepsilon) whose five components parameterise the Analyzer, Retriever, Allocator, Proposer, and Evolver agents of the improvement pipeline. Task skills evolve on a fast loop while the meta-skill evolves on a slower one under the same pipeline applied to itself, with no additional model or objective. With all five pipeline agents sharing a single frozen backbone, MetaSkill-Evolve outperforms no-skill, static-skill, and single-level evolution baselines on three agentic benchmarks (OfficeQA, SealQA, ALFWorld), improving held-out test accuracy over the raw backbone by +23.54, +16.09, and +1.92 points respectively.

†† *Equal contribution.

Figure 1: Four regimes of agent skill improvement. No-Skill : no reusable skill memory. Static Skill : a hand-authored s

Figure 1: Four regimes of agent skill improvement. No-Skill : no reusable skill memory. Static Skill : a hand-authored s 0 s_{0} held fixed (padlocked). Single Level Evolve : the task skill evolves s 0 → s 1 → s 2 s_{0}!\to!s_{1}!\to!s_{2} , but the driving meta-process stays padlocked. MetaSkill-Evolve (ours): a branch-level meta-skill m = ( ψ , σ , α , π , ε ) m=(\psi,\sigma,\alpha,\pi,\varepsilon) co-evolves on a slower outer ring via the same five-agent pipeline that rewrites s s , with no extra model and no extra framework.

Language model agents now tackle increasingly long-horizon, open-ended tasks, from document understanding and multi-step reasoning to tool use, yet they rarely succeed out of the box (Yao et al., 2023). A productive remedy is to equip the agent with a skill: a curated, editable Markdown specification of reusable procedures, now a portable file-system artifact in widely deployed agent harnesses (Wang et al., 2023; Zheng et al., 2025). But a fixed, hand-authored skill is rarely optimal, and cannot anticipate the diversity of tasks an agent encounters. Self-improvement systems such as EvoSkill (Alzubi et al., 2026), GEPA (Agrawal et al., 2026), and SkillWeaver (Zheng et al., 2025) address this by closing the loop with an analyze–propose–evolve pipeline that rewrites the skill after each failure trace, so that iteration by iteration the skill grows more capable.

These systems, however, evolve only what the agent does, not how it evolves: the artifact under optimization changes while the operator that optimizes it stays fixed. In the vocabulary of self-improving machines (Good, 1965; Schmidhuber, 2006), they are self-improving but stop short of being recursively self-improving. The meta-level logic is hardcoded in advance and shared by every branch throughout the run: how failures are diagnosed, which edits are proposed, how much search effort is allocated, whether cross-branch experience is reused, and how an approved edit is applied to disk (Fig. 1, third panel). A branch therefore cannot improve the way it diagnoses failures: it applies the same procedure to every error, whether a misread table or a faulty calculation, and when that procedure yields the wrong fix, nothing in the loop can revise it.

A closer look at this rigidity suggests that two quantities govern evolutionary skill search. The first is the current skill utility U(s)U(s), the score of the present skill on a validation batch. The second is the meta-productivity P(m∣s)P(m\mid s), the rate at which a branch generates stronger descendants under its current improvement policy mm. These are not the same: a skill may score well today yet sit in a branch whose meta-level policy produces weak children, while a moderately-performing skill may reside in a branch whose policy reliably moves scores up, making it the more promising line to extend even though its present score lags behind. Optimizing only U(s)U(s) ignores the second quantity entirely, and we hypothesize that this omission is a primary reason fixed-meta evolution stalls once repeated failures share a diagnosis style the meta-process cannot revise. This motivates the central question of our work:

To this end, we introduce MetaSkill-Evolve (Fig. 1, rightmost panel), a two-timescale evolutionary framework that lifts the improvement procedure into a learnable object, yielding a practical, bounded form of recursive self-improvement in which the improvement operator is reflexively applied to itself. Every branch carries a state b=(s,m,h)b=(s,m,h): a task skill ss, a branch-level meta-skill m=(ψ,σ,α,π,ε)m=(\psi,\sigma,\alpha,\pi,\varepsilon), and an iteration history hh. The task skill evolves at every iteration on the fast timescale; the meta-skill evolves every HH iterations on the slow timescale, driven by how much the branch’s last HH descendants improved, i.e., a running measure of whether its current improvement policy is still productive. The five components of mm jointly parameterise the improvement loop: ψ\psi diagnoses and tags a failure trace, σ\sigma controls cross-branch retrieval, α\alpha sets the per-iteration child budget, π\pi turns a diagnosis into a concrete edit proposal, and ε\varepsilon applies an approved proposal to the on-disk skill files and verifies that the result is coherent.

Crucially, this adds no architectural component: each component of mm is a Markdown skill file identical in format to a task skill, so the same five-agent pipeline (Analyzer, Retriever, Allocator, Proposer, Evolver) that rewrites ss is applied recursively to refine mm itself, closing the self-improvement loop on the very operator that performs it. The meta-skill in turn sharpens frontier selection beyond pure utility: each candidate parent is scored by η_1U(s)+η_2P(m∣s)+η_3N(b)\eta\_{1}U(s)+\eta\_{2}P(m\mid s)+\eta\_{3}N(b), where N(b)N(b) discounts branches already selected many times, steering the search toward branches that are at once productive and underexplored.

We evaluate the resulting system on three agentic benchmarks that stress complementary capabilities: OfficeQA (Opsahl-Ong et al., 2026), SealQA (Pham et al., 2026), and ALFWorld (Shridhar et al., 2021). All five pipeline agents share a single frozen Gemma-4 31B (Google, 2026) backbone, so any improvement is attributable to the evolved skills and meta-skills rather than to added model capacity or training. Against No-Skill, Static-Skill, and a Single-Level-Evolution baseline that ablates meta-skill updates, MetaSkill-Evolve improves held-out test accuracy by +23.54 / +16.09 / +1.92 points on OfficeQA / SealQA / ALFWorld over No-Skill, and by +6.38 / +8.05 / +1.92 points over Single-Level Evolution. On the two QA benchmarks the progression No-Skill →\to Static →\to Single-Level →\to Ours is monotonic; on ALFWorld the backbone is already near ceiling on the held-out split, so the margins are small and the static skill is roughly neutral.

In summary, our contributions are:

    Two-timescale framework separating fast task-skill from slow meta-skill evolution, with meta-productivity P(m∣s)P(m\mid s) as the slow objective alongside task utility U(s)U(s).

    Five-agent evolution pipeline that extends the fixed analyze→\topropose→\toevolve loop with two typed stages they lack: a Retriever (σ\sigma) for cross-branch sharing and an Allocator (α\alpha) for an adaptive per-parent child budget, giving Analyzer, Retriever, Allocator, Proposer, Evolver.

    Recursive self-improvement via typed meta-skills. m=(ψ,σ,α,π,ε)m{=}(\psi,\sigma,\alpha,\pi,\varepsilon) as meta-skills, evolved by the same five-agent pipeline as task skills, a bounded, one-level recursion that needs no new model or objective.

    Meta-aware frontier selection that scores each candidate parent by utility U(s)U(s), meta-productivity P(m∣s)P(m\mid s), and branch novelty N(b)N(b), steering search toward branches that are at once productive and underexplored.

Skill-based agents and skill self-improvement.

Section titled “Skill-based agents and skill self-improvement.”

A skill is a reusable, named procedure that augments a frozen LLM agent and is now a portable artifact across agent harnesses (Wang et al., 2023; Zheng et al., 2025; Opsahl-Ong et al., 2026; Li et al., 2026; Jiang et al., 2026; Zhao et al., 2026). A growing line closes the loop with execution feedback (reflection, distillation, analyze→\topropose→\toevolve and RL-driven rewrites, trajectory and memory-based methods) (Shinn et al., 2023; Zhao et al., 2024; Alzubi et al., 2026; Xia et al., 2026; Shi et al., 2026; Lin et al., 2025; Zhang et al., 2026b; Fang et al., 2026; Ni et al., 2026; Tian et al., 2026; Si et al., 2026; Huang et al., 2025; Yang et al., 2026a; Ma et al., 2026a; Wan et al., 2025b), while a parallel sub-line grows a skill library rather than a single artifact (Yang et al., 2026b; Liu et al., 2026; Shen et al., 2026; Wang et al., 2026; Ma et al., 2026b; Zhang et al., 2026a). Throughout, the improvement procedure (how failures are diagnosed, edits scoped, search allocated, experience reused) is authored once and held fixed. MetaSkill-Evolve makes that procedure a first-class, branch-local object, co-evolved by the same pipeline.

Improving a system’s own capacity to improve traces to ultraintelligent machines (Good, 1965; Wan et al., 2025a; Tian et al., 2025) and the Gödel machine, which rewrites its own code under a proof of improvement (Schmidhuber, 2006). LLM-era instances drop the proof, improving a code-improvement scaffold (Zelikman et al., 2024), co-evolving prompts and their mutation-prompts (Fernando et al., 2023), or rewriting their own designs (Hu et al., 2025; Zhang et al., 2026c). These systems recurse on code or prompts under one global policy. MetaSkill-Evolve instead recurses on skill files: the operator is a five-agent pipeline parameterised by a branch-local meta-skill that the same pipeline refines: a bounded, one-level recursion that adds no model and keeps a per-lineage rather than global policy.

Prompt, textual, and evolutionary optimisation.

Section titled “Prompt, textual, and evolutionary optimisation.”

Another body of work treats the agent’s prompt or context as the object of optimisation. Self-feedback, LLM optimisers, prompt compilation, textual gradients, evolutionary prompt search, and in-context search all improve the instructions seen by a fixed agent (Madaan et al., 2023; Bi et al., 2025a; Yang et al., 2024; Khattab et al., 2023; Pryzant et al., 2023; Zhou et al., 2023; Yuksekgonul et al., 2024; Guo et al., 2025; Bi et al., 2025c; Agrawal et al., 2026; Lee et al., 2025; Ouyang et al., 2026; Ye et al., 2026; Bi et al., 2025b). Population-based program search makes the search object more executable by pairing behavioural archives with verifiers and recent extensions to coding agents and open-ended evolution (Novikov et al., 2025; Lange et al., 2025; Wang et al., 2025; He et al., 2026; Bi et al., 2026). All rewrite a single artifact under one fixed rule. We instead let the rule diverge across branches and evolve on its own timescale; our frontier score η_1U_v+η_2P^_v+η_3N_v\eta\_{1}U\_{v}{+}\eta\_{2}\hat{P}\_{v}{+}\eta\_{3}N\_{v} uses P^_v\hat{P}\_{v} as a quality-diversity descriptor preserving improvement-policy diversity.

This section presents MetaSkill-Evolve. We first formalise task-skill evolution and its utility objective (§3.1), then introduce the per-branch meta-skill that parameterises the search (§3.2). We next describe the persistent evolution graph and the score that decides which branch to expand (§3.3). The final two subsections detail the algorithm’s two timescales: a fast loop that evolves task skills on the selected parent (§3.4), and a slow loop that, every HH iterations, evolves the meta-skill itself by reapplying the same five-agent pipeline to the hidden meta-skill files (§3.5).

Let T\mathcal{T} be a task with inputs xx and expected outputs yy. A task skill ss is a Markdown-format LLM-agent program specifying procedures, tools, and heuristics for T\mathcal{T}. Writing A_sA\_{s} for the agent that executes skill ss, its utility is the expected task reward

U(s)  =  E_(x,y)∼T ⁣[ r(A_s(x), y)],U(s)\;=\;\mathbb{E}\_{(x,y)\sim\mathcal{T}}\!\left[\,r\big(A\_{s}(x),\,y\big)\right],(1)

where r(⋅,⋅)∈[0,1]r(\cdot,\cdot)\in[0,1] scores a prediction against the reference output. Because T\mathcal{T} is accessible only through samples, U(s)U(s) is estimated as accuracy on a held-out validation batch.

Each task-skill iteration turns a failure into a skill edit through a fixed five-step procedure, i.e., diagnose, retrieve, allocate, propose, execute. MetaSkill-Evolve makes that procedure adaptive by attaching to each branch a meta-skill mm that parameterises all five steps. A branch state is b=(s,m,h)b=(s,m,h), where hh is the branch’s iteration history, and

m=(ψ,  σ,  α,  π,  ε).m=(\psi,\;\sigma,\;\alpha,\;\pi,\;\varepsilon).(2)

Each component is itself a Markdown-format LLM-agent program (a SKILL.md file) consumed by exactly one specialist agent:

  • •

    ψ\psi – diagnosis policy (Analyzer): maps failures to a tag ϕ\phi and free-form analysis aa.

  • •

    σ\sigma – sharing policy (Retriever): selects same-branch and cross-branch inspirations matching ϕ\phi.

  • •

    α\alpha – allocation policy (Allocator): sets the child budget K∈[1,K_max⁡]K\in[1,K\_{\max}] per step.

  • •

    π\pi – edit-proposal policy (Proposer): emits an edit δ\delta conditioned on the worst case, analysis, and retrieved inspirations, i.e., (f,a,I)(f,a,\mathcal{I}).

  • •

    ε\varepsilon – edit-executor policy (Evolver): writes δ\delta to disk and verifies the result.

Since each meta-skill file uses the same Markdown representation as the task-skill files the pipeline already consumes, the same five agents that improve ss also improve mm when applied recursively.

A meta-skill is good insofar as it converts iterations into utility gains. We make this precise through the meta-productivity of mm at skill ss, the expected per-child improvement over KK proposals,

P(m∣s)=E ⁣[1K∑_k=1K(U(s′_k)−U(s))],P(m\mid s)=\mathbb{E}\!\left[\tfrac{1}{K}\textstyle\sum\_{k=1}^{K}\bigl(U(s^{\prime}\_{k})-U(s)\bigr)\right],(3)

estimated per node by the empirical mean P^_v=ΔU_children of v‾\hat{P}\_{v}=\overline{\Delta U\_{\text{children of }v}} (zero for nodes with no children). MetaSkill-Evolve jointly maximises task utility U(s)U(s) and meta-productivity P(m∣s)P(m\mid s) across all branches: the fast loop improves the task skill ss, and the slow loop improves the meta-skill mm that produces those improvements.

Figure 2: System overview. The branch state b = ( s , m , h ) b=(s,m,h) (left) feeds the five-agent pipeline (centre), w

Figure 2: System overview. The branch state b = ( s , m , h ) b=(s,m,h) (left) feeds the five-agent pipeline (centre), whose output is appended to the SQLite node graph (right). Frontier selection (Eq. 4 ) draws the next parent from the graph.

3.3 Evolution Graph and Frontier Selection

Section titled “3.3 Evolution Graph and Frontier Selection”

We record the entire search history as a directed acyclic graph (DAG) G=(V,E)\mathcal{G}=(\mathcal{V},\mathcal{E}) persisted in SQLite. Each node v∈Vv\in\mathcal{V} is one evaluated branch state and stores (s_v,m_v,U_v,ΔU_v,ϕ_v)(s\_{v},m\_{v},U\_{v},\Delta U\_{v},\phi\_{v}) together with its branch path and selection counter. Edges are directed and of two kinds: a lineage edge u ⁣→ ⁣vu\!\rightarrow\!v marks vv as the child produced by evolving its parent uu, and an inspiration edge records a cross-branch node that σ\sigma retrieved when proposing vv. Both edge types point from an earlier node to a later one, so G\mathcal{G} is acyclic by construction: each node is created once, from already-existing nodes, and is never revised in place. Persisting G\mathcal{G} rather than keeping a fixed-size beam lets us revisit previously deprioritised lineages, supports cross-branch retrieval, and preserves full provenance for any final node.

A child enters the archive (the pool of deployable states that also serves as the candidate set for future parents) only when it strictly improves on its parent, ΔU_v>0\Delta U\_{v}>0. Accuracy-neutral or regressing children (ΔU_v≤0\Delta U\_{v}\leq 0) are not eligible to be selected as parents, but are still persisted in G\mathcal{G}: they preserve provenance and remain available to σ\sigma as inspiration, so a neutral or failed edit can still inform a later proposal.

From the archive we refresh the frontier F\mathcal{F} each iteration to the top-KK nodes by

v\*=arg⁡max⁡_v∈F[η_1U_v+η_2P^_v+η_3N_v],v^{\*}=\arg\max\_{v\in\mathcal{F}}\bigl[\eta\_{1}U\_{v}+\eta\_{2}\hat{P}\_{v}+\eta\_{3}N\_{v}\bigr],(4)

where P^_v\hat{P}\_{v} is the meta-productivity estimate (Eq. 3) and N\_{v}=1/(1+\texttt{times\\_selected}\_{v}). Each term targets a distinct failure mode of greedy search:

  • •

    U_vU\_{v} – exploitation: prevents chasing volatile gain estimates on weak parents.

  • •

    P^_v\hat{P}\_{v} – trajectory quality: redirects effort from plateaued high points to nodes still generating useful descendants.

  • •

    N_vN\_{v} – visitation cooling: a node selected kk times must outperform an unselected sibling by η_3k/(k+1)\eta\_{3}k/(k{+}1) to be re-picked, preventing budget monopolies.

Setting any η_i=0\eta\_{i}{=}0 exposes the corresponding mode: the frontier locks on stagnated high-utility nodes (η_2=0\eta\_{2}{=}0), collapses to one lineage (η_3=0\eta\_{3}{=}0), or trusts noisy single-child gains as parent quality (η_1=0\eta\_{1}{=}0). Crucially, we do not filter by lineage: diversity is a property of the score, not a structural constraint.

The fast loop (Algorithm 1) runs one task-skill iteration on a frontier parent vv. Before invoking any agent, the runtime restores the selected branch’s task and meta snapshots (s_v,m_v)(s\_{v},m\_{v}) to disk. Thus the SQLite DAG, rather than whatever files remain in the working tree, defines branch state: each branch starts from its recorded snapshot and is evaluated in isolation, preventing leakage between lineages. We then score s_vs\_{v} on the training batch and take its worst-scoring example as the diagnostic target: a deliberately high-signal choice, hedged against outliers because each resulting edit is judged by its validation gain ΔU_v\Delta U\_{v} rather than by that single training case. This example drives the five-agent pipeline:

  • •

    Analyzer (ψ\psi): emits a tag ϕ\phi and a free-form analysis aa; the tag vocabulary is itself maintained by ψ\psi and revised by the slow loop.

  • •

    Retriever (σ\sigma): ranks a ϕ\phi-matched candidate pool by tag similarity, over-fetching to 3×3{\times} the inspiration budget, then LLM-re-ranks this wider pool down to the inspirations I\mathcal{I} handed to the Proposer; the breadth/depth balance is itself a learned object.

  • •

    Allocator (α\alpha): chooses K∈[1,K_max⁡]K\in[1,K\_{\max}], widening search after stagnation (P^≈0\hat{P}\approx 0) and contracting after a productive edit.

  • •

    Proposer (π\pi): for each of the KK children emits an edit δ\delta; when K>1K{>}1 a diversity hint steers the kk-th proposer toward a distinct intervention angle, reducing near-duplicate children.

  • •

    Evolver (ε\varepsilon): translates δ\delta into file writes via skill_tools and verifies the result with a before/after hash check that flags edits leaving the target files unchanged.

Each child s′_ks^{\prime}\_{k} is evaluated on D_val\mathcal{D}\_{\text{val}} to obtain its gain ΔU_k\Delta U\_{k}. Every HH iterations the slow loop (§3.5) then refreshes the meta-skill m_vm\_{v}; the KK children are committed to G\mathcal{G} carrying this refreshed meta-skill, and the frontier is re-synchronised before the next iteration.

Algorithm 1 Fast timescale: one task-skill iteration

1: Frontier parent vv; train batch D_train\mathcal{D}\_{\text{train}}, val batch D_val\mathcal{D}\_{\text{val}}

2: KK committed child nodes (those with ΔU>0\Delta U>0 enter the archive)

3: Restore and evaluate

4: Restore snapshots s_vs\_{v} (task), m_vm\_{v} (meta) to disk

5: E←Eval(s_v,D_train)\mathcal{E}\leftarrow\text{Eval}(s\_{v},\mathcal{D}\_{\text{train}}) ▹\triangleright collect failures

6: if E\mathcal{E} has no failures then return all_passed

7: end if

8: f←arg⁡min⁡_e∈Escore(e)f\leftarrow\arg\min\_{e\in\mathcal{E}}\text{score}(e) ▹\triangleright worst case

9: Diagnose and plan (3 agents)

10: ϕ,a←Analyzer(f, m_v.ψ)\phi,a\leftarrow\text{Analyzer}(f,\,m\_{v}.\psi) ▹\triangleright tag, analysis

11: I←Retriever(ϕ, b_v, m_v.σ)\mathcal{I}\leftarrow\text{Retriever}(\phi,\,b\_{v},\,m\_{v}.\sigma) ▹\triangleright inspiring nodes

12: K←Allocator(h_v, a, I, m_v.α)K\leftarrow\text{Allocator}(h\_{v},\,a,\,\mathcal{I},\,m\_{v}.\alpha) ▹\triangleright child budget

13: Propose and evolve (KK children)

14: for k=1…Kk=1\ldots K do

15:   Restore s_vs\_{v}

16:   δ←Proposer(f, a, I, m_v.π)\delta\leftarrow\text{Proposer}(f,\,a,\,\mathcal{I},\,m\_{v}.\pi)

17:   s′_k←Evolver(s_v, δ, m_v.ε)s^{\prime}\_{k}\leftarrow\text{Evolver}(s\_{v},\,\delta,\,m\_{v}.\varepsilon)

18:   U′_k←Eval(s′_k, D_val)U^{\prime}\_{k}\leftarrow\text{Eval}(s^{\prime}\_{k},\,\mathcal{D}\_{\text{val}}); ΔU_k←U′_k−U_v\Delta U\_{k}\leftarrow U^{\prime}\_{k}-U\_{v}

19: end for

20: Interleave slow loop, commit and sync

21: if t mod H=0t\bmod H=0 then m_v←m\_{v}\leftarrow update meta-skill (Alg. 2)

22: end if

23: Commit children {⟨s′_k, ΔU_k, m_v⟩}_k=1K\{\langle s^{\prime}\_{k},\ \Delta U\_{k},\ m\_{v}\rangle\}\_{k=1}^{K} to G\mathcal{G}

24: F←SyncFrontier(F)\mathcal{F}\leftarrow\text{SyncFrontier}(\mathcal{F}) ▹\triangleright next parent drawn by Eq. 4

Updating mm at every iteration would expose the meta-skill to the same single-example noise that drives task-skill evolution. The slow loop (Algorithm 2) instead fires once every HH fast iterations and aggregates over that horizon, trading reactivity for stability. Its driving signal is the empirical meta-productivity P^(m∣s)=1∣H∣∑_u∈HΔU_u\hat{P}(m\mid s)=\tfrac{1}{|\mathcal{H}|}\sum\_{u\in\mathcal{H}}\Delta U\_{u} over the last HH descendants H\mathcal{H}. We fold P^\hat{P} together with the tags, diagnoses, and outcomes of that window into a synthetic meta-failure trace f_mf\_{m}: the improvement history reshaped to look like one failing training example, so that a single Analyzer prompt serves both timescales.

We then re-run the same five-agent pipeline on f_mf\_{m}, switching its target object from task-skill files to the hidden meta-skill files. The Analyzer names the single most-implicated component of {ψ,σ,α,π,ε}\{\psi,\sigma,\alpha,\pi,\varepsilon\}; this diagnosis fixes the failure tag ϕ_m\phi\_{m} that steers retrieval, but it does not narrow the edit scope. The Retriever surfaces cross-branch lineages whose meta-failure tags match ϕ_m\phi\_{m}, the Allocator sets the round budget K_mK\_{m}, and the Proposer and Evolver then co-edit all five files per round. The resulting snapshot of all five files becomes the child’s meta_state_json. Each branch therefore carries its own lineage-local mm, and the sole channel by which one lineage’s improvement policy reaches another is this meta-level retrieval, so escape strategies propagate between lineages without any shared global state. Three details separate this from a plain fast-loop run:

  • •

    Constrained Analyzer. A null or task-skill diagnosis triggers a round-robin fallback over {ψ,σ,α,π,ε}\{\psi,\sigma,\alpha,\pi,\varepsilon\}, so the slow loop never aborts on an unusable target nor silently degrades into a redundant fast-loop run.

  • •

    Whole-mm rewrite. Each child edits all five meta-skill files in one step (Proposer sequential, Evolvers parallel), preserving cross-component coherence; for instance, a π\pi edit assuming a finer tag vocabulary is co-applied with the matching ψ\psi edit.

  • •

    Accumulating children. Child k+1k{+}1 reads the files as written by child kk, not by the parent; this moving target drives incremental refinement rather than K_mK\_{m} independent overwrites that average back to the parent.

Algorithm 2 Slow timescale: meta-skill update, at t mod H=0t\bmod H=0

1: Branch history H\mathcal{H} (last HH children); meta-skill mm; parent vv; names M={ψ,σ,α,π,ε}\mathcal{M}{=}\{\psi,\sigma,\alpha,\pi,\varepsilon\}

2: Snapshot of all five meta-skill files

3: Build meta-failure trace

4: P^←1∣H∣∑_u∈HΔU_u\hat{P}\leftarrow\tfrac{1}{|\mathcal{H}|}\sum\_{u\in\mathcal{H}}\Delta U\_{u} ▹\triangleright meta-productivity

5: f_m←f\_{m}\leftarrow trace of tags, diagnoses, outcomes over H,P^\mathcal{H},\hat{P}

6: Diagnose and plan (target ∈M\in\mathcal{M})

7: ϕ_m,a_m←Analyzer(f_m, m)\phi\_{m},a\_{m}\leftarrow\text{Analyzer}(f\_{m},\,m) ▹\triangleright round-robin fallback

8: I_m←Retriever(ϕ_m, b_v, m.σ)\mathcal{I}\_{m}\leftarrow\text{Retriever}(\phi\_{m},\,b\_{v},\,m.\sigma)

9: K_m←Allocator(H, a_m, I_m, m.α)K\_{m}\leftarrow\text{Allocator}(\mathcal{H},\,a\_{m},\,\mathcal{I}\_{m},\,m.\alpha)

10: Whole-mm rewrite (K_mK\_{m} accumulating children)

11: for k=1…K_mk=1\ldots K\_{m} do

12:   Render meta-files from disk ▹\triangleright reflects child k−1k{-}1

13:   for j∈Mj\in\mathcal{M} do ▹\triangleright Proposer: sequential

14:    δ_m(j)←Proposer(f_m, a_m∣tgt=j, I_m, m.π)\delta\_{m}^{(j)}\leftarrow\text{Proposer}(f\_{m},\,a\_{m}{\mid}\text{tgt}{=}j,\,\mathcal{I}\_{m},\,m.\pi)

15:   end for

16:   {m(j)}←ParallelEvolver({δ_m(j)}_j∈M, m.ε)\{m^{(j)}\}\leftarrow\text{ParallelEvolver}(\{\delta\_{m}^{(j)}\}\_{j\in\mathcal{M}},\,m.\varepsilon) ▹\triangleright one worker/file

17: end for

18: return snapshot of {m(j)}_j∈M\{m^{(j)}\}\_{j\in\mathcal{M}}

We evaluate on three agentic benchmarks chosen to span complementary capabilities: OfficeQA (Opsahl-Ong et al., 2026), SealQA (Pham et al., 2026), and ALFWorld (Shridhar et al., 2021).

Within the evolution loop, each benchmark file is split by stratified sampling over its category column into three disjoint partitions: a training partition (failure mining), a validation partition (child scoring and best-skill selection), and a held-out test partition that the loop never observes. We then report accuracy of the selected skill on the held-out test partition through a separate benchmark-mode pass.

A single frozen base model, Gemma-4 31B (Google, 2026), serves all five pipeline agents (Analyzer, Retriever, Allocator, Proposer, Evolver); no agent is fine-tuned, so all gains are attributable to evolved skills and meta-skills.

We compare four configurations, all sharing the same backbone:

  • •

    No-Skill: the base agent with no skill loaded and reflection disabled. Quantifies the raw backbone.

  • •

    Static Skill: the same agent loaded with our hand-authored initial skill, held fixed for the entire run. Isolates the value of a skill artifact per se.

  • •

    Single-Level Evolution: our fast loop with the slow loop frozen (K_max⁡=1K\_{\max}{=}1, no cross-branch sharing, no meta-skill updates). Isolates the contribution of task-skill evolution alone.

  • •

    MetaSkill-Evolve (ours): the full two-timescale system.

Table 1 and Fig. 3 report held-out test accuracy across the four conditions on all three benchmarks. The two QA benchmarks, where the backbone has the most headroom, tell the cleanest story. First, the static skill is worth several points over the raw backbone on OfficeQA (+4.31) and is roughly neutral on SealQA (+0.24). Second, replacing the fixed skill by single-level evolution (our fast loop with the slow loop frozen) adds a further +12.85 / +7.80 points, isolating the contribution of the inner evolution loop and the SQLite-backed evolution graph. Third, switching on the slow loop lifts performance by another +6.38 / +8.05 points, a gain attributable to meta-skill adaptation, since the only difference from the Single-Level baseline is whether the meta-skill files {ψ,σ,α,π,ε}\{\psi,\sigma,\alpha,\pi,\varepsilon\} are themselves evolved. The progression No-Skill → \,\to\,Static → \,\to\,Single-Level → \,\to\,MetaSkill-Evolve is monotonic on both QA benchmarks, so each design choice (adding a skill, evolving it, then evolving the procedure that evolves it) pays off independently: end-to-end, MetaSkill-Evolve improves held-out accuracy over the raw backbone by +23.54 points on OfficeQA and +16.09 on SealQA.

ALFWorld stresses the opposite regime: the backbone already solves most episodes (92.31%), leaving little room to improve. The static skill slightly regresses (−1.93-1.93), and single-level evolution only recovers to the No-Skill baseline (92.31%), so neither non-meta step yields a net gain over the raw backbone. The slow loop alone supplies the entire end-to-end improvement of +1.92 points (to 94.23%): small in absolute terms, but it indicates that meta-skill adaptation remains the operative ingredient even once task-skill evolution has saturated.

Figure 3: End-to-end held-out test accuracy on the three benchmarks. All conditions share the Gemma-4 31B backbone; only the skill-evolution strategy differs. Red annotations mark MetaSkill-Evolve’s gain over No-Skill; the No-Skill → ,\to, Ours ordering improves on every benchmark, with the largest margins on the two QA tasks where the backbone has the most headroom.

Table 1: Main results. Held-out test accuracy (%) on OfficeQA, SealQA, and ALFWorld; the test partition is never seen during evolution (App. F). ALFWorld reports the aggregate task success rate. All rows share the Gemma-4 31B backbone; only the skill-evolution strategy differs.

MethodOfficeQASealQAALFWorld
Non-evolutionary baselines
No-Skill31.7829.1792.31
Static skill36.0929.4190.38
Self evolution
Single-Level48.9437.2192.31
MetaSkill-Evolve55.3245.2694.23
Δ\Delta vs. No-Skill+23.54+16.09+1.92

Figure 4: Component ablations on the two QA benchmarks. Blue polygon: accuracy with one meta-skill component removed; dashed rings: full MetaSkill-Evolve and Static-Skill references. Dominant component differs by domain: α \alpha on OfficeQA, π \pi on SealQA. ALFWorld in Table 3 .

To attribute the gains to specific design choices we disable one component at a time and re-run on all three benchmarks (Table 3 in App. E; QA benchmarks visualised in Fig. 4). The configurations −ψ-\psi, −σ-\sigma, −α-\alpha, −π-\pi ablate the corresponding meta-skill component. In particular, −σ-\sigma removes the Retriever’s inspiration policy entirely; the separate no cross-branch condition (denoted −σ_x-\sigma\_{\mathrm{x}} in Fig. 4) removes only cross-branch candidates while same-branch inspirations remain available. The no meta-updates condition freezes the slow loop entirely. The Evolver ε\varepsilon always executes (with −π-\pi it consumes the raw analysis instead of a structured proposal), so ε\varepsilon does not carry its own ablation row.

Fig. 4 shows the component ablations on the two QA benchmarks. There are three findings. First, every typed component contributes: no single-component ablation matches the full system, although which component matters most differs by domain. Second, on OfficeQA the allocation policy α\alpha is the single most important component (55.32→35.5855.32{\to}35.58, −19.7-19.7 pts): the OfficeQA failure landscape contains pockets of related arithmetic errors where α\alpha’s adaptive widening of the child budget after stagnation is what produces a successful child at all, and π\pi (−17.7-17.7 pts) is a close second. Third, on SealQA the edit-proposal policy π\pi is instead dominant (45.26→36.8445.26{\to}36.84), where the gain hinges on the precise content of each edit rather than on how widely the search fans out.

The horizon HH governs the coupling between the two timescales: it sets how many fast task-skill iterations elapse between consecutive meta-skill evolutions (§3.5). The choice cuts two ways. Firing the slow loop too often exposes the meta-skill to the single-example noise that aggregating over HH is meant to filter; firing it too rarely lets the meta-skill go stale relative to the drifting task skill, so its broader rewrites land on edits the fast loop has already moved past and overwrite productive changes. To probe this trade-off while holding total compute fixed, we keep the number of meta-updates at three and scale the iteration budget with HH, sweeping H∈{2,4,8}H\in\{2,4,8\} (equivalently 6, 12, and 24 fast iterations). Fixing the meta-update count makes the H=2H{=}2 point here (6 iterations, three meta-updates) a slightly different operating point from the five-iteration default (two meta-updates at H=2H{=}2) behind Tables 1 and 3: although all three are scored on the same held-out test partition, the extra iteration and meta-update mean its accuracies are not expected to coincide cell-for-cell with the full-system rows there.

Figure 5: Meta-update horizon sweep. Held-out test accuracy as the horizon H H (fast iterations between consecutive meta-skill evolutions) widens from 2 to 8, with the meta-update count held fixed at three, so total iterations = 3 ​ H =3H (shown in parentheses). The broken y y -axis separates near-ceiling ALFWorld (top) from the two QA accuracies (bottom). The default H = 2 H{=}2 (shaded band) is best on every benchmark; OfficeQA is by far the most sensitive to a stale meta-skill.

Figure 5 (exact values in Table 2, App. D) reports the sweep on the held-out test set. The tightest spacing H=2H{=}2 is best on every benchmark, and accuracy falls as the meta-skill is refreshed less often, but the magnitude is strongly benchmark-dependent. OfficeQA is the most sensitive, shedding 9.19.1 points from H=2H{=}2 to H=8H{=}8 (48.94→41.35→39.8448.94{\to}41.35{\to}39.84); SealQA and ALFWorld are nearly flat between H=2H{=}2 and H=4H{=}4 and slip only at H=8H{=}8 (a 0.90.9- and 1.91.9-point drop overall). All three horizons already aggregate over multiple iterations, escaping the per-iteration noise that motivates H>1H{>}1; among them the most reactive schedule wins, which fixes our default at H=2H{=}2.

We introduced MetaSkill-Evolve, a two-timescale framework in which every branch carries a task skill ss and a meta-skill m=(ψ,σ,α,π,ε)m=(\psi,\sigma,\alpha,\pi,\varepsilon) whose five components parameterise the improvement pipeline. Because each component of mm is itself a Markdown LLM-agent program, the same pipeline that rewrites ss on the fast loop refines mm on the slow loop, a bounded instance of recursive self-improvement that needs no extra model or training, while frontier selection η_1U_v+η_2P^_v+η_3N_v\eta\_{1}U\_{v}+\eta\_{2}\hat{P}\_{v}+\eta\_{3}N\_{v} redirects search from plateaued branches to ones whose improvement policy is still productive. The result is a +23.54 / +16.09 / +1.92 point gain in held-out test accuracy over the raw Gemma-4 31B backbone on OfficeQA / SealQA / ALFWorld, of which the slow loop contributes +6.38 / +8.05 / +1.92, evidence that an agent’s improvement policy admits the same search machinery as its task behaviour, and that separating what to do from how to improve keeps each loop’s signal interpretable.

MetaSkill-Evolve is evaluated on three curated benchmarks; transfer to open-ended, long-horizon real-world tasks with noisier feedback is untested. The five-agent pipeline is itself fixed: we evolve the skills it produces but not its roles or wiring. Meta-updates fire at a fixed horizon HH.

  • Agrawal et al. (2026) L. A. Agrawal, S. Tan, D. Soylu, N. Ziems, R. Khare, K. Opsahl-Ong, A. Singhvi, H. Shandilya, M. J. Ryan, M. Jiang, C. Potts, K. Sen, A. G. Dimakis, I. Stoica, D. Klein, M. Zaharia, and O. Khattab GEPA: reflective prompt evolution can outperform reinforcement learning. External Links: 2507.19457, Link Cited by: §1, §2.
  • Alzubi et al. (2026) S. Alzubi, N. Provenzano, J. Bingham, W. Chen, and T. Vu EvoSkill: automated skill discovery for multi-agent systems. External Links: 2603.02766, Link Cited by: §1, §2.
  • Bi et al. (2026) J. Bi, Aniri, M. Yang, X. Zhou, W. Huang, S. Yan, Y. Wang, Z. Cao, M. Färber, X. Xiao, V. Tresp, and Y. Ma EchoRL: reinforcement learning via rollout echoing. In Forty-third International Conference on Machine Learning, External Links: Link Cited by: §2.
  • Bi et al. (2025a) J. Bi, Y. Wang, D. Yan, X. Xiao, A. Hecker, V. Tresp, and Y. Ma PRISM: self-pruning intrinsic selection method for training-free multimodal data selection. ArXiv abs/2502.12119. External Links: Link Cited by: §2.
  • Bi et al. (2025b) J. Bi, Y. Wang, H. Chen, X. Xiao, A. Hecker, V. Tresp, and Y. Ma LLaVA steering: visual instruction tuning with 500x fewer parameters through modality linear representation-steering. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), W. Che, J. Nabende, E. Shutova, and M. T. Pilehvar (Eds.), Vienna, Austria, pp. 15230–15250. External Links: Link, ISBN 979-8-89176-251-0 Cited by: §2.
  • Bi et al. (2025c) J. Bi, D. Yan, Y. Wang, W. Huang, H. Chen, G. Wan, M. Ye, X. Xiao, H. Schuetze, V. Tresp, and Y. Ma CoT-kinetics: a theoretical modeling assessing lrm reasoning process. ArXiv abs/2505.13408. External Links: Link Cited by: §2.
  • Fang et al. (2026) R. Fang, Y. Liang, X. Wang, J. Wu, S. Qiao, P. Xie, F. Huang, H. Chen, and N. Zhang Memp: exploring agent procedural memory. External Links: 2508.06433, Link Cited by: §2.
  • Fernando et al. (2023) C. Fernando, D. Banarse, H. Michalewski, S. Osindero, and T. Rocktäschel Promptbreeder: self-referential self-improvement via prompt evolution. External Links: 2309.16797, Link Cited by: §2.
  • Good (1965) I. J. Good Speculations concerning the first ultraintelligent machine. Adv. Comput. 6, pp. 31–88. External Links: Link Cited by: §1, §2.
  • Google (2026) Google Google/gemma-4-31b. Note: Hugging Face model repository External Links: Link Cited by: §1, §4.1.
  • Guo et al. (2025) Q. Guo, R. Wang, J. Guo, B. Li, K. Song, X. Tan, G. Liu, J. Bian, and Y. Yang EvoPrompt: connecting llms with evolutionary algorithms yields powerful prompt optimizers. External Links: 2309.08532, Link Cited by: §2.
  • He et al. (2026) Y. He, J. Liu, Y. Liu, Y. Li, T. Cao, Z. Hu, X. Xu, and B. Hooi EvoTest: evolutionary test-time learning for self-improving agentic systems. External Links: 2510.13220, Link Cited by: §2.
  • Hu et al. (2025) S. Hu, C. Lu, and J. Clune Automated design of agentic systems. External Links: 2408.08435, Link Cited by: §2.
  • Huang et al. (2025) X. Huang, Rishabh, G. Franke, Z. Yang, J. Bai, W. Bai, J. Bi, Z. Ding, Y. Duan, C. Fan, W. Fan, X. Gao, R. Guo, Y. He, Z. He, X. Hu, N. Johnson, B. Li, F. Lin, S. Lin, T. Liu, Y. Ma, H. Shen, H. Sun, B. Wang, F. Wang, H. Wang, H. Wang, Y. Wang, Y. Wang, Z. Wang, Z. Wang, Y. Wu, Z. Xiao, C. Xie, F. Yang, J. Yang, Q. Ye, Z. Ye, G. Zeng, Y. E. Zhang, Z. Zhang, Z. Zhu, B. Ghanem, P. Torr, and G. Li Loong: synthesize long chain-of-thoughts at scale through verifiers. External Links: 2509.03059, Link Cited by: §2.
  • Jiang et al. (2026) Y. Jiang, D. Li, H. Deng, B. Ma, X. Wang, Q. Wang, and G. Yu SoK: agentic skills – beyond tool use in llm agents. External Links: 2602.20867, Link Cited by: §2.
  • Khattab et al. (2023) O. Khattab, A. Singhvi, P. Maheshwari, Z. Zhang, K. Santhanam, S. Vardhamanan, S. Haq, A. Sharma, T. T. Joshi, H. Moazam, H. Miller, M. Zaharia, and C. Potts DSPy: compiling declarative language model calls into self-improving pipelines. External Links: 2310.03714, Link Cited by: §2.
  • Lange et al. (2025) R. T. Lange, Y. Imajuku, and E. Cetin ShinkaEvolve: towards open-ended and sample-efficient program evolution. External Links: 2509.19349, Link Cited by: §2.
  • Lee et al. (2025) Y. Lee, J. Boen, and C. Finn Feedback descent: open-ended text optimization via pairwise comparison. External Links: 2511.07919, Link Cited by: §2.
  • Li et al. (2026) X. Li, Y. Liu, W. Chen, B. You, Z. Di, Y. He, S. Zheng, K. W. Choe, J. Sun, S. Wang, C. Tao, B. Li, X. Zhao, H. Geng, X. Wu, J. Zhou, X. Chen, H. Xing, Y. Li, Q. Zeng, D. Wang, Y. Wang, R. B. Chaim, P. Jiang, H. Shen, L. Kong, X. Liu, R. Wang, X. Liu, J. Li, X. Lan, Y. Lin, W. Ye, J. He, S. Li, Y. Zhang, Y. Gao, Y. Li, Z. Ma, L. Jing, T. Wang, K. Li, Y. Xue, H. Lyu, Y. He, Y. Tian, S. Wu, B. Wang, Y. Gao, B. Chen, L. Liu, S. Cheng, J. Bao, S. Tong, S. Xu, T. Y. Zhuo, T. Ye, Q. Qi, M. Li, L. Liao, Z. Tan, C. Shi, X. Tang, S. Tankasala, B. Yuan, Y. Qian, J. Tu, C. Wang, Y. Sun, W. Wang, A. Taylor, Z. Yang, C. Guan, Z. Dong, X. Zhang, S. Dillmann, H. Lee, and D. Song SkillsBench: benchmarking how well agent skills work across diverse tasks. External Links: 2602.12670, Link Cited by: §2.
  • Lin et al. (2025) J. Lin, Y. Guo, Y. Han, S. Hu, Z. Ni, L. Wang, M. Chen, H. Liu, R. Chen, Y. He, D. Jiang, B. Jiao, C. Hu, and H. Wang SE-agent: self-evolution trajectory optimization in multi-step reasoning with llm-based agents. External Links: 2508.02085, Link Cited by: §2.
  • Liu et al. (2026) X. Liu, X. Luo, L. Li, G. Huang, J. Liu, and H. Qiao SkillForge: forging domain-specific, self-evolving agent skills in cloud technical support. ArXiv abs/2604.08618. External Links: Link Cited by: §2.
  • Ma et al. (2026a) X. Ma, Y. Ma, C. Lin, S. Yan, J. Bi, Z. Cao, Y. Tian, V. Tresp, and H. Schuetze Self-evolving multi-agent systems via textual backpropagation. In Findings of the Association for Computational Linguistics: ACL 2026, M. Liakata, V. P. Moreira, J. Zhang, and D. Jurgens (Eds.), San Diego, California, United States, pp. 9918–9951. External Links: Link, Document, ISBN 979-8-89176-395-1 Cited by: §2.
  • Ma et al. (2026b) Z. Ma, S. Yang, Y. Ji, X. Wang, Y. Wang, Y. Hu, T. Huang, and X. Chu SkillClaw: let skills evolve collectively with agentic evolver. External Links: 2604.08377, Link Cited by: §2.
  • Madaan et al. (2023) A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prabhumoye, Y. Yang, S. Gupta, B. P. Majumder, K. Hermann, S. Welleck, A. Yazdanbakhsh, and P. Clark Self-refine: iterative refinement with self-feedback. External Links: 2303.17651, Link Cited by: §2.
  • Ni et al. (2026) J. Ni, Y. Liu, X. Liu, Y. Sun, M. Zhou, P. Cheng, D. Wang, E. Zhao, X. Jiang, and G. Jiang Trace2Skill: distill trajectory-local lessons into transferable agent skills. External Links: 2603.25158, Link Cited by: §2.
  • Novikov et al. (2025) A. Novikov, N. Vũ, M. Eisenberger, E. Dupont, P. Huang, A. Z. Wagner, S. Shirobokov, B. Kozlovskii, F. J. R. Ruiz, A. Mehrabian, M. P. Kumar, A. See, S. Chaudhuri, G. Holland, A. Davies, S. Nowozin, P. Kohli, and M. Balog AlphaEvolve: a coding agent for scientific and algorithmic discovery. External Links: 2506.13131, Link Cited by: §2.
  • Opsahl-Ong et al. (2026) K. Opsahl-Ong, A. Singhvi, J. Collins, I. Zhou, C. Wang, A. Baheti, O. Oertell, J. Portes, S. Havens, E. Elsen, M. Bendersky, M. Zaharia, and X. Chen OfficeQA pro: an enterprise benchmark for end-to-end grounded reasoning. External Links: 2603.08655, Link Cited by: §1, §2, §4.1.
  • Ouyang et al. (2026) S. Ouyang, J. Yan, I. Hsu, Y. Chen, K. Jiang, Z. Wang, R. Han, L. T. Le, S. Daruki, X. Tang, V. Tirumalashetty, G. Lee, M. Rofouei, H. Lin, J. Han, C. Lee, and T. Pfister ReasoningBank: scaling agent self-evolving with reasoning memory. External Links: 2509.25140, Link Cited by: §2.
  • Pham et al. (2026) T. Pham, N. Nguyen, P. Zunjare, W. Chen, Y. Tseng, and T. Vu SealQA: raising the bar for reasoning in search-augmented language models. External Links: 2506.01062, Link Cited by: §1, §4.1.
  • Pryzant et al. (2023) R. Pryzant, D. Iter, J. Li, Y. T. Lee, C. Zhu, and M. Zeng Automatic prompt optimization with “gradient descent” and beam search. External Links: 2305.03495, Link Cited by: §2.
  • Schmidhuber (2006) J. Schmidhuber Goedel machines: self-referential universal problem solvers making provably optimal self-improvements. External Links: cs/0309048, Link Cited by: §1, §2.
  • Shen et al. (2026) S. Shen, W. Cheng, M. Ma, A. Turcan, M. J. Zhang, and J. Ma SKILLFOUNDRY: building self-evolving agent skill libraries from heterogeneous scientific resources. External Links: 2604.03964, Link Cited by: §2.
  • Shi et al. (2026) Y. Shi, Y. Chen, Z. Lu, Y. Miao, S. Liu, Q. GU, X. Cai, X. Wang, and A. Zhang Skill1: unified evolution of skill-augmented agents via reinforcement learning. External Links: 2605.06130, Link Cited by: §2.
  • Shinn et al. (2023) N. Shinn, F. Cassano, E. Berman, A. Gopinath, K. Narasimhan, and S. Yao Reflexion: language agents with verbal reinforcement learning. External Links: 2303.11366, Link Cited by: §2.
  • Shridhar et al. (2021) M. Shridhar, X. Yuan, M. Côté, Y. Bisk, A. Trischler, and M. Hausknecht ALFWorld: aligning text and embodied environments for interactive learning. External Links: 2010.03768, Link Cited by: §1, §4.1.
  • Si et al. (2026) S. Si, H. Zhao, Y. Lei, Q. Wang, D. Chen, Z. Wang, Z. Wang, K. Luo, Z. Wang, G. Chen, F. Qi, M. Zhang, and M. Sun From context to skills: can language models learn from context skillfully?. External Links: 2604.27660, Link Cited by: §2.
  • Tian et al. (2025) Y. Tian, S. Chen, Z. Xu, Y. Wang, J. Bi, P. Han, and W. Wang Reinforcement mid-training. External Links: 2509.24375, Link Cited by: §2.
  • Tian et al. (2026) Y. Tian, J. Chen, L. Zheng, M. Tao, X. Zeng, Z. Yin, H. Su, and X. Sun Skills-coach: a self-evolving skill optimizer via training-free grpo. External Links: 2604.27488, Link Cited by: §2.
  • Wan et al. (2025a) G. Wan, L. Fu, H. Liu, Y. Jin, H. Y. Leong, E. H. Jiang, H. Geng, J. Bi, Y. Ma, X. Tang, B. A. Prakash, Y. Sun, and W. Wang Beyond magic words: sharpness-aware prompt evolving for robust large language models with tare. External Links: 2509.24130, Link Cited by: §2.
  • Wan et al. (2025b) G. Wan, X. Shang, Y. Wu, G. Zhang, J. Bi, L. Zheng, X. Lin, Y. Liu, Y. Ma, W. Huang, and B. Du HYPERION: fine-grained hypersphere alignment for robust federated graph learning. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, External Links: Link Cited by: §2.
  • Wang et al. (2026) C. Wang, Z. Yu, X. Xie, W. Yao, R. Fang, S. Qiao, K. Cao, G. Zheng, X. Qi, P. Zhang, and S. Deng SkillX: automatically constructing skill knowledge bases for agents. External Links: 2604.04804, Link Cited by: §2.
  • Wang et al. (2023) G. Wang, Y. Xie, Y. Jiang, A. Mandlekar, C. Xiao, Y. Zhu, L. Fan, and A. Anandkumar Voyager: an open-ended embodied agent with large language models. External Links: 2305.16291, Link Cited by: §1, §2.
  • Wang et al. (2025) Y. Wang, S. Su, Z. Zeng, E. Xu, L. Ren, X. Yang, Z. Huang, X. He, L. Ma, B. Peng, H. Cheng, P. He, W. Chen, S. Wang, S. S. Du, and Y. Shen ThetaEvolve: test-time learning on open problems. External Links: 2511.23473, Link Cited by: §2.
  • Xia et al. (2026) P. Xia, J. Chen, H. Wang, J. Liu, K. Zeng, Y. Wang, S. Han, Y. Zhou, X. Zhao, H. Chen, Z. Zheng, C. Xie, and H. Yao SkillRL: evolving agents via recursive skill-augmented reinforcement learning. External Links: 2602.08234, Link Cited by: §2.
  • Yang et al. (2024) C. Yang, X. Wang, Y. Lu, H. Liu, Q. V. Le, D. Zhou, and X. Chen Large language models as optimizers. External Links: 2309.03409, Link Cited by: §2.
  • Yang et al. (2026a) M. Yang, X. Guo, Z. Shi, J. Bi, S. Bethard, M. Surdeanu, and L. Pan AlignSAE: concept-aligned sparse autoencoders. External Links: 2512.02004, Link Cited by: §2.
  • Yang et al. (2026b) Y. Yang, J. Li, Q. Pan, B. Zhan, Y. Cai, L. Du, J. Zhou, K. Chen, Q. Chen, X. Li, B. Zhang, and L. He AutoSkill: experience-driven lifelong learning via skill self-evolution. External Links: 2603.01145, Link Cited by: §2.
  • Yao et al. (2023) S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao ReAct: synergizing reasoning and acting in language models. External Links: 2210.03629, Link Cited by: §1.
  • Ye et al. (2026) H. Ye, X. He, V. Arak, H. Dong, and G. Song Meta context engineering via agentic skill evolution. External Links: 2601.21557, Link Cited by: §2.
  • Yuksekgonul et al. (2024) M. Yuksekgonul, F. Bianchi, J. Boen, S. Liu, Z. Huang, C. Guestrin, and J. Zou TextGrad: automatic “differentiation” via text. External Links: 2406.07496, Link Cited by: §2.
  • Zelikman et al. (2024) E. Zelikman, E. Lorch, L. Mackey, and A. T. Kalai Self-taught optimizer (stop): recursively self-improving code generation. External Links: 2310.02304, Link Cited by: §2.
  • Zhang et al. (2026a) H. Zhang, S. Fan, H. P. Zou, Y. Chen, Z. Wang, J. Zhou, C. Li, W. Huang, Y. Yao, K. Zheng, X. Liu, X. Li, and P. S. Yu CoEvoSkills: self-evolving agent skills via co-evolutionary verification. External Links: 2604.01687, Link Cited by: §2.
  • Zhang et al. (2026b) H. Zhang, Q. Long, J. Bao, T. Feng, W. Zhang, H. Yue, and W. Wang MemSkill: learning and evolving memory skills for self-evolving agents. External Links: 2602.02474, Link Cited by: §2.
  • Zhang et al. (2026c) J. Zhang, S. Hu, C. Lu, R. Lange, and J. Clune Darwin godel machine: open-ended evolution of self-improving agents. External Links: 2505.22954, Link Cited by: §2.
  • Zhao et al. (2024) A. Zhao, D. Huang, Q. Xu, M. Lin, Y. Liu, and G. Huang ExpeL: llm agents are experiential learners. External Links: 2308.10144, Link Cited by: §2.
  • Zhao et al. (2026) X. Zhao, Q. Sun, J. Xiao, X. Liu, H. Yang, Q. Chen, X. Luo, J. Huang, Y. Zhong, L. Chen, S. Fu, Z. Wei, J. Bi, L. Jiang, H. Qiu, S. Yang, P. Shi, J. Hu, and Z. Zeng Beyond nl2code: a structured survey of multimodal code intelligence. External Links: 2606.15932, Link Cited by: §2.
  • Zheng et al. (2025) B. Zheng, M. Y. Fatemi, X. Jin, Z. Z. Wang, A. Gandhi, Y. Song, Y. Gu, J. Srinivasa, G. Liu, G. Neubig, and Y. Su SkillWeaver: web agents can self-improve by discovering and honing skills. External Links: 2504.07079, Link Cited by: §1, §2.
  • Zhou et al. (2023) Y. Zhou, A. I. Muresanu, Z. Han, K. Paster, S. Pitis, H. Chan, and J. Ba Large language models are human-level prompt engineers. External Links: 2211.01910, Link Cited by: §2.

All five agents are LLM-backed ToolCallingAgent instances sharing the same frozen base model; they load the skill catalog (task skills or meta-skills, depending on context) as additional context.

Given the execution trace and failure reason of the worst-scoring training example, the Analyzer produces (i) a structured root-cause analysis, (ii) a short failure tag ϕ\phi (at most 15 words), and (iii) the target skill file to edit. It uses a three-layer recovery chain: primary parse of final_answer, step-level output scanning across all agent steps, and a repair call with constrained response_format. The target_skill field is auto-derived from relevant_sections when not explicitly provided, improving robustness with smaller models.

Given ϕ\phi and the current branch path, the Retriever fetches same-branch and cross-branch candidates from the SQLite graph store, over-fetched to 3L_same3L\_{\text{same}} and 3L_cross3L\_{\text{cross}} by tag similarity, and LLM-re-ranks them by relevance to the present failure, returning the subset it judges relevant.

Given recent ΔU\Delta U values along the branch and the analysis, the Allocator chooses a child budget K∈[1,K_max⁡]K\in[1,K\_{\max}], allocating more search effort on stagnation and less when recent edits have been productive.

Given the failure analysis, the used skill materials, and the inspiring nodes, the Proposer produces a concrete edit proposal: target section, change, and rationale. When K>1K{>}1, a diversity hint instructs it to take a distinct intervention angle from prior child proposals.

The Evolver reads the current skill file, writes the edited version, and verifies that the mutations are consistent with the proposal summary. After each apply, the skill registry is refreshed so subsequent evaluations use the updated skill.

Appendix B Meta-Skill Representation and Skill-Catalog Disclosure

Section titled “Appendix B Meta-Skill Representation and Skill-Catalog Disclosure”

Each meta-skill component ψ,σ,α,π,ε\psi,\sigma,\alpha,\pi,\varepsilon is stored as a SKILL.md file under the project skills directory (e.g., skills/meta-analyzer/SKILL.md) and snapshotted into the SQLite node graph alongside the task-skill snapshot, so each node carries a complete, self-contained record of both task-level and meta-level state at creation. When a branch is selected for expansion, its meta-skill snapshot is restored from the node record before the five-agent pipeline runs, ensuring each branch applies its own lineage-specific improvement policy. Branches can thus diverge in their meta-level heuristics: one may have learned an aggressive edit policy for table-extraction failures while another developed conservative, incremental edits for arithmetic reasoning failures.

Agents receive a compact catalog first (skill names and one-line summaries), then load the full SKILL.md only for the skill they identify as relevant, and load resource files on demand. This keeps context length manageable while preserving full expressiveness.

Each meta-skill component is initialized as a brief Markdown document that describes its role in the evolutionary process. For example, the initial diagnosis policy ψ\psi instructs the Analyzer to: (i) identify the primary failure class from the execution trace, (ii) distinguish between skill-addressable failures and base-model capability limits, and (iii) assign a short, specific failure tag.

Frontier weights η_1=1.0\eta\_{1}{=}1.0, η_2=0.5\eta\_{2}{=}0.5, η_3=0.25\eta\_{3}{=}0.25; meta-update horizon H=2H{=}2; iteration budget 5 fast iterations (two meta-updates at H=2H{=}2); child budget K∈[1,K_max⁡]K\in[1,K\_{\max}] with K_max⁡=3K\_{\max}{=}3 and an initial K=2K{=}2 that the Allocator adapts per step (this initial value is what the −α-\alpha ablation freezes to); frontier size K_F=3K\_{\mathcal{F}}{=}3, with early stopping after 5 iterations without a frontier improvement. Category-aware round-robin training draws 6 categories per batch and 3 samples per category. Cross-branch sharing uses retrieval probability p_cross=0.2p\_{\text{cross}}{=}0.2 and same-/cross-branch inspiration limits L_same=3L\_{\text{same}}{=}3, L_cross=2L\_{\text{cross}}{=}2 (over-fetched at 3×3\times before LLM re-ranking, §3.4). Evaluation concurrency defaults to 16, raised to 128 for the QA benchmarks under the vLLM backend; it affects only throughput, not accuracy.

Sweeping the Retriever’s cross-branch candidate limit confirms that moderate cross-branch retrieval consistently improves performance on both OfficeQA and SealQA; very aggressive cross-branch retrieval introduces noise by supplying irrelevant inspirations from branches working on structurally different failures.

Table 2: Meta-update horizon sweep (held-out test accuracy, %), the exact values plotted in Fig. 5. HH is the number of fast task-skill iterations between consecutive meta-skill evolutions; the number of meta-updates is held fixed at three, so the iteration budget scales as 3H3H. The tightest spacing H=2H{=}2 is best on every benchmark; wider gaps let stale meta-rewrites overwrite productive edits.

BenchmarkH=2H{=}2H=4H{=}4H=8H{=}8
(6 it.)(12 it.)(24 it.)
OfficeQA48.9441.3539.84
SealQA44.1444.1443.24
ALFWorld90.3890.3888.46

Table 3 expands the component-ablation summary of §4.3.

Table 3: Component ablation across the three benchmarks (held-out test accuracy, %), scored on the same partition as Table 1. The Evolver (ε\varepsilon) always executes; with −π-\pi it consumes the raw analysis instead of a structured proposal. −σ-\sigma removes the Retriever’s inspiration policy entirely; no cross-branch removes only cross-branch retrieval candidates while same-branch candidates remain available. No meta-updates freezes the slow loop, exactly reproducing the Single-Level row of Table 1.

ConfigurationOfficeQASealQAALFWorld
Full MetaSkill-Evolve55.3245.2694.23
−ψ-\psi (disable_psi)39.0939.6388.46
−σ-\sigma (no inspirations)39.0940.5488.46
−α-\alpha (disable_alpha, K=2K{=}2)35.5840.5488.46
−π-\pi (disable_pi)37.5936.8486.54
No cross-branch retrieval39.8441.4492.31
No meta-updates (disable_meta_updates)48.9437.2192.31

On ALFWorld the edit-proposal policy π\pi is again the dominant component (94.23→86.5494.23\to 86.54), echoing SealQA: the gain hinges on the precise content of each edit rather than on how widely the search fans out. Cross-branch sharing carries the remainder of the meta-gain. Removing only cross-branch retrieval (no cross-branch, 92.3192.31) returns accuracy exactly to the Single-Level baseline (92.3192.31), so cross-branch transfer of reusable sub-routines (e.g. object-disambiguation and deferred-placement sub-skills) accounts for the whole +1.92+1.92 improvement there. As on the QA benchmarks, freezing the slow loop (no meta-updates, 92.3192.31) reproduces the Single-Level row of Table 1 exactly.

Appendix F Evaluation Protocol: Native Held-Out Test

Section titled “Appendix F Evaluation Protocol: Native Held-Out Test”

The accuracy figures in Table 1 are computed on a held-out test partition that the evolution loop never observes, so they measure generalisation to unseen rows rather than recall of evolved ones.

Before the loop runs, each benchmark file is stratified by its category column into three disjoint partitions: train (failure mining), val (child scoring and frontier selection), and test (the per-category remainder).

Appendix G Train/Validation Split Ratio Sensitivity

Section titled “Appendix G Train/Validation Split Ratio Sensitivity”

We study how the loop’s train/validation split affects the quality of the evolved task skill. All numbers in this section are recomputed on a common held-out test set per benchmark: because the stratified split is seeded, a larger-holdout run’s test set is a subset of a smaller one’s, so we intersect the test items across the swept runs and re-score every configuration on that shared subset (no re-running). These subsets are smaller than the benchmark sets used in the main results, so absolute numbers differ slightly.

Table 4 sweeps the training fraction with validation fixed at 0.100.10 (dual-evolve, 55 outer iterations). More training data yields only modest gains: ALFWorld rises monotonically (87.7→88.7→90.687.7\to 88.7\to 90.6), while SealQA and OfficeQA are essentially flat within noise (±1∼4\pm 1\sim 4 items on n≈87∼107n\approx 87\sim 107).

Table 4: Training-ratio sweep (val =0.10=0.10), accuracy (%) on the common held-out test subset.

Benchmarktr = 0.05tr = 0.10tr = 0.15
SealQA45.9843.6848.28
OfficeQA44.8642.9948.25
ALFWorld87.7488.6890.57

Table 5 enlarges the validation split (0.10→0.250.10{\to}0.25) at each training ratio. A larger validation set consistently improves the evolved skill, by +2.0+2.0, +4.3+4.3, and +2.5+2.5 points at tr=0.05/0.10/0.15\text{tr}{=}0.05/0.10/0.15 respectively. This effect is specific to high-baseline benchmarks such as ALFWorld, where the base agent already solves most episodes out of the box: a small validation set then contains too few failures to drive evolution. The analyzer sees almost no failing trajectories, so the diagnosis→\toproposal→\toselection cycle has essentially no signal to act on and the slow loop degenerates toward a no-op. Enlarging the validation split surfaces enough failure cases to make skill proposal and frontier selection informative, which in turn yields a measurably better skill on the held-out test set. The practical implication is that on saturated benchmarks the validation split must be large enough to expose failures; otherwise the evolution loop has nothing to learn from and cannot improve.

Table 5: ALFWorld validation-ratio sweep, accuracy (%) on the common held-out test subset. Enlarging the validation split exposes more failure cases and produces a better evolved skill.

train ratioval = 0.10val = 0.25
tr = 0.0587.7489.69
tr = 0.1088.6892.96
tr = 0.1590.5793.02