deploy

deploy is a skill for Claude Code from kochetkov-ma/claude-brewcode. It costs 29 tokens per session (7,143 once invoked), scanned B, original, MIT.

A set of instructions for deploying software with GitHub Actions, GitHub’s system for running automated jobs from a repository.

In plain words
What is it for?
Creating deployment workflows, publishing releases, and working with container images in GitHub Container Registry (GHCR).
Why use it?
It helps automate releases and deployments while adding checks before changes are made.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions .claude-plugin.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the brewtools plugin — 9 skills, 3 agents shipped together

Good fit Creating deployment workflows, publishing releases, and working with container images in GitHub Container Registry (GHCR).

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add kochetkov-ma/claude-brewcode
Claude Code
/plugin install brewtools

Made for: Claude Code.

Or install brewtools, the plugin that ships this one along with the rest of its 9 skills, 3 agents.

Wrote 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.

agentmods badge for deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/deploy/github.svg)](https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/deploy)
Your own site
<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.

agentmods 80×15 button for deploy

Your own site · 80×15
<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>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,143 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 44cc8c6d8346, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/deploy-local-ops.sh, scripts/detect-mode.sh, scripts/gh-env-check.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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` |
brewtools/skills/deploy/SKILL.md · 467 lines

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.

  1. 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) or monitor (GH CFG exists).
  2. Scope: prose that is not a mode/id/path is still input: take the id, path or target from it.
  3. 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. release vs deploy). monitor/check ask 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

Read the full file on GitHub · 467 lines

Changes

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.

  1. 1mo ago Changed · +1 lines 44cc8c6d8346
  2. 1mo ago Changed · -166 lines 2d618234701f
  3. 2mo ago Changed c8366732bec6
  4. 3mo ago First seen · 632 lines · 29 tokens per session scan B 2eaa4a61d524

Subscribe to this mod's changes

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.

Related

deploy compared with skills from other repositories

deploy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deploykochetkov-ma/claude-brewcodeSkill41yesterdayMITB29Claude Code
ci-cd-ops0xDarkMatter/claude-modsSkill866d agoMITA66Claude Code
pipeline-digestgtapps/claude-code-hermitSkill872d agoMITA99Claude Code, Codex
pipeline-digestgtapps/hermitdSkill87yesterdayMITA99Claude Code, Codex
vienen-las-visitasmcasillas17/mexican-momSkill23mo agoMITA63Claude Code
especialista-em-githubeuwebertdefreitas/ai-skills-for-claude-codeSkill85mo agoMITA61Claude Code
ci-cd-pipeline-patternsmanutej/luxor-claude-marketplaceSkill645mo agononeA36Claude Code