Test a skill the way you would test a new hire's first week of work. Write a few real tasks with the answer your best person would give, run them without the skill for a baseline, then with it. Check that it triggers when it should, judge outputs side by side, and rerun the set after every change.
Key takeaways
- A skill is ready when it beats the baseline on real tasks, not when it reads well.
- According to Anthropic's guidance, evaluations should be built before writing extensive instructions, starting with three scenarios.
- Test triggering separately: the skill must fire on the right requests and stay quiet on the wrong ones.
- The person whose method the skill captures is the right judge of its output.
- Keep the test set with the skill, and rerun it whenever the skill, the model or the method changes.
How do you test an AI skill?
Start with a baseline. Run a handful of real tasks without the skill and note where the output falls short. Then write the skill to fix those gaps, run the same tasks with it, and compare. A skill that does not clearly beat the baseline is not ready, however polished its instructions look.
Anthropic's skill authoring guide calls this evaluation-driven development. Its steps are to identify gaps, create three scenarios that test them, measure performance without the skill, write minimal instructions, then iterate. The order matters, because it stops you documenting problems that never occur.
There is no built-in test runner to lean on. The same guide notes "there is not currently a built-in way to run these evaluations", so most teams keep a simple table of tasks and expected results. That is enough.
What should a skill test set contain?
A test set needs five to ten real tasks, each with its input, the expected behaviour and an example of good output. Include typical cases, a couple of awkward ones and at least one request the skill should refuse or hand back. Use work your team has actually done, not invented examples.
| Test type | Example for a proposal skill | What it checks |
|---|---|---|
| Typical | A standard proposal from a discovery call summary | The method is followed end to end |
| Awkward | Notes with a missing budget and two decision makers | It asks or flags, rather than guessing |
| Out of scope | A request to write a contract | It declines or hands over |
| Near miss | A request for a quote, not a proposal | A different skill should take it |
Write the expected behaviour as checkable statements, such as "uses only approved product claims" or "states the price only if the brief gives one". Vague goals like "sounds professional" cannot fail.
Keep the inputs safe to reuse. Strip customer names and personal details, or use a fictional company such as Halcyra, so the test set can be shared and rerun freely.
How do you check the skill triggers when it should?
Run requests that should load the skill and requests that should not, and record which happened. If it misses the right requests, sharpen the description with the words people actually use. If it fires on the wrong ones, narrow the description. Triggering failures are fixed in the description, not the instructions.
The description does more work than most people expect. Anthropic's guide says Claude uses it to choose the right skill "from potentially 100+ available Skills", so two vague descriptions will compete. Test near misses on purpose, especially when the library holds similar skills.
Check the file itself too. According to the Agent Skills specification, the skills-ref reference library validates that a skill's frontmatter is valid and follows the naming conventions. A malformed file may never load at all, which looks exactly like a triggering failure.
How do you judge whether the output is good enough?
Put the skill's output next to the real thing and have the person whose method it captures judge it, ideally without knowing which is which. Score each against the expected behaviours. The question is simple: would they send this with light edits? If the answer is no, the skill needs work.
Judging by feel is unreliable. According to METR's 2025 randomised trial, experienced developers believed AI had made them 20% faster when it had made them 19% slower. A side-by-side score catches what an impression misses.
Record why each output failed, not just that it did. A missed step points at the instructions. A wrong fact points at the knowledge the skill reads, which may need fixing at its source rather than in the skill. The guide to writing a Claude skill covers how to tighten instructions.
Which models and tools should you test on?
Test on every model and tool your team will actually use. A skill that works with the most capable model may need more detail for a faster one. If the same skill will run in Claude and in another assistant that supports the open standard, run the test set in each, because support and behaviour differ.
Anthropic's guide is explicit: "Test your Skill with all the models you plan to use it with." It suggests checking whether a fast model gets enough guidance and whether a powerful one is being over-explained to.
Also test where the skill runs. A skill that calls a script needs that script's dependencies available, and the environments differ between the Claude apps, Claude Code and the API. Run at least one full task in each place it will live.
When is a skill ready for the team, and when do you retest?
A skill is ready when it passes the test set, beats the baseline, and its owner signs off. Release it to two or three people first and collect their failures for a week. Rerun the full set whenever the skill is edited, the model changes, or the underlying method or facts change.
Treat the test set as part of the skill. Store it beside the skill file, add every real failure the pilot finds as a new case, and keep it rerunnable by anyone. Over time it becomes the record of everything the skill has learned to handle.
A retest after every edit catches regressions, where fixing one case quietly breaks another. The guide to running a skill library covers versions, owners and retirement.
Skein builds skills as agents that run a client's own method, tested against real work before a team relies on them, with a person approving anything that leaves the business; the agents page shows the kinds of work they do. That suits a team turning several methods into skills. A single user testing one personal skill can simply compare a few outputs by hand.
Frequently asked questions
How many test cases does a skill need?
Start with three to five real tasks covering a typical case, an awkward case and a request the skill should not handle. Grow the set to around ten as the pilot finds failures. Every real mistake a user reports becomes a new case, so the set records what the skill must handle.
Who should test a new skill?
The person whose method the skill captures should judge its output, because they know what good looks like. A second person should run the trigger tests and the near misses. Then two or three real users should pilot it for a week before the whole team relies on it.
How do I know if a skill is better than no skill?
Run the same tasks without the skill first and record the results as a baseline. Then run them with the skill and score both against the same expected behaviours, ideally blind. If the skill does not clearly beat the baseline, it is adding instructions without adding value.
Why does my skill not trigger?
Usually the description does not match how people phrase their requests. Rewrite it to say what the skill does and when to use it, in your team's own words. Also check the file is valid, since a broken name or frontmatter can stop it loading entirely, which looks like a triggering failure.
When should a skill be retested?
Retest whenever the skill is edited, the model it runs on changes, or the method or facts it relies on change. Rerun the full test set each time, not just the case you fixed, because a fix in one place can quietly break behaviour somewhere else in the skill.
Related reading
- Anthropic. "Skill authoring best practices." Claude Developer Platform documentation, accessed 30 October 2026. https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices
- Agent Skills. "Specification." agentskills.io, accessed 30 October 2026. https://agentskills.io/specification
- METR. "Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity." METR, 10 July 2025. https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/