Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Adoption of SkillOpt for Empirical Agent Skill Optimization

ADR-26057: Adoption of SkillOpt for Empirical Agent Skill Optimization

Context

The current process for developing agent skills (behavioral specifications in Markdown) relies on manual heuristic iteration or one-shot synthetic generation. This lack of a formal objective function leads to inconsistent performance, regression during updates, and an inability to empirically prove the superiority of a specific skill version.

The lack of a systematic optimization loop creates a “Prompt Engineering Gap” where skill quality is limited by the engineer’s intuition rather than an optimized state derived from verifiable data.

Detailed architectural analysis and comparative evaluation against programmatic alternatives (e.g., DSPy) are documented in A-26026.

Decision

We adopt SkillOpt as the primary methodology for the optimization and fine-tuning of the ecosystem’s modular agent skills.

The adoption is based on the following mandates:

  1. Textual State Optimization: Skills must be treated as trainable documents where the “weights” are the textual instructions and examples.

  2. Empirical Gating: No skill update shall be merged into the trunk unless it demonstrates a statistically significant improvement (or non-regression) on a held-out validation set.

  3. SVA Compliance: The optimization process must remain external to the runtime, ensuring that the deployed artifact remains a zero-dependency Markdown file.

Status

Proposed

Consequences

Positive

Negative

Risk Mitigations

Date

2026-06-08

Alternatives

  1. Manual Engineering: Maintain current heuristic approach. Rejected due to lack of reproducibility and susceptibility to regressions.

  2. DSPy: Programmatic prompt optimization. Rejected due to the “Abstraction Tax” (runtime dependency) and divergence from the ecosystem’s native Markdown-first architecture.

  3. Weight Fine-Tuning (LoRA): Modifying model weights. Rejected due to high GPU requirements, risk of catastrophic forgetting, and violation of the SVA principle regarding deployment complexity.

References

Participants