Reading + AI

MetaClaw: Just Talk -- An Agent That Meta-Learns and Evolves in the Wild

Peng Xia, Jianwen Chen, Xinyu Yang, Haoqin Tu, Jiaqi Liu, Kaiwen Xiong, Siwei Han, Shi Qiu
and 5 more authorsHaonian Ji, Yuyin Zhou, Zeyu Zheng, Cihang Xie, Huaxiu Yao

arXiv:2603.17187v1 · This workspace stays on this version. Check arXiv for newer versions

Affiliations and author notes
  • UNC-Chapel Hill
  • UC Santa Cruz
  • UC Berkeley
  • Carnegie Mellon University
  • Core Contributors
Some source details need review 14 to check

Original formulas, table values and figures are preserved. Comparison can miss differences; use the original PDF to check details.

Reading view checked: 118 math expressions, 5 rendering failures; 16 of 16 images available.

Compared 87 of 87 source passages against 19 of 19 PDF pages.

  • Some source graphics could not be placed in the reading view. (2)
  • Some graphics are laid out differently in the HTML source than in the paper (text or formulas outside their frame); check the original PDF. (6)
  • Some formulas could not be rendered; their original TeX is shown. Check the original PDF. (5)
  • A1_SS1_p2_pic1: the arXiv HTML draws text or formulas of this graphic outside its frame and it could not be corrected safely (too-small); the image shows the HTML layout, which differs from the PDF.
  • A1_SS1_p4_pic1: the arXiv HTML draws text or formulas of this graphic outside its frame and it could not be corrected safely (too-small); the image shows the HTML layout, which differs from the PDF.
  • A1_SS2_p2_pic1: the arXiv HTML draws text or formulas of this graphic outside its frame and it could not be corrected safely (too-small); the image shows the HTML layout, which differs from the PDF.
  • A1_SS2_p3_pic1: the arXiv HTML draws text or formulas of this graphic outside its frame and it could not be corrected safely (too-small); the image shows the HTML layout, which differs from the PDF.
  • A1_SS3_p3_pic1: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 62% or more) without changing any text or formula. Text may look smaller than in the PDF.
  • A1_SS3_p5_pic1: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 62% or more) without changing any text or formula. Text may look smaller than in the PDF.
  • A1_SS3_p7_pic1: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 54% or more) without changing any text or formula. Text may look smaller than in the PDF.
  • A1_SS4_p2_pic1: the arXiv HTML draws text or formulas of this graphic outside its frame and it could not be corrected safely (too-small); the image shows the HTML layout, which differs from the PDF.
  • A1_SS5_p2_pic1: the arXiv HTML draws text or formulas of this graphic outside its frame and it could not be corrected safely (too-small); the image shows the HTML layout, which differs from the PDF.
  • A1_SS6_p2_pic1: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 55% or more) without changing any text or formula. Text may look smaller than in the PDF.

PDF page 8 reads “Figure 2 visualizes per-day accuracy,” while HTML block S4_SS3_p1_1 reads “Figure [3](#S4.F3) visualizes per-day accuracy.” Check PDF page 8

16 of 16 figure, table and graphic images captured. Open original PDF

Abstract

Large language model (LLM) agents have rapidly emerged as powerful assistants for complex, multi-step tasks, yet agents deployed in the wild remain largely static, trained once and served unchanged regardless of how user needs evolve. This creates a fundamental tension: they must serve users continuously without interruption, yet their capabilities grow stale as the task distribution drifts with real-world usage. On platforms such as OpenClaw, where a single agent connects to 20+ messaging channels and handles diverse, evolving workloads, existing approaches either store raw trajectories without distilling transferable behavioral knowledge, maintain static skill libraries disconnected from weight optimization, or incur service downtime during retraining. We present MetaClaw, a continual meta-learning framework that jointly maintains a base LLM policy and an evolving skill library of reusable behavioral instructions, improving both through two complementary mechanisms. Skill-driven fast adaptation analyzes failure trajectories and synthesizes new skills via an LLM evolver, taking effect immediately with zero service downtime. Opportunistic policy optimization performs gradient-based weight updates via cloud LoRA fine-tuning using RL with a process reward model, triggered only during user-inactive windows by the Opportunistic Meta-Learning Scheduler (OMLS), which monitors configurable sleep hours, system keyboard inactivity, and Google Calendar occupancy. The two mechanisms are mutually reinforcing: a better policy produces more informative failures for skill synthesis, and richer skills yield higher-reward trajectories for policy optimization. To prevent stale reward contamination, a skill generation versioning mechanism strictly separates support data (failure trajectories consumed by skill evolution) from query data (post-adaptation trajectories used for RL updates). Built on a proxy-based architecture, MetaClaw scales to production-size LLMs without a local GPU. Experiments on MetaClaw-Bench (934 questions, 44 simulated workdays) and AutoResearchClaw (23-stage autonomous research pipeline) demonstrate consistent improvements: skill-driven adaptation improves accuracy by up to 32% relative; the full pipeline advances Kimi-K2.5 from 21.4% to 40.6% accuracy (vs. GPT-5.2 baseline 41.1%) with an 8.25×\times gain in end-to-end task completion; and skill injection alone improves AutoResearchClaw composite robustness by 18.3%.

Figure 1
Figure 1: Overview of . The framework improves the meta-model M=(θ,S)\mathcal{M}=(\theta,\mathcal{S}) via two complementary loops operating at different timescales. Skill-driven fast adaptation (left) analyzes failed trajectories and instantly expands the skill library S\mathcal{S} without parameter updates, taking effect immediately for subsequent tasks. Opportunistic policy optimization (right) accumulates post-adaptation trajectories and, once sufficient data is available, leverages idle signals (sleep, inactivity, calendar) detected by the Opportunistic Meta-Learning Scheduler to trigger RL-based weight updates on θ\theta via Cloud LoRA fine-tuning.

Large language model (LLM) agents have demonstrated remarkable capabilities across complex tasks (Yao et al., 2022; Shinn et al., 2023), yet agents deployed in the wild remain largely static, trained once and served unchanged regardless of how the user’s needs evolve (Zhang et al., 2025b; Naihin et al., 2023; Song et al.,). Consider OpenClaw (OpenClaw, 2026), an open-source CLI agent platform connecting to 20+ messaging channels, where a single user’s workload may shift from multi-step file system operations one week to multi-agent messaging workflows the next. As the task distribution drifts, a frozen model becomes increasingly misaligned with actual usage patterns, repeatedly failing on task types underrepresented during pretraining.

Existing approaches to agent adaptation fall into three broad categories, each with notable limitations. Memory-based methods (Shinn et al., 2023; Zhao et al., 2024; Fang et al., 2025; Tang et al., 2025; Ouyang et al., 2025; Chhikara et al., 2025; Liu et al., 2026a) store raw conversation trajectories for future retrieval, but such trajectories are verbose and redundant, preventing the agent from extracting transferable behavioral patterns. Skill-based methods (Xia et al., 2026; Zhang et al., 2025a; Zhang et al., 2026b; Wu et al., 2025; Zhang et al., 2026a) compress experience into reusable behavioral instructions, yet treat the resulting skill library as a static database never coordinated with weight optimization. RL-based methods (Schulman et al., 2017; Ahmadian et al., 2024; Shao et al., 2024; Feng et al., 2025; Zheng et al., 2025) update model weights, but operate in small-scale or offline settings and ignore a critical data validity problem: once skills have evolved, trajectories collected under the old skill context carry stale rewards that contaminate gradient updates if reused without filtration. A common thread across all three categories is that each addresses only one aspect of adaptation in isolation, leaving the complementary dimensions unexploited.

Our key observation is that two fundamentally different timescales of adaptation are in fact naturally complementary. Behavioral heuristics (e.g., “always verify a file path before reading,” “confirm before destructive commands”) can be distilled within seconds from a single failed conversation and injected immediately as skill instructions. Improving the model’s underlying policy across diverse task types requires gradient-based optimization over many trajectories, on a timescale of minutes to hours. The two mechanisms are also mutually reinforcing: a better policy produces more informative failures for skill synthesis, and richer skills yield higher-reward trajectories for policy optimization. No existing system unifies these two forms of adaptation into a coherent framework that exploits this virtuous cycle.

We present MetaClaw, a continual meta-learning (Finn et al., 2017; Yao et al., 2021) framework that jointly maintains a base LLM policy and an evolving skill library of reusable behavioral instructions. The skill library serves a dual role: as a meta-parameter that accumulates behavioral knowledge across the task stream, and as an adaptation basis from which task-specific skills are retrieved at inference time. MetaClaw improves both components through two mechanisms. Skill-driven fast adaptation performs gradient-free skill evolution: an LLM analyzes failure trajectories and synthesizes new behavioral instructions (Xia et al., 2026) that take effect immediately with zero service downtime. Opportunistic policy optimization uses RL with a process reward model (PRM) (Zhang et al., 2025c) to update model weights via cloud (TML, 2026) LoRA fine-tuning (Hu et al., 2021), optimizing post-adaptation performance. Two design principles govern their coordination. First, when to run policy optimization: our Opportunistic Meta-Learning Scheduler (OMLS) monitors three idle signals, i.e., configurable sleep hours, system keyboard inactivity, and Google Calendar event occupancy, and triggers weight updates only during user-inactive windows, eliminating downtime. Second, which data to use: we distinguish support data (failure trajectories consumed by skill evolution) from query data (trajectories collected after new skills take effect). Only query data, reflecting the agent’s post-adaptation behavior, is valid for RL; support data carries rewards conditioned on the old skill context and is excluded. Our skill generation versioning mechanism enforces this separation by stamping each trajectory with its skill generation index and flushing stale samples from the training buffer whenever skills evolve.

In summary, our primary contribution is MetaClaw, a continual meta-learning framework that unifies skill-driven fast adaptation with opportunistic policy optimization, enabling deployed LLM agents to evolve continuously through a proxy-based architecture without requiring a local GPU. We evaluate on MetaClaw-Bench, a new benchmark of 934 questions over 44 simulated workdays, where each day forms a sequential, feedback-driven multi-round session of real CLI tasks (file editing, JSON structuring, shell scripting). Experiments with GPT-5.2 and Kimi-K2.5 show that skill-driven fast adaptation alone improves overall accuracy by up to 32.2% in relative terms; MetaClaw (Full) further advances Kimi-K2.5 from 21.4% to 40.6%, improves end-to-end task completion by 8.25×\times on Part I and file-check completion by 185% on Part II, and nearly closes the gap with GPT-5.2’s baseline. We further validate on AutoResearchClaw, a 23-stage autonomous research pipeline, where skill injection alone improves the composite robustness score by 18.3%, demonstrating cross-domain generalization of MetaClaw’s adaptation mechanisms.

We consider a deployed CLI agent that serves a user over a stream of tasks τ1,τ2,…\tau_{1},\tau_{2},\ldots drawn from a non-stationary distribution pt(τ)p_{t}(\tau). Each task τi\tau_{i} consists of a user instruction and environmental context (file system state, shell history, etc.), and the agent must produce a sequence of actions a1:Ta_{1:T} to accomplish the task. The agent’s behavior at any point in time is fully determined by a meta-model:

M=(θ,S),\mathcal{M}=(\theta,\mathcal{S}),
(1)

where θ\theta denotes the parameters of the base LLM policy and S={s1,s2,…,sK}\mathcal{S}=\{s_{1},s_{2},\ldots,s_{K}\} is a library of skill instructions, i.e., concise, reusable behavioral directives injected into the agent’s system prompt at inference time. Given a task τ\tau, the agent generates actions according to:

a∼πθ ⁣(⋅∣τ,  Retrieve(S,τ)),a\sim\pi_{\theta}\!\left(\cdot\mid\tau,\;\textsc{Retrieve}(\mathcal{S},\tau)\right),
(2)

where Retrieve(S,τ)⊆S\textsc{Retrieve}(\mathcal{S},\tau)\subseteq\mathcal{S} selects the most relevant skills for the current task via embedding-based retrieval.

The meta-model M\mathcal{M} evolves over the task stream as the agent accumulates experience. We distinguish two types of trajectory data based on their role in this evolution. Support data Dsup\mathcal{D}^{\text{sup}} consists of trajectories whose failures drive adaptation of the skill library S\mathcal{S}; these trajectories are consumed by the adaptation process and reflect pre-adaptation behavior. Query data Dqry\mathcal{D}^{\text{qry}} consists of trajectories collected after adaptation has taken effect; these reflect the agent’s post-adaptation behavior and are used to optimize the policy parameters θ\theta. Maintaining a strict separation between support and query data is essential: mixing them would cause θ\theta to be optimized against stale reward signals that no longer reflect the agent’s current capabilities.

The goal of MetaClaw is to continuously improve M\mathcal{M} over the task stream, not merely to solve each task in isolation, but to become progressively better at adapting to new tasks as they arrive. This positions MetaClaw as a continual meta-learning system: the agent learns from a non-stationary task stream while simultaneously improving its own adaptation capability.

MetaClaw improves the meta-model M=(θ,S)\mathcal{M}=(\theta,\mathcal{S}) through two complementary mechanisms operating at different timescales (Figure 1). Skill-driven fast adaptation analyzes failure trajectories and synthesizes new skill instructions that are immediately injected into the agent’s prompt, evolving S\mathcal{S} without touching model weights. Opportunistic policy optimization uses post-adaptation trajectories to update θ\theta via reinforcement learning, deferred to user-inactive windows by the Opportunistic Meta-Learning Scheduler (OMLS). A skill generation versioning mechanism ensures that policy optimization always trains on query data collected under the current skill library, preventing stale reward contamination from support data. The two mechanisms are mutually reinforcing: a better θ\theta produces more informative failures for skill synthesis, and richer skills produce higher-reward trajectories for policy optimization. This virtuous cycle enables the system to learn to become better at adapting. The complete procedure is summarized in Algorithm 1.

Given the current meta-model (θ,Sg)(\theta,\mathcal{S}_{g}), the agent executes tasks and collects trajectories. Trajectories that reveal failure modes form the support set Dgsup\mathcal{D}^{\text{sup}}_{g}. Skill-driven adaptation evolves the skill library via a gradient-free experience distillation process:

Sg+1=Sg∪E(Sg,Dgsup),\mathcal{S}_{g+1}=\mathcal{S}_{g}\cup\mathcal{E}(\mathcal{S}_{g},\mathcal{D}^{\text{sup}}_{g}),
(3)

where E\mathcal{E} is a skill evolver, an LLM that analyzes failure trajectories and synthesizes new behavioral instructions. The index gg denotes the skill generation, incremented each time the library changes. This step modifies only S\mathcal{S}, leaving θ\theta fixed, and takes effect immediately for all subsequent tasks. Because skill injection operates through the prompt rather than model parameters, fast adaptation incurs zero service downtime.

This mechanism is gradient-free by design, not by approximation. The skill library S\mathcal{S} lives in a discrete natural-language space where gradient descent is ill-defined; LLM-based failure analysis is the natural adaptation mechanism for this space.

The skill library S\mathcal{S} plays a dual role in the learning structure. As a meta-parameter, S\mathcal{S} accumulates behavioral knowledge across the entire task stream, with each skill generation Sg+1⊇Sg\mathcal{S}_{g+1}\supseteq\mathcal{S}_{g} representing the system’s growing operational knowledge. As an adaptation basis, Retrieve(S,τ)\textsc{Retrieve}(\mathcal{S},\tau) extracts a task-specific subset at inference time, providing instant specialization without any parameter update. This dual character arises because natural-language instructions are inherently cross-task transferable: a skill distilled from one failure (e.g., “verify file path before reading”) generalizes to all tasks involving file operations. Unlike systems where task-specific adaptations are ephemeral and discarded after each task, each adaptation episode in MetaClaw contributes lasting knowledge to the meta-model, making knowledge accumulation a feature rather than a side effect.

After each skill-driven adaptation step, the agent continues serving tasks under the latest skill library. Because policy optimization is deferred to idle windows, the skill library may have advanced through several generations by the time training begins. Let g∗g^{*} denote the current skill generation when a training window opens. The RL buffer B\mathcal{B} accumulates query trajectories across all post-adaptation generations, and policy optimization updates θ\theta over this buffer:

θt+1=θt+α∇θE(τ,ξ,g′)∼B ⁣[R(πθ(⋅∣τ,Sg′))],\theta_{t+1}=\theta_{t}+\alpha\nabla_{\theta}\mathbb{E}_{(\tau,\xi,g^{\prime})\sim\mathcal{B}}\!\left[R(\pi_{\theta}(\cdot\mid\tau,\mathcal{S}_{g^{\prime}}))\right],
(4)

where g′≤g∗g^{\prime}\leq g^{*} is the skill generation under which each trajectory was collected, and RR is a process reward model (PRM) score. The versioning mechanism (Section 3.4) guarantees that B\mathcal{B} contains only query data, i.e., every sample reflects post-adaptation behavior under its respective skill generation. Crucially, policy optimization does not optimize θ\theta for raw task performance, but for how well the agent performs after skill adaptation. A better θ\theta yields a meta-model from which skill-driven adaptation produces stronger post-adaptation behavior, resulting in an improved meta-model M′=(θt+1,Sg∗)\mathcal{M}^{\prime}=(\theta_{t+1},\mathcal{S}_{g^{*}}).

In practice, policy optimization is realized via cloud LoRA fine-tuning using GRPO, deferred to idle windows by the Opportunistic Meta-Learning Scheduler (Section 3.5). Importantly, training is initiated only after the query buffer B\mathcal{B} has accumulated a sufficient number of trajectories; launching RL with too few samples leads to high-variance gradient estimates and unstable policy updates. This means policy optimization naturally lags behind skill-driven adaptation by days or longer, reinforcing the asymmetry between the two timescales: skills evolve continuously, while the policy improves in discrete, data-gated steps.

The support-query separation defined in Section 2 must be enforced in MetaClaw’s online setting, where tasks arrive sequentially and skill evolution is triggered asynchronously. Without a dedicated mechanism, support data can leak into the policy optimization buffer.

The problem is concrete: a trajectory (τi,ξi)(\tau_{i},\xi_{i}) that triggers skill evolution from Sg\mathcal{S}_{g} to Sg+1\mathcal{S}_{g+1} carries a reward rir_{i} reflecting performance under Sg\mathcal{S}_{g}, before the new skill existed. If this trajectory enters the RL buffer, policy optimization receives a gradient that penalizes θ\theta for a failure that skill-driven adaptation has already corrected, optimizing for pre-adaptation rather than post-adaptation performance and violating the meta-learning objective in Eq. 4.

We enforce separation via a skill generation version gig_{i} stamped on each collected sample:

  • •

    Support set Dgsup\mathcal{D}^{\text{sup}}_{g}: trajectories collected under Sg\mathcal{S}_{g} whose failures trigger skill evolution Sg→Sg+1\mathcal{S}_{g}\to\mathcal{S}_{g+1}. These are consumed by the skill evolver and discarded from the RL buffer.

  • •

    Query set Dg+1qry\mathcal{D}^{\text{qry}}_{g+1}: trajectories collected after Sg+1\mathcal{S}_{g+1} takes effect. Only these, reflecting the agent’s post-adaptation behavior, are eligible for policy optimization gradient updates.

When the skill generation counter advances from gg to g+1g+1, the trainer flushes all samples with version ≤g\leq g from its buffer. This ensures policy optimization always updates θ\theta with respect to the agent’s adapted behavior, preserving the integrity of the meta-learning structure.

Policy optimization requires a model weight hot-swap upon completion, which briefly interrupts inference. In a deployed interactive system, this creates a tension: policy optimization must run periodically to improve θ\theta, but it must not degrade the user’s experience.

We introduce the Opportunistic Meta-Learning Scheduler (OMLS), a background daemon that defers policy optimization to periods when the user is not actively interacting with the agent. OMLS monitors three complementary idle signals:

(1) Sleep window. The user configures a sleep schedule (e.g., 23:00–07:00). During this window, the system is guaranteed to be idle, providing the largest contiguous training block.

(2) System inactivity. OMLS polls the operating system’s input device idle timer (e.g., ioreg HIDIdleTime on macOS). If no keyboard or mouse activity is detected for δ\delta minutes (default: 30), a training window opens. Upon renewed input, the trainer pauses gracefully via mid-batch checkpointing.

(3) Calendar-aware scheduling. OMLS queries the user’s Google Calendar API. When the current time falls within a scheduled meeting, the user is presumed unavailable, opening an opportunistic training window. This is the most anticipatory of the three signals: it leverages the user’s own schedule to predict idle periods proactively.

A training window opens when any signal indicates user absence and closes when any signal indicates the user has returned. The RL trainer supports pause/resume across fragmented idle windows, accumulating gradient steps opportunistically without requiring a single long contiguous block.

Algorithm 1 MetaClaw: Continual Meta-Learning for Deployed LLM Agents
0:  Meta-model M=(θ0,S0)\mathcal{M}=(\theta_{0},\mathcal{S}_{0}), skill evolver E\mathcal{E}, task stream {τi}\{\tau_{i}\}, PRM RR, OMLS idle detector
0:  Continuously improved meta-model M\mathcal{M}
1:  Initialize skill generation g←0g\leftarrow 0, RL buffer B←∅\mathcal{B}\leftarrow\varnothing
2:  for each task τi\tau_{i} in stream do
3:    ▹\triangleright Serve task with current meta-model
4:    Sτi←Retrieve(Sg,τi)\mathcal{S}_{\tau_{i}}\leftarrow\textsc{Retrieve}(\mathcal{S}_{g},\tau_{i}) // retrieve relevant skills
5:    ξi←Execute(πθ(⋅∣τi,Sτi))\xi_{i}\leftarrow\textsc{Execute}(\pi_{\theta}(\cdot\mid\tau_{i},\mathcal{S}_{\tau_{i}})) // collect trajectory
6:    ri←R(ξi)r_{i}\leftarrow R(\xi_{i}); stamp (τi,ξi,ri)(\tau_{i},\xi_{i},r_{i}) with generation gg
7:    if ξi\xi_{i} reveals failure then
8:     Add (τi,ξi)(\tau_{i},\xi_{i}) to support set Dgsup\mathcal{D}^{\text{sup}}_{g}
9:    else
10:     Add (τi,ξi,ri,g)(\tau_{i},\xi_{i},r_{i},g) to RL buffer B\mathcal{B}
11:    end if
12:    ▹\triangleright Skill-driven fast adaptation (when failures accumulate)
13:    if ∣Dgsup∣≥|\mathcal{D}^{\text{sup}}_{g}|\geq threshold then
14:     ΔS←E(Sg,Dgsup)\Delta\mathcal{S}\leftarrow\mathcal{E}(\mathcal{S}_{g},\mathcal{D}^{\text{sup}}_{g}) // synthesize new skills from failures
15:     Sg+1←Sg∪ΔS\mathcal{S}_{g+1}\leftarrow\mathcal{S}_{g}\cup\Delta\mathcal{S} // evolve skill library
16:     Flush all samples with version ≤g\leq g from B\mathcal{B} // support-query separation
17:     g←g+1g\leftarrow g+1
18:    end if
19:    ▹\triangleright Opportunistic policy optimization (when user is idle)
20:    if OMLS detects idle window and ∣B∣≥|\mathcal{B}|\geq batch size then
21:     θ←θ+α∇θE(τ,ξ,r,g′)∼B[R(πθ(⋅∣τ,Sg′))]\theta\leftarrow\theta+\alpha\nabla_{\theta}\mathbb{E}_{(\tau,\xi,r,g^{\prime})\sim\mathcal{B}}[R(\pi_{\theta}(\cdot\mid\tau,\mathcal{S}_{g^{\prime}}))] // RL update
22:     Hot-swap model weights // deploy updated θ\theta
23:    end if
24:  end for

MetaClaw-Bench. We construct MetaClaw-Bench, a continual agentic benchmark comprising two complementary evaluation parts (934 questions total across 44 simulated workdays) for evaluating an agent’s ability to adapt across a sequential stream of real-world CLI tasks. Existing agent benchmarks present tasks as independent episodes, providing no mechanism to assess whether an agent improves from accumulated experience. MetaClaw-Bench addresses this gap by structuring evaluation as multi-workday simulations in which the agent operates under consistent workspace and policy rulesets that evolve through user feedback.

1) Part I structures evaluation as a 30-workday simulation (346 questions, days 01–30, 10–15 per day). The workspace state (files, configs, project records) persists across rounds within each day, and each question includes the evaluation outcome of the previous round as corrective feedback context. Questions fall into two types: file-check tasks (structured edits or transformations producing output files validated by automated checkers) and multi-choice tasks (conceptual procedural questions on domain-specific rules). Task difficulty increases monotonically with day index, with days 25–30 requiring sophisticated multi-step reasoning. Part I’s file-check tasks are heavily execution-oriented, with many interdependent side effects, providing a conservative measure of end-to-end completion.

