
π‘ What Exactly Are Auggie CLI Custom Slash Commands?
Think of custom slash commands as reusable, programmable prompts stored as simple Markdown files.
They let you automate repetitive dev tasks β from reviewing pull requests to deploying to staging and even scafolding new projects β all with one simple command like:
/setup-goYou can make them global (for personal productivity) or workspace-specific (for team collaboration), meaning your entire dev workflow is just a few keystrokes away.
Follow these steps to setup your first custom slash command.
π§© Step 1: Understanding the Syntax
Custom commands follow a simple structure:
/command-name [arguments]Command name = your Markdown file nameArguments = optional inputs for flexibility
Example:

ποΈ Step 2: Where to Store Your Commands
Where you save them determines who can use them:
Location | Scope | Example |
|---|---|---|
| Global (User) |
|
| Project (Team) |
|
| Claude-Compatible |
|
π‘ Migrating from Claude? Auggie detects and supports your old command structure automatically.
π οΈ Step 3: Create Your First Command
Global Command Example:
mkdir -p ~/.augment/commands
echo "Review this code for security vulnerabilities:" > ~/.augment/commands/security-review.md
Workspace Command Example:
mkdir -p .augment/commands
echo "Analyze this code for performance issues:" > .augment/commands/optimize.md
Boom. Youβve just automated your first task.
π Step 4: Add Arguments for Flexibility
Make commands dynamic by accepting parameters.
Command definition:
echo 'Fix issue following our coding standards' > .augment/commands/fix-issue.md
Usage:
/fix-issue 123
The argument 123 can represent an issue ID or PR number β Auggie handles it intelligently.
π§Ύ Step 5: Enhance Commands with Frontmatter
Add metadata for better organization and discovery:
---
description: Initialize a new Go project with minimal scaffolding
argument-hint: [project-name]
model: claude-haiku-4-5
---
# Set up a minimal Go project structureFrontmatter helps others understand (and reuse) your commands instantly.
π» Step 6: Run Commands from the Terminal
Execute or explore your commands directly from the CLI:
auggie command list
Get quick command summaries, argument hints, and usage details in seconds.
π§ Step 7: Organize with Namespaces
Group related commands with folders and namespaces.
Example:
./.augment/commands/frontend/component.md
Now you can call it with:
/frontend:component
A tidy workspace = a happier team.
π§ Pro Tips for Power Users
β
Use kebab-case: deploy-staging, run-tests
β
Keep names short but descriptive
β
Prefix by function: deploy-, review-, test-
β
Use subdirectories to organize commands logically
β
Document your commands with frontmatter for clarity
π Take It Further
Explore even more ready-made command templates and automation examples in the official docs: Custom Commands Examples
Minimize AI coding model hallucinations and keep focused context throughout your projects with my custom π AI Coding Agent Framework rules.
Start building your Auggie CLI automations today β and turn your terminal into a productivity engine.



