Skip to content
Development
Skill

/skill-optimizer

Optimizes AI skills for activation, clarity, and cross-model reliability. Use when creating or editing skill packs, diagnosing weak skill uptake, reducing regressions, tuning instruction salience, improving examples, shrinking context cost, or setting benchmark/release gates for

From plugin
skills
2k11 skills

Claude Code

$ npx -y skills add mcollina/skills --skill skill-optimizer --agent claude-code

SKILL.md

skill-optimizer.SKILL.md
name: skill-optimizer
description: "Optimizes AI skills for activation, clarity, and cross-model reliability. Use when creating or editing skill packs, diagnosing weak skill uptake, reducing regressions, tuning instruction salience, improving examples, shrinking context cost, or setting benchmark/release gates for skills. Trigger terms: skill optimization, activation gap, benchmark skill, with/without skill delta, regression, context budget, prompt salience."
metadata:
  tags: skills, optimization, benchmarking, activation, regressions, prompt-engineering

When to use

Use this skill when you need to:

  • Improve whether a skill is actually applied by models
  • Diagnose why some criteria fail across all models
  • Prevent a skill from making outputs worse
  • Refactor skill text for stronger retrieval under context pressure
  • Build repeatable benchmark loops and release gates

Optimization loop (default workflow)

1. **Measure baseline and skill-on behavior** (per model, per scenario, per criterion) 2. **Find failure pattern**:

  • universal failure (0% with skill)
  • model-specific weakness
  • regression (negative delta)

3. **Edit for salience**:

  • add explicit triggers
  • add concrete integrated examples
  • tighten checklists and decision rules

4. **Re-run evals** and compare deltas 5. **Ship with guardrails** (documented gate + run history + follow-up issues)

How to use

Read individual rule files for detailed procedures and templates:

  • [rules/benchmark-loop.md](rules/benchmark-loop.md) - End-to-end benchmark loop and scoring
  • [rules/activation-design.md](rules/activation-design.md) - Improve retrieval and instruction uptake
  • [rules/context-budget.md](rules/context-budget.md) - Reduce token cost without losing behavior
  • [rules/regression-triage.md](rules/regression-triage.md) - Diagnose and fix skill-on regressions
  • [rules/release-gates.md](rules/release-gates.md) - Go/no-go criteria before shipping skill updates

Practical heuristics

  • Prefer **few high-signal rules** over many soft recommendations
  • Put fragile, high-value behaviors in **top-level checklists**
  • Include at least one **integrated example** per common scenario
  • Add explicit wording for what must **not** be omitted
  • Track gains/losses with **with-skill vs without-skill** comparisons
Read more
@mcollina
Ships withskills

Skills for AI-assisted development.

Stars on GitHub

Momentum

stars in total
2.0k
Star history of mcollina/skills on GitHub, a chart by star-history.com

Other skills on skills.

documentation

documentation

Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference,…

@mcollina@mcollinaInstall Skill
fastify

fastify

Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building,…

@mcollina@mcollinaInstall Skill
init

init

Creates, updates, or optimizes an AGENTS.md file for a repository with minimal, high-signal instructions covering…

@mcollina@mcollinaInstall Skill
node

node

Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error…

@mcollina@mcollinaInstall Skill
nodejs-core

nodejs-core

Contributes to and debugs Node.js core, including nodejs/node commit and PR tone, contribution workflows, native crashes, V8…

@mcollina@mcollinaInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about skill-optimizer.

Which coding agents can use skill-optimizer?
skill-optimizer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.