skill-optimizer

Installation
SKILL.md

Skill Optimizer

Make every skill discoverable, lean when activated, and eval-backed.

Non-negotiable gates (do before calling done)

  1. Validatenpx --yes skills-ref validate <skill-dir>
  2. Name — folder name = YAML name; lowercase/hyphens; no consecutive hyphens
  3. Description — what + when; ≤1024 chars; concrete triggers; at least one near-miss “do not use…” boundary when adjacent skills exist
  4. Body sizeSKILL.md under 500 lines / ~5k tokens; prefer under ~1500 tokens for workflow skills
  5. Progressive disclosure — depth in references/ / scripts/; each file has an explicit when to read
  6. Reference depth — file references are one level deep: references/*.md link back to SKILL.md's table, never to a sibling references/*.md file (scripts/check-skills-ci.sh enforces this for first-party skills)
  7. Token test — every paragraph: “Would the agent get this wrong without it?” If no, cut or move to a reference
  8. Trigger set — ~20 labeled queries in evals/trigger/eval_queries.json (~50/50 should/shouldn’t; include near-misses)
  9. Output evals — at least 2–3 cases (+1 edge) in evals/evals.json when the skill changes behavior

Procedure

1. Scope the unit

Installs
12
GitHub Stars
2
First Seen
Jul 17, 2026
skill-optimizer — rhyanvargas/agentic-development-starter-kit