2) Part II extends the evaluation to a 14-workday simulation (588 questions, 42 per day: 434 multi-choice and 154 file-check). Part II’s file-check tasks are rule-based transformations where compliance with behavioral heuristics (e.g., schema conventions, timestamp formats) is the primary bottleneck, making them more amenable to skill distillation. This design provides a complementary signal: while Part I stress-tests execution reliability, Part II directly measures how quickly the RL-trained policy internalizes procedural rules across a higher-density task stream.

We report two primary metrics across both parts: overall accuracy (mean per-question score) and file-check completion rate (fraction of file-check outputs passing all automated checker assertions simultaneously). Because the benchmark tasks are authored to simulate realistic deployment rather than collected from actual user sessions, we view both parts as controlled stress tests of continual adaptation under increasing difficulty.

Downstream evaluation: AutoResearchClaw. To test whether MetaClaw’s adaptation mechanisms generalize beyond CLI-task benchmarks, we additionally evaluate on AutoResearchClaw (Liu et al., 2026b), a fully autonomous 23-stage research pipeline that transforms a single research idea into a conference-ready paper, covering literature search, hypothesis generation, experiment design, code synthesis, sandbox execution, result analysis, paper drafting, and multi-agent peer review. Unlike MetaClaw-Bench’s structured file-check and multi-choice tasks, AutoResearchClaw presents an open-ended, long-horizon agentic workload where failures manifest as stage retries, excessive refinement cycles, and incomplete pipeline runs. We report four pipeline-level metrics: stage retry rate, refine cycle count, pipeline stage completion (out of 19 scorable stages), and a composite robustness score (weighted average of stage completion rate at 40%, retry reduction at 30%, and refine cycle efficiency at 30%).

