A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
docs(plugins): add marketplace update vs plugin update distinction and auto-update mechanism (#84)
lzw-git-allc5f1c75def3c
diff --git a/07-plugins/README.md b/07-plugins/README.mdindex 4540b90..c73bad3 100644--- a/07-plugins/README.md+++ b/07-plugins/README.md@@ -576,6 +576,18 @@ GitHub and git sources support optional `ref` (branch/tag) and `sha` (commit has**Official marketplace submission**: Submit plugins to the Anthropic-curated marketplace for broader distribution via [claude.ai/settings/plugins/submit](https://claude.ai/settings/plugins/submit) or [platform.claude.com/plugins/submit](https://platform.claude.com/plugins/submit).+### Managing Marketplaces++```bash+# Marketplace CLI commands+claude plugin marketplace add <source> # Add marketplace (GitHub, URL, local)+claude plugin marketplace update [name] # Refresh catalog index+claude plugin marketplace remove <name> # Remove marketplace+claude plugin marketplace list # List configured marketplaces+```++> **Important**: `marketplace update` only refreshes the plugin catalog (what's available to install). It does NOT update installed plugins. Use `plugin update <name>` to update specific installed plugins.+### Strict modeControl how marketplace definitions interact with local `plugin.json` files:@@ -642,6 +654,7 @@ All plugin operations are available as CLI commands:```bashclaude plugin install <name>@<marketplace> # Install from a marketplaceclaude plugin uninstall <name> # Remove a plugin+claude plugin update <name> # Update installed plugin to latest versionclaude plugin list # List installed pluginsclaude plugin enable <name> # Enable a disabled pluginclaude plugin disable <name> # Disable a plugin@@ -678,6 +691,36 @@ claude --plugin-dir ./plugin-a --plugin-dir ./plugin-b/plugin install github:username/repo```+## Auto-Update++Claude Code can automatically update marketplaces and their installed plugins at startup.++| Marketplace Type | Auto-Update Default | How to Toggle |+|------------------|---------------------|---------------|+| Official (`claude-plugins-official`) | ✅ Enabled | `/plugin` → Marketplaces → Select |+| Third-party / Local | ❌ Disabled | Same UI path |++When auto-update runs, Claude Code:+1. Refreshes marketplace catalog+2. Updates installed plugins to latest versions+3. Shows notification prompting `/reload-plugins`++### Environment Variables++| Variable | Effect |+|----------|--------|+| `DISABLE_AUTOUPDATER=1` | Disable all auto-updates (Claude Code + plugins) |+| `DISABLE_AUTOUPDATER=1` + `FORCE_AUTOUPDATE_PLUGINS=1` | Keep plugin updates, disable Claude Code updates |++```bash+# Disable all auto-updates+export DISABLE_AUTOUPDATER=1++# Keep plugin auto-updates only+export DISABLE_AUTOUPDATER=1+export FORCE_AUTOUPDATE_PLUGINS=1+```+## When to Create a Plugin```mermaid