skill-eval-improve
Skill11 starsChanged 5 months agoMITView on GitHub
Improves Agent Skills via validate → rule-based eval cases → plugin-eval → prompt evals → bounded edits with held-out gates. Use when tuning skill quality, routing, or adopting Chrome/Microsoft T-named quality gates—not for bulk validate-only or SkillOpt automation.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Arenukvern/mcp_flutterword for word, first seen Jun 30, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Arenukvern/mcp_flutter★ 385100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/faq_usage.mdcCursor rule
- .cursor/rules/steward.mdcCursor rule
- harness-engineering-lifecycleSkill
- mcp-harness-repo-maintainerSkill
- mixture-of-expertsSkill
- multi-agent-handoffSkill
- plugin-marketplace-setupSkill
- release-changelog-harnessSkill
- repo-quality-system-lifecycleSkill
- repository-governance-lifecycleSkill
- skill-authoring-lifecycleSkill
- skill-source-citationsSkill
- steward-continuity-boundary-lifecycleSkill
- storytelling-ethics-lifecycleSkill
- vision-alignment-foresightSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
After adding a new procedure—need regression checks
- Distinctive: line 47
Use the cheapest layer that answers the question.
- Very specific: line 77
CI does not: run LLM judges. Subjective quality stays in references/evals.md (layer 2+).
- Very specific: line 81
When Codex plugin-eval is installed (~/.codex/plugins/.../plugin-eval):
- Distinctive: line 104
Write 3–5 representative user prompts (should trigger + should not trigger).
- Distinctive: line 105
Run agent without skill → record failures.
- Distinctive: line 106
Run with skill → record improvements and new failures.
- Very specific: line 149
Run dogfood benchmarks: Use steward benchmark --scenario <id> --json for runtime dogfood scenarios.
- Distinctive: line 170
Delete or replace duplicated rules before adding a new section or eval case
- Distinctive: line 172
Add error-handling / validation steps agents skip
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill eval & improve
Improve skills measurably: baseline → measure → bounded edit → re-validate. Combine local tooling, Codex plugin-eval (when installed), and research-backed loops (SkillOpt).
When to use
- Skill triggers wrong or never loads (description routing)
- Bloated
SKILL.md, high token cost, weak outcomes - After adding a new procedure—need regression checks
- Porting patterns from product MCP / plugin-eval research into Skill Steward skills
When not to use
- Bulk repo validation — e.g. “validate every skill in this repo” →
pnpm run validateonly (skill-authoring-lifecycle for audit); do not start benchmark or SkillOpt loops. - Automated SkillOpt / cluster training — Skill Steward documents a manual bounded-edit loop; no overnight optimizer pipeline.
- Creating a new skill — use skill-authoring-lifecycle first; eval-improve applies after a skill exists.
Cursor scope (optional): activate when editing under skills/** or scripts/validate-skills.mjs.
Mixture of experts (evaluation stack)
| Layer | Expert | Tool / method | Cost |
| 0 — Gate | Lint | pnpm run validate, skill-authoring-lifecycle | seconds |
| 0b — Rules | Routing/docs SSOT | pnpm run eval (T1 behavior-critical YAML cases) | seconds |
| 1 — Static | Structure | Codex plugin-eval analyze (if available) | seconds |
| 2 — Human | Behavior | 3–5 prompts with/without skill | minutes |
| 3 — Measured | Usage | plugin-eval benchmark + measurement-plan | minutes–hours |
| 4 — Evolve | Text optimization | SkillOpt-style bounded edits + held-out gate | hours |
| 5 — Navigate | Telemetry / dogfood | Current steward benchmark scenarios on compact traces | seconds |
Use the cheapest layer that answers the question. Do not skip layer 0.
Layer 0 — Skill Steward validator (always)
pnpm run validate
pnpm run validate:json # CI / automationFix all error: lines. Treat warn: (missing sources.md, long SKILL.md) seriously.
T-named skill quality gates (ADR 0011, ADR 0027)
| Tier | Skills | CI |
| T1 — Behavior-critical eval-gated | Routing/procedure skills where drift can change agent decisions, claims, delegation, governance, or evidence boundaries | pnpm run eval + validate |
| T2 — Structural validate-only | All others | pnpm run validate |
T1 behavior-critical currently includes harness-engineering-lifecycle, mcp-harness-repo-maintainer, mixture-of-experts, multi-agent-handoff, plugin-marketplace-setup, repo-quality-system-lifecycle, repository-governance-lifecycle, skill-authoring-lifecycle, skill-eval-improve, steward-continuity-boundary-lifecycle, and vision-alignment-foresight. Each requires evals/cases/*.yaml (≥2) + references/evals.md. Schema: eval-case-schema.md.
Layer 0b — Rule-based cases (T1 behavior-critical CI)
pnpm run eval
pnpm run eval -- --skill mcp-harness-repo-maintainer
pnpm run eval:jsonChrome eval design (failure modes, rubrics, objective vs judge): references/chrome-eval-design.md.
CI does not run LLM judges. Subjective quality stays in references/evals.md (layer 2+).
Layer 1 — Codex plugin-eval (local)
When Codex plugin-eval is installed (~/.codex/plugins/.../plugin-eval):
# Chat-first router
plugin-eval start skills/<name> --request "Evaluate this skill." --format markdown
# Static report
plugin-eval analyze skills/<name> --format markdown
# Token budget explanation
plugin-eval explain-budget skills/<name> --format markdown
# Starter benchmark config
plugin-eval init-benchmark skills/<name>
plugin-eval benchmark skills/<name> --dry-runHand off rewrite plans to plugin-eval’s improve-skill skill after analyze --brief-out.
Details: references/plugin-eval.md.
Layer 2 — Human prompt suite (required for material edits)
- Write 3–5 representative user prompts (should trigger + should not trigger).
- Run agent without skill → record failures.
- Run with skill → record improvements and new failures.
- Mirror prompts in
evals/cases/*.yaml(CI rules) andreferences/evals.md(behavior log).
Split ~60% train (edit against) / 40% held-out (gate acceptance)—mirrors SkillOpt selection gate.
Layer 3 — SkillOpt-inspired improve loop (research)
SkillOpt treats SKILL.md as trainable text with a frozen agent:
Rollout (tasks + current skill) → Reflect (failures vs successes)
→ Bounded edit (add/delete/replace under budget) → Held-out gate (keep only if better)Skill Steward manual adaptation (no GPU cluster required):
| Step | Action |
| 1 | Baseline: held-out pass rate without skill |
| 2 | With skill: same tasks, log pass rate |
| 3 | Reflect: list 1–3 concrete failure modes |
| 4 | Bounded edit: ≤10% line churn or one new section; no wholesale rewrite |
| 5 | Re-run held-out only; keep edit only if improved |
| 6 | Record outcome in references/evals.md + sources.md |
Paper: https://arxiv.org/abs/2605.23904 · Site: https://microsoft.github.io/SkillOpt/
Related: SkillLens (model-generated skills study).
Layer 4 — Ecosystem benchmarks (2026+)
| Resource | Use |
| SkillsBench | Inspiration for paired vanilla vs skill-augmented tasks |
| skillgrade | Regression testing skill quality (mgechev) |
| Claude authoring best practices | Eval-before-write workflow |
Layer 5 — Runtime Dogfood Benchmarks
At 10,000x scale, NLP prompt evaluation fails because LLMs suffer Cognitive Overload navigating massive toolsets. Runtime dogfood should objectively assert their logical trajectory using deterministic traces.
- Capture compact traces: Store action IDs, tool counts, artifact digests, and redacted excerpts, not raw product traces.
- Define assertions: Expected action trajectory, declared surfaces used first, maximum tool calls, maximum repair/setup attempts, maximum unrelated tool calls, required
return_to_goal_step, required artifacts, and negative checks for unrelated actions. - Run dogfood benchmarks: Use
steward benchmark --scenario <id> --jsonfor runtime dogfood scenarios. Do not put product runtime scenarios under T1 behavior-critical skill evals.
The current steward eval --name registered-eval path is legacy/experimental. Skill quality remains pnpm run eval; runtime dogfood belongs to steward benchmark, where durability_blocked is valid blocked evidence when contract inputs are modified or untracked, not proof of runtime behavior.
Improve workflow (checklist)
- [ ] sources.md cites plugin-eval + SkillOpt if used
- [ ] pnpm run validate
- [ ] T1 behavior-critical: `pnpm run eval` + cases updated
- [ ] plugin-eval analyze (optional)
- [ ] 3+ prompt evals documented in references/evals.md
- [ ] Bounded edit applied; held-out improved
- [ ] skill-authoring-lifecycle checklist
- [ ] PR mentions eval deltaWhat to fix first (typical order)
name/description(routing)—must include what + when- Broken links / missing
references/sources.md - Delete or replace duplicated rules before adding a new section or eval case
- Move bulk to
references/(SKILL.md < 500 lines) - Add error-handling / validation steps agents skip
- Token cost (description length, always-loaded content)
Anti-patterns
- Rewriting entire SKILL.md from one failure (destroy working rules)
- Self-editing without held-out prompts (overfit)
- Adding skill rules, evals, or tools from one observed run when a smaller FAQ, error message, native command, observed-effect check, or deletion would solve the problem
- Adding a new eval for duplicated guidance before trying to compress, delete, or replace the overlapping rule
- Claims without
references/sources.mdrows - Evaluating only with static analyze—never running real prompts
- LLM judge in CI (flake, cost) — offline only per ADR 0011
- Passing
pnpm run evaland claiming agent behavior is proven
Related skills
| Skill | Role |
skill-source-citations | Save research links |
skill-authoring-lifecycle | Scaffold |
skill-authoring-lifecycle | Pre-merge audit |
Sources
See references/sources.md.
Install
npx skills add arenukvern/skill_steward --skill skill-eval-improveDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

