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

GGUF Model Merging Script and Workflow for Qwen3.5-35B Variants
A Reddit user shared a Python script for merging GGUF model files with minimal loss, specifically combining HauhauCS's Qwen3.5-35B-A3B-Uncensored model with samuelcardillo's Claude-4.6-Opus-Reasoning-Distilled version. The script runs on Google Colab Free Tier and includes quantization support via llama-quantize.
Give Your OpenClaw Agent a Phone: Open Source Plugin for Voice Calls
A developer open-sourced a plugin that lets OpenClaw make phone calls. Unlike $20/mo SaaS alternatives, this is free and self-hosted.

agentcontract v0.0.1: A Portable JSON Permission Layer for AI Coding Agents
agentcontract v0.0.1 introduces a portable JSON permission layer for AI agents, with a local browser UI for editing, validating, and dry-running tool calls.

Google Research introduces TurboQuant for AI model compression
Google Research has introduced TurboQuant, a compression algorithm that reduces AI model size with zero accuracy loss. It addresses memory overhead in vector quantization and improves key-value cache performance.