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 today.
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.2 KB
- references/autoupdate-research.md 1.2 KB
- references/discovery.md 2.7 KB
- references/install-prompt.md 848 B
- references/update-commands.md 3.2 KB
- references/update-flow.md 14 KB
- references/update-prompt.md 872 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.4 KB runs code
- tests/suite-phase4.mjs 4.9 KB runs code
- tests/suite-report.mjs 15 KB runs code
- tests/suite-shared-copy.mjs 3.5 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.
- today Changed · +39 lines · +16 tokens per session scan A → C 1a52359add7f
- 2d ago Changed · +5 lines 2b2c80a11760
- 3d ago Changed · +8 lines d6aab15e1697
- 4d ago Changed · -51 lines bd729d0c093b
- 16d ago Changed · +11 lines b5663786149f
- 1mo 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 (33 stars, last pushed today), 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.
Other skills, from other repositories
skill-creator-plus
Create, test, evaluate, and improve Claude skills — and answer questions about how skills work. Use for "create a skill", "make a skill for", "write a SKILL.md", "turn this into a skill", "run evals", "test/benchmark my skill", "optimize my skill description", "improve triggering", "A/B test my skill", "blind…
deep-research
Deep Research (/deep-research or /dr) — exhaustive, evidence-based investigation of any topic. Use when the user invokes /deep-research, /dr, asks for deep research, says 'research this thoroughly', wants expert-level analysis on any subject (technical, business, scientific, regulatory, financial, medical, legal…
openclaw-setup
Set up, install, configure, and deploy OpenClaw (formerly ClawdBot/MoltBot) — a personal AI assistant that runs on your own devices and connects to messaging channels. Use when users ask to "set up OpenClaw," "install ClawdBot," "install MoltBot," "deploy a personal AI assistant," "configure OpenClaw on Mac," "deploy…
x402-payments
Build applications using the x402 protocol — Coinbase's open standard for HTTP-native stablecoin payments using the HTTP 402 status code. Use this skill when: Creating APIs that require USDC payments per request (seller/server side) Building clients or AI agents that pay for x402-protected resources (buyer/client…
cpp-reinforcement-learning
C++ Reinforcement Learning best practices using libtorch (PyTorch C++ frontend) and modern C++17/20. Use when: Implementing RL algorithms in C++ for performance-critical applications Building production RL systems with libtorch Creating replay buffers and experience storage Optimizing RL training with GPU acceleration…
prompt-optimizer
Optimize prompts for Claude's latest models (Claude 5 family — Opus 5, Sonnet 5, Fable 5 — plus the still-active Opus 4.8, Sonnet 4.6, and Haiku 4.5) using Anthropic's official prompt-engineering guidance. Use when users want to improve, refine, debug, or create prompts or system prompts for Claude. Triggers include…