Claude Code — Commands
- File format
- Markdown
- Discovery path
-
.claude/commands - Global install path
-
~/.claude/commands - Syllago install method
- Symlink, Direct copy
- Symlink support
- Yes
- Native frontmatter fields
-
name,description,allowed-tools,context,agent,model,disable-model-invocation,user-invocable,argument-hint,effort
Features
How each feature converts to syllago's canonical format. See format conversion for what these statuses mean.
Other features
Behaviors, conventions, and capabilities that aren't tied to a single named field — things like path-based activation, discovery rules, and lifecycle behavior.
| Feature | Conversion | Summary |
|---|---|---|
argument_substitution | Translated Conversion type: Translated Actively mapped to the target provider’s equivalent field during conversion. Learn more → | $ARGUMENTS (all args), $ARGUMENTS[N] (Nth arg), $N (positional), ${CLAUDE_SESSION_ID} and other env vars; shared with skills argument substitution |
builtin_commands | Translated Conversion type: Translated Actively mapped to the target provider’s equivalent field during conversion. Learn more → | extensive set of built-in slash commands (/help, /clear, /compact, /config, /model, /mcp, /memory, /plan, etc.) plus bundled-skill commands (/batch, /debug, /loop); not user-modifiable |
| Command File Format (.md in .claude/commands/) | Translated Conversion type: Translated Actively mapped to the target provider’s equivalent field during conversion. Learn more → | Custom commands are .md files in .claude/commands/ (project) or ~/.claude/commands/ (user); filename becomes the slash command name. |
| Command Scopes (project, user) | Translated Conversion type: Translated Actively mapped to the target provider’s equivalent field during conversion. Learn more → | Custom commands live in .claude/commands/ (project) or ~/.claude/commands/ (user); skills take precedence on name collision; symlinks supported. |
| MCP Prompt Commands | Conversion type: No canonical equivalent — appended as prose in a conversion notes block so nothing is silently lost. Learn more → | MCP server prompts appear as /mcp__<servername>__<promptname> slash commands (names normalized; spaces become underscores). |
| Built-In Commands | Not portable Conversion type: Not portable Unique to this provider — can’t be carried across providers. Learn more → | Roughly 60 built-in CLI commands (/clear, /compact, /config, /mcp, /memory, /plan, /agents, /skills, etc.); availability varies by platform and plan. |
| Bundled Skill Commands | Not portable Conversion type: Not portable Unique to this provider — can’t be carried across providers. Learn more → | Some commands ship as bundled skills rather than CLI logic (/batch, /claude-api, /debug, /loop, /simplify); use the skill mechanism. |
Sources
| Source |
|---|
| https://code.claude.com/docs/en/commands.md |