diagnosing-skills
Installation
SKILL.md
Diagnosing Skill Configuration
Goal: reduce any skill problem to a single concrete fix. A skill "loading successfully" and a skill "triggering" are two different things — distinguish them first.
A person inspects skills in Settings → Skills and the / menu (the Skills group); an agent inspects by reading the skill files at the locations below.
1. Discovery order (earlier locations take precedence)
- Explicitly configured roots
- User
~/.zcode/skills - User
~/.agents/skills - Workspace
.zcode/skills(from the current directory up to the repository root; every level counts, and a deeper location wins) - Workspace
.agents/skills - Enabled plugin roots (lowest precedence)
Within a level, .zcode is scanned before .agents. A skill's identity is its file path, so same-named skills at different paths are all discovered, but only the first in discovery order is loaded — higher-precedence copies shadow the rest. Directories beginning with . (except .system) and node_modules are skipped.