Baselines and Implementation Details. We evaluate two frontier LLMs as backbone policies: GPT-5.2 (OpenAI, 2025) and Kimi-K2.5 (Team et al., 2026). We compare three conditions: 1) Baseline: the base model served without any adaptation mechanism. 2) MetaClaw (Skills): the base model augmented with skill-driven fast adaptation; after each failed trajectory, the skill evolver synthesizes behavioral instructions immediately injected into the system prompt, with top-kk retrieval via cosine similarity over sentence embeddings. 3) MetaClaw (Full): the full pipeline combining skill-driven fast adaptation with opportunistic policy optimization via RL (5-day training run), evaluated for Kimi-K2.5 only, as it requires a cloud LoRA training endpoint configured for the target backbone. All conditions use identical prompts and tool sets. This design isolates the individual contributions of the two MetaClaw components as defined in Section 3.

For the AutoResearchClaw evaluation, we deploy MetaClaw’s skill-driven fast adaptation within AutoResearchClaw’s pipeline executor. After each pipeline run, failures and warnings from all 23 stages are captured as structured lessons and converted into reusable skill files via MetaClaw’s lesson-to-skill evolver. On subsequent runs, accumulated skills are injected into the system prompt of all 18 LLM-driven stages. We run controlled A/B experiments with the same research topic, backbone LLM, and pipeline configuration, differing only in whether MetaClaw’s skill injection is active.

Table 1 reports performance on both parts of MetaClaw-Bench for all five model–condition pairs. MetaClaw consistently improves over the respective baselines across both models, both adaptation modes, and both benchmark parts.

Table 1
Part I (30 days, 346 Q)Part II (14 days, 588 Q)
ModelConditionAcc. (%)Compl. (%)Acc. (%)Compl. (%)
GPT-5.2Baseline41.114.744.958.4
GPT-5.2MetaClaw (Skills)44.017.149.167.5
Kimi-K2.5Baseline21.42.021.118.2
Kimi-K2.5MetaClaw (Skills)28.32.026.933.8
Kimi-K2.5MetaClaw (Full)40.616.539.651.9
Table 1: Main results on MetaClaw-Bench Parts I and II. Acc.: mean per-question accuracy. Compl.: file-check completion rate. MetaClaw (Full) is evaluated for Kimi-K2.5 only. Best result per model per part is bolded.
View original tableOriginal Table 1

MetaClaw improves both models and the full pipeline yields the largest gains. Results are consistent across both benchmark parts. For GPT-5.2, MetaClaw (Skills) raises overall accuracy from 41.1% to 44.0% on Part I (+7.1% relative) and from 44.9% to 49.1% on Part II (+9.4% relative), with file-check completion rising from 14.7% to 17.1% on Part I and from 58.4% to 67.5% on Part II. For Kimi-K2.5, MetaClaw (Skills) improves accuracy from 21.4% to 28.3% on Part I (+32.2%) and from 21.1% to 26.9% on Part II (+27.5%). MetaClaw (Full) yields substantially larger gains: on Part I, accuracy reaches 40.6% and task completion rises 8.25×\times (from 2.0% to 16.5%); on Part II, accuracy reaches 39.6% and file-check completion jumps from 18.2% to 51.9% (+185% relative).

Stronger models benefit less and weaker models benefit more. GPT-5.2 starts from a higher baseline (41.1% vs. 21.4% on Part I), leaving less headroom for skill-driven gains. Kimi-K2.5, by contrast, lacks implicit procedural knowledge that the skill library provides explicitly, so skill injection yields larger returns. Notably, MetaClaw (Full) with Kimi-K2.5 (40.6%) nearly closes the gap with GPT-5.2’s baseline (41.1%), demonstrating that the combination of skill injection and gradient-based policy optimization can largely compensate for model capability differences. This pattern suggests MetaClaw is particularly valuable for deploying capable but not state-of-the-art models at production scale.

The full pipeline unlocks end-to-end task completion and skills alone do not. On Part I, MetaClaw (Skills) leaves task completion rates unchanged for both models, confirming that skill injection sharpens partial execution quality without reliably enabling zero-defect outputs under heavy execution demands. MetaClaw (Full) closes this gap: Kimi-K2.5’s completion rate jumps from 2.0% to 16.5% (8.25×\times). On Part II, where file-check tasks are rule-based, skills already drive a substantial completion gain (18.2%→33.8%), and the full pipeline pushes this further to 51.9%, confirming that weight-level optimization provides an additive benefit on top of skill injection regardless of task type.

Since MetaClaw-Bench is an authored simulation rather than a collection of real user sessions (see Section 4), the absolute magnitudes of these gains are specific to this benchmark and may not transfer directly to production workloads. The primary value of these results lies in the consistent directional trends: skill-driven adaptation reliably improves partial execution quality across both models, while weight-level optimization is necessary to unlock end-to-end task completion.

MetaClaw generalizes to open-ended multi-stage pipelines. Table 2 reports MetaClaw’s impact on AutoResearchClaw, an evaluation setting structurally different from MetaClaw-Bench. Using skills-only adaptation (no RL), MetaClaw reduces the stage retry rate by 24.8% (from 10.5% to 7.9%) and cuts refine cycles by 40.0% (from 2.0 to 1.2 per stage). Pipeline completion improves from 18/19 to 19/19 stages (+5.3%), and the composite robustness score rises from 0.714 to 0.845, an 18.3% improvement. These gains are achieved without any gradient-based policy updates, demonstrating that MetaClaw’s lightweight, zero-downtime skill injection transfers effectively to complex, long-horizon agentic workflows beyond structured CLI tasks.

