CLI flags
Input
Custom Commands
Custom commands are reusable instructions stored as markdown files. They can be placed in:
~/.augment/commands/<name>.md- Global commands (user-wide)./.augment/commands/<name>.md- Project commands (workspace-specific)~/.claude/commands/<name>.md- Claude Code user commands./.claude/commands/<name>.md- Claude Code workspace commands
Sessions
Configuration
Skills are loaded automatically from
.augment/skills/ and .claude/skills/ directories in both your workspace and home directory. See Skills for more information.Rules
Inspect the rules and guidelines that Auggie detects in your workspace.Models
List out available models and their short names to be passed into the--model flag
Tools
Manage which tools are available to the agent. You can temporarily disable tools for a session or persistently manage them via settings.
Examples:
Command-line
--remove-tool flags take precedence over settings. For fine-grained control over tool behavior (allow, deny, ask-user), see Permissions.Plugins and Marketplaces
Plugin commands are available when the plugin marketplace feature is enabled for your account.
MCP and integrations
You can define MCP servers persistently in the settings files:
~/.augment/settings.json. Any --mcp-config flags are applied last and override settings.MCP Server Mode
Run Auggie as an MCP server to expose the codebase-retrieval tool to external AI tools like Claude Code, Cursor, and others.Automatic Workspace Discovery
The--mcp-auto-workspace flag enables dynamic workspace discovery in MCP mode. When enabled:
- The
codebase-retrievaltool accepts adirectory_pathparameter to specify which workspace to search - Workspaces are indexed on-demand when first accessed
- Multiple workspaces can be searched within a single MCP server session
--mcp-auto-workspace with -w to pre-index a primary workspace at startup while still allowing dynamic discovery of additional workspaces. This is useful for large workspaces that take time to index, or to reduce latency on the first query to your main project.
Examples:
When using
--mcp-auto-workspace, the first query to a new workspace may take longer as the workspace is indexed. Subsequent queries to the same workspace will be fast.Authentication
Diagnostics
Flags for troubleshooting and capturing logs. These are not shown inauggie --help but are stable and can be used in scripts.
Additional commands
Environment Variables
Shell Environment
When Auggie executes shell commands using thelaunch-process tool, it sets the following environment variable:
Example usage in a script:
See Also
- Custom Rules and Guidelines - Configure custom rules for project-specific guidance
- Skills - Extend capabilities with specialized domain knowledge
- Custom Commands - Create reusable command templates
- Plugins and Marketplaces - Manage and install plugins to extend Auggie
- Permissions - Configure tool permissions and security
- Integrations - Connect external tools and services