Skip to content
Back to skills

Skill Creator

ASecurity

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, 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.

  • 25 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 29, 2026
ai-agentspythongobashawstestinggitperformancedocumentation

Works with

  • terminal
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add tinh2/skills-hub-registry --skill skill-creator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill Creator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Skill Creator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tinh2-skill-creator/badge)](https://www.skillsdirectory.com/skills/tinh2-skill-creator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: skill-creator
description: Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, 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.
version: "2.1.0"
category: meta
platforms:
  - CLAUDE_CODE
---

# Skill Creator

A skill for creating new skills and iteratively improving them.

At a high level, the process of creating a skill goes like this:

- Decide what you want the skill to do and roughly how it should do it
- Write a draft of the skill
- Create a few test prompts and run claude-with-access-to-the-skill on them
- Help the user evaluate the results both qualitatively and quantitatively
  - While the runs happen in the background, draft some quantitative evals if there aren't any (if there are some, you can either use as is or modify if you feel something needs to change about them). Then explain them to the user (or if they already existed, explain the ones that already exist)
  - Use the `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 metrics
- Rewrite the skill based on feedback from the user's evaluation of the results (and also if there are any glaring flaws that become apparent from the quantitative benchmarks)
- Repeat until you're satisfied
- Expand the test set and try again at larger scale

Your 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.

## Communicating with the user

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 Claude 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:

- "evaluation" and "benchmark" are borderline, but OK
- for "JSON" and "assertion" you want to see serious cues from the user that they know what those things are before using them without explaining them

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.

---

## Supporting files

This skill ships `references/`, `agents/`, `scripts/` and `eval-viewer/` next to this SKILL.md. Some installers copy only SKILL.md (the skills-hub platform stores only the `.md` files). If a file named below is missing, fetch it from the public registry before relying on it, for example:

```bash
BASE=https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/meta/skill-creator
mkdir -p references agents
for f in writing-guide running-evals improving description-optimization platform-notes schemas; do curl -fsSL "$BASE/references/$f.md" -o "references/$f.md"; done
for f in grader comparator analyzer; do curl -fsSL "$BASE/agents/$f.md" -o "agents/$f.md"; done
```

The Python scripts (`scripts/*.py`, `eval-viewer/generate_review.py`) and `eval-viewer/viewer.html` are needed for evals, benchmarking, the review viewer and description optimization; fetch them the same way from `$BASE/scripts/<name>` and `$BASE/eval-viewer/<name>` when you reach those steps.



## Creating a skill

### Capture Intent

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.

1. What should this skill enable Claude to do?
2. When should this skill trigger? (what user phrases/contexts)
3. What's the expected output format?
4. Should we set up test cases to verify the skill works? Skills with objectively verifiable outputs (file transforms, data extraction, code generation, fixed workflow steps) benefit from test cases. Skills with subjective outputs (writing style, art) often don't need them. Suggest the appropriate default based on the skill type, but let the user decide.

### Interview and Research

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.

### Write the SKILL.md

Based on the user interview, fill in these components:

- **name**: Skill identifier
- **description**: When to trigger, what it does. This is the primary triggering mechanism - include both what the skill does AND specific contexts for when to use it. All "when to use" info goes here, not in the body. Note: currently Claude has a tendency to "undertrigger" skills -- to not use them when they'd be useful. To combat this, please make the skill descriptions a little bit "pushy". So for instance, instead of "How to build a simple fast dashboard to display internal Anthropic data.", you might write "How to build a simple fast dashboard to display internal Anthropic data. Make sure to use this skill whenever the user mentions dashboards, data visualization, internal metrics, or wants to display any kind of company data, even if they don't explicitly ask for a 'dashboard.'"
- **compatibility**: Required tools, dependencies (optional, rarely needed)
- **the rest of the skill :)**

### Skill Writing Guide

Key points: a skill is `SKILL.md` (frontmatter + instructions) plus optional `scripts/`, `references/` and `assets/`. Use progressive disclosure: metadata always in context, SKILL.md body under ~500 lines, bulky detail in reference files with clear pointers on when to read them. No surprising or malicious behavior. Prefer imperative instructions, explain the why, and include examples and output templates.

**Read `references/writing-guide.md` before drafting or restructuring a SKILL.md.** It covers the anatomy, progressive disclosure and domain organization, the principle of lack of surprise, writing patterns (output formats, examples) and writing style.


### Test Cases

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.

```json
{
  "skill_name": "example-skill",
  "evals": [
    {
      "id": 1,
      "prompt": "User's task prompt",
      "expected_output": "Description of expected result",
      "files": []
    }
  ]
}
```

See `references/schemas.md` for the full schema (including the `assertions` field, which you'll add later).

## Running and evaluating test cases

This is one continuous sequence; don't stop partway through. Do NOT use `/skill-test` or any other testing skill. Results go in `<skill-name>-workspace/iteration-N/eval-M/`.

1. Spawn all runs (with-skill AND baseline) in the same turn.
2. While runs are in progress, draft assertions and explain them to the user.
3. As runs complete, capture timing data from each task notification immediately.
4. Grade (`agents/grader.md`), aggregate with `scripts.aggregate_benchmark`, do an analyst pass, then launch the viewer with `eval-viewer/generate_review.py` (use `--static` without a display). Generate the viewer BEFORE evaluating outputs yourself.
5. Read `feedback.json` and focus improvements on cases with specific complaints.

**Read `references/running-evals.md` before step 1 and follow it exactly**: it has the subagent prompts, directory layout, `eval_metadata.json` and `timing.json` formats, grading and benchmark commands, viewer flags and what the user sees.

## Improving the skill

Generalize from feedback instead of overfitting, keep the prompt lean, explain the why, and bundle scripts that every test run reinvented. Then rerun all test cases into `iteration-<N+1>/` with baselines, relaunch the viewer with `--previous-workspace`, and repeat until the user is happy, feedback is empty, or progress stalls.

**Read `references/improving.md` when revising a skill after feedback**, and for the optional blind A/B comparison (`agents/comparator.md`, `agents/analyzer.md`).

---

## Description Optimization

After creating or improving a skill, offer to optimize the frontmatter description for triggering accuracy: generate ~20 should/should-not-trigger eval queries, review them with the user in the HTML template, run `scripts.run_loop` in the background, then apply `best_description` and show before/after scores. Requires the `claude` CLI (`claude -p`).

**Read `references/description-optimization.md` before generating trigger queries**: it has the query-writing rules, the review template workflow, the loop command and how triggering works.

---

### Package and Present (only if `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:

```bash
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.

---

## Claude.ai and Cowork

Without subagents (Claude.ai), run test cases yourself one at a time, skip baselines, benchmarking, blind comparison and description optimization, and review results inline. In Cowork, subagents work but there is no display: use `--static` for the viewer and read the downloaded `feedback.json`. When updating an installed skill, keep its original name and copy it to a writable location first.

**Read `references/platform-notes.md` when running in Claude.ai or Cowork, or when updating an installed skill.**

---

## Reference files

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 outputs
- `agents/comparator.md` — How to do blind A/B comparison between two outputs
- `agents/analyzer.md` — How to analyze why one version beat another

The references/ directory has additional documentation:
- `references/schemas.md` — JSON structures for evals.json, grading.json, etc. Read when writing evals.json or reading grading/benchmark output.
- `references/writing-guide.md` — read before drafting or restructuring a SKILL.md
- `references/running-evals.md` — read before running test cases
- `references/improving.md` — read when revising after feedback, or for blind comparison
- `references/description-optimization.md` — read before optimizing a description
- `references/platform-notes.md` — read in Claude.ai or Cowork, or when updating an installed skill

---

Repeating one more time the core loop here for emphasis:

- Figure out what the skill is about
- Draft or edit the skill
- Run claude-with-access-to-the-skill on test prompts
- With the user, evaluate the outputs:
  - Create benchmark.json and run `eval-viewer/generate_review.py` to help the user review them
  - Run quantitative evals
- Repeat until you and the user are satisfied
- Package the final skill and return it to the user.

Please add steps to your TodoList, if you have such a thing, to make sure you don't forget. If you're in Cowork, 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!


============================================================
SELF-HEALING VALIDATION (max 2 iterations)
============================================================

After producing output, validate data quality and completeness:

1. Verify the analysis consumed sufficient data.
2. Verify all output sections have substantive content (not just headers).
3. Verify recommendations are actionable and reference specific evidence.

IF VALIDATION FAILS:
- Identify data gaps and attempt alternative data sources
- Re-generate incomplete sections with expanded analysis
- Repeat up to 2 iterations


============================================================
SELF-EVOLUTION TELEMETRY
============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:
- Look for the project path in `~/.claude/projects/`
- If found, append to `skill-telemetry.md` in that memory directory

Entry format:
```
### /skill-creator — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
```

Only log if the memory directory exists. Skip silently if not found.
Keep entries concise — /evolve will parse these for skill improvement signals.

Files in this skill

  • LICENSE.txt11.1 KB
  • SKILL.md33.9 KB
  • agents/analyzer.md10.1 KB
  • agents/comparator.md7.1 KB
  • agents/grader.md8.8 KB
  • assets/eval_review.html8.1 KB
  • eval-viewer/generate_review.py16 KB
  • eval-viewer/viewer.html45 KB
  • references/schemas.md11.8 KB
  • scripts/aggregate_benchmark.py14 KB
  • scripts/generate_report.py12.5 KB
  • scripts/improve_description.py10.9 KB
  • scripts/package_skill.py4.1 KB
  • scripts/quick_validate.py3.9 KB
  • scripts/run_eval.py11.2 KB
  • scripts/run_loop.py13.3 KB
  • scripts/utils.py1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.