Skill Trigger Lab — Testing skill for Claude Code
Lint, score and live-test whether an agent SKILL.md actually gets triggered.
How to install Skill Trigger Lab
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open wutianxiang88-hash/skill-trigger-lab and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Skill Trigger Lab does
Lint, score and live-test whether an agent SKILL.md actually gets triggered. Deterministic offline frontmatter lint (the unquoted-colon silent-truncation trap, name/dir mismatch, missing Use-when scenarios) + trigger-collision check + seed eval plans + bring-your-own-runner accuracy. No model, no API key, CI-friendly.
Alternatives in Testing
- Loki Spec Status — Check whether the spec has drifted from its lock using Loki's living-spec drift detection, and summarize the r 1.1k ★
- Superpowers Evals — Behavioral eval lab (Quorum) for the superpowers project that drives real coding-agent CLIs (Claude, Codex, Ge 107 ★
- Skill Trigger Test — PHẢI dùng khi: vừa tạo agent/skill mới, vừa sửa description frontmatter, nghi ngờ routing conflict giữa 2 agen 90 ★
README
skill-trigger-lab
**Lint, score and live-test whether an agent `SKILL.md` actually gets triggered.**
Every skill author hits the same wall: the skill installs fine, but the agent never loads it — or loads it on the wrong prompt. The official [anthropics/skills eval harness hit a 0% trigger rate](https://github.com/anthropics/skills/issues/556), and [claude-code #9716](https://github.com/anthropics/claude-code/issues/9716) is one long thread of "my skill won't activate". Most causes are deterministic and visible in the frontmatter *before* you ever call a model. This tool finds them offline, in milliseconds, with no API key — then, if you want, measures the real thing against your host.
$ pip install skill-trigger-lab # or: uv tool run / npx-style one-off, see below
$ skill-trigger-lab lint my-skill/SKILL.md
## Routability score: 43 / 100 (grade D)
| sev | rule | field | problem |
|---|---|---|---|
| ✗ blocker | `colon-unquoted` | description | unquoted ': ' silently truncates the YAML value — the #1 documented cause of 0% triggers |
| ✗ high | `name-dir-mismatch` | name | name != directory; hosts register the directory and explicit invocation breaks |
| ! medium | `no-trigger-scenario` | description | says what the skill IS, never WHEN to use it |
What it does
| Command | Job | Deterministic? |
|---|---|---|
lint |
14 frontmatter rules: fence position, BOM, unquoted ": " truncation, name/dir mismatch, length caps, missing "Use when" scenario, unknown keys, empty body |
✅ no model, no network |
collision |
overlap score against every installed SKILL.md in a directory — shows which sibling skill steals your traffic and the shared tokens |
✅ |
gen |
seed eval plan: should-trigger / should-not-trigger probe queries derived from the description | ✅ |
score |
one 0–100 routability grade (explicitly a heuristic on description quality, not a live routing measurement) | ✅ |
run |
live trigger accuracy: pipes each quer |
Related Skills
Dokimi
Dokimi (Greek δοκιμή, "test, proof") measures whether a skill, MCP doc source, agent profile or repository gui
Exec Summary Sharpener
Simulates how executives will actually read a document, identifies the 5 weakest points, and provides specific
Claude Interaction Tests
Test whether your CLAUDE.md actually works. A Claude Code skill that restructures agent-facing docs (CLAUDE.md
Agent Docs Spec
A specification for making documentation sites accessible to AI coding agents: discovery, truncation limits, c
Parallel Fix
Use when facing 3+ independent test failures or broken subsystems with different root causes. Dispatches one a
Incrementality Testing
Agent Skill for causal measurement in marketing: sample ratio mismatch, an always-valid sequential test that s
Related Agents
Talk Builder
Use to turn an accepted paper into a conference talk: a deck on the lab gabarit with timed speaker notes, in P
Oneshot Scorer
Silent coach that scores requirements quality in real time during discuss. Returns a compact JSON object with
Bizreq Analyst
Business-requirements agent — authors business-rules.md (a BR-NN decision table) and golden-scenarios.md (SCEN