Activation checks for skill descriptions
Last updated 20 November 2026
An agent decides whether to load a skill by reading its description. A skill whose description is vague is not loaded when it should be, and one that claims too much is loaded for requests it cannot serve. Spellwarden checks descriptions in two ways: a description lint in the open-source scanner, made without a model and free, and a hosted activation test that asks an AI model which skill it would load for a set of requests.
Both are informational. Neither changes a finding, a score, the Curated badge, quarantine or the scanner's exit code.
Plans: Team and Enterprise
The description lint
Since 1.17.0 every repository scan checks the description of each skill it finds, with four checks:
| Check | Notes a description that |
|---|---|
SW-LINT-001 | is missing, shorter than 40 characters or longer than 1,024 (agents read at most 1,024) |
SW-LINT-002 | has no use-when clause: none of "use when", "use this when", "when the user" or "triggers on", in any case |
SW-LINT-003 | names no trigger phrase: no quoted phrase (in straight or curly quotes or backticks) and no list of requests ("such as", "for example", "e.g.", "like", "including" or a colon, then two or more items split by a comma, the first of at most 120 characters) |
SW-LINT-004 | overlaps the description of another skill of the same scan: the Jaccard similarity of their word sets is 0.6 or more, after case folding and without common words such as "the", "use" and "when"; the note is on both skills, each naming the other |
A missing or blank description gets SW-LINT-001 alone. The notes are not findings and not rules: they are not baselined, never change the exit code, a rule count or what --fail-on decides, and the scanner's rule count stays as it was. A message never quotes the description.
The JSON report's lint lists every skill of the scan in path order, with its notes and the count left out; the text and Markdown reports show a Description lint block, and SARIF lists each note as a result of level note with properties.description_lint: true. Each report lists at most 20 notes a skill, and only overlap notes are ever left out. The GitLab Code Quality report, the CycloneDX document and the upload of connected mode carry none of them, and spellwarden scan --user does not lint.
Since 1.19.0 the lint leaves out a skill whose front matter, in its SKILL.md or in a Markdown file of its commands/ or agents/ folder, is past one of the scanner's front-matter limits: the scanner does not read that front matter, the skill is not judged, and the scan is incomplete.
Write a description agents can use
- Say what the skill does and when to use it, in 40 to 1,024 characters. Agents read no further than 1,024.
- Add a use-when clause that names the situation: "Use when the user asks to rotate a database password."
- Name the requests that should load it, quoted or as a list: "such as rotating a password, revoking a key, or listing expired keys".
- When two of your skills overlap, say what sets each apart, or merge them: an agent that cannot tell them apart may load the wrong one.
---
name: rotate-db-credentials
description: Rotates the credentials of a PostgreSQL database and updates the secret store. Use when the user asks to rotate, reset or revoke a database password or key, such as "rotate the prod DB password" or "revoke the reporting user's key".
---Description checks on the skill page
In Spellwarden, a skill's page lists the lint's notes for that skill under Description checks, as information. They change no score, finding count, quarantine or result of the CI registry check. The hosted scan judges one skill at a time, so the overlap check says: Not checked here: run the scanner on the repository to compare its skills.
The activation test
Test activation, on a skill's page, measures how often a model would load the skill for the requests it should serve, and how often for near misses it should not. The dialog says: Spellwarden asks a model which skill it would load for 20 requests, with this skill among 12 others.
- From the description, a model writes 10 requests a user might make that should load the skill and 10 near misses on nearby topics that should not, each at most 500 characters. They are written once per description and kept 400 days after their last use, so a second test of the same description reuses them.
- Each of the 20 requests is then shown to the model with a list of 13 skills: the tested skill and 12 fixed public skills from the Spellwarden catalog, by name and description. The order of the list is fixed for each request, so two tests show every request the same list.
- The model answers with the name of the one skill it would load, or none, in at most 256 tokens. An answer that is not one of those names is asked once more, and then the trial has no valid answer.
The skill must be scanned, not quarantined, and hold a description of at most 1,024 characters. A longer description is not tested, and nothing is sent, held or charged. The test is refused with one of these sentences:
- The description is 1,412 characters. Agents read at most 1,024. Shorten it, then test activation.
- This skill has no description to test. Add one to its SKILL.md, then scan it.
- This skill must be scanned, not quarantined, before an activation test.
- An instruction file is not a skill, so its activation is not tested.
Precision and recall
- A hit is a request that should load the skill and picked it. A false alarm is a near miss that picked it.
- Precision is hits divided by hits plus false alarms: of the times the model picked the skill, how often it was right. When nothing picked the skill, precision is Not defined.
- Recall is hits divided by 10: of the requests the skill should serve, how many it would get.
- A test with more than two trials without a valid answer is invalid and shows no figures.
The skill page shows the figures under Activation, with the model, the date and the line: Designed so that two tests of the same description agree within 0.10 on recall. This is not measured yet. Precision can move more when few requests picked the skill. The target applies to two tests of the same description and model on the same stored requests; a test after the description changed writes new requests and starts new figures. Under the figures the page says: Informational: does not change the score or block anything.
Who can run it, and what it costs
The activation test needs a paid Team or Enterprise plan; during the 14-day trial an organisation can start none. Owners, managers and members can start one; viewers cannot. Each test is a paid job, paid through your organisation's AI gateway or with credits, and the dialog says before it starts how it is paid and, with credits, the most it can cost. No call falls back to another model, so the figures name the model that answered.
An organisation can run 50 activation tests a UTC month and two at once. Past either cap the test does not start: Your organisation has used its 50 activation tests for this month. or Two activation tests of this organisation are still running. Start another when one has finished.
Activation in the catalog
When a skill of the public catalog has an activation test, its catalog entry shows the precision, the recall, the model and the date, with the label: Informational: does not change the catalog's checks. The figures sit apart from the catalog's checks and never change an entry's result or badge.
What is sent, and what is kept
The description is your organisation's content, and it is treated as data. It is masked, then placed only in the user message, inside a block marked with a random boundary, under Spellwarden's fixed instructions; no function is offered to the model, and every answer must be a single name from the list. A description that tells the model to ignore the list can change only its own figures.
The requests and the descriptions go to your organisation's AI gateway, or, with credits, to AI models on Amazon Bedrock in the EU. Spellwarden keeps the figures with the skill and the generated requests for 400 days after their last use; the privacy policy is the binding text. The description lint sends nothing anywhere.