Table 2
MetricBaseline+ MetaClaw (Skills)Relative Change
Stage retry rate (↓\downarrow)10.5%7.9%↓\downarrow 24.8%
Refine cycle count (↓\downarrow)2.01.2↓\downarrow 40.0%
Pipeline stage completion (↑\uparrow)18 / 1919 / 19↑\uparrow 5.3%
Composite robustness score (↑\uparrow)0.7140.845↑\uparrow 18.3%
Table 2: MetaClaw (Skills-Only) on AutoResearchClaw, a 23-stage autonomous research pipeline. Skill injection alone yields consistent improvements across all robustness metrics without requiring RL weight updates.
View original tableOriginal Table 2

Per-day accuracy trends. Figure 3 visualizes per-day accuracy (3-day rolling average) for all five conditions. Both models and all conditions show a consistent accuracy decline from day01–10 (where accuracies routinely exceed 50%) to day25–30 (where most models fall below 30%), confirming that MetaClaw-Bench exhibits increasing difficulty. MetaClaw’s advantage over the baseline is most pronounced in the mid-range days (day11–22), where tasks require multi-step procedural compliance that is learnable through failure distillation, and MetaClaw (Full) reaches its peak advantage of nearly 0.8 accuracy around day 19–20. The early days (day01–10) involve simpler manipulations where both conditions perform reasonably, and the late days (day23–30) are sufficiently complex that accumulated skills are insufficient without stronger model weights, leading all five conditions to converge toward similarly low performance.

Task-type breakdown. Figure 3 decomposes performance by task type, revealing that the two MetaClaw components address fundamentally different bottlenecks. Skills-only adaptation lifts multi-choice pass rates for both models while leaving file-check completion flat, as procedural knowledge helps reasoning but not execution. MetaClaw (Full) reverses this: Kimi-K2.5’s file-check completion rate jumps to match GPT-5.2’s baseline, while multi-choice accuracy slightly decreases as the policy shifts toward file-execution behavior during training.

RL training dynamics. Part II provides a fine-grained view of how policy optimization evolves over time. The file-check completion curve for MetaClaw (Full)–Kimi-K2.5 shows a clear inflection at day 8, after which per-day pass rates escalate rapidly: from ∼\sim9% on days 1–4, through 27–36% on days 5–8, to 55–64% on days 9–10, and ultimately reaching 100% on days 12 and 14. This learning trajectory mirrors the MAML inner-loop update structure: the first several days accumulate support trajectories for skill synthesis and weight updates, the inflection marks when sufficient gradient signal has been collected for the LoRA fine-tune to shift the policy’s execution strategy, and the late-phase convergence indicates that the policy has internalized the procedural rules surfaced by the skill library. The two-phase pattern (skill-driven gains first, RL-driven gains after day 8) directly validates the complementary timescale hypothesis underlying MetaClaw’s design.

Skill library analysis. Across the 30-day session, MetaClaw’s skill evolver synthesizes skills clustered around three recurring failure categories: (1) temporal format compliance, normalizing natural-language time expressions to ISO 8601 format with timezone offsets; (2) backup-before-modify protocol, creating .bak files before any destructive file operation; and (3) naming convention adherence, following date-prefixed file naming patterns (e.g., 20260408_*.json). These cross-cutting behavioral heuristics generalize across tasks, explaining why a single failure can yield skills that improve performance on subsequent, structurally different questions.

Cross-domain skill transfer to AutoResearchClaw. The AutoResearchClaw results (Table 2) provide complementary evidence for skill generalization. In this setting, the skill evolver, designed for CLI-task adaptation, synthesizes actionable skills for a fundamentally different workload (multi-stage research automation) without any domain-specific tuning. The 40% reduction in refine cycles indicates that skills distilled from earlier pipeline failures (e.g., citation formatting errors, experiment code validation failures) directly prevent repeated mistakes in subsequent runs. This cross-domain transferability, combined with the zero-downtime deployment model (skill injection operates entirely at the prompt level), confirms that MetaClaw functions as a general-purpose continual learning layer applicable to diverse agentic systems.

Figure

Case studies. Table 3 contrasts two representative cases that illustrate the distinct contributions of the two MetaClaw mechanisms. In Case 1, a single distilled skill resolves a compliance error with zero weight update. In Case 2, skill injection provides necessary format context but is insufficient alone; weight-level RL updates are required to reliably execute a structurally complex file operation.

Table 3
Case 1  MetaClaw (Skills)Case 2  MetaClaw (Full)
ModelGPT-5.2Kimi-K2.5
Day / RoundDay 19 / Round 4Day 18 / Round 6
Task typeFile-checkFile-check
Task instruction
Update sprint8_board.json: set T-405/T-406 to "done", add completed_at fields.Append a deployment record to deploy_log.json with fields timestamp (ISO 8601+TZ), env, status, and changes.
Baseline response (score: 0)
Reads file; directly overwrites it. Checker detects missing sprint8_board.json.bak →\to 0.Uses field name date instead of timestamp; omits changes. Checker rejects schema →\to 0.
MetaClaw response (score: 1.0)
Skill distilled from Day 2: “Always create .bak before modifying (P4).” Agent writes sprint8_board.json.bak, applies targeted patch. Checker passes →\to 1.0.Skills inject “use ISO 8601 with timezone offset”; skills-only Kimi still omits changes array →\to 0. After RL: all four fields present, schema valid, backup created →\to 1.0.
Day accuracy (all rounds)
Baseline: 43.9%  MetaClaw (Skills): 62.1%  Δ\Delta +18.2 ppBaseline: 8.3%  Skills-only: 25.0%  MetaClaw (Full): 80.6%
Key mechanism
Skills: one distilled rule generalizes across file types and subsequent days with zero weight update.RL: skills supply declarative format context; weight updates internalize the execution reliability that skill injection alone cannot enforce.
Table 3: Representative case studies. Case 1 shows skill-driven fast adaptation (MetaClaw Skills, GPT-5.2); Case 2 shows the full pipeline (MetaClaw (Full), Kimi-K2.5). Both recover from score 0 to score 1.0; the mechanisms differ fundamentally.
View original tableOriginal Table 3

Skill-based and memory-augmented agents. A line of work augments LLM agents with external memory or reusable skill libraries to improve performance without modifying model weights (Shinn et al., 2023; Zhao et al., 2024; Fang et al., 2025; Tang et al., 2025; Ouyang et al., 2025; Chhikara et al., 2025; Liu et al., 2026a; Wang et al., 2024b). Reflexion (Shinn et al., 2023) stores verbal self-reflections in an episodic buffer, allowing the agent to avoid repeating past mistakes. Mem0 (Chhikara et al., 2025) and SimpleMem (Liu et al., 2026a) maintain longer-horizon memory through hierarchical retrieval. On the skill side, Voyager (Wang et al.,) incrementally builds a library of executable code skills from successful episodes, while ExpeL (Zhao et al., 2024) and Agent-KB (Tang et al., 2025) distills cross-task experience into natural-language rules. A key limitation shared by these methods is that the skill library (or memory) is treated as a static artifact (Xia et al., 2026): it is never coordinated with weight-level optimization, and successful trajectories are reused indiscriminately without regard for whether the agent’s behavior has changed since they were collected. MetaClaw addresses both gaps by coupling skill evolution with policy optimization through explicit support-query separation.

Reinforcement learning for LLM agents. RLHF (Ouyang et al., 2022) and its variants establish the use of reward signals to fine-tune LLM behavior, and subsequent work applies RL to tool-using and agentic settings (Nakano et al., 2021; Yao et al., 2022). More recently, GRPO (Shao et al., 2024) and DAPO (Yu et al., 2025) demonstrate stable online policy gradient training for reasoning tasks (Schulman et al., 2017; Ahmadian et al., 2024; Shao et al., 2024; Feng et al., 2025; Zheng et al., 2025; Team et al., 2025; Dong et al., 2025). However, these approaches optimize a fixed policy against a fixed reward signal, with no mechanism for the agent to update its behavioral context between rollouts. In deployed interactive settings, they also do not address when to run training or which data remains valid for gradient updates after behavioral changes. MetaClaw targets exactly these practical constraints via opportunistic scheduling and skill generation versioning.

