CTX-05 Skill name mismatch
alert 0 hits here sandbox-verified
① What it stops
SKILL.md frontmatter name field does not match parent directory name
Rename the directory or fix the frontmatter; mismatches hide a skill's real identity.
② Criteria
| Item | Value |
|---|---|
| Severity | warning |
| Category | metadata |
| Gate | Gate 3 metadata consistency |
| Criterion type | metadata_check |
| Applies to | Read |
This rule does not use regex pattern matching.
Generated directly from rules/default.json — never hand-written or paraphrased.
③ Real hits
Triggered in a disposable sandbox project using the real hooks/pre_tool_use.py — the same method as challenge/generate_challenge.py. All 24 rules verified this way (24/24).
④ False positives & exemptions
Built-in exclude patterns are listed under ②. Four exemption mechanisms exist globally (declared workspace roots, policy path whitelist, path-suspect alert-only, exclude patterns); counts on this machine are published on the Chinese page and in Limits.
⑤ Boundaries
| Boundary | |
|---|---|
| Criterion type | metadata_check |
| Applies to | - |
| Platform | all platforms |
| Case sensitivity | Measured: insensitive (RM -RF is blocked like rm -rf) |
| Path normalisation | Measured: effective (./sub/../.env is blocked) |
| Scripts not parsed | An absolute path outside the project mentioned in a Bash command is alerted, not blocked — scripts are not parsed (THREAT_MODEL Non-goals) |
| Failure posture | fail-open; best-effort, not a hard security boundary |
⑥ Reproduce
Cite this page
Antinel AgentState. CTX-05 Skill name mismatch — rule detail. https://antinel.com/en/agentstate/rules/CTX-05/ (accessed YYYY-MM-DD)
Antinel. (2026). CTX-05 Skill name mismatch — rule detail. AgentState. https://antinel.com/en/agentstate/rules/CTX-05/
BibTeX
@misc{antinel_en_agentstate_rules_CTX_05,
title = {CTX-05 Skill name mismatch — rule detail},
author = {{Antinel}},
year = {2026},
url = {https://antinel.com/en/agentstate/rules/CTX-05/},
note = {claim tier: measured}
}
Claim tier: measured 采集时刻:2026-09-23T22:41:18+08:00