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

Manuscript Offprint

arXiv:2609.38143

Learning Meta-Skills for Agent Harness Design in Test-Time AI4AI

Cheng Qian, Kunlun Zhu, Beibin Li, Zhenhailong Wang, Heng Ji

Cheng Qian 1,2^{1,2}, Kunlun Zhu 1,2^{1,2}, Beibin Li 1^{1}, Zhenhailong Wang 1^{1}, Heng Ji 1,2^{1,2}

1^{1}Apodex 2^{2}University of Illinois Urbana Champaign

Agent performance depends on both reasoning ability and the environment in which it acts. We study test-time AI-for-AI, asking how a Builder can learn to construct better execution environments for a Target while both models' weights remain fixed. To make the Builder's experience reusable, we introduce meta-skills: principles specifying when support is needed and what resources to provide. The Builder learns these principles from Target's execution feedback on the development set, then uses the frozen skill bank to construct harnesses for unseen tasks. Across Harness-Bench and NewtonBench, full-bank meta-skills improve macro-average performance by 8.95 percentage points over no-skill construction, and 12.02 points over direct delivery of the same bank to the Target. These results highlight the value of translating experience into executable support. Gains when the same model serves both roles further suggest a path to system level self-improvement through learning to build better environments.

Figure

1. Introduction

An AI agent’s performance depends on both its reasoning ability and the environment in which it acts [11]. Consider a capable PhD student who spends days repeating experiments because configurations and results are scattered across scripts and notes. An effective advisor can address this bottleneck by establishing a shared experiment log, reproducible tools, and a clear validation workflow, helping the student devote more effort to scientific judgment. This analogy suggests a complementary direction for improving AI agents: learning how to provide the support that makes their existing capabilities more effective [3, 13].

AI-for-AI (AI4AI) at test-time offers a route to this goal by enabling AI systems to design agent programs, workflows, and harnesses [1, 3, 15]. This form of AI4AI involves two complementary roles: a Builder, which designs and provides support, and a Target, which uses that support to solve tasks. We study this relationship through harness construction, where the Builder creates a harness comprising instructions, resources, and executable mechanisms for the Target. Just as an advisor learns from a PhD student's progress to refine their guidance, the Builder can learn from the Target's execution to improve its support. Building on recent work on meta-level learning [13], we therefore ask: how can the Builder turn the outcomes of its own harnesses into reusable knowledge for supporting future tasks?

To make this experience reusable, we distinguish the knowledge needed by the Builder from task skills used by the Target. Task skills describe how to perform a task [9]; the Builder instead needs principles for designing the support that helps the Target perform it. We call these reusable support principles meta-skills. Empirically, each meta-skill should specify when support is needed, what capability or resource to provide, and how the Target should use it while retaining responsibility for judgment.

In this paper, we connect the learning and implementation of these principles through a construction–

†^{\dagger} Corresponding author: cheng.q@apodex.com. We also gratefully acknowledge Mr. Tianqiao Chen for the guidance and support throughout this work. The project code is released at https://github.com/qiancheng-apodex/MetaSkill-AI4AI.

(a) Development: learn meta-skills

Figure

(b) Test: use meta-skills

Figure 1: Overview of our framework. Rather than teaching the Target directly, our framework equips the Builder with meta-skills learned from Target execution feedback. These reusable principles guide the Builder in constructing harnesses for new test tasks.

execution–reflection loop. Starting with an empty meta-skill bank, the Builder constructs harnesses for development tasks, reviews the resulting Target execution records and scores, and adds or revises principles based on the observed evidence. After skill learning, the bank is frozen and guides fresh harness construction for each held-out task. Learning thus changes the Builder's external knowledge and the support it constructs, while both the Builder's and Target's model weights remain fixed.

We evaluate three Targets on Harness-Bench and NewtonBench under fixed Target execution budgets. The full-bank meta-skill Builder achieves a 65.31% macro-average score, exceeding the no-skill Builder by 8.95 percentage points and full-bank independently learned Target skills by 10.93 points. It also outperforms direct delivery of the same bank to the Target in all six settings. These comparisons suggest that meta-skills can help the Builder become a more effective advisor: they guide support design, while Target skills guide task execution. In our setting, teaching the Builder to translate experience into executable support can therefore be more beneficial than directly teaching the Target additional task skills.

Because meta-skills encode reusable principles, we further examine how they develop and whether they remain useful beyond the setting in which they were learned. Through analysis, we discover that repeated reflection can strengthen the guidance, and transfer studies suggest possible meta-skill reuse across Builders and Targets. The Builder and Target can also be instances of the same model: across three such settings, meta-skills improve scores by 18.71 points on average over no-skill construction. These results suggest that a model can improve its own execution by learning to build better support for itself, establishing harness design as a promising route to system-level self-improvement.

Looking ahead, AI4AI broadens the goal of agent learning: agents can learn both to solve problems and to create the conditions for others to succeed. Improving how Builders provide guidance and resources may be as consequential as improving how Targets use them. Better agents may begin with better advisors.

References (26)