Microsoft Research Blog

SkillOpt turns AI agent skills into trainable assets

SkillOpt treats an agent skill file as a trainable parameter outside a frozen target model, turning skill writing from one-shot prompting into a controlled optimization process. Across six benchmarks, seven target models, and three execution modes, SkillOpt is the best or tied-best method in all 52 evaluation cells, improving performance without updating model weights. The optimized skills remain compact (median ~920 tokens) and transfer across model scales, agent harnesses, and related tasks, suggesting they capture reusable workflow knowledge.

Statesummarized
Snapshots1
AI Outputs2
Open issues0

validated summary

English

SkillOpt turns AI agent skills into trainable assets

SkillOpt treats an agent skill file as a trainable parameter outside a frozen target model, turning skill writing from one-shot prompting into a controlled optimization process. Across six benchmarks, seven target models, and three execution modes, SkillOpt is the best or tied-best method in all 52 evaluation cells, improving performance without updating model weights. The optimized skills remain compact (median ~920 tokens) and transfer across model scales, agent harnesses, and related tasks, suggesting they capture reusable workflow knowledge.

  • SkillOpt treats skill files as trainable parameters outside frozen target models, using optimization loops with validation gating.
  • Outperforms baselines on all 52 evaluation cells across six benchmarks, seven models, and three execution modes.
  • Optimized skills are compact (median ~920 tokens) and auditable, with only 1-4 edits accepted per skill.
  • Skills transfer across model scales, agent harnesses, and related tasks, capturing general workflow knowledge.
  • Narrows the gap between small open-weight models and frontier models without any weight updates.
  • Uses bounded text edits, validation gating, and rejected-edit feedback to prevent uncontrolled prompt drift.
  • Achieves +23.5 average improvement on GPT-5.5 across six benchmarks; SpreadsheetBench rises from 41.8 to 80.7.

Chinese

SkillOpt:将AI智能体技能转化为可训练参数

SkillOpt将智能体技能文件视为冻结目标模型外部的可训练参数,将技能编写从一次性提示转变为受控的优化过程。在六个基准测试、七个目标模型和三种执行模式下,SkillOpt在所有52个评估单元中均取得最佳或并列最佳性能,且无需更新模型权重。优化后的技能保持紧凑(中位数约920个token),并能跨模型规模、智能体框架和相似任务迁移,表明它们捕捉了可复用的工作流知识。

  • SkillOpt将技能文件视为冻结目标模型外部的可训练参数,采用带验证门控的优化循环。
  • 在六个基准测试、七个模型和三种执行模式的所有52个评估单元上超越基线。
  • 优化后的技能紧凑(中位数约920个token)且可审计,每个技能仅接受1-4次编辑。
  • 技能可跨模型规模、智能体框架和相似任务迁移,捕获通用工作流知识。
  • 在不更新权重的情况下缩小小型开放模型与前沿模型之间的差距。
  • 使用有界文本编辑、验证门控和拒绝编辑反馈防止不受控制的提示漂移。
  • GPT-5.5在六个基准测试上平均提升23.5个百分点;SpreadsheetBench从41.8升至80.7。

AI agents / skill optimization / large language models / trainable parameters / transferable skills / Microsoft Research / SkillOpt / agent skills / prompt optimization / validation gating / GPT-5.5 / Qwen3.5-4B

Full Article

Skip to main content

Research

Publications

Code & data

People

Microsoft Research blog

Artificial intelligence

Audio & acoustics

Computer vision

Graphics & multimedia

Human-computer interaction

Human language technologies

Search & information retrieval

Data platforms and analytics

Hardware & devices

Programming languages & software engineering

Quantum computing

Security, privacy & cryptography

Systems & networking

Algorithms

Mathematics

Ecology & environment

Economics

Medical, health & genomics

Social sciences

Technology for emerging marketsAcademic programs

Events & academic conferences

Microsoft Research ForumBehind the Tech podcast

Microsoft Research blog

