skill-opt-lite

Solid

Train and optimize skill documents using the SkillOpt methodology — the agent acts as both target and optimizer, running tasks, reflecting on failures, proposing edits, and validating improvements in a self-contained training loop. TRIGGER: optimize skill, train skill, improve skill, skill training, skill optimization, SkillOpt, skill evolution, skill iteration loop, skill feedback loop, skill tuning.

AI & Automation 52 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
57
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SkillOpt-Lite: Agent-Native Skill Training Working directory: any Train your skill documents the way neural networks train weights — iterative rollout, reflection, and validation. No external API keys. You are both the worker and the optimizer. ## When to Use - You have a skill that doesn't work well and want to systematically improve it - You want to create a new skill from scratch using data-driven iteration - You want to know whether a skill change actually helps or hurts MUST NOT use for: - One-off skill fixes (just edit the skill directly) - Skills that can't be objectively evaluated (purely subjective quality) ## Quick Start 1. Prepare a task set (JSON array of tasks with verifiable outcomes) 2. Point this skill at your draft skill document 3. Run the training loop 4. Get an optimized `best_skill.md` ## Training Loop ``` for epoch in 1..N: for step in 1..steps_per_epoch: ① ROLLOUT — run tasks with current skill, record pass/fail ② REFLECT — analyze failures, propose edits (≤ edit_budget) ③ AGGREGATE — deduplicate, failure-first merge ④ SELECT — pick top-L edits by impact ⑤ UPDATE — apply edits to skill document ⑥ GATE — re-run validation, accept only if score improves SLOW_UPDATE — epoch-end strategic review into protected region ``` Read `references/training-protocol.md` for the full detailed protocol before starting a training run. ## Required Inputs | Input | Description | Format | |---|---|---| | skill_path | ...

Details

Author
rexleimo
Repository
rexleimo/harness-cli
Created
6 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills