本文へ移動
cccskills
無料GitHub で公開

skill-eval-improve

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.

インストール方法を見る

含まれるファイル(12)

  • SKILL.md9.4 KB
  • evals/cases/duplicated-guidance-compression-trigger.yaml702 B
  • evals/cases/improve-routing-trigger.yaml444 B
  • evals/cases/tool-loop-drift-trigger.yaml521 B
  • evals/cases/validate-only-dormant.yaml425 B
  • references/chrome-eval-design.md2.1 KB
  • references/eval-case-schema.md1.8 KB
  • references/evals-template.md645 B
  • references/evals.md2.5 KB
  • references/plugin-eval.md1.5 KB
  • references/skillopt-and-research.md1.5 KB
  • references/sources.md1.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 validate only (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)

LayerExpertTool / methodCost
0 — GateLintpnpm run validate, skill-authoring-lifecycleseconds
0b — RulesRouting/docs SSOTpnpm run eval (T1 behavior-critical YAML cases)seconds
1 — StaticStructureCodex plugin-eval analyze (if available)seconds
2 — HumanBehavior3–5 prompts with/without skillminutes
3 — MeasuredUsageplugin-eval benchmark + measurement-planminutes–hours
4 — EvolveText optimizationSkillOpt-style bounded edits + held-out gatehours
5 — NavigateTelemetry / dogfoodCurrent steward benchmark scenarios on compact tracesseconds

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 / automation

Fix all error: lines. Treat warn: (missing sources.md, long SKILL.md) seriously.

T-named skill quality gates (ADR 0011, ADR 0027)

TierSkillsCI
T1 — Behavior-critical eval-gatedRouting/procedure skills where drift can change agent decisions, claims, delegation, governance, or evidence boundariespnpm run eval + validate
T2 — Structural validate-onlyAll otherspnpm 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:json

Chrome 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-run

Hand 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)

  1. Write 3–5 representative user prompts (should trigger + should not trigger).
  2. Run agent without skill → record failures.
  3. Run with skill → record improvements and new failures.
  4. Mirror prompts in evals/cases/*.yaml (CI rules) and references/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):

StepAction
1Baseline: held-out pass rate without skill
2With skill: same tasks, log pass rate
3Reflect: list 1–3 concrete failure modes
4Bounded edit: ≤10% line churn or one new section; no wholesale rewrite
5Re-run held-out only; keep edit only if improved
6Record 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+)

ResourceUse
SkillsBenchInspiration for paired vanilla vs skill-augmented tasks
skillgradeRegression testing skill quality (mgechev)
Claude authoring best practicesEval-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.

  1. Capture compact traces: Store action IDs, tool counts, artifact digests, and redacted excerpts, not raw product traces.
  2. 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.
  3. Run dogfood benchmarks: Use steward benchmark --scenario <id> --json for 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 delta

What to fix first (typical order)

  1. name / description (routing)—must include what + when
  2. Broken links / missing references/sources.md
  3. Delete or replace duplicated rules before adding a new section or eval case
  4. Move bulk to references/ (SKILL.md < 500 lines)
  5. Add error-handling / validation steps agents skip
  6. 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.md rows
  • Evaluating only with static analyze—never running real prompts
  • LLM judge in CI (flake, cost) — offline only per ADR 0011
  • Passing pnpm run eval and claiming agent behavior is proven

Related skills

SkillRole
skill-source-citationsSave research links
skill-authoring-lifecycleScaffold
skill-authoring-lifecyclePre-merge audit

Sources

See references/sources.md.

Install

npx skills add arenukvern/skill_steward --skill skill-eval-improve

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Design, implement, and integrate generalized validation harnesses across a producer-consumer boundary after a local harness contract exists. Use when refactoring custom validation CLIs/MCPs for large polyrepos, extending Steward across sibling repos, or deploying a local tool to a consumer project for dogfooding and testing; use mcp-harness-repo-maintainer first for initial steward.yaml adoption and cold-start proof.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Maintains repo-local action contracts and harness repositories where product CLI and MCP adapters stay thin over core libraries. Use when adopting or improving steward.yaml actions, capability-level adoption evidence, cold-start proof loops, probes, benchmarks, CLI/MCP/core parity, adapter refactors, packages/core boundaries, or sibling harness layout; use repo-quality-system-lifecycle first for general app/library/tool stewardship baselines.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Run a Mixture of Experts (MoE) audit on any topic, plan, codebase, evidence archive, or process. Dynamically spawns specialized subagents with different critical lenses to cross-reference findings and detect flaws, overlap, retention issues, or drift. Use when designing architectures, analyzing complex code, verifying multi-step plans, classifying evidence artifacts, or looking for duplicated intent in a repo.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Plan and document handoffs, parent lane contracts, and parallel batch contracts between specialized AI agents (foreman, workers, reviewers). Use for multi-agent workflows, subagents, original goal preservation, native gates, claim ceilings, terminal states, baton passes, or guild-style agent coordination.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Designs public or private Agent Skill and plugin marketplaces for Cursor, Claude Code, Codex, Zed, Open Plugin, and npx skills—manifest layout, install matrix, and Skill Steward vs product boundaries. Use when setting up a marketplace, distributing skills/plugins to a team, private registry, .cursor-plugin, .codex-plugin, .plugin, .claude-plugin, or skills.sh publishing.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Chooses ecosystem-native release and changelog tooling (Changesets, Melos, release-plz) plus binary distribution (GitHub Release tarballs, install.sh) when the product is an executable. Use for release CI, install.sh, versioning, CHANGELOGs, shipping MCP/CLI without clone, or meta repos that only ship skills via npx skills—not domain app tutorials.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Arenukvern のスキルをすべて見る

このスキルの問題を報告する