Microsoft Research Forum

Microsoft Research podcast

About Microsoft Research

Careers & internships

People

Emeritus program

News & awards

Microsoft Research newsletter

Africa

AI for Science

AI Frontiers

Asia-Pacific

Cambridge

Health Futures

India

Montreal

New England

New York City

Redmond

Applied Sciences

Mixed Reality & AI - Cambridge

Mixed Reality & AI - Zurich

Register: Research Forum

Microsoft Security

Azure

Dynamics 365

Microsoft 365

Microsoft Teams

Windows 365

Microsoft AI

Azure Space

Mixed reality

Microsoft HoloLens

Microsoft Viva

Quantum computing

Sustainability

Education

Automotive

Financial services

Government

Healthcare

Manufacturing

Retail

Find a partner

Become a partner

Partner Network

Microsoft Marketplace

Software companies

Blog

Microsoft Advertising

Developer Center

Documentation

Events

Licensing

Microsoft Learn

Microsoft Research

View Sitemap

Return to Blog HomeMicrosoft Research BlogAt a glanceAI agents often fail because their instructions, or skills, are manually modified with no guarantee of improvement. SkillOpt turns skill editing into a training process, making agent behavior more reliable without changing model weights.SkillOpt treats an agent skill file as a trainable parameter outside a frozen target model, turning skill writing from one-shot prompting into a controlled optimization process.Across six benchmarks, seven target models, and three execution modes, SkillOpt is the best or tied-best method in all 52 evaluation cells, improving performance without updating model weights.SkillOpt keeps skills compact and auditable through bounded text edits, validation gating, rejected-edit feedback, and slow/meta updates, avoiding uncontrolled prompt drift.The optimized skills transfer across model scales, agent harnesses, and related tasks, suggesting that they capture reusable workflow knowledge rather than benchmark-specific instructions.Large language models (LLMs) are increasingly deployed as agents that gather evidence, call tools, and execute multi-step tasks. For these agents, the hard problem is no longer whether they can call a tool, but whether they can complete tasks reliably and consistently. Today, agent skills typically come from three sources: experts write them by hand, a frontier model generates them one-shot, or the agent loosely revises them after execution. None of these approaches behaves like a deep-learning optimizer. They lack step-size control, held-out validation, and any memory of revisions that failed. As a result, skills tend to grow longer and drift with each rewrite, and a revision that seems perfectly reasonable can quietly degrade real task performance. This uncontrolled skill evolution has become a major obstacle on the path from agent prototype to dependable, production-grade deployment.In our recent paper, SkillOpt: Executive Strategy for Self-Evolving Agent Skills , we reframe the question from “how do we write a better prompt?” to “how do we train the skill?” SkillOpt treats the skill file as a trainable parameter living outside a frozen target model, bringing a training-style optimization loop, consistent gains across 52 evaluation cells, and a compact skill file that stays readable, auditable, and transferable.Figure 1. A frozen target model executes tasks while a separate optimizer model trains the skill layer from trajectory feedback, exporting the reusable skill file best_ skill.md through validation gating.How SkillOpt worksVideo 1. SkillOpt’s optimization loop, from trajectory collection to the exported skill file.SkillOpt organizes skill editing as a forward–backward–update cycle in text space. In the forward pass, the frozen target model executes a batch of training tasks with the current skill; the rollout batch size controls how much evidence each update receives. In the backward pass, a separate optimizer model reads the resulting trajectories in reflection minibatches, distilling patterns to preserve from successful trajectories and patterns to correct from failures.In the update step, the optimizer proposes small add, delete, and replace edits; candidate edits are merged, deduplicated, ranked, and clipped by a textual learning rate—a per-step edit budget. Every candidate skill must then pass a strict validation gate: it is adopted only if it scores strictly higher than the current skill on the held-out validation split. Rejected edits are not discarded; they enter a rejected-edit buffer that serves as negative feedback for later optimizer calls in the same epoch. On a slower cadence, an epoch-wise slow/meta update consolidates longer-horizon lessons that single batches cannot reveal (Figure 2). Together, bounded edits, validation gating, and best-version selection keep skill optimization controllable and auditable, so the skill converges instead of drifting.Figure 2. The SkillOpt pipeline: trajectory collection, minibatch reflection, bounded text updates, validation gating, and epoch-wise slow/meta updates jointly constrain skill training.Consistent gains across benchmarks, models, and execution modesWe evaluated SkillOpt across six benchmarks (SearchQA, SpreadsheetBench, OfficeQA, DocVQA, LiveMathematicianBench, and ALFWorld), seven target models from frontier-scale GPT-5.5 to the small open-weight Qwen3.5-4B, and three execution modes (direct chat, Codex, and Claude Code). Counting each combination as one evaluation cell, When measured against human-written skills, one-shot LLM skills, Trace2Skill, TextGrad, GEPA, and EvoSkill, SkillOpt delivered the best or tied for -best results on all 52 cells. These performance improvements are unusually large for a method that updates no model weights. With GPT-5.5 in direct chat, SkillOpt raises the six-benchmark average from 58.8 to 82.3, a +23.5-point absolute improvement—and +5.4 points above an oracle that picks the single best competing method per cell. The largest gains appear on procedural benchmarks: SpreadsheetBench rises from 41.8 to 80.7, OfficeQA from 33.1 to 72.1, and LiveMathematicianBench from 37.6 to 66.9. The same interface carries over to agentic loops, lifting GPT-5.5 by +24.8 points inside Codex and +19.1 inside Claude Code over no skill.Spotlight: Event SeriesMicrosoft Research ForumJoin us for a continuous exchange of ideas about research in the era of general AI. Watch the latest episodes on demand.

Watch on-demand

Opens in a new tabA small model plus a skill fileApproaching the next model tier SkillOpt also narrows the gap between small or open-weight models and frontier models—without changing any weights or adding any extra model calls at inference. After optimization, GPT-5.4-mini’s six-benchmark average (64.3) exceeds the no-skill baseline of the larger GPT-5.4 (59.7), and GPT-5.4-nano (57.4) exceeds the no-skill baseline of GPT-5.2 (51.3). Qwen3.5-4B, a 4-billion-parameter open-weight model, surpasses GPT-5.2’s no-skill baseline as well. Gains that once required a larger model can now be approximated by one optimized skill file.Skills that transfer: train once, reuse everywhereThe optimized skill file captures reusable task-solving procedures rather than instructions overfit to a single model, benchmark, or execution environment. This is why the same skill can still improve performance when transferred across model scales, agent harnesses, and related tasks. In our transfer experiments, skills continued to deliver gains when moved across model scales, across execution harnesses, and to a nearby math benchmark. The clearest example is cross-harness transfer: a spreadsheet skill trained inside Codex, dropped into Claude Code with no further optimization, lifts the no-skill baseline from 22.1 to 81.8 (+59.7)—slightly above the 80.4 achieved by training directly inside Claude Code. Because the two harnesses expose different tool surfaces, this suggests SkillOpt learns general workflow logic, not just harness-specific recipes.Compact, readable, and built from very few accepted editsThe deployed artifact, best_ skill.md , is neither an opaque parameter blob nor an ever-growing log. Across six case studies, the median final skill length is roughly 920 tokens, and because the validation gate rejects most proposals, only one to four edits are accepted into the final file. OfficeQA’s +39.0-point gain comes from a single accepted edit. The learned rules read like a seasoned practitioner’s advice. Component ablations confirm that the controls do the work: removing the rejected-edit buffer lowers scores on all three ablation benchmarks, and removing both the meta skill and the slow update drops SpreadsheetBench from 77.5 to 55.0. A new adaptation layer for the agent era SkillOpt points to a lighter-weight path for domain-adapting agents: instead of fine-tuning weights, hard-coding task logic, or hand-tuning prompts, teams can train a small, versionable, auditable natural-language skill layer—wherever automatic evaluation or a reliable verifier exists.By bringing learning rates, schedules, validation splits, rejected samples, and slow updates to agent skills, SkillOpt suggests that training need not be limited to model weights. Procedural knowledge outside the model can also be optimized.When that process is controlled, validated, and recorded, a natural-language skill becomes a stable, transferable, and reversible adapter between frontier-model capability and real-world workloads. Read the full paper, visit the project page at  aka.ms/skillopt (opens in new tab) , or explore the SkillOpt GitHub repository at  github.com/microsoft/SkillOpt (opens in new tab) . Teams building agentic workflows can use SkillOpt as a foundation for training reusable skills against their own tasks and verifiers. See also our companion project, SkillLens.PaperGitHubSkillLens Project PageOpens in a new tabRelated publicationsSkillOpt: Executive Strategy for Self-Evolving Agent Skills  Meet the authorsYifan YangSenior Research SDELearn moreXuemei GaoResearcherQi DaiPrincipal ResearcherLearn moreBei LiuSenior ResearcherLearn moreKai QiuResearcherLearn moreDongdong ChenSenior ResearcherLearn moreChong LuoSr. Principal Research ManagerLearn moreResearch Areas

