/howtoai-essentials:skill-builderfrom How to AI — Essentials
Creates, audits, benchmarks, and tunes Claude skills with an eval-first methodology. Covers the full skill lifecycle from gap analysis to trigger optimization.
Ships in How to AI — Essentials. 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; scripts run unread.
Builds skills that earn their tokens. A skill is judged by the behavior it changes — measured against a baseline, not assumed. This skill covers the full loop: create, test, benchmark, improve, and optimize triggering.
Match communication to the user: many skill-builders are not programmers. Explain terms like "eval" or "JSON" briefly when in doubt.
Skills written for older, weaker models actively hurt today's output. Write for a model that resolves ambiguity well — the six shifts:
references/ files read on demand.config.json gathered on first run.The distilled authoring rules ship in references/authoring-rules.md —
read it before writing or auditing any SKILL.md. (This repo also carries the
full protocol at docs/UPGRADE-PROTOCOL.md; the reference file stands alone.)
Evaluation-driven, in this order:
evals/evals.json — realistic prompts
with expected_behavior as verifiable statements. Schema:
references/schemas.md.cp -r the skill before touching it. The old version is
the baseline; without it, "improved" is unverifiable.scripts/. If the skill sends the model
on unproductive detours, delete the section causing them and re-run.Run all scripts/ commands from this skill's directory (they import as a
package: python -m scripts.<name>). Execute the scripts — don't read them.
quick_validate, run_eval, package_skill, aggregate_benchmark, and
generate_report need nothing but Python. improve_description and run_loop
additionally call the API directly — they need pip install anthropic and an
ANTHROPIC_API_KEY. Everything else works without either.
python -m scripts.quick_validate <skill-path> to check frontmatter and
structure in one second.<skill>-workspace/iteration-N/<eval-name>/{with_skill,without_skill}/outputs/,
plus eval_metadata.json per eval and timing.json per run (capture tokens
and duration from each task notification as it arrives — it isn't persisted
anywhere else).grading.json per run.python -m scripts.aggregate_benchmark <workspace>/iteration-N --skill-name <name>
to roll grading files into benchmark.json/benchmark.md — pass rate, time,
tokens, with/without delta, mean ± stddev.python eval-viewer/generate_review.py <workspace>/iteration-N --skill-name <name> --benchmark <...>/benchmark.json
to open the human review UI (stdlib-only; add --previous-workspace on later
iterations). Headless? Add --static out.html. Always get outputs in front
of the user via this viewer before revising; feedback lands in feedback.json
and empty feedback means "fine".python -m scripts.run_loop --eval-set <trigger-evals.json> --skill-path <path> --model <current-model-id> --max-iterations 5 --verbose
— splits queries 60/40 train/test, proposes rewrites, picks the winner by
held-out score. Needs the claude CLI and the anthropic package, so Claude
Code only. Build the eval set as 8–10 should-trigger queries (varied, casual,
typo'd, some competing with adjacent skills) plus 8–10 near-miss
should-not-trigger queries; review it with the user via
assets/eval_review.html first.python -m scripts.package_skill <skill-path> to produce a distributable
.skill zip (validates first; excludes evals/).Without subagents (claude.ai): run each eval prompt yourself following the skill, one at a time, skip baselines and benchmarking, and review results inline with the user. The loop is the same; the rigor compensation is human review.
evals.json, grading.json, benchmark.json, etc.; read whenever writing
harness JSON by hand.expected_behavior must be checkable against the actual output.grading.json field names are load-bearing: expectations use exactly
text, passed, evidence. Variants like name/met make the viewer
silently render nothing.LICENSE.txt (opens in a new tab)agents/analyzer.md (opens in a new tab)agents/comparator.md (opens in a new tab)agents/grader.md (opens in a new tab)assets/eval_review.html (opens in a new tab)eval-viewer/generate_review.py (opens in a new tab)eval-viewer/viewer.html (opens in a new tab)evals/evals.json (opens in a new tab)references/authoring-rules.md (opens in a new tab)references/schemas.md (opens in a new tab)references/testing-with-subagents.md (opens in a new tab)scripts/__init__.py (opens in a new tab)scripts/aggregate_benchmark.py (opens in a new tab)scripts/generate_report.py (opens in a new tab)scripts/improve_description.py (opens in a new tab)scripts/package_skill.py (opens in a new tab)scripts/quick_validate.py (opens in a new tab)scripts/run_eval.py (opens in a new tab)scripts/run_loop.py (opens in a new tab)scripts/utils.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rubenhassid1/howtoai-skills --plugin howtoai-essentials5 skills in this plugin
/brainstormingTurns a rough idea into an agreed design before anything gets built. Use when the user wants to create a feature, product, campaign, or system and requirements are still fuzzy — ask focused questions, propose approaches, get sign-off on a spec./double-checkBacks every success claim with fresh evidence before it's made. Use when about to say something is done, fixed, passing, deployed, or working — or when the user asks "are you sure?", "did you test it?", or wants work verified before shipping./how-to-aiThe How to AI concierge — knows every skill in this catalog. Use when the user asks what Claude can do, which skill fits a task, what to install, or how to get better AI output for marketing, content, design, business, or code work./plan-firstWrites implementation plans a zero-context executor can follow exactly, then executes them task-by-task with verification. Use when a spec or multi-step build needs a concrete plan, the user says "make a plan", or an existing plan needs executing.Other plugins' skills for the same job