Skip to content
Development
Command

/update-all-plugins

Update all installed Claude Code plugins from all marketplaces.

From plugin
claude-night-market
325163 skills59 agents163 commands1 MCP
Install
$ npx -y skills add athola/claude-night-market --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/update-all-plugins

Context preview

What this command does when you run it.

Update all installed Claude Code plugins from all marketplaces.

Command definition

update-all-plugins.md
name: update-all-plugins
description: Update all installed Claude Code plugins from all marketplaces.
usage: /update-all-plugins

Update All Plugins

One-shot command that upgrades every installed plugin from all configured marketplaces and syncs memory palace knowledge. This command reads the installed plugins configuration, updates each plugin individually, and processes any queued research into palaces.

When To Use

  • After receiving marketplace-wide security fixes or compatibility updates
  • Before running regression suites that depend on latest plugins
  • To avoid manually updating each plugin individually
  • When you want to validate all plugins are at their latest versions
  • To process accumulated research from sessions into memory palaces

When NOT To Use

  • Project doesn't use the leyline infrastructure patterns
  • Simple scripts without service architecture needs

Workflow

The command executes the Python script at `scripts/update_all_plugins.py` which:

1. **Read installed plugins**

  • Parses `~/.claude/plugins/installed_plugins_v2.json`
  • Extracts plugin names and their marketplaces
  • Groups plugins by marketplace for efficient processing

2. **Update plugins by marketplace**

  • For each plugin, runs: `claude plugin update {plugin}@{marketplace}`
  • Handles update responses and tracks success/failure
  • Continues updating even if some plugins fail

3. **Sync memory palace knowledge** (if memory-palace is installed)

  • Processes `data/intake_queue.jsonl` into palaces
  • Matches queued research to existing palaces by domain/tags
  • Creates new entries in appropriate palace districts
  • Reports items processed and palaces updated

4. **Garden tending with palace check** (if memory-palace is installed)

  • Runs `garden tend --palaces` to check both garden plots and palace entries
  • Identifies stale/overgrown garden plots needing attention
  • Checks palace entries for staleness, low quality, duplicates
  • **Prompts for user approval before any cleanup operations**
  • Use `--apply` only after reviewing recommendations

5. **Report results**

  • Counts total plugins checked, updated, and already latest
  • Lists specific plugins that were updated with version changes
  • Reports any failures with error messages
  • Shows palace sync results (items processed, palaces updated)
  • Shows prune recommendations (if any)
  • Notes if restart is required for changes to take effect

Implementation Notes

  • The script reads the actual installed plugins configuration file
  • Each plugin is updated with its full marketplace identifier: `{plugin}@{marketplace}`
  • No `--all` flag exists for the native update command, so we iterate through each plugin
  • The script handles both versioned plugins (e.g., "1.2.1") and commit-based plugins (e.g., "ddbd034ca35c")
  • Output is formatted without emojis for better compatibility with different terminals

Options

This command currently has no options. It updates all plugins from all marketplaces.

Notes

  • Requires network access to check for updates
  • Use `/reload-plugins` (2.1.69+) to activate pending

plugin changes without restarting Claude Code. For older versions, a full restart is still required.

  • The command will continue updating even if some

plugins fail

  • Updates are applied at the user scope by default
  • If updates fail with git timeout errors, set

`CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS` (default: 120s, increased from 30s in 2.1.51)

For a full log of Claude Code plugin system changes, see `plugins/abstract/docs/compatibility/`.

  • Fixed: LSP servers not registering when the LSP

Manager initialized before marketplace reconciliation completed (2.1.76+)

  • `--plugin-dir` now accepts only one path per flag

invocation (2.1.76+). Use repeated `--plugin-dir` for multiple directories. Previously accepted colon-separated paths.

  • Fixed: git-subdir plugins at different subdirectories

of the same monorepo commit no longer collide in the plugin cache (2.1.77+)

  • `claude plugin validate` now checks skill, agent, and

command frontmatter plus `hooks/hooks.json`, catching YAML parse errors and schema violations (2.1.77+). Previously only checked `plugin.json` structure.

  • Headless mode plugin installation now composes

correctly with `CLAUDE_CODE_PLUGIN_SEED_DIR` for containerized environments (2.1.77+)

  • `${CLAUDE_PLUGIN_DATA}` variable for persistent plugin

state surviving updates (2.1.78+). `/plugin uninstall` prompts before deletion; `--keep-data` preserves it.

  • `CLAUDE_CODE_PLUGIN_SEED_DIR` supports multiple

directories via platform path delimiter (2.1.79+)

  • `source: 'settings'` plugin marketplace source for

inline plugin entries in settings.json (2.1.80+)

  • `managed-settings.d/` drop-in directory alongside

`managed-settings.json` for independent policy fragments (2.1.83+). Files merge alphabetically.

  • Plugin options (`manifest.userConfig`) with keychain

storage for sensitive values (2.1.83+). Prompted at enable time. Available as `${user_config.KEY}`.

  • Plugins blocked by organization policy

(`blockedMarketplaces`, `strictKnownMarketplaces`) hidden from marketplace views (2.1.85+)

Auto-Update Configuration (2.0.70+)

Claude Code now supports per-marketplace auto-update toggles. This setting controls whether plugins from a marketplace update automatically when new versions are available.

To configure auto-updates for a specific marketplace: 1. Open Claude Code settings 2. Navigate to plugin marketplace settings 3. Toggle auto-update on/off per marketplace

**When to use this command vs auto-update**:

  • **Auto-update**: Convenient for trusted marketplaces where you want latest versions automatically
  • **This command**: Manual control when you want to review changes before updating, or to trigger updates on-demand across all marketplaces

Execute the update script:

python3 /home/alext/claude-night-market/plugins/leyline/scripts/update_all_
Read more
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

Get the whole plugin, auto-invoked
Stats
325
Stars
0
Views
35
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
8mo ago
Created

Repo: athola/claude-night-market