Artificial intelligence

Computer visionRelated labs

Microsoft Research Lab - Asia

微软亚洲研究院Follow us:

Follow on X

Like on Facebook

Follow on LinkedIn

Subscribe on Youtube

Follow on Instagram

Subscribe to our RSS feedShare this page:

Share on X

Share on Facebook

Share on LinkedIn

Share on Reddit

Surface Pro

Surface Laptop

Surface Laptop Ultra

Surface RTX Spark Dev Box

Copilot for organizations

Copilot for personal use

Explore Microsoft products

Windows 11 apps

Account profile

Download Center

Microsoft Store support

Returns

Order tracking

Certified Refurbished

Microsoft Store Promise

Flexible Payments

Microsoft in education

Devices for education

Microsoft Teams for Education

Microsoft 365 Education

How to buy for your school

Educator training and development

Deals for students and parents

AI for education

Microsoft AI

Microsoft Security

Dynamics 365

Microsoft 365

Microsoft Power Platform

Microsoft Teams

Microsoft 365 Copilot

Small Business

Azure

Microsoft Developer

Microsoft Learn

Support for AI marketplace apps

Microsoft Tech Community

Microsoft Marketplace

Software companies

Visual Studio

Careers

About Microsoft

Company news

Privacy at Microsoft

Investors

Diversity and inclusion

Accessibility

Sustainability

Your Privacy ChoicesConsumer Health Privacy

Sitemap

Contact Microsoft

Privacy

Manage cookies

Terms of use

Trademarks

Safety & eco

Recycling

About our ads

Snapshots

Fetch evidence retained for parsing and audit.

200 · text/html; charset=UTF-8

07/01/2026, 08:00 AM

deca3a82583f5f94796a252f29cd98418052235f0992030557fce6865f3b353c

AI Outputs

Structured model outputs with validation status.

article.summarize

deepseek-v4-flash · valid

{"tags":["AI agents","skill optimization","large language models","trainable parameters","transferable skills","Microsoft Research","SkillOpt","agent skills","prompt optimization","validation gating","GPT-5.5","Qwen3.5-4B"],"titleEn":"SkillOpt turns AI agent skills into trainable...
article.classify

deepseek-v4-flash · valid

{"relevant":true,"confidence":0.95,"primaryTopic":"agent-engineering","secondaryTopics":["ai-research","ai-engineering"]}

Quality And Digest Links

Open and resolved issues, plus daily digest appearances.

digest

Signal Hub 2026-07-01

SkillOpt引入了一种无需修改模型权重即可优化AI智能体技能的新范式,在多个基准测试中表现出强大的可迁移性和性能。 (score: 0.95)

position 107/01/2026, 12:00 AMdraft