Skip to content
AI Tool and Skill
How-to

How to test an AI skill: does it switch on at the right time?

A simple way to test any AI agent skill: prompts that should and should not trigger it, checks for its rules and output, and how to record the results.

By the AI Tool and Skill team · Updated

To test an AI skill, write a few requests that should switch it on, a few that should not, and a few that check its rules, then run each one in a new chat in your AI app and note what happened. Our free Skill Testing Lab writes a starter plan from any SKILL.md and keeps your results in your browser.

Three kinds of evidence

It helps to know what each check can and can’t tell you:

  • Static validation reads the file: is the name valid, does the description say when and when not, is anything hidden or dangerous? The Skill Checker does this against our ATAS-9 standard. It can’t tell you how the AI will behave.
  • A simulated hint guesses from shared words whether a request matches the description. It’s quick, but real apps decide with a language model, so it can be wrong.
  • A real run in your AI app is the only evidence of behaviour. Everything else is preparation for it.

Step 1: tests that should switch the skill on

Take the “Use when…” part of the description and write requests the way a real person would type them. If the description says “Use when someone asks for a client update or a weekly status email”, try:

  • “Write this week’s client update for Acme.”
  • “Can you draft my Friday status email?”

Pass: the app uses the skill. Many apps show which skill they loaded; if yours doesn’t, check that the answer follows the skill’s rules.

Step 2: tests that should leave it alone

Take the “Not for…” part and write look-alike requests. For the example above: “Write an update for my internal team” or “Make an invoice for Acme”. Pass: the AI answers normally without the skill.

If a skill switches on for these, its description is too broad. Add a clearer “Not for…” sentence, or use our Trigger Fix skill to rewrite it.

Step 3: an ambiguous request

Mix the two: “Write a client update, though it’s really for my team.” Pass: the AI asks what you mean, or explains which way it went. A skill that guesses silently here will guess wrong in real use too.

Step 4: rules, format and stopping

Pick the rules that matter most and check each in turn:

  • Rules: if the skill says “under 150 words”, count them.
  • Output format: if it promises a table or set headings, check they are there.
  • Stop and ask: set up the situation where it should pause, such as notes that mention a delay, and check that it asks you first.

Step 5: record and repeat

For each test, note the prompt, what you expected, the result (pass, fail or inconclusive) and the app and model you used. Results belong to one version of the skill: if you change a word in SKILL.md, test again. The Testing Lab shows a short version fingerprint for this reason, and lets you download your results as a file.

Use a new chat for every prompt, so earlier messages don’t affect the next result. If a test fails once, run it again before you change the skill: answers vary between runs.

When a test fails

  • Doesn’t switch on: add the words people actually type to the description.
  • Switches on too often: add or sharpen the “Not for…” sentence and remove greedy wording.
  • Ignores a rule: move it higher, make it specific (a number, a format), and add an example that shows it.
  • Never stops to ask: add a “Stop and ask” section that names the exact situations.

Then compare the new version with the old one in Skill Compare and run the tests again.

FAQ

How many test prompts do I need?

Five to ten is enough for most skills: two or three that should switch it on, two or three that should not, one ambiguous request, and a couple that check its rules and output.

Why did the same prompt give different results?

AI answers vary between runs, and earlier messages in a chat influence later ones. Use a new chat for every prompt, and repeat a failing test before you change the skill.

Can a checker tell me how my AI will behave?

No. Static checks read the file. Only running the prompts in your own AI app shows what it actually does, and results can differ between apps and models.

Skills mentioned in this guide

  • Habit to Skill

    Low observed risk

    Turns the instructions you keep repeating to your AI into your own reusable skill, through a short interview, a draft and three test runs. No coding needed.

    Claude Code, Claude app +5Original · ATAS 100

  • Skill X-Ray

    Low observed risk

    Reads every file of a skill before you install it and tells you in plain English what it will do, what it can touch, and whether to install it.

    Claude Code, Claude app +5Original · ATAS 100

  • Trigger Fix

    Low observed risk

    Fixes a skill that never switches on, or switches on at the wrong time, by rewriting its description and proving the fix with 12 test requests.

    Claude Code, Claude app +5Original · ATAS 100