Advanced installation methods, configuration options, and workflows for MAG Claude Plugins.
- Global Plugin Installation
- Local Development
- Project-Specific Marketplace
- Version Management
- Plugin Updates
- Custom Configuration
Global installation makes plugins available in all projects without per-project configuration.
β Use global installation when:
- Individual developer working alone
- Testing a plugin before adding to team projects
- Personal projects without team coordination
- Quick experimentation
β Avoid global installation for:
- Team projects (causes environment drift)
- Production projects (not tracked in version control)
- Projects requiring specific plugin versions
# Step 1: Add marketplace globally (one-time)
/plugin marketplace add MadAppGang/claude-code
# Step 2: Install plugin globally
/plugin install frontend@mag-claude-plugins
# Step 3: Verify installation
/plugin listAdvantages:
- β Available in all projects immediately
- β No per-project configuration needed
- β Quick to test and experiment
Disadvantages:
- β Not tracked in version control
- β Team members must install manually
- β Can cause environment drift across team
- β Harder to manage plugin versions
- β No project-specific plugin selection
# Uninstall a plugin
/plugin uninstall frontend@mag-claude-plugins
# Verify removal
/plugin listTest plugins from your local filesystem without publishing to a marketplace.
- π§ Developing new plugins
- π Debugging plugin issues
- π§ͺ Testing plugin changes before committing
- π¦ Contributing to existing plugins
Point to your local clone of the repository:
/plugin marketplace add /Users/you/path/to/claude-code/plugin install frontend@mag-claude-pluginsEdit agents, commands, skills, or configurations in your local directory.
/plugin reload frontend@mag-claude-pluginsNote: Some changes may require a full Claude Code restart.
# 1. Clone repository
git clone https://github.com/MadAppGang/claude-code.git
cd claude-code
# 2. Create feature branch
git checkout -b feature/my-new-agent
# 3. Make changes
# Edit plugins/frontend/agents/my-new-agent.md
# 4. Add to plugin.json
# Update plugins/frontend/plugin.json
# 5. Test locally
/plugin marketplace add /path/to/claude-code
/plugin install frontend@mag-claude-plugins
# 6. Verify changes work
# Test your new agent
# 7. Reload after changes
/plugin reload frontend@mag-claude-plugins
# 8. Commit and push
git add .
git commit -m "Add my-new-agent"
git push origin feature/my-new-agentPlugin not loading:
# Check marketplace is added
/plugin marketplace list
# Reinstall plugin
/plugin remove frontend@mag-claude-plugins
/plugin install frontend@mag-claude-plugins
# Verify plugin files exist
ls -la /path/to/claude-code/plugins/frontendChanges not appearing:
# Reload plugin
/plugin reload frontend@mag-claude-plugins
# Or restart Claude Code completelyAgent/Command not found:
# Verify in plugin.json
cat /path/to/claude-code/plugins/frontend/plugin.json
# Check file exists
cat /path/to/claude-code/plugins/frontend/agents/your-agent.mdInclude marketplace configuration directly in project settings instead of adding it globally.
- π Projects with restricted marketplace access
- π’ Enterprise environments with custom marketplaces
- π― Projects requiring specific marketplace versions
Add marketplace to .claude/settings.json:
{
"extraKnownMarketplaces": {
"mag-claude-plugins": {
"source": {
"source": "github",
"repo": "MadAppGang/claude-code"
}
}
},
"enabledPlugins": {
"frontend@mag-claude-plugins": true,
"code-analysis@mag-claude-plugins": true
}
}Important: This approach requires each developer to trust the project folder.
Why this is not recommended:
- β Requires manual trust action per developer
- β More complex than global marketplace approach
- β Can cause confusion for team members
- β Trust dialogs can be overlooked
Recommended approach instead:
- β Add marketplace globally (one-time per developer)
- β Enable plugins in project settings
- β Simpler, clearer, fewer steps
Control plugin versions in marketplace.json:
{
"plugins": [
{
"name": "frontend",
"version": "2.3.0",
"source": "./plugins/frontend"
}
]
}# Install latest version
/plugin install frontend@mag-claude-plugins
# Install specific version
/plugin install frontend@mag-claude-plugins@2.2.0
# Verify installed version
/plugin listIn project settings:
Currently, Claude Code enables the latest available version from the marketplace. Version pinning in project settings is not yet supported.
Workaround:
- Pin versions in
marketplace.json - Teams pull the same marketplace version from git
# List installed plugins with versions
/plugin list
# Check marketplace version
cat .claude-plugin/marketplace.json | grep version# Update marketplace metadata
/plugin marketplace update mag-claude-plugins
# Reinstall plugin to get latest version
/plugin remove frontend@mag-claude-plugins
/plugin install frontend@mag-claude-pluginsGet the latest marketplace metadata:
/plugin marketplace update mag-claude-pluginsThis updates:
- β Plugin versions
- β New plugins added to marketplace
- β Plugin descriptions and metadata
- β Marketplace version
Does not update:
- β Already installed plugin files (must reinstall)
Method 1: Marketplace Update
# Update marketplace
/plugin marketplace update mag-claude-plugins
# Plugins will update automatically on next useMethod 2: Reinstall Plugin
# Remove and reinstall
/plugin remove frontend@mag-claude-plugins
/plugin install frontend@mag-claude-pluginsMethod 3: Reload Plugin
For local development changes:
/plugin reload frontend@mag-claude-pluginsFor team projects:
# 1. One team member updates marketplace
/plugin marketplace update mag-claude-plugins
# 2. Check what changed
/plugin list
# 3. Test updated plugins
# 4. If all good, other team members run:
/plugin marketplace update mag-claude-pluginsNo action needed by team members if:
- Plugins are enabled in
.claude/settings.json - Marketplace is already added globally
- Updates are compatible
Plugins may require environment variables. Configure them in your shell profile or .env file:
In ~/.zshrc or ~/.bashrc:
# Frontend Plugin
export FIGMA_ACCESS_TOKEN="your-token"
export APIDOG_API_TOKEN="your-token"
# Optional
export CHROME_EXECUTABLE_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
export CODEX_API_KEY="your-key"In project .env file:
FIGMA_ACCESS_TOKEN=your-token
APIDOG_API_TOKEN=your-tokenCheck required variables:
- See plugin's README.md
- See plugin's DEPENDENCIES.md
- Run
/configure-mcpcommand (if available)
Some plugins include MCP servers that need configuration:
Auto-configuration (Recommended):
/configure-mcpThis command (available in frontend plugin):
- Checks existing configuration
- Asks for missing environment variables
- Validates credentials
- Updates MCP server configuration
Manual configuration:
Edit Claude Code's MCP configuration:
{
"mcpServers": {
"figma": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-figma"],
"env": {
"FIGMA_ACCESS_TOKEN": "your-token"
}
}
}
}Some plugins support additional configuration in .claude/settings.json:
{
"enabledPlugins": {
"frontend@mag-claude-plugins": true
},
"pluginConfig": {
"frontend": {
"defaultModel": "sonnet",
"autoReview": true,
"testingEnabled": true
}
}
}Note: Plugin-specific config support varies by plugin. Check plugin documentation.
- Add marketplace globally (one-time setup)
- Enable plugins per-project (in
.claude/settings.json) - Keep environment variables in shell profile
- Update marketplace regularly for latest features
- Add marketplace globally (each developer, one-time)
- Commit
.claude/settings.json(team gets plugins automatically) - Document required env vars in project README
- Use consistent plugin versions across team
- Test with local marketplace during development
- Use semantic versioning for releases
- Document breaking changes in CHANGELOG
- Test updates before publishing
Marketplace not found:
# List marketplaces
/plugin marketplace list
# Add marketplace
/plugin marketplace add MadAppGang/claude-code
# Update marketplace
/plugin marketplace update mag-claude-pluginsCannot access marketplace:
# Check internet connection
ping github.com
# Verify marketplace URL
/plugin marketplace list
# Try re-adding
/plugin marketplace remove mag-claude-plugins
/plugin marketplace add MadAppGang/claude-codePlugin not appearing:
# Verify marketplace has plugin
/plugin marketplace list
# Check settings format
cat .claude/settings.json
# Reload Claude Code
# Restart the applicationPlugin not working:
# Check plugin status
/plugin list
# Verify environment variables
echo $FIGMA_ACCESS_TOKEN
# Check plugin logs
# (if available in plugin documentation)
# Reinstall plugin
/plugin remove frontend@mag-claude-plugins
/plugin install frontend@mag-claude-pluginsWrong version installed:
# Check current version
/plugin list
# Update marketplace
/plugin marketplace update mag-claude-plugins
# Reinstall specific version
/plugin remove frontend@mag-claude-plugins
/plugin install frontend@mag-claude-plugins@2.3.0- Quick Start - Basic installation
- Development Guide - Create plugins
- Marketplace Reference - Technical reference
- Troubleshooting - Common issues
- GitHub Issues: Report a problem
- Email: i@madappgang.com
- Documentation: Check plugin-specific README files