SkillOpt: Optimizing Markdown Skill Files as Trainable Parameters for AI Agents

SkillOpt is a new optimization framework that treats markdown skill files as trainable parameters, applying proper optimization machinery to the ad-hoc skill editing many agent builders already do. The paper (arxiv.org/pdf/2605.23904) formalizes a process: a frontier model proposes bounded edits (add/delete/replace) to markdown skill files, and each edit is gated against a held-out validation set. Only strict improvements are accepted; ties are rejected, and rejected edits become negative signal for subsequent rounds.
Key Findings
- Convergence: Best skills converge with 1 to 4 accepted edits out of many more proposals. An edit budget of 4 to 8 per step works best; removing the cap causes performance to collapse.
- Skill size: The median final skill is ~920 tokens.
- Model transfer: A skill optimized on Codex transferred to Claude Code with zero modification and gained +59.7 on SpreadsheetBench. GPT 4.1 Nano with an optimized skill roughly matched frontier models on procedural benchmarks.
Limitations
The validation gate requires an auto-grader with clear correct answers. This works for code and spreadsheets but breaks for anything open-ended.
Who It's For
Developers building AI coding agents who want to systematically optimize skill files rather than relying on manual iteration or ad-hoc prompt engineering.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Zerro: Point at Your Live App, Speak, and Watch Claude Code Edit It Instantly
Zerro is a Mac app that lets you point your cursor at a running app, describe a change aloud, and have Claude Code edit the real files live. It captures motion, resolves which element you mean, and checkpoints before each run.

OpenClaw Developer Seeks Killer Use Cases After 900 User Trials
OpenClaw's creator reports that while users try features like Telegram interfaces, calendar integrations, and automated workflows, most don't stick with the tool long-term. The challenge is finding daily-use workflows that become essential rather than experimental.

Gemma Gem: On-Device AI Agent for Browser Automation via WebGPU
Gemma Gem is a Chrome extension that runs Google's Gemma 4 model (2B or 4B) entirely on-device using WebGPU, with no API keys or cloud dependencies. It provides tools to read page content, take screenshots, click elements, type text, scroll, and run JavaScript through a chat interface.

CtxSnap VS Code Extension Tracks File Changes for Claude Sessions
CtxSnap is a VS Code extension that tracks which files changed since your last Claude session and packages them into a ready-to-paste handoff block with file contents and a token budget bar calibrated to Claude's 200k context window.