plugin-update
БесплатноЗапускает вложенные скриптыНе проверенUpdates every installed brewcode plugin and mod in one run; shows versions before -> after, what changed and the next steps. Triggers - update plugins, check…
от kochetkov-ma★ 41 звезда на GitHubОб этом скилле
Brewcode Plugin Update
First output: the PLAN block below, as plain text, before any tool call.
Updates every installed claude-brewcode plugin and mod at its own scope without asking what to update, offers what is missing in one question, then prints one report: versions before -> after, what changed for you, numbered next steps.
/reload-pluginsand the/pluginUI are user handoffs, never tool actions.
Prompt contract
$ARGUMENTS is one free-form RU/EN prompt; the mode token may sit anywhere in it.
- Mode: an explicit mode token wins outright; else the most distinct whole-word keyword hits
(table below). Tie with
check->check;updatevsall-> the keyword that comes first. No hit or empty ->update. - Scope: always every installed claude-brewcode plugin and mod, in every scope; the prompt never
narrows the update (user ruling: updating is automatic). A missing plugin or mod named in the
prompt is still only an offer: the Phase 3 question (
update) orall. - Ask: at most ONE
AskUserQuestionper run, at most 2 questions, only inupdateand only when Phase 2 lists offers; after the PLAN block, before the first change. The update itself is never asked about.checkasks nothing;alltakes every offer without asking (the word is consent).
Your reply starts with this block, filled from the prompt alone, then Phase 0 runs. Print it once, in
every mode, check included (labels and plan values English, INPUT verbatim). A block only in your
thinking or only inside a tool call does not count:
PLAN — brewtools:plugin-update
INPUT: <arguments verbatim, or "(empty)">
MODE: <resolved> — <explicit | matched keyword: X | default>
SCOPE: every installed claude-brewcode plugin and mod, every scope; missing ones <update: one question | all: installed | check: listed>
DO: <2-5 imperative bullets, in phase order>
RESULT: <what the user ends up holding>
Modes
| Mode | EN keywords | RU keywords | Mutates? | Behavior |
|---|---|---|---|---|
update |
(empty), update, upgrade |
обнови, обновление |
yes | Phases 0-6: updates every outdated installed row; asks once, only when offers exist |
check |
check, status |
проверь, статус |
no | Phases 0-2, then the Phase 6 check report; no question, no marketplace refresh |
all |
all, everything, full |
всё, полностью |
yes | update + every offer installed without asking + other marketplaces' rows + prune |
Critical Rules
- Run every
claude plugin ...command via the Bash tool, one plugin name per call; show the full output of every update and install. - Never suggest
--plugin-dirto end users: it is a dev-only flag. - Scratch: Phase 0 makes ONE private
mktemp -ddir and printsSCRATCH <path>; every later<dir>is that literal path (shell variables do not survive between Bash calls). Never pick a dir by glob. Phase 6 removes it after the report. scripts/update-flow.mjsbuilds the plan and the report fromreferences/update-flow.md(data: §3, strings: §5). Print the report verbatim; never re-word it, re-order it or add a table of your own.- Markers in anything you print: 🟢 done, 🔵 info, offer or next step, 🔴 failed, ⚪ unchanged or not
installed. Fence marker lines (
✅ … OK,❌ … degraded,❌ … FAILED,SCRATCH <dir>) are for you only: never copy one into a message. - Mods need Claude Code 2.1.301 or newer: below that,
planoffers no mod and the report prints its update-Claude-Code-first line. Never install a mod outsideoffers. - The report's Next steps start with
/reload-pluginson everyupdate/allrun, no-op runs included; never print a separate reload notice. - AskUserQuestion: option lists only, no free-text fields.
Phase 0 — Inventory
The PLAN block is already above in your reply, as plain text; not yet -> print it now, before this first tool call.
EXECUTE using Bash tool:
D="$(mktemp -d "${TMPDIR:-/tmp}/plugin-update.XXXXXX")" && echo "SCRATCH $D" && echo "✅ scratch OK" || echo "❌ scratch FAILED"
STOP if ❌ — report the error; nothing has changed.
PRIMARY (CC 2.1.163+) — EXECUTE using Bash tool, <dir> = the SCRATCH path:
unset CLAUDECODE && claude --version > "<dir>/cc.txt"
claude plugin list --json > "<dir>/before.json" && echo "✅ list OK" || echo "❌ list FAILED"
A valid JSON array, empty included, is the authoritative inventory; plan reads each row's id, version
(may be "unknown"), scope, enabled, projectPath (project/local rows; other projects too).
Ids ending @inline, @skills-dir or @synced are not marketplace installs and never update.
FALLBACK (CC < 2.1.163: ❌ above, or Phase 2 reports "error":"no-inventory") — EXECUTE using Bash tool:
bash "${CLAUDE_SKILL_DIR}/scripts/discover-plugins.sh" > "<dir>/before.json" && echo "✅ discover OK" || echo "❌ discover FAILED"
B
Установить plugin-update в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashAskUserQuestionВложенные файлы
FAQ
Что делает скилл plugin-update?
Updates every installed brewcode plugin and mod in one run; shows versions before -> after, what changed and the next steps. Triggers - update plugins, check versions, обнови плагины.
Как установить скилл plugin-update?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл plugin-update запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic