autoresearch
Auto-optimize skills through mutate-verify loops. Use when skill tests show failures or when asked to optimize a skill.
Autoresearch — Skill Self-Optimization
The system improves its own skills through iterative loops.
Process
1. Baseline
Run /eval on the target skill. Record trigger accuracy and fidelity.
2. Diagnosis
For each failure:
- Trigger miss → description too narrow
- False trigger → description too broad
- Fidelity fail → instructions in body incorrect
3. Mutation
ONE change per iteration. Never more than one variable at a time.
- For trigger: modify the description
- For fidelity: modify the body
- For stale eval: update the tests
4. Re-eval
Run /eval again. Compare with baseline:
- Improved? Keep the mutation.
- Same or worse? Revert, try a different mutation.
5. Report
Baseline → final score, what changed, how many iterations.
Rules
- One variable at a time
- The eval is the judge, not your opinion
- Max 5 iterations — if it does not converge, flag for human review
- Never change the purpose of the skill — only refine trigger/fidelity