name: skill-trigger-test version: 1.1.1 description: Test whether your skills actually fire. Feed it synthetic user messages, it checks which skill SHOULD trigger vs which stays silent, and scores trigger accuracy per skill catches the silent-failure case the official eval tool misses. skillsYesNo: , , skillsreport
Trigger Test
Your skill looks perfect on paper. Then a user types the exact phrase and… nothing fires. Trigger Test catches that before your users do: it simulates realistic user messages, applies trigger analysis per skill, and scores hit / miss / false-alarm for each.
Onboarding (First Use)
When the user first triggers this skill and memory/skill_trigger_test_state.json doesn't exist, run a one-time setup:
-
Introduce capability (one sentence): "I can test whether your skills actually fire — feed simulated messages, verify the right ones trigger and the wrong ones stay silent."
-
Quick configuration:
-
Test message source(Default: Both)
- Auto-generated (derived from skill descriptions)
- User's real messages (paste actual messages)
- Both (auto first, then real; most comprehensive)
-
Report format(Default: Full table)
- Full table (hit/miss/false-alarm per item)
- Summary (numbers only + top 3 fixes)
-
Write initial state file
memory/skill_trigger_test_state.json(JSON format, withonboarded: trueand timestamp) -
Confirm completion: _"Setup done! Just use it from now on. Say 'reset settings' anytime to reconfigure."
Onboarding runs exactly once. Subsequent activations read the state file directly. When the user says "reset settings", delete the state file and re-run setup.
When to run
- After publishing or updating any skill (pre-flight check)
- When a skill "never seems to fire" or "fires at the wrong time"
- After installing new skills alongside existing ones (regression check)
- As a CI gate: run on save, fail on accuracy drop
How it works
Trigger Test does NOT call any model. It evaluates the same thing a host model reads when deciding to load a skill: the description in each SKILL.md frontmatter. For every test message, the agent runs a structured 4-question analysis per skill (see references/analysis-protocol.md):
- Intent match — does the message's core intent fall in this skill's claimed scenarios?
- Keyword evidence — which trigger phrases overlap?
- Competition — if another installed skill claims the same scenario, who wins?
- Verdict — TRIGGER / SILENT / CONTESTED (both claim it)
The protocol is deterministic in structure (same 4 questions every time) so results are reproducible across sessions.
Test suites
Two sources of test messages:
A. Generated suite (fast, zero setup) From each skill's own description, the agent derives:
- 3 positive messages a real user might type (should trigger)
- 3 negative messages from NEIGHBORING intents (should stay silent — the hard cases)
- 1 ambiguous message (expected CONTESTED if a competitor exists)
B. User's real messages (ground truth) The user pastes 5-10 messages they actually sent recently where they wished a skill had (or hadn't) fired. These carry the most signal — prioritize them.
Scoring
hit = should trigger & verdict TRIGGER
miss = should trigger & verdict SILENT ← the killer failure
false-alarm= should be silent & verdict TRIGGER ← the annoying failure
contested = two skills both claim, no winner declared
accuracy = hits / (hits + misses)
precision = hits / (hits + false-alarms)
Score each skill, then the whole installation. Full report template in references/report-template.md.
What to do with the report
- miss → the description's trigger phrases don't cover how users actually phrase it; add the missed phrasing (verbatim from the test message) to the description
- false-alarm → the description over-claims; narrow it with an explicit "Do NOT use for…" sentence
- contested → run Skill Health Scan's overlap check; define a boundary sentence per skill
- After any description edit, re-run the same suite — scores must not drop
Limits (honest)
- This evaluates trigger selection, not execution quality (a skill that fires correctly but runs badly needs a different test)
- Verdicts come from the agent's own reading of descriptions — same mechanism the host uses, which is the point: it surfaces what the host will actually see
- Small suites have noise; treat single misses as signals to investigate, not proof of failure
