Create and improve skills through a draft, test, review, and rewrite loop. Use when creating a new skill, turning a workflow into a skill, editing or improving an existing skill, testing a skill against example prompts, or tightening a skill's description so it triggers on the right requests.
Ships in kaleb-skills. 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.
Create new skills and improve existing ones through a draft, test, review, improve loop.
The loop:
Figure out where the user is in this loop and pick up from there. If they already have a draft, go straight to testing. If they say "just vibe with me", skip formal evals.
Match the user's technical level. Briefly define terms like "assertion" or "baseline" unless they clearly know them.
If the conversation already contains the workflow ("turn this into a skill"), extract it first: tools used, step order, corrections the user made, input and output formats. Then confirm gaps:
Ask about unresolved edge cases, inputs, example files, success criteria and dependencies that would change the expected result. Use available connectors and docs to research so the user carries less of the load.
Before editing, copy the existing skill folder. Use that unchanged copy for the baseline runs.
Every SKILL.md starts with YAML frontmatter, then markdown instructions. These fields and limits are the Agent Skills spec:
---
name: skill-name
description: What this skill does and when to use it.
---
--, and must match the parent directory name. Name a new skill verb-first, for the action it performs (schedule-interview, not interview-scheduling), so the name reads as what the agent will do.Apache-2.0 or Proprietary. LICENSE.txt has complete terms.author: example-org and version: "1.0".Bash(git:*) Bash(jq:*) Read. Experimental, and support varies by agent.Folder layout:
skill-name/
├── SKILL.md
├── scripts/ deterministic, repeatable code the skill runs
├── references/ docs loaded only when needed
└── assets/ templates and files used in output
Progressive disclosure: name and description load at startup, the body loads when the skill is triggered (keep it under 500 lines; the spec recommends under 5000 tokens), and bundled files load on demand. Point to each reference file with when to read it; give long references a table of contents. For multi-variant skills, keep the workflow in SKILL.md and one reference file per variant. Reference other files with paths relative to the skill root, one level deep.
A skill is a reusable, self-contained capability. Keep these out of it:
scripts/ to save tokens and reduce drift.Describe only the functionality: how to do the job. Drop limits, caveats and scope notes that don't change behavior. Then prune the draft line by line:
--help, a schema, a config or the folder layout already says; point to the lookup. Write down only what the agent can't find by looking: unwritten conventions, the reason behind a choice, gotchas.Write 2-3 realistic test prompts from the confirmed requirements and save them to evals/evals.json. Select the cases and run isolated tests without asking the user to approve them. You may briefly state what the tests cover, but do not pause for a response.
Ask a question only when an unresolved requirement would change the expected result. Follow applicable approval rules if a test needs live uploads, external changes, or other consequential actions.
{"skill_name": "example-skill", "evals": [{"id": 1, "prompt": "...", "expected_output": "...", "files": []}]}
Put results in <skill-name>-workspace/iteration-N/<eval-name>/ next to the skill folder.
with_skill/outputs/) and a baseline (without_skill/ for a new skill, or the unchanged copy in old_skill/ when improving one). Launch them together so they finish together.timing.json when those figures are available.grading.json with text, passed, evidence per check.If the runs are not independent, report each check and the user's feedback. Skip numerical comparisons.
Present results in the conversation: for each test, the prompt, a short description or excerpt of the output (attach output files), the check results, and then the overall comparison. Ask for feedback per test. An empty comment is acceptance only after the user confirms review is complete. Until then, a test with no feedback is not reviewed. Save the feedback to iteration-N/feedback.json (run_id, feedback) so the next iteration can reference it.
scripts/.Rerun all tests into iteration-N+1/ with baselines, review again, and stop when the user says they are happy, when they confirm review is complete and every comment is empty, or when progress stalls. Empty feedback alone does not stop the loop.
Offer to tune the description. Write ~20 realistic queries: 8-10 that should trigger and 8-10 near-misses that share keywords but need something else (obviously unrelated negatives test nothing). Use concrete, casual, varied phrasing. Review the list with the user in chat, then judge whether the description separates them; revise and show before/after. Don't claim measured trigger accuracy unless you actually ran a trigger test.
Before shipping, hand the draft to a fresh reviewer: a background worker with no conversation history that gets only the skill folder and the "What a skill is not" and "Pruning" sections above. The author tends to keep its own lines; a fresh reader sees what is redundant. Ask it to return a list of cuts and rewrites, each with the rule it violates, not a rewritten file. Apply the cuts that hold up, rerun the tests if behavior could change, and show the user the before and after line counts. Without isolated workers, do the pass yourself, reading the draft line by line against those sections.
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)references/schemas.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
Other plugins' skills for the same job
/kaleb-skills:skill-creatorfrom kaleb-skills
npx claudepluginhub kalebcole/kaleb-marketplace --plugin kaleb-skills8 skills in this plugin
/broRestate the last message in plain human language, with no jargon./find-context7-docsRetrieves up-to-date documentation, API references, and code examples for any developer technology. Use this skill whenever the user asks about a specific library, framework, SDK, CLI tool, or cloud service — even for well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot. Your training data may not reflect recent API changes or version updates.
Always use for: API syntax questions, configuration options, version migration issues, "how do I" questions mentioning a library name, debugging that involves library-specific behavior, setup instructions, and CLI tool usage.
Use even when you think you know the answer — do not rely on training data for API details, signatures, or configuration options as they are frequently outdated. Always verify against current docs. Prefer this over web search for library documentation and API details./make-this-clearRewrite a message from the recipient's perspective, assuming they have no prior context.