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/deploy)<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/deploy"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/deploy/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/deploy"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/deploy.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.00029 | $0.07143 |
| Opus 5.5 | $0.00012 | $0.02857 |
| Sonnet 5.5 | $0.00006 | $0.01429 |
| Haiku 4.5 | $0.00003 | $0.00714 |
Grade B, and why
deploy scanned grade B with 2 findings 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
find .claude/scripts -maxdepth 1 -name '*.sh' 2>/dev/null; ls scripts/ 2>/dev/null | head -20; jq -r '.scripts // {} | keys[]' package.json 2>/dev/null; ls Makefile 2>/dev/null Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
| npm / PyPI package | `npm view <pkg>@X.Y.Z version` / `curl -sf https://pypi.org/pypi/<pkg>/X.Y.Z/json >/dev/null` | How it starts
The opening of the file, as written. The whole thing — 467 lines — stays where its author put it; the contents beside it link to each section on GitHub.
[DICT: P=Phase, EXEC=EXECUTE using Bash tool, AUQ=AskUserQuestion, WF=workflow, CFG=config, REF=references, GH=gh CLI, TPL=template]
GitHub Actions Deployment
Prompt contract
$ARGUMENTS is one free-form RU/EN prompt; mode tokens and flags may sit anywhere in it.
- Mode: an explicit mode token wins outright; else the most distinct whole-word keyword hits
(table in P0). Scored tie with monitor -> read-only monitor; other ties -> ask before actions.
No hit or empty ->
setup(no GH CFG) ormonitor(GH CFG exists). - Scope: prose that is not a mode/id/path is still input: take the id, path or target from it.
- Ask: at most ONE
AskUserQuestion(max 4 questions) to resolve mode and scope, before any work, only when the answer changes what gets written (e.g.releasevsdeploy).monitor/checkask nothing. P4/P5 confirmation gates cover the destructive cases separately.
Print once, before the first mutation — P0 is its home for mutating modes; monitor prints it
immediately before its P6 report (labels and plan values English, INPUT verbatim):
PLAN — brewtools:deploy
INPUT: <arguments verbatim, or "(empty)">
MODE: <resolved> — <explicit | matched keyword: X | default>
SCOPE: <resolved paths / target / level / flags>
DO: <2-5 imperative bullets>
RESULT: <what the user ends up holding>
Robustness Rules (MANDATORY — ALL phases)
Fail-Fast
| Rule | Scope |
|---|---|
Every Bash call reports OK/FAILED and preserves non-zero status; && echo "OK ..." || { rc=$?; echo "FAILED ..." >&2; exit "$rc"; } |
ALL scripts; probe/no-data exceptions stay explicit |
| On FAILED: stop the phase and report, !=retry blindly; max 2 retries per op | ALL |
| Script exits non-zero: read stderr, fix root cause, retry ONCE | Scripts |
Loop Protection
gh auth attempts: max 2, then AUQ. GH commands per phase: max 5. AUQ per phase: max 3. update-agent mode WFs per run: max 5.
Timeouts — always via ght, never bare timeout
GNU timeout is Homebrew-only on macOS (a bare bound exits 127 before gh runs), so every bounded call sources:
. "${CLAUDE_SKILL_DIR}/scripts/lib/deploy-common.sh" # provides ght, ght_backend, ght_reason
| Op | Bound | On non-zero |
|---|---|---|
| GH CLI cmds | ght 30 gh ... |
classify with ght_reason $?: timeout / no_tool / failed, never one sentinel |
gh run watch |
ght 900 gh run watch <id> --exit-status |
report the run URL + the last failing job |
| Entire invocation | max 15 GH calls total | stop, report progress, suggest manual |
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 1.9 KB
- references/release-best-practices.md 6.5 KB
- references/safety-rules.md 4.9 KB
- references/workflow-templates.md 30 KB
- scripts/deploy-local-ops.sh 6.4 KB runs code
- scripts/detect-mode.sh 3.8 KB runs code
- scripts/gh-env-check.sh 2.5 KB runs code
- scripts/lib/deploy-common.sh 2.9 KB runs code
- scripts/workflow-discover.sh 2.5 KB runs code
- templates/deploy-admin-agent.md.template 9.6 KB
- tests/run.sh 2.3 KB runs code
- tests/suite-docs-publication.mjs 10 KB runs code
- tests/suite-mode-routing.mjs 6.0 KB runs code
- tests/suite-provenance.mjs 30 KB runs code
- tests/suite-release-chain.mjs 7.6 KB runs code
- tests/suite-templates.mjs 19 KB runs code
- tests/suite-watchdog.mjs 11 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 · +1 lines 44cc8c6d8346
- 1mo ago Changed · -166 lines 2d618234701f
- 2mo ago Changed c8366732bec6
- 3mo ago First seen · 632 lines · 29 tokens per session scan B 2eaa4a61d524
deploy is a skill published in the GitHub repository kochetkov-ma/claude-brewcode (41 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 7,143 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
deploy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deploykochetkov-ma/claude-brewcode | Skill | 41 | yesterday | MIT | B | 29 | Claude Code |
| ci-cd-ops0xDarkMatter/claude-mods | Skill | 86 | 6d ago | MIT | A | 66 | Claude Code |
| pipeline-digestgtapps/claude-code-hermit | Skill | 87 | 2d ago | MIT | A | 99 | Claude Code, Codex |
| pipeline-digestgtapps/hermitd | Skill | 87 | yesterday | MIT | A | 99 | Claude Code, Codex |
| vienen-las-visitasmcasillas17/mexican-mom | Skill | 2 | 3mo ago | MIT | A | 63 | Claude Code |
| especialista-em-githubeuwebertdefreitas/ai-skills-for-claude-code | Skill | 8 | 5mo ago | MIT | A | 61 | Claude Code |
| ci-cd-pipeline-patternsmanutej/luxor-claude-marketplace | Skill | 64 | 5mo ago | none | A | 36 | Claude Code |