Continual and meta-learning. Meta-learning (Finn et al., 2017; Nichol et al., 2018; Hospedales et al., 2021) frames learning as optimizing for fast adaptation to new tasks, typically in an offline episode-based setting. Meta-reinforcement learning extends this idea to sequential decision-making: RL2^{2} (Duan et al., 2016) trains a recurrent policy whose hidden state implicitly encodes task context, PEARL (Rakelly et al., 2019) infers a probabilistic context variable for off-policy adaptation, and ProMP (Rothfuss et al., 2019) applies trust-region constraints at the meta-level. These methods demonstrate effective fast adaptation in robotic control and navigation, but operate on simple network architectures with low-dimensional action spaces and assume fixed offline task distributions. Continual learning (Kirkpatrick et al., 2017; Lopez-Paz and Ranzato, 2017; Chaudhry et al., 2019; Zenke et al., 2017; Wang et al., 2024a; Wang et al., 2022) studies sequential task adaptation without forgetting through regularization, replay, or architectural strategies, yet does not incorporate fast adaptation mechanisms at inference time. Online meta-learning approaches (Finn et al., 2019; Nagabandi et al., 2018; Harrison et al., 2020; Yao et al., 2020) relax the offline assumption and even handle task heterogeneity, but remain grounded in representation learning over simple networks. MetaClaw extends the meta-learning objective to a non-stationary stream of LLM agent tasks where fast adaptation is gradient-free (skill synthesis in discrete natural-language space) and slow adaptation is gradient-based (policy optimization via RL), with a versioning protocol that preserves the support-query structure in an online, asynchronous setting.

We presented MetaClaw, a continual meta-learning framework that enables deployed LLM agents to improve autonomously through normal usage. MetaClaw combines two complementary adaptation mechanisms operating at different timescales: fast, inference-time skill injection that distills reusable behavioral knowledge from failures, and slow, gradient-based policy optimization that refines the model during idle windows. Built on a lightweight proxy architecture, the system requires no local GPUs and integrates transparently with existing personal agents and LLM providers. Experiments on MetaClaw-Bench demonstrate consistent improvements across models and adaptation modes, with the full pipeline yielding the largest gains on both partial execution quality and end-to-end task completion. Evaluation on AutoResearchClaw further shows that skill injection generalizes to open-ended research pipelines without any gradient updates. A current limitation is that idle-window detection depends on user configuration, which may not generalize to all deployment environments. We believe MetaClaw establishes a principled foundation for agents that genuinely learn and evolve in the wild, simply by being used.

