Text-based skill edits beat trained baselines by 6.7 points
Notes on SkillGrad: Optimizing Agent Skills Like Gradient Descent (arXiv:2605.27760) — Hanyu Wang, Yifan Lan, Bochuan Cao, Lu Lin, Jinghui Chen · May 2026
Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made
AI-assisted notes · reviewed by SkillFed Skill evolutionSkillGrad treats an agent's skill package — its metadata, always-loaded skill body, and conditional resource files — as a parameter to update, not a document to hand-edit. Each task run against the skill produces a trajectory; a diagnoser model reads the failures alongside contrastive successes and writes a text-based gradient — a plain-language statement of what needs to change and why. A momentum agent tracks these diagnoses across many runs and keeps only the patterns that recur, so a single bad trajectory can't swing the skill on its own. A separate patcher model executes the update as layer-aware edits: broadly useful fixes go into the always-loaded body, narrower ones into resource files that load only when needed.
On SpreadsheetBench Verified and an out-of-distribution WikiTableQuestions split, across GPT-5.4 and GPT-4.1 backbones, the loop beat two training-based skill-evolution baselines — EvoSkill and Trace2Skill — by 6.7 points on average. The ablations rank the components: pulling momentum out costs more accuracy than pulling out the contrastive half of diagnosis, so the stabilizing memory is doing more of the work than the raw feedback signal feeding it. There's an uncomfortable number buried in the same table — a skill GPT-5.4 writes for itself, with no structured feedback loop, scored worse than giving it no skill at all, until SkillGrad's update loop fixed it.
Key numbers
| Avg. accuracy gain vs. strongest training-based baseline | +6.7 pp |
| Accuracy loss with momentum agent removed | −6.67 pp (72.50%→65.83%) |
| Accuracy loss with contrastive diagnosis removed | −4.17 pp (72.50%→68.33%) |
| Self-generated skill vs. no-skill baseline, pre-optimization | 55.83% vs. 62.50% |
| Held-out tasks that triggered the conditional resource layer | 71.9% |
Skills related to this research
Related notes
- Skill pass rates jump from 33.6% to 88.0% — with zero gradient steps →
- Self-tested skill edits beat teacher-curated skill banks by up to 9.3 points →
- Diagnose, don't rewrite: three revision rounds take a skill from 36% to 62% success →
- Train the skill, not the model: frozen GPT-4o-mini jumps from 6% to 42% on GAIA →
- Three skill optimizers stall at zero on 4 of 6 tasks — Chebyshev scalarization unsticks them →
- Verification-gated skills add up to 12 points on KernelBench — pull retrieval at inference and most of it vanishes →
- Typed contracts + call templates: 82 vs. 47 ALFWorld wins, −23% tokens per game →
- Route skill treatment by task difficulty, not skill category: +13.2 points OOD success →
- The validation gate turns a 40% agent into an 89% one — skill-writing without it changes nothing →
References
- Wang, Lan, Cao, Lin & Chen. "SkillGrad: Optimizing Agent Skills Like Gradient Descent." arXiv:2605.27760 (2026).
- Alzubi et al. EvoSkill — failure-driven skill evolution with validation-based selection, cited as a comparison baseline (2026).
- Ni et al. Trace2Skill — trajectory-to-skill distillation over frozen execution trajectories, cited as a comparison baseline (2026).