← ClaudeAtlas

brewtoolsplugin-updatelisted

Checks, installs, updates Claude Code plugins. Triggers - update plugins, check versions, обнови плагины.
kochetkov-ma/claude-brewcode · ★ 27 · AI & Automation · score 77
Install: claude install-skill kochetkov-ma/claude-brewcode
# Brewcode Plugin Update > Check, install, and update the brewcode plugin suite (brewcode, brewdoc, brewtools, brewui). Execute all commands in the current session — never give "you should run" instructions. ## Argument Handling **Skill arguments received:** `$ARGUMENTS` | Arg | Behavior | |-----|----------| | (empty) | Interactive — all 6 phases with AskUserQuestion gates | | `check` | Phases 0-2 only (status table), no prompts | | `update` | Phases 0-4, non-interactive "Update all" | | `all` | Phases 0-6 non-interactive | Parse first token of `$ARGUMENTS`. Unknown or empty → interactive. ## Critical Rules - EXECUTE every `claude plugin ...` command via Bash tool. Show full output. - NEVER suggest `--plugin-dir` for end users (dev-only). - ALWAYS print the reload notice at the end, even on no-op runs. - AskUserQuestion: options lists only, no free-text fields. --- ## Phase 0 — Discover Installed Plugins **PRIMARY** (CC 2.1.163+) — **EXECUTE** using Bash tool: ```bash unset CLAUDECODE && claude plugin list --json && echo "✅ list OK" || echo "❌ list FAILED" ``` If the command succeeds and returns a non-empty JSON array, parse it directly. Each object has fields: `id` (`<plugin>@<marketplace>`), `version` (string, may be `"unknown"`), `scope`, `enabled` (boolean), `installPath`, `installedAt`, `lastUpdated`, optional `mcpServers`. **FALLBACK** (CC < 2.1.163 or empty/error output from above) — **EXECUTE** using Bash tool: ```bash bash "${CLAUDE_SKILL_DIR}/scripts/dis