References

  1. Ahmadian et al. (2024) A. Ahmadian, C. Cremer, M. Gallé, M. Fadaee, J. Kreutzer, O. Pietquin, A. Üstün, and S. Hooker Back to basics: revisiting reinforce-style optimization for learning from human feedback in llms. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 12248–12267. Cited by: §1, §5.
  2. Chaudhry et al. (2019) A. Chaudhry, M. Ranzato, M. Rohrbach, and M. Elhoseiny Efficient lifelong learning with A-GEM. In International Conference on Learning Representations, Cited by: §5.
  3. Chhikara et al. (2025) P. Chhikara, D. Khant, S. Aryan, T. Singh, and D. Yadav Mem0: building production-ready ai agents with scalable long-term memory. arXiv preprint arXiv:2504.19413. Cited by: §1, §5.
  4. Dong et al. (2025) G. Dong, H. Mao, K. Ma, L. Bao, Y. Chen, Z. Wang, Z. Chen, J. Du, H. Wang, F. Zhang, et al. Agentic reinforced policy optimization. arXiv preprint arXiv:2507.19849. Cited by: §5.
  5. Duan et al. (2016) Y. Duan, J. Schulman, X. Chen, P. L. Bartlett, I. Sutskever, and P. Abbeel RL${}^{2}$: fast reinforcement learning via slow reinforcement learning. arXiv preprint arXiv:1611.02779. Cited by: §5.
  6. Fang et al. (2025) R. Fang, Y. Liang, X. Wang, J. Wu, S. Qiao, P. Xie, F. Huang, H. Chen, and N. Zhang Memp: exploring agent procedural memory. arXiv preprint arXiv:2508.06433. Cited by: §1, §5.
  7. Feng et al. (2025) L. Feng, Z. Xue, T. Liu, and B. An Group-in-group policy optimization for llm agent training. arXiv preprint arXiv:2505.10978. Cited by: §1, §5.
  8. Finn et al. (2017) C. Finn, P. Abbeel, and S. Levine Model-agnostic meta-learning for fast adaptation of deep networks. In International conference on machine learning, pp. 1126–1135. Cited by: §1, §5.
  9. Finn et al. (2019) C. Finn, A. Rajeswaran, S. Kakade, and S. Levine Online meta-learning. In International conference on machine learning, pp. 1920–1930. Cited by: §5.
  10. Harrison et al. (2020) J. Harrison, A. Sharma, C. Finn, and M. Pavone Continuous meta-learning without tasks. Advances in neural information processing systems 33, pp. 17571–17581. Cited by: §5.
  11. Hospedales et al. (2021) T. Hospedales, A. Antoniou, P. Micaelli, and A. Storkey Meta-learning in neural networks: a survey. IEEE transactions on pattern analysis and machine intelligence 44 (9), pp. 5149–5169. Cited by: §5.
  12. Hu et al. (2021) E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen LoRA: low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685. Cited by: §1.
  13. Kirkpatrick et al. (2017) J. Kirkpatrick, R. Pascanu, N. Rabinowitz, O. Vinyals, S. Mohamed, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences 114 (13), pp. 3521–3526. Cited by: §5.
  14. Liu et al. (2026a) J. Liu, Y. Su, P. Xia, S. Han, Z. Zheng, C. Xie, M. Ding, and H. Yao SimpleMem: efficient lifelong memory for llm agents. arXiv preprint arXiv:2601.02553. Cited by: §1, §5.
  15. Liu et al. (2026b) J. Liu, P. Xia, S. Han, S. Qiu, L. Zhang, G. Chen, H. Tu, X. Yang, J. Zhou, H. Zhu, Y. Li, Z. Zheng, C. Xie, M. Ding, and H. Yao AutoResearchClaw: fully autonomous research from idea to paper. GitHub. External Links: Link Cited by: §4.1.1.Source
  16. Lopez-Paz and Ranzato (2017) D. Lopez-Paz and M. Ranzato Gradient episodic memory for continual learning. In Advances in Neural Information Processing Systems, Cited by: §5.
  17. Nagabandi et al. (2018) A. Nagabandi, C. Finn, and S. Levine Deep online learning via meta-learning: continual adaptation for model-based rl. arXiv preprint arXiv:1812.07671. Cited by: §5.
  18. Naihin et al. (2023) S. Naihin, D. Atkinson, M. Green, M. Hamadi, C. Swift, D. Schonholtz, A. T. Kalai, and D. Bau Testing language model agents safely in the wild. arXiv preprint arXiv:2311.10538. Cited by: §1.
  19. Nakano et al. (2021) R. Nakano, J. Hilton, S. Balaji, J. Wu, L. Ouyang, C. Kim, C. Hesse, S. Jain, V. Kosaraju, W. Saunders, et al. Webgpt: browser-assisted question-answering with human feedback. arXiv preprint arXiv:2112.09332. Cited by: §5.
  20. Nichol et al. (2018) A. Nichol, J. Achiam, and J. Schulman On first-order meta-learning algorithms. arXiv preprint arXiv:1803.02999. Cited by: §5.
  21. OpenAI (2025) OpenAI Introducing gpt-5.2. Note: https://openai.com/index/introducing-gpt-5-2 Cited by: §4.1.1.Source
  22. OpenClaw (2026) OpenClaw OpenClaw — personal ai assistant. Note: https://github.com/openclaw/openclaw Cited by: §1.Source
  23. Ouyang et al. (2022) L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, et al. Training language models to follow instructions with human feedback. Advances in neural information processing systems 35, pp. 27730–27744. Cited by: §5.
  24. Ouyang et al. (2025) S. Ouyang, J. Yan, I. Hsu, Y. Chen, K. Jiang, Z. Wang, R. Han, L. T. Le, S. Daruki, X. Tang, et al. Reasoningbank: scaling agent self-evolving with reasoning memory. arXiv preprint arXiv:2509.25140. Cited by: §1, §5.
  25. Rakelly et al. (2019) K. Rakelly, A. Zhou, D. Quillen, C. Finn, and S. Levine Efficient off-policy meta-reinforcement learning via probabilistic context variables. In International Conference on Machine Learning, Cited by: §5.
  26. Rothfuss et al. (2019) J. Rothfuss, D. Lee, I. Clavera, T. Asfour, and P. Abbeel ProMP: proximal meta-policy search. In International Conference on Learning Representations, Cited by: §5.
  27. Schulman et al. (2017) J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347. Cited by: §1, §5.
  28. Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. Li, Y. Wu, et al. Deepseekmath: pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300. Cited by: §1, §5.
  29. Shinn et al. (2023) N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan, and S. Yao Reflexion: language agents with verbal reinforcement learning. Advances in Neural Information Processing Systems 36, pp. 8634–8652. Cited by: §1, §1, §5.
  30. [30] D. Song, C. Wang, N. Crispino, R. Jia, K. Montgomery, Y. Potter, V. Siu, and Z. Wang Agents in the wild: safety, security, and beyond. In ICLR 2026 Workshop Proposals, Cited by: §1.
  31. Tang et al. (2025) X. Tang, T. Qin, T. Peng, Z. Zhou, D. Shao, T. Du, X. Wei, P. Xia, F. Wu, H. Zhu, et al. Agent kb: leveraging cross-domain experience for agentic problem solving. arXiv preprint arXiv:2507.06229. Cited by: §1, §5.
  32. Team et al. (2026) K. Team, T. Bai, Y. Bai, Y. Bao, S. Cai, Y. Cao, Y. Charles, H. Che, C. Chen, G. Chen, et al. Kimi k2. 5: visual agentic intelligence. arXiv preprint arXiv:2602.02276. Cited by: §4.1.1.
  33. Team et al. (2025) T. D. Team, B. Li, B. Zhang, D. Zhang, F. Huang, G. Li, G. Chen, H. Yin, J. Wu, J. Zhou, et al. Tongyi deepresearch technical report. arXiv preprint arXiv:2510.24701. Cited by: §5.
  34. TML (2026) T. M. L. TML Tinker is a training api for researchers. Note: https://thinkingmachines.ai/tinker/ Cited by: §1.Source
  35. [35] 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. Transactions on Machine Learning Research. Cited by: §5.
  36. Wang et al. (2024a) L. Wang, X. Zhang, H. Su, and J. Zhu A comprehensive survey of continual learning: theory, method and application. IEEE transactions on pattern analysis and machine intelligence 46 (8), pp. 5362–5383. Cited by: §5.
  37. Wang et al. (2022) Z. Wang, Z. Zhang, C. Lee, H. Zhang, R. Sun, X. Ren, G. Su, V. Perot, J. Dy, and T. Pfister Learning to prompt for continual learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 139–149. Cited by: §5.
  38. Wang et al. (2024b) Z. Z. Wang, J. Mao, D. Fried, and G. Neubig Agent workflow memory. arXiv preprint arXiv:2409.07429. Cited by: §5.
  39. Wu et al. (2025) R. Wu, X. Wang, J. Mei, P. Cai, D. Fu, C. Yang, L. Wen, X. Yang, Y. Shen, Y. Wang, et al. Evolver: self-evolving llm agents through an experience-driven lifecycle. arXiv preprint arXiv:2510.16079. Cited by: §1.
  40. Xia et al. (2026) P. Xia, J. Chen, H. Wang, J. Liu, K. Zeng, Y. Wang, S. Han, Y. Zhou, X. Zhao, H. Chen, et al. SkillRL: evolving agents via recursive skill-augmented reinforcement learning. arXiv preprint arXiv:2602.08234. Cited by: §1, §1, §5.
  41. Yao et al. (2021) H. Yao, Y. Wang, Y. Wei, P. Zhao, M. Mahdavi, D. Lian, and C. Finn Meta-learning with an adaptive task scheduler. Advances in Neural Information Processing Systems 34, pp. 7497–7509. Cited by: §1.
  42. Yao et al. (2020) H. Yao, Y. Zhou, M. Mahdavi, Z. Li, R. Socher, and C. Xiong Online structured meta-learning. In Advances in Neural Information Processing Systems, Cited by: §5.
  43. Yao et al. (2022) S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. R. Narasimhan, and Y. Cao React: synergizing reasoning and acting in language models. In The eleventh international conference on learning representations, Cited by: §1, §5.
  44. Yu et al. (2025) Q. Yu, Z. Zhang, R. Zhu, Y. Yuan, X. Zuo, Y. Yue, W. Dai, T. Fan, G. Liu, L. Liu, et al. Dapo: an open-source llm reinforcement learning system at scale. arXiv preprint arXiv:2503.14476. Cited by: §5.
  45. Zenke et al. (2017) F. Zenke, B. Poole, and S. Ganguli Continual learning through synaptic intelligence. In International Conference on Machine Learning, Cited by: §5.
  46. Zhang et al. (2025a) G. Zhang, H. Ren, C. Zhan, Z. Zhou, J. Wang, H. Zhu, W. Zhou, and S. Yan MemEvolve: meta-evolution of agent memory systems. arXiv preprint arXiv:2512.18746. Cited by: §1.
  47. Zhang et al. (2025b) G. Zhang, J. Wang, J. Chen, W. Zhou, K. Wang, and S. Yan AgenTracer: who is inducing failure in the llm agentic systems?. arXiv preprint arXiv:2509.03312. Cited by: §1.
  48. Zhang et al. (2026a) 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. arXiv preprint arXiv:2602.02474. Cited by: §1.
  49. Zhang et al. (2026b) S. Zhang, J. Wang, R. Zhou, J. Liao, Y. Feng, W. Zhang, Y. Wen, Z. Li, F. Xiong, Y. Qi, et al. MemRL: self-evolving agents via runtime reinforcement learning on episodic memory. arXiv preprint arXiv:2601.03192. Cited by: §1.
  50. Zhang et al. (2025c) Z. Zhang, C. Zheng, Y. Wu, B. Zhang, R. Lin, B. Yu, D. Liu, J. Zhou, and J. Lin The lessons of developing process reward models in mathematical reasoning. In Findings of the Association for Computational Linguistics: ACL 2025, pp. 10495–10516. Cited by: §1.
  51. Zhao et al. (2024) A. Zhao, D. Huang, Q. Xu, M. Lin, Y. Liu, and G. Huang Expel: llm agents are experiential learners. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38, pp. 19632–19642. Cited by: §1, §5.
  52. Zheng et al. (2025) C. Zheng, S. Liu, M. Li, X. Chen, B. Yu, C. Gao, K. Dang, Y. Liu, R. Men, A. Yang, et al. Group sequence policy optimization. arXiv preprint arXiv:2507.18071. Cited by: §1, §5.

This appendix documents the core prompt templates used in MetaClaw-Bench evaluations and the MetaClaw framework components.

Part I evaluates agents on OpenClaw CLI tasks via a programmatic rollout loop. The agent receives the following fixed system prompt, which may be replaced by a compressed variant (see section A.6) after the first session:

Graphic from the paper; its text follows
Text in this graphic

SYSTEM_PROMPT — Part I Agent

You are an expert CLI agent controlling an OpenClaw installation. Your goal is to complete the given task by issuing CLI commands via the run_command tool. Guidelines: - Issue ONE command at a time and carefully read the output before proceeding. - Use ’openclaw status’ or similar read commands to inspect state before making changes. - Handle errors: if a command fails, diagnose from the output and retry differently. - When the task is fully complete, call run_command with command="done". - Do NOT ask clarifying questions — act based on the task description alone.

The single tool exposed to the agent is run_command:

Graphic from the paper; its text follows
Text in this graphic

run_command Tool Schema

{ "name": "run_command", "description": "Execute a CLI command and observe the output. When the task is fully complete, call run_command with command=\"done\".", "parameters": { "type": "object", "properties": { "command": { "type": "string", "description": "The exact CLI command to run, e.g. ’openclaw status’, ’openclaw agents add --name bot1 --model gpt-4o’, ’done’" } }, "required": ["command"] } }

