Self-improving skills
Synced from
outfitter/docs/documentation/usecases/self-improving-skills.md. The repository is the source of truth.
A skill is a markdown file — which means it can be trained. ai-outfitter/autoimprove treats a skill as the trainable parameter of a frozen agent: replay real tasks against the current skill text, propose small edits, and accept only the edits that measurably improve a held-out score.
The loop
Section titled “The loop”- Rollout — run the agent with the current skill over a batch of tasks, scoring each result.
- Reflect — an optimizer model reads the failures and proposes bounded
add/delete/replaceedits, capped per step (a textual learning rate). - Gate — candidate skills are evaluated on a held-out validation split; an edit is accepted only on strict improvement, and a never-touched test split keeps the final numbers honest.
The worked example is a parametric CAD skill (autoimprove#2): a generate-replicad-cad skill scored by executable CAD and assembly checks — the failures that matter (fused parts, broken clearances) are exactly the ones executable evaluation catches, and deterministic non-regression gates keep a clever edit from breaking working cases.
Scheduling and review
Section titled “Scheduling and review”The training loop is itself a recurring run: a weekly GitHub Actions cron replays the benchmark, and when the gate accepts an improvement, the automation refreshes a single draft PR with the new skill text and its before/after scores. The skill never self-merges — a human reviews a readable diff of the skill’s actual instructions, with the measurement attached. The blast radius of “the agent got smarter” is a pull request.
Graduation
Section titled “Graduation”A skill that keeps passing its gate is a candidate for the ladder: promote the pinned, validated revision from the personal or project tree into a shared catalog, and every engineer’s agent can select it by slug — without owning the trainer, the benchmark, or the credentials that produced it. Training infrastructure stays where it ran; only the proven capability graduates.