Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add kochetkov-ma/claude-brewcode/plugin install brewtoolsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/plugin-update)<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/plugin-update"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/plugin-update/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/plugin-update"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/plugin-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.03900 |
| Opus 5.5 | $0.00017 | $0.01560 |
| Sonnet 5.5 | $0.00009 | $0.00780 |
| Haiku 4.5 | $0.00004 | $0.00390 |
Grade C, and why
plugin-update scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
case "<dir>" in */plugin-update.*) rm -rf -- "<dir>" && echo "✅ scratch removed OK" || echo "❌ scratch removed FAILED" ;; *) echo "❌ scratch removed FAILED: not a SCRATCH path" ;; esac How it starts
The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on 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 |
What ships with it
17 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 5.3 KB
- references/autoupdate-research.md 1.2 KB
- references/discovery.md 2.7 KB
- references/install-prompt.md 907 B
- references/update-commands.md 3.2 KB
- references/update-flow.md 14 KB
- references/update-prompt.md 890 B
- scripts/discover-plugins.sh 4.3 KB runs code
- scripts/fetch-latest-versions.sh 1.7 KB runs code
- scripts/update-flow.mjs 25 KB runs code
- tests/run.sh 2.1 KB runs code
- tests/suite-default.mjs 8.8 KB runs code
- tests/suite-fetch-fallback.mjs 2.2 KB runs code
- tests/suite-mods.mjs 3.5 KB runs code
- tests/suite-phase4.mjs 5.0 KB runs code
- tests/suite-report.mjs 15 KB runs code
- tests/suite-shared-copy.mjs 3.6 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +39 lines · +16 tokens per session scan A → C 1a52359add7f
- 1mo ago Changed · +5 lines 2b2c80a11760
- 1mo ago Changed · +8 lines d6aab15e1697
- 1mo ago Changed · -51 lines bd729d0c093b
- 2mo ago Changed · +11 lines b5663786149f
- 3mo ago First seen · 241 lines · 27 tokens per session scan A 4ae992c7fb41
plugin-update is a skill published in the GitHub repository kochetkov-ma/claude-brewcode (41 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 3,900 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
plugin-update compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| plugin-updatekochetkov-ma/claude-brewcode | Skill | 41 | yesterday | MIT | C | 43 | Claude Code |
| doc-digestegorfedorov/claude-context-optimizer | Skill | 137 | 7d ago | MIT | A | 75 | Claude Code |
| token-checkegorfedorov/claude-context-optimizer | Skill | 137 | 7d ago | MIT | A | 66 | Claude Code |
| sharpen-promptegorfedorov/claude-context-optimizer | Skill | 137 | 7d ago | MIT | A | 47 | Claude Code |
| skill-creator-plusyaniv-golan/skill-creator-plus | Skill | 8 | 19d ago | MIT | A | 147 | Claude Code |
| cpp-reinforcement-learningAznatkoiny/zAI-Skills | Skill | 10 | 23d ago | MIT | A | 131 | Claude Code |
| deep-researchyachi/claude-skills | Skill | 3 | 1mo ago | MIT | A | 164 | Claude Code |