Part II (CALMB-14) injects the following workspace context files into the agent’s session at initialization, defining the agent’s role, user profile, and behavioral principles.

Graphic from the paper; its text follows
Text in this graphic

IDENTITY.md — Agent Role Definition

# Identity You are MetaClaw Agent, an AI assistant integrated into the internal toolchain of Orion Tech. ## Role You serve as Alex Zhang’s primary AI assistant for day-to-day engineering and project management work. ## Context - Company: Orion Tech — a B2B SaaS company - Product: Project Orion, a project management platform - Team: Backend engineering team - Principal: Alex Zhang, Backend Tech Lead ## Principles 1. Accuracy comes first — double-check facts, values, and formats before writing files 2. Be consistent — use the same conventions across all files 3. Be complete — fill in all required fields; no placeholders 4. Be professional — produce output ready for team use

Graphic from the paper; its text follows
Text in this graphic

SOUL.md — Core Behavioral Principles

## Reliability Every file you create or modify should be correct and complete. A half-finished or incorrect file creates more work than it saves. ## Consistency When you establish a pattern in one file, maintain it across all related files. ## Attention to Detail Small errors in data files can cascade into larger problems. Pay close attention to field names, data types, value formats, and structural requirements. ## Ownership Own every assigned task completely. Do not produce output requiring the user to fix obvious issues. ## Professionalism All output should meet the standard of work that could be shared directly with teammates or stakeholders.

Each day in MetaClaw-Bench presents two question types. Below are representative examples.

Multi-choice question (Part II, Day 01 / r1):

Graphic from the paper; its text follows
Text in this graphic

Multi-Choice Question Template

Regarding the source and applicability of the baseline daily revenue of 4500 yuan/store in the financial model, which of the following descriptions are consistent with the project documentation? (Select all correct options) A. The assumption document labels 4500 yuan as "Source: operational baseline data from market research report", while the original description in the market research report is "median of 86 tier-1 city stores" B. The rent assumption of 650 yuan/m2 is noted as tier-2 and tier-3 city market rates, but the revenue assumption of 4500 yuan references tier-1 city store data C. Operations VP Zhang Wei mentioned an estimated daily revenue of approximately 2500-3200 yuan, but this is only a hypothetical opinion with no direct contradiction D. The validation memo confirms that 4500 yuan "has been cross-validated with operational baseline data", indicating the assumption underwent applicability review Please answer using \bbox{X} or \bbox{X,Y} format.

Ground truth: A, B   Scoring: max⁡(0,  1−(FP+FN)/n_options)\max(0,\;1-(FP+FN)/n\_\text{options})

File-check question (Part II, Day 01 / r21):

Graphic from the paper; its text follows
Text in this graphic

File-Check Question Template

Based on the reference documents in day01/, create a decision log tracking key decisions from the documents. Save as day01/decision_log_r21.json. Include these fields: title, created_at, decisions (array with id, date, decision, rationale, decided_by, review_date).

**Eval: python scripts/check_iso8601.py day01/decision_log_r21.json (exit 0 = pass)
Feedback (incorrect): Time/date fields must use ISO 8601 with +08:00 timezone: YYYY-MM-DDTHH:MM:SS+08:00.**

Part I task instruction format (real OpenClaw session, train.jsonl):

Graphic from the paper; its text follows
Text in this graphic

Part I User Instruction Template

[Sat 2026-02-21 07:25 EST] I grant you read access to /Users/jimchen/Documents/openclaw/skills. Locate gog/skill.md within it. Use skill.md to obtain the instructions for adding a Google Calendar. Execute the instructions in the isolated environment to directly add ten meetings to Google Calendar, starting February 20th, recurring every Friday from 3:30-4:30 PM. Language requirement: Reply in English only. Keep your response concise and task-focused.

After each session in which failed trajectories are collected, the MetaClaw skill evolver submits the following prompt to synthesize new behavioral skills:

Graphic from the paper; its text follows
Text in this graphic

Skill Evolver Prompt (skill_evolver.py)

You are a skill engineer for an AI assistant trained with RL. Your job: analyze the failed conversations below and generate NEW skills that would have prevented those failures. --- ## Failed Conversations ### Failure 1 (reward=0.0) Conversation context (last 600 chars): ‘‘‘ ...[truncated trajectory] ‘‘‘ Assistant response (first 500 chars): ‘‘‘ [model response] ‘‘‘ [...up to 6 failures shown...] --- ## Existing Skills (do NOT duplicate any of these) ["skill-name-1", "[category] skill-name-2", ...] --- ## Instructions Generate 1 to {max_new_skills} new skills that directly address the failure patterns observed above. Focus on actionable, concrete guidance for future conversations. Each skill must follow Claude skill format: - ‘name‘: a lowercase hyphenated slug - ‘description‘: one sentence — when to trigger this skill and what it achieves - ‘content‘: 6-15 lines of actionable Markdown. Include: a heading, numbered steps or bullet points, a concrete example or code snippet, and an Anti-pattern section. - ‘category‘: one of [coding, research, data_analysis, security, communication, automation, productivity, agentic] or "general" or "common_mistakes" Output: Return ONLY a valid JSON array. Example output: [ { "name": "dyn-001", "description": "Always verify file existence before reading or writing.", "content": "## Verify File Existence Before Acting\n\n 1. Check: os.path.exists(path)\n 2. If missing, ask the user for the correct path.\n Anti-pattern: Calling open(path) without checking.", "category": "coding" } ]

Retrieved skills are appended to the agent’s system message by SkillManager.format_for_conversation:

Graphic from the paper; its text follows
Text in this graphic

Skill Injection Block (appended to system prompt)

## Active Skills ### backup-before-modify _Always create a .bak copy before modifying any existing file._ ## Backup Before Modify 1. Before editing any file, create a backup: cp <filename> <filename>.bak 2. Verify the backup exists before proceeding. 3. Apply all modifications to the original file. Anti-pattern: Overwriting a file without a backup, leaving no recovery path if the edit is incorrect. ### iso8601-timezone-format _Use when writing any date/time field to a file._ ## ISO 8601 Timestamp with Timezone Always format timestamps as: YYYY-MM-DDTHH:MM:SS+08:00 - Correct: 2026-03-16T09:30:00+08:00 - Incorrect: 2026-03-16, March 16 at 3pm, 2026-03-16T09:30:00Z Anti-pattern: Omitting the timezone offset or using natural-language date expressions.

To prevent context overflow during long sessions, MetaClaw compresses OpenClaw’s native system prompt using the following instruction:

Graphic from the paper; its text follows
Text in this graphic

System Prompt Compression Instruction (utils.py)

You are compressing an OpenClaw system prompt. Rewrite it to be under 2000 tokens while preserving behavior. Keep all critical policy and routing rules: (1) tool names and their intended usage constraints, (2) safety and non-delegable prohibitions, (3) skills-selection rules, (4) memory recall requirements, (5) update/config restrictions, (6) reply-tag/messaging rules, (7) heartbeat handling rules. Remove duplicated prose, repeated examples, and decorative language. Prefer compact bullet sections with short imperative statements. Do not invent or weaken any rule. Output only the rewritten system prompt text.

MetaClaw-Bench Part II introduces five implicit preference rules progressively across 14 days. These rules are not stated in the agent’s system prompt; they must be inferred from task feedback and internalized through skill evolution or RL training.

Table 4
RuleCategoryRequirementActive from
P1TimestampAll date/time fields: YYYY-MM-DDTHH:MM:SS+08:00Day 01
P2File namingOutput files: YYYYMMDD_description.ext (snake_case)Day 04
P3MetadataEvery output file must include created_at, author, statusDay 06
P4BackupCreate <file>.bak before modifying any existing fileDay 08
P5Completion logAppend [DONE] <timestamp> | <task_id> | <summary> to done.logDay 10
Table 4: The five implicit preference rules in MetaClaw-Bench Part II, introduced progressively across 6 learning arcs. Each rule is verified by a dedicated automated checker script.
View original tableOriginal Table 4