About Custom Commands
Custom commands are user-defined slash commands stored as.md files. They appear in the / autocomplete menu in chat, letting you quickly invoke frequent prompts, templates, or workflows without retyping them.
Custom commands are available in JetBrains 0.428.8+ as a Public Beta opt-in from the Settings page.
Creating a Command
1
Create the commands directory
2
Create a command file
Create
.augment/commands/review.md:3
Use the command
Type
/review in the chat input to invoke your command.Command File Format
Each command is a Markdown file (.md) with optional YAML frontmatter:
Frontmatter Fields
Template Substitution
Commands support template variables that are replaced when the command is invoked:Command Locations
Commands can be scoped per-user or per-project:Importing Commands
Augment also discovers commands from other tools for compatibility:
This lets you reuse existing command libraries without migration.
Namespacing
Organize commands in subdirectories. A file at.augment/commands/frontend/component.md creates the command /frontend:component.
CLI Usage
Custom commands are also available in the Auggie CLI:Best Practices
- Use clear names — choose descriptive kebab-case names like
deploy-stagingorsecurity-review - Add descriptions — include a
descriptionin frontmatter for better discoverability in the autocomplete menu - Use
$ARGUMENTS— make commands flexible by accepting dynamic input - Scope appropriately — use project commands for team workflows, user commands for personal shortcuts
- Organize with directories — group related commands using subdirectory namespacing
See Also
- Custom Commands in the CLI — full reference for CLI custom commands
- Custom Commands Examples — ready-to-use command templates