diagnosing-commands
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Diagnosing Command Configuration
Goal: reduce any /command problem to a single concrete fix.
A person inspects commands from the / menu (the Commands group) in the input box; an agent inspects by reading the command files at the locations below.
Two points that are often misunderstood: nested command names join with a colon (
review/code.mdbecomes/review:code, not/review/code); and a command is a.mdfile whose file name is the command name.
1. Discovery order (earlier locations take precedence)
- Explicitly configured roots
- User
~/.zcode/commands - User
~/.agents/commands - Workspace
.zcode/commands(from the current directory up to the repository root; every level counts) - Workspace
.agents/commands - Enabled plugin command roots (lowest precedence)
Within a level, .zcode is scanned before .agents. Subdirectories are scanned recursively, and a nested path joins into the command name with a colon.