About Plugins
Auggie supports a plugin system that allows you to extend its functionality with custom commands, subagents, rules, hooks, skills, and MCP server integrations. Plugins are distributed through marketplaces - Git repositories that contain collections of plugins.Interactive Plugin Browser
The easiest way to manage plugins is through the interactive plugin browser in Auggie’s TUI (Terminal User Interface).Opening the Plugin Browser
In interactive mode, use the/plugins slash command to open the plugin browser:
Plugin Browser Features
The plugin browser provides two main tabs: Marketplaces Tab- View all installed plugin marketplaces
- Add new marketplaces from GitHub repositories
- Update marketplaces to get the latest plugins
- Remove marketplaces you no longer need
- Browse plugins within each marketplace
- View all currently enabled plugins
- See plugin details including commands, agents, rules, hooks, and MCP servers
CLI Commands
The .augment-plugin Folder
The.augment-plugin folder is the core configuration directory for Auggie plugins and marketplaces. This folder contains manifest files that define the plugin or marketplace metadata and structure.
.claude-plugin is also supported for backwards compatibility with Claude Code plugins. See the Compatibility with .claude-plugin section for more details.Marketplace Manifest (marketplace.json)
Themarketplace.json file defines your marketplace and lists all available plugins for discovery:
Plugin Components
Plugins can provide multiple types of components:Custom Commands
Slash commands are Markdown files in thecommands/ directory. The filename becomes the command name (e.g., hello.md creates /plugin-name:hello):
Subagents
Specialized agents in theagents/ directory that Auggie can invoke for specific tasks:
Rules
Guidelines in therules/ directory that instruct the agent on coding standards:
Hooks
Event handlers that respond to Auggie events. Configure inhooks/hooks.json:
MCP Servers
Model Context Protocol integrations defined in.mcp.json or within plugin.json:
Skills
Agent Skills in theskills/ directory that extend Auggie’s capabilities:
Compatibility with .claude-plugin
Auggie’s plugin system is designed to be backwards compatible with Claude Code’s.claude-plugin format. This means:
- Directory Recognition: Auggie recognizes both
.augment-pluginand.claude-plugindirectories - Manifest Format: The
plugin.jsonschema is compatible between both systems - Component Structure: Commands, agents, hooks, MCP servers, and skills use the same directory layout
- Easy Migration: Existing Claude Code plugins work with Auggie with minimal or no changes
Using Claude Code Plugins
If you have an existing Claude Code plugin with a.claude-plugin folder, Auggie can use it directly:
Creating Compatible Plugins
To create plugins that work with both Auggie and Claude Code:- Use
.augment-pluginas the primary configuration folder (Auggie will also check for.claude-plugin) - Follow the same manifest schema for
plugin.json - Use the same directory structure for commands, agents, hooks, etc.
Creating a Marketplace
A marketplace is a GitHub repository that hosts one or more plugins. Anyone can create and share their own marketplace.Marketplace Structure
Hosting a Marketplace on GitHub
To share your marketplace publicly, host it on GitHub:Step 1: Create the Repository
- Create a new public GitHub repository
- Add your marketplace structure with
.augment-plugin/marketplace.json - Add your plugins in the
plugins/directory
Step 2: Add Plugin Manifests
Each plugin needs its own.augment-plugin/plugin.json:
Step 3: Add a README
Create a README.md to help users discover and understand your plugins:Step 4: Publish and Share
- Push your code to GitHub
- Share the repository path with users
- Users can add your marketplace with:
Example: Complete Marketplace Repository
See justinxu421/auggie-plugin for a complete example marketplace with:- Multiple plugins demonstrating different capabilities
- Commands, hooks, agents, rules, and MCP server configurations
- Proper manifest files and documentation
Environment Variables
Plugins can use these environment variables in their configurations:| Variable | Description |
|---|---|
${AUGMENT_PLUGIN_ROOT} | Path to the plugin’s root directory |
${AUGGIE_PLUGIN_ROOT} | Alias for AUGMENT_PLUGIN_ROOT |
${CLAUDE_PLUGIN_ROOT} | Alias for AUGMENT_PLUGIN_ROOT (for Claude Code compatibility) |
${WORKSPACE_ROOT} | Path to the current workspace/project |
- MCP server configurations (
plugin.jsonand.mcp.json) - Hook commands (
hooks/hooks.json)
hooks/hooks.json:
Best Practices
For Plugin Authors
- Use semantic versioning for your plugin versions
- Add descriptive metadata in your manifest files
- Include a README with installation and usage instructions
- Test locally before publishing using
--plugin-dir:
For Marketplace Maintainers
- Organize plugins by category in your marketplace
- Use tags to help users discover plugins
- Keep the marketplace updated by pulling the latest changes
- Document each plugin with clear descriptions
See Also
- Custom Commands - Create reusable command templates
- Subagents - Create specialized agents
- Hooks - Automate actions with event hooks
- Integrations - Connect external tools and services
- Interactive Mode - Learn about Auggie’s TUI features