/skill-dev:skill-ab-optimizerfrom Skill Dev
Continuously tests and improves Claude Code skills using A/B experimentation and Auto Research ML loop. Provides quantitative metrics on skill effectiveness and automatically approves only changes that improve outcomes.
Ships in Skill Dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Automates A/B testing and continuous improvement of Claude Code skills. Instead of guessing whether a skill modification actually helps, this skill provides hard quantitative data — and uses the Auto Research ML loop to automatically approve only changes that measurably improve outcomes.
Reference Files:
- workflow.md — Full A/B testing lifecycle and phase breakdown
- metrics.md — Metric definitions, scoring rubrics, and evaluation criteria
- examples.md — Practical examples and real optimization runs
When creating or modifying a skill you have no quantitative feedback:
Manual experimentation is slow, biased, and non-reproducible. This skill closes that loop.
/skill-ab-optimizer optimize plugins/typescript/skills/unit-testing
/skill-ab-optimizer compare plugins/typescript/skills/unit-testing plugins/typescript/skills/unit-testing-v2
/skill-ab-optimizer auto plugins/nextjs/skills/performance-optimization --iterations 5
[Skill A: Current] ──┐
├──► [Test Suite: N prompts] ──► [Scorer] ──► [Winner]
[Skill B: Variant] ──┘ │
▼
[Auto Research Loop]
- If B > A: promote B
- If A >= B: discard B
- Generate next variant
The Auto Research loop repeats until either:
Each variant modifies one dimension at a time (controlled experimentation):
Each variant is scored across 5 dimensions (see metrics.md):
Uses an ML-inspired hill-climbing algorithm:
| Phase | Action | Output |
|---|---|---|
| 1. Baseline | Run test suite against current skill | Baseline score (0–100) |
| 2. Mutation | Generate 1–3 variants with targeted changes | Candidate SKILL.md files |
| 3. Evaluation | Run same test suite against each variant | Score per variant |
| 4. Decision | Compare scores, apply threshold | Keep or discard |
| 5. Iteration | Repeat from step 2 with winner as new baseline | Improvement log |
| 6. Report | Summarize all rounds, final delta | Markdown report |
See workflow.md for the full phase-by-phase breakdown.
This skill is designed to work alongside the skill-creator skill (from Anthropic marketplace):
skill-creator → initial SKILL.md → skill-ab-optimizer → optimized SKILL.md
optimization-log.md in the skill directoryWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub janszewczyk/claude-plugins --plugin skill-dev4 skills in this plugin
/skill-auditAudits one Claude Code skill for authoring quality — the frontmatter contract, whether the description will actually trigger, the progressive-disclosure budget, dead links and orphan reference files, prose economy, language consistency, and whether bundled scripts and references earn their cost, and whether a multi-step flow shows its progress in a task list. Use whenever the user asks to review, audit, tighten, trim, or clean up a skill, says a SKILL.md has grown bloated or rambling, wonders whether its reference files are still linked or whether anyone reads them, asks why a skill never fires, or wants to know what to cut before shipping it. Not for auditing a whole marketplace repo's manifests and READMEs — that is marketplace-creator — and not for measuring whether a wording change improved triggering, which is skill-ab-optimizer. This one reads the skill and proposes edits./workflow-creatorCreate, audit or optimize a Claude Code dynamic workflow: the .js script (export const meta + agent()/pipeline()/parallel()) that orchestrates many subagents and is saved as /<name> in .claude/workflows/, ~/.claude/workflows/ or a plugin. Use whenever someone wants such a script written, checked against the official authoring rules, made cheaper or faster, relocated, or carved out of a skill's fan-out step, in any language: 'napisz workflow do migracji', 'zrób z tego dynamic workflow', 'zoptymalizuj ten workflow, za dużo tokenów', 'write a workflow that audits every route', 'review my .claude/workflows script', 'why does /my-workflow not show up', 'this workflow never finishes'. Also when a 'make a skill' request describes dozens of independent items handled the same way: that is a workflow. NOT for a phased SKILL.md process with gates or mid-run human decisions (workflow-skill-creator), NOT for running an existing workflow (invoke /<name>), NOT for CI pipelines.Other plugins' skills for the same job