Documentation Index
Fetch the complete documentation index at: https://docs.augmentcode.com/llms.txt
Use this file to discover all available pages before exploring further.
About Custom Commands
Custom commands are user-defined slash commands stored as.md files that appear in the / autocomplete menu in chat. They let you create reusable prompts for common workflows — code reviews, deployment checklists, bug fix templates, and more.
Custom Commands are available as a Public Beta opt-in from the Settings page in VSCode 0.789.0+. They are also being rolled out server-side for Community (Vanguard) tier users.
Creating a Command
Create a markdown file in one of the supported command directories:Command Locations
Commands are discovered from multiple locations in order of precedence:| Location | Scope | Description |
|---|---|---|
~/.augment/commands/ | User | Available across all workspaces (highest precedence) |
.augment/commands/ | Workspace | Project-specific, can be version controlled |
.claude/commands/ | Workspace | Compatible with Claude Code |
~/.claude/commands/ | User | Compatible with Claude Code |
.cursor/commands/ | Workspace | Compatible with Cursor |
Using Commands
Type/ in the chat input to open the autocomplete menu, then select or search for your command. You can also type the command name directly:
Frontmatter
Command files support optional YAML frontmatter for metadata:| Field | Description | Default |
|---|---|---|
description | Brief description shown in the autocomplete menu | First line of the prompt |
argument-hint | Expected arguments format displayed after the command name | None |
model | Model to use for this command (overrides default) | Default model |
.augment/commands/deploy-staging.md:
Template Substitution
Commands support template variables for dynamic content:| Pattern | Description |
|---|---|
$ARGUMENTS | Replaced with any arguments passed after the command name |
{placeholder} | Prompts the user for a value |
{{placeholder}} | Alternative syntax for user prompts |
$ARGUMENTS:
Namespacing
Organize commands in subdirectories using thenamespace:command syntax:
Best Practices
- Use kebab-case naming — e.g.,
deploy-staging.md,run-tests.md - Include clear descriptions in frontmatter for better discoverability
- Use workspace commands for team-shared workflows
- Use user commands for personal preferences across projects
- Organize with subdirectories for related command groups
- Break complex workflows into numbered steps
See Also
- Custom Commands in Auggie CLI — Using commands with the CLI
- Custom Commands Examples — Ready-to-use command templates
- Skills — Extend the agent with domain knowledge