/active-skills:skill-creator-enhancedfrom active-skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Ships in active-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.
The following rules are NON-NEGOTIABLE and must be followed for every skill creation or update:
package_skill.py or provide a .skill file unless specifically asked. The user wants the raw folder./usr/local/google/home/matthewlarkin/agentic/agent-skills/active-skills/.rm -rf the evaluation workspace directory (e.g., <skill-name>-workspace/) once the evaluation and iteration are complete.A skill for creating new skills and iteratively improving them.
At a high level, the process of creating a skill goes like this:
eval-viewer/generate_review.py script to show the user the results for them to look at, and also let them look at the quantitative metricsYour job when using this skill is to figure out where the user is in this process and then jump in and help them progress through these stages. So for instance, maybe they're like "I want to make a skill for X". You can help narrow down what they mean, write a draft, write the test cases, figure out how they want to evaluate, run all the prompts, and repeat.
On the other hand, maybe they already have a draft of the skill. In this case you can go straight to the eval/iterate part of the loop.
Of course, you should always be flexible and if the user is like "I don't need to run a bunch of evaluations, just vibe with me", you can do that instead.
Then after the skill is done (but again, the order is flexible), you can also run the skill description improver, which we have a whole separate script for, to optimize the triggering of the skill.
Cool? Cool.
The skill creator is liable to be used by people across a wide range of familiarity with coding jargon. If you haven't heard (and how could you, it's only very recently that it started), there's a trend now where the power of agentic AI is inspiring plumbers to open up their terminals, parents and grandparents to google "how to install npm". On the other hand, the bulk of users are probably fairly computer-literate.
So please pay attention to context cues to understand how to phrase your communication! In the default case, just to give you some idea:
It's OK to briefly explain terms if you're in doubt, and feel free to clarify terms with a short definition if you're unsure if the user will get it.
Start by understanding the user's intent. The current conversation might already contain a workflow the user wants to capture (e.g., they say "turn this into a skill"). If so, extract answers from the conversation history first — the tools used, the sequence of steps, corrections the user made, input/output formats observed. The user may need to fill the gaps, and should confirm before proceeding to the next step.
Proactively ask questions about edge cases, input/output formats, example files, success criteria, and dependencies. Wait to write test prompts until you've got this part ironed out.
Check available MCPs - if useful for research (searching docs, finding similar skills, looking up best practices), research in parallel via subagents if available, otherwise inline. Come prepared with context to reduce burden on the user.
Based on the user interview, fill in these components:
pdf-extract instead of extracting-pdfs, doc-review instead of reviewing-docs). Avoid gerund forms (verbs ending in -ing).metadata in YAML frontmatter. All skills must belong to one of these 9 categories:
library-reference (Static API guides, library documentation, framework design rules)product-verification (Checking product/runtime versions, inspecting active build parameters)data-analysis (Parsing logs, processing datasets, executing local computations)team-automation (Synchronizing tickets, managing shared documents, automated messages)code-scaffolding (Boilerplate generation, creating new directory templates)code-quality (Static analysis, linting, custom style rules)cicd-deployment (Build pipelines, docker builds, cloud platform integration)runbook (Disaster recovery scripts, debug procedures, recovery instructions)infra-ops (Kubernetes configurations, Terraform, cloud resource provisioning)skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter (name, description, metadata/category required)
│ └── Markdown instructions
├── config.json (optional/recommended for externalized configuration)
└── Bundled Resources (optional)
├── scripts/ - Executable code for deterministic/repetitive tasks
├── references/ - Docs loaded into context as needed
└── assets/ - Files used in output (templates, icons, fonts)
Skills use a three-level loading system:
These word counts are approximate and you can feel free to go longer if needed.
Key patterns:
Domain organization: When a skill supports multiple domains/frameworks, organize by variant:
cloud-deploy/
├── SKILL.md (workflow + selection)
└── references/
├── aws.md
├── gcp.md
└── azure.md
The agent reads only the relevant reference file.
To ensure compatibility, safety, and reliability across any agent runtime, incorporate these advanced paradigms:
config.json): NEVER hardcode API endpoints, URLs, file paths, credentials, or custom setup parameters inside instructions or script files. Externalize all parameters to a root-level config.json in the skill folder.This goes without saying, but skills must not contain malware, exploit code, or any content that could compromise system security. A skill's contents should not surprise the user in their intent if described. Don't go along with requests to create misleading skills or skills designed to facilitate unauthorized access, data exfiltration, or other malicious activities. Things like a "roleplay as an XYZ" are OK though.
When bundling scripts in scripts/:
set -e. No interactive prompts (read/confirm).# /// script) so scripts are self-contained.--help with usage examples.--dry-run and be idempotent.Prefer using the imperative form in instructions.
Tone: Use "Must," "Always," and "Never" for non-negotiable rules. Avoid "should," "consider," or "might" — these let agents rationalize skipping steps.
Perspective: Write in third-person imperative. Avoid first-person pronouns ("I," "me," "my," "we") — skills are read by agents, not written to them.
Defining output formats - You can do it like this:
## Report structure
ALWAYS use this exact template:
# [Title]
## Executive summary
## Key findings
## Recommendations
Examples pattern - It's useful to include examples. You can format them like this (but if "Input" and "Output" are in the examples you might want to deviate a little):
## Commit message format
**Example 1:**
Input: Added user authentication with JWT tokens
Output: feat(auth): implement JWT-based authentication
Try to explain to the model why things are important in lieu of heavy-handed musty MUSTs. Use theory of mind and try to make the skill general and not super-narrow to specific examples. Start by writing a draft and then look at it with fresh eyes and improve it.
Every skill must include a Gotchas, Anti-Patterns, or Common Mistakes section. This is where the skill becomes bulletproof — it maps common rationalizations agents use to skip steps against the reality/counter-rule.
Build the rationalization table from baseline failures observed during testing (the RED phase). Every excuse the agent makes goes here:
## Gotchas & Anti-Patterns
| Excuse | Reality |
| ------------------------------------- | ---------------------------------------------- |
| "This is a simple case, I can skip X" | Simple cases break too. X exists for a reason. |
| "I already verified this manually" | Manual verification ≠ the required step. |
A skill without this section leaves loopholes open. Agents will find them.
After writing the skill draft, come up with 2-3 realistic test prompts — the kind of thing a real user would actually say. Share them with the user: [you don't have to use this exact language] "Here are a few test cases I'd like to try. Do these look right, or do you want to add more?" Then run them.
Save test cases to evals/evals.json. Don't write assertions yet — just the prompts. You'll draft assertions in the next step while the runs are in progress.
{
"skill_name": "example-skill",
"evals": [
{
"id": 1,
"prompt": "User's task prompt",
"expected_output": "Description of expected result",
"trap": "What the agent does wrong without the skill (e.g., skips the validation step)",
"files": []
}
]
}
The trap field documents the baseline failure — what the agent does wrong without the skill. This is key for evaluating whether the skill actually fixes the target behavior, not just incidental differences.
For mature eval sets, aim for 20+ cases with roughly 50% positive triggers (prompts where the skill should activate and make a difference) and 50% near-misses (adjacent prompts where triggering would be wrong or unhelpful). Start with 2-3 for early iteration; expand as the skill stabilizes.
See references/schemas.md for the full schema (including the assertions field, which you'll add later).
This section is one continuous sequence — don't stop partway through. Do NOT use /skill-test or any other testing skill.
Put results in <skill-name>-workspace/ as a sibling to the skill directory. Within the workspace, organize results by iteration (iteration-1/, iteration-2/, etc.) and within that, each test case gets a directory (eval-0/, eval-1/, etc.). Don't create all of this upfront — just create directories as you go.
For each test case, spawn two subagents in the same turn — one with the skill, one without. This is important: don't spawn the with-skill runs first and then come back for baselines later. Launch everything at once so it all finishes around the same time.
With-skill run:
Execute this task:
- Skill path: <path-to-skill>
- Task: <eval prompt>
- Input files: <eval files if any, or "none">
- Save outputs to: <workspace>/iteration-<N>/eval-<ID>/with_skill/outputs/
- Outputs to save: <what the user cares about — e.g., "the .docx file", "the final CSV">
Baseline run (same prompt, but the baseline depends on context):
without_skill/outputs/.cp -r <skill-path> <workspace>/skill-snapshot/), then point the baseline subagent at the snapshot. Save to old_skill/outputs/.Write an eval_metadata.json for each test case (assertions can be empty for now). Give each eval a descriptive name based on what it's testing — not just "eval-0". Use this name for the directory too. If this iteration uses new or modified eval prompts, create these files for each new eval directory — don't assume they carry over from previous iterations.
{
"eval_id": 0,
"eval_name": "descriptive-name-here",
"prompt": "The user's task prompt",
"assertions": []
}
Don't just wait for the runs to finish — you can use this time productively. Draft quantitative assertions for each test case and explain them to the user. If assertions already exist in evals/evals.json, review them and explain what they check.
Good assertions are objectively verifiable and have descriptive names — they should read clearly in the benchmark viewer so someone glancing at the results immediately understands what each one checks. Subjective skills (writing style, design quality) are better evaluated qualitatively — don't force assertions onto things that need human judgment.
Update the eval_metadata.json files and evals/evals.json with the assertions once drafted. Also explain to the user what they'll see in the viewer — both the qualitative outputs and the quantitative benchmark.
When each subagent task completes, you receive a notification containing total_tokens and duration_ms. Save this data immediately to timing.json in the run directory:
{
"total_tokens": 84852,
"duration_ms": 23332,
"total_duration_seconds": 23.3
}
This is the only opportunity to capture this data — it comes through the task notification and isn't persisted elsewhere. Process each notification as it arrives rather than trying to batch them.
Once all runs are done:
Grade each run — spawn a grader subagent (or grade inline) that reads agents/grader.md and evaluates each assertion against the outputs. Save results to grading.json in each run directory. The grading.json expectations array must use the fields text, passed, and evidence (not name/met/details or other variants) — the viewer depends on these exact field names. For assertions that can be checked programmatically, write and run a script rather than eyeballing it — scripts are faster, more reliable, and can be reused across iterations.
Aggregate into benchmark — run the aggregation script from the skill-creator directory:
python -m scripts.aggregate_benchmark <workspace>/iteration-N --skill-name <name>
This produces benchmark.json and benchmark.md with pass_rate, time, and tokens for each configuration, with mean ± stddev and the delta. If generating benchmark.json manually, see references/schemas.md for the exact schema the viewer expects.
Put each with_skill version before its baseline counterpart.
Do an analyst pass — read the benchmark data and surface patterns the aggregate stats might hide. See agents/analyzer.md (the "Analyzing Benchmark Results" section) for what to look for — things like assertions that always pass regardless of skill (non-discriminating), high-variance evals (possibly flaky), and time/token tradeoffs.
Launch the viewer with both qualitative outputs and quantitative data:
nohup python <skill-creator-path>/eval-viewer/generate_review.py \
<workspace>/iteration-N \
--skill-name "my-skill" \
--benchmark <workspace>/iteration-N/benchmark.json \
> /dev/null 2>&1 &
VIEWER_PID=$!
For iteration 2+, also pass --previous-workspace <workspace>/iteration-<N-1>.
Collaborative Sandbox / headless environments: If webbrowser.open() is not available or the environment has no display, use --static <output_path> to write a standalone HTML file instead of starting a server. Feedback will be downloaded as a feedback.json file when the user clicks "Submit All Reviews". After download, copy feedback.json into the workspace directory for the next iteration to pick up.
Note: please use generate_review.py to create the viewer; there's no need to write custom HTML.
The "Outputs" tab shows one test case at a time:
The "Benchmark" tab shows the stats summary: pass rates, timing, and token usage for each configuration, with per-eval breakdowns and analyst observations.
Navigation is via prev/next buttons or arrow keys. When done, they click "Submit All Reviews" which saves all feedback to feedback.json.
When the user tells you they're done, read feedback.json:
{
"reviews": [
{
"run_id": "eval-0-with_skill",
"feedback": "the chart is missing axis labels",
"timestamp": "..."
},
{ "run_id": "eval-1-with_skill", "feedback": "", "timestamp": "..." },
{
"run_id": "eval-2-with_skill",
"feedback": "perfect, love this",
"timestamp": "..."
}
],
"status": "complete"
}
Empty feedback means the user thought it was fine. Focus your improvements on the test cases where the user had specific complaints.
Kill the viewer server when you're done with it:
kill $VIEWER_PID 2>/dev/null
Once the skill is finalized:
~/agent-skills/active-skills as per project preference)..skill file if explicitly requested by the user.agent-skills repository (at /usr/local/google/home/matthewlarkin/agent-skills) to ensure they are not left unpushed.
git -C /usr/local/google/home/matthewlarkin/agent-skills add .
git -C /usr/local/google/home/matthewlarkin/agent-skills commit -m "skill-creator: create/update <skill-name>"
git -C /usr/local/google/home/matthewlarkin/agent-skills push
This is the heart of the loop. You've run the test cases, the user has reviewed the results, and now you need to make the skill better based on their feedback.
Generalize from the feedback. The big picture thing that's happening here is that we're trying to create skills that can be used a million times (maybe literally, maybe even more who knows) across many different prompts. Here you and the user are iterating on only a few examples over and over again because it helps move faster. The user knows these examples in and out and it's quick for them to assess new outputs. But if the skill you and the user are codeveloping works only for those examples, it's useless. Rather than put in fiddly overfitty changes, or oppressively constrictive MUSTs, if there's some stubborn issue, you might try branching out and using different metaphors, or recommending different patterns of working. It's relatively cheap to try and maybe you'll land on something great.
Keep the prompt lean. Remove things that aren't pulling their weight. Make sure to read the transcripts, not just the final outputs — if it looks like the skill is making the model waste a bunch of time doing things that are unproductive, you can try getting rid of the parts of the skill that are making it do that and seeing what happens.
Explain the why. Try hard to explain the why behind everything you're asking the model to do. Today's LLMs are smart. They have good theory of mind and when given a good harness can go beyond rote instructions and really make things happen. Even if the feedback from the user is terse or frustrated, try to actually understand the task and why the user is writing what they wrote, and what they actually wrote, and then transmit this understanding into the instructions. If you find yourself writing ALWAYS or NEVER in all caps, or using super rigid structures, that's a yellow flag — if possible, reframe and explain the reasoning so that the model understands why the thing you're asking for is important. That's a more humane, powerful, and effective approach.
Look for repeated work across test cases. Read the transcripts from the test runs and notice if the subagents all independently wrote similar helper scripts or took the same multi-step approach to something. If all 3 test cases resulted in the subagent writing a create_docx.py or a build_chart.py, that's a strong signal the skill should bundle that script. Write it once, put it in scripts/, and tell the skill to use it. This saves every future invocation from reinventing the wheel.
This task is pretty important (we are trying to create billions a year in economic value here!) and your thinking time is not the blocker; take your time and really mull things over. I'd suggest writing a draft revision and then looking at it anew and making improvements. Really do your best to get into the head of the user and understand what they want and need.
After improving the skill:
iteration-<N+1>/ directory, including baseline runs. If you're creating a new skill, the baseline is always without_skill (no skill) — that stays the same across iterations. If you're improving an existing skill, use your judgment on what makes sense as the baseline: the original version the user came in with, or the previous iteration.--previous-workspace pointing at the previous iterationKeep going until:
For situations where you want a more rigorous comparison between two versions of a skill (e.g., the user asks "is the new version actually better?"), there's a blind comparison system. Read agents/comparator.md and agents/analyzer.md for the details. The basic idea is: give two outputs to an independent agent without telling it which is which, and let it judge quality. Then analyze why the winner won.
This is optional, requires subagents, and most users won't need it. The human review loop is usually sufficient.
The description field in SKILL.md frontmatter is the primary mechanism that determines whether the agent invokes a skill. After creating or improving a skill, offer to optimize the description for better triggering accuracy.
Create 20 eval queries — a mix of should-trigger and should-not-trigger. Save as JSON:
[
{ "query": "the user prompt", "should_trigger": true },
{ "query": "another prompt", "should_trigger": false }
]
The queries must be realistic and something an agent user would actually type. Not abstract requests, but requests that are concrete and specific and have a good amount of detail. For instance, file paths, personal context about the user's job or situation, column names and values, company names, URLs. A little bit of backstory. Some might be in lowercase or contain abbreviations or typos or casual speech. Use a mix of different lengths, and focus on edge cases rather than making them clear-cut (the user will get a chance to sign off on them).
Bad: "Format this data", "Extract text from PDF", "Create a chart"
Good: "ok so my boss just sent me this xlsx file (its in my downloads, called something like 'Q4 sales final FINAL v2.xlsx') and she wants me to add a column that shows the profit margin as a percentage. The revenue is in column C and costs are in column D i think"
For the should-trigger queries (8-10), think about coverage. You want different phrasings of the same intent — some formal, some casual. Include cases where the user doesn't explicitly name the skill or file type but clearly needs it. Throw in some uncommon use cases and cases where this skill competes with another but should win.
For the should-not-trigger queries (8-10), the most valuable ones are the near-misses — queries that share keywords or concepts with the skill but actually need something different. Think adjacent domains, ambiguous phrasing where a naive keyword match would trigger but shouldn't, and cases where the query touches on something the skill does but in a context where another tool is more appropriate.
The key thing to avoid: don't make should-not-trigger queries obviously irrelevant. "Write a fibonacci function" as a negative test for a PDF skill is too easy — it doesn't test anything. The negative cases should be genuinely tricky.
Present the eval set to the user for review using the HTML template:
assets/eval_review.html__EVAL_DATA_PLACEHOLDER__ → the JSON array of eval items (no quotes around it — it's a JS variable assignment)__SKILL_NAME_PLACEHOLDER__ → the skill's name__SKILL_DESCRIPTION_PLACEHOLDER__ → the skill's current description/tmp/eval_review_<skill-name>.html) and open it: open /tmp/eval_review_<skill-name>.html~/Downloads/eval_set.json — check the Downloads folder for the most recent version in case there are multiple (e.g., eval_set (1).json)This step matters — bad eval queries lead to bad descriptions.
Warn the user about cost before starting. This is the expensive part of the skill: every run of every query is a real nested claude -p session. The loop quotes its own budget in a preflight and waits for confirmation.
python -m scripts.run_loop \
--eval-set <path-to-trigger-eval.json> \
--skill-path <path-to-skill> \
--model <model-id-powering-this-session> \
--runs-per-query 20 --min-effect 0.10 \
--results-dir <workspace>/optimization \
--verbose
Use the model ID from your system prompt (the one powering the current session) so the triggering test matches what the user actually experiences.
Two descriptions are compared on their aggregate positive trigger rate. How large a difference that can resolve depends entirely on how many runs you buy:
| runs/query | observations (10 positives) | smallest detectable difference | sessions per arm |
|---|---|---|---|
| 3 | 30 | 0.253 | 30 |
| 10 | 100 | 0.139 | 100 |
| 20 (default) | 200 | 0.098 | 200 |
| 30 | 300 | 0.080 | 300 |
At 3 runs per query — the old default — two descriptions must differ by 25 percentage points before the difference is real. A run at that size once reported "16/20 vs 14/20", which looked like a 2-point win and was a true difference of 0.000. --min-effect is the smallest difference worth detecting; preflight aborts if the configuration cannot resolve it, and tells you what it would cost. --force overrides.
inconclusive is a normal outcome, not a failureEach iteration returns improved, inconclusive, or worse. Inconclusive means the data cannot tell the two apart — it is the honest answer, and for a description that is already good it is the most common one. Do not report it to the user as the tool being broken, and never adopt a candidate the loop called inconclusive: that is how run-to-run variance gets promoted into a shipped description. --patience (default 2) stops the loop after N consecutive inconclusive iterations.
The loop measures a candidate description by injecting it under a throwaway name. An installed copy of the same skill carries the shipped description, competes for the same call, and usually wins — so those runs measure nothing about the candidate.
This is handled automatically: probe runs pass --settings '{"enabledPlugins":{"<plugin>@<marketplace>":false}}', which hides the plugin from that invocation only and leaves the user's environment untouched. Preflight says when it is doing this. Two caveats worth stating to the user:
~/.claude/skills/<name>/ is not a plugin and cannot be hidden this way. Preflight warns; move it aside.Any run the installed copy still wins is counted as contaminated, excluded from the rates, and reported. A query whose runs were all contaminated reports pass: null / UNMEAS — unmeasured, which is not the same as failed.
To measure what a skill already ships with, against its real competitors, use live mode. It reports which skill won each query — what you need when several skills overlap:
python -m scripts.run_eval \
--eval-set <path-to-trigger-eval.json> \
--skill-path <path-to-skill> \
--mode live --cwd "$(mktemp -d)" \
--runs-per-query 10 --timeout 120 --verbose
Run from an empty --cwd: a directory full of source sends the nested session reading code instead of choosing a skill. Live mode cannot evaluate a candidate description — it answers with whatever is installed — so run_loop.py in live mode measures the baseline once and stops.
The markdown report at <results-dir>/report.md is rewritten after every iteration, so cat it to give the user progress. It carries a "fired instead" column: a positive scoring low because a competing skill won it is a boundary problem, and one scoring low because nothing fired is a coverage problem — they need opposite fixes.
If a run is aborted, sweep any nested sessions that outlived it — otherwise they keep running and keep billing:
python -m scripts.run_eval --cleanup [--dry-run]
Understanding the triggering mechanism helps design better eval queries. Skills appear in the agent's available skills list with their name + description, and the agent decides whether to consult a skill based on that description. The important thing to know is that the agent only consults skills for tasks it can't easily handle on its own — simple, one-step queries like "read this PDF" may not trigger a skill even if the description matches perfectly, because the agent can handle them directly with basic tools. Complex, multi-step, or specialized queries reliably trigger skills when the description matches.
This means your eval queries should be substantive enough that the agent would actually benefit from consulting a skill. Simple queries like "read file X" are poor test cases — they won't trigger skills regardless of description quality.
Take best_description from the JSON output and update the skill's SKILL.md frontmatter — but only if some iteration was actually improved. When every iteration came back inconclusive, best_description is the description you started with, and the correct report to the user is "no candidate beat the original at this sample size", not a claim of improvement.
Show before/after, the positive trigger rate with its confidence interval, and the detectable difference the run was sized for. A rate quoted without the interval invites the reader to treat noise as a result.
present_files tool is available)Check whether you have access to the present_files tool. If you don't, skip this step. If you do, package the skill and present the .skill file to the user:
python -m scripts.package_skill <path/to/skill-folder>
After packaging, direct the user to the resulting .skill file path so they can install it.
In environments without subagent support, the core workflow is the same (draft → test → review → improve → repeat), but because the agent cannot spawn background subagents, some mechanics change. Here's what to adapt:
Running test cases: No subagents means no parallel execution. For each test case, read the skill's SKILL.md, then follow its instructions to accomplish the test prompt yourself. Do them one at a time. This is less rigorous than independent subagents (you wrote the skill and you're also running it, so you have full context), but it's a useful sanity check — and the human review step compensates. Skip the baseline runs — just use the skill to complete the task as requested.
Reviewing results: If you can't open a browser (e.g., if the execution environment has no display, or you're on a remote server), skip the browser reviewer entirely. Instead, present results directly in the conversation. For each test case, show the prompt and the output. If the output is a file the user needs to see (like a .docx or .xlsx), save it to the filesystem and tell them where it is so they can download and inspect it. Ask for feedback inline: "How does this look? Anything you'd change?"
Benchmarking: Skip the quantitative benchmarking — it relies on baseline comparisons which aren't meaningful without subagents. Focus on qualitative feedback from the user.
The iteration loop: Same as before — improve the skill, rerun the test cases, ask for feedback — just without the browser reviewer in the middle. You can still organize results into iteration directories on the filesystem if you have one.
Description optimization: This section requires a CLI tool (specifically an agent CLI supporting custom prompts) which may only be available in fully-featured environments. Skip it if not supported.
Blind comparison: Requires subagents. Skip it.
Packaging: The packaging script works anywhere with Python and a filesystem. The agent can run it and the user can download the resulting .skill file.
If you're in a Collaborative Sandbox environment, the main things to know are:
--static <output_path> to write a standalone HTML file instead of starting a server. Then proffer a link that the user can click to open the HTML in their browser.generate_review.py (not writing your own boutique html code). Sorry in advance but I'm gonna go all caps here: GENERATE THE EVAL VIEWER BEFORE evaluating inputs yourself. You want to get them in front of the human ASAP!feedback.json as a file. You can then read it from there (you may have to request access first).package_skill.py just needs Python and a filesystem.run_loop.py / run_eval.py) should work just fine since it uses the agent CLI via subprocess, not a browser — it needs no API key and inherits whatever auth claude already has. Save it until you've fully finished making the skill and the user agrees it's in good shape, and get their explicit go-ahead on the session count preflight quotes: a default run is ~200 sessions per iteration.The agents/ directory contains instructions for specialized subagents. Read them when you need to spawn the relevant subagent.
agents/grader.md — How to evaluate assertions against outputsagents/comparator.md — How to do blind A/B comparison between two outputsagents/analyzer.md — How to analyze why one version beat anotherThe references/ directory has additional documentation:
references/schemas.md — JSON structures for evals.json, grading.json, etc.The scripts/ directory, for description optimization:
scripts/run_loop.py — the optimization loop: preflight, measure, decide, proposescripts/run_eval.py — one measurement pass; also --cleanup for orphaned sessionsscripts/stats.py — trigger rates, confidence intervals, detectable effect. Run it directly (python -m scripts.stats) for self-tests, or pass it stored result files to recompute verdicts without spending anythingscripts/propose.py — asks a model for a better description, via claude -pscripts/generate_report.py — renders a run as markdownscripts/improve_description.py — deprecated shim; use scripts/propose.pyRepeating one more time the core loop here for emphasis:
eval-viewer/generate_review.py to help the user review themPlease add steps to your TodoList, if you have such a thing, to make sure you don't forget. If you're in a Collaborative Sandbox, please specifically put "Create evals JSON and run eval-viewer/generate_review.py so human can review test cases" in your TodoList to make sure it happens.
Good luck!
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)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/propose.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/stats.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
17 skills in this plugin
/agent-eval-designDesign an evaluation strategy for a GCP AI agent before writing any eval code — choose metrics across outcome, trajectory, operational, and safety dimensions; pick scorer types (code-based rules, LLM-as-judge, human review); and plan a golden dataset with adversarial coverage. Use when the user asks how to evaluate an ADK, Vertex AI, Agent Engine, or Gemini Enterprise agent, what metrics to use, how to build a golden or test dataset for an agent, or wants an eval plan or eval strategy for an AI agent. Not for evaluating Claude Code skills (use skill-creator-enhanced), writing agent eval code (use agent-eval-implement), or executing agent evals (use agent-eval-run)./agent-eval-implementBuild the runnable eval assets for an AI agent on GCP — ADK evalset files, pytest eval wiring, Gen AI evaluation service code for trajectory and final-response metrics, custom LLM-as-judge rubrics and scorers, and ground-truth eval datasets in Cloud Storage or BigQuery. Use when the user wants to write, build, create, or add agent evals, an evalset or eval test file, a custom judge or scorer for agent output, or an eval/ground-truth dataset — for an ADK, Vertex AI, Agent Engine, Gemini Enterprise, LangGraph, or LangChain agent. Works from an eval plan produced by agent-eval-design, or standalone when the user names just one asset. Not for choosing which metrics to measure (use agent-eval-design), executing eval runs or CI/CD gating (use agent-eval-run), or creating Claude Code skills (use skill-creator-enhanced).Other plugins' skills for the same job
npx claudepluginhub mlarkin00/plugins --plugin active-skills