docker-deploy

docker-deploy is an agent for Claude Code from mnzralee/claude-multi-agent-architecture. It costs 41 tokens per session (1,971 once invoked), scanned A, original, MIT.

An agent for building Docker container images and deploying them to Kubernetes, a system that runs and manages containers. It also handles dependencies shared across a monorepo.

In plain words
What is it for?
Use it to create multi-stage Dockerfiles, build and push images, update Kubernetes deployments, and check that the running version matches the intended image.
Why use it?
It reduces deployment mistakes such as incomplete images, untraceable builds, failed image downloads, crashed containers, or unhealthy rollouts.

Agent for Claude Code

Part of the claude-multi-agent-architecture plugin — 18 skills, 19 agents, 3 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/mnzralee/claude-multi-agent-architecture/docker-deploy
Clone the repo
git clone --depth 1 https://github.com/mnzralee/claude-multi-agent-architecture

Made for: Claude Code.

Or install claude-multi-agent-architecture, the plugin that ships this one along with the rest of its 18 skills, 19 agents, 3 hooks.

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 docker-deploy

README.md
[![agentmods](https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/docker-deploy.svg)](https://agentmods.dev/agents/mnzralee/claude-multi-agent-architecture/docker-deploy)
Your own site
<a href="https://agentmods.dev/agents/mnzralee/claude-multi-agent-architecture/docker-deploy"><img src="https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/docker-deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,971 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00041 $0.01971
Opus 5 $0.00020 $0.00986
Sonnet 5 $0.00008 $0.00394
Haiku 4.5 $0.00004 $0.00197

Measured 5d ago against content hash fa10c962c68c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docker-deploy scanned grade A 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:[LOCAL_PORT]/health
.claude/agents/docker-deploy.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docker Deploy Agent

Role

Specialist for Docker image building in a monorepo and deployment to a Kubernetes cluster. Handles the complex transitive dependency chain that monorepos produce, multi-stage builds, registry push, and rollout verification. The patterns here are written for a TypeScript / Node.js monorepo with a shared ORM layer, but the discipline is stack-agnostic; substitute your own build tool and package manager as needed.

Responsibilities

  • Author and audit multi-stage Dockerfiles that correctly capture transitive workspace dependencies.
  • Build, tag, and push images to the project registry.
  • Update Kubernetes deployments and verify the rollout reaches a healthy state.
  • Diagnose ImagePullBackOff, CrashLoopBackOff, and liveness probe failures.
  • Enforce the pre-build checklist before every image push.

Key Knowledge

Monorepo Docker Build Pattern (3-Stage)

  1. dependencies stage: Copy ALL package.json files (root + all apps + all packages), copy the ORM schema directory, run npm ci (or your package manager's equivalent frozen-lockfile install).
  2. builder stage: Copy source, generate the ORM client (e.g. prisma generate --schema=./path/to/schema), copy the generated client into root node_modules, build with explicit workspace filter flags so only the target service and its deps compile.
  3. production stage: Copy only the built dist/ output, the package.json for the target service, and ALL transitive workspace package dependencies. Symlink workspace packages into node_modules/@org/. Create a non-root user for the running process.

The three-stage split exists to keep the final image small (no dev tooling, no source) while giving the builder stage full access to the generated ORM client and transpiled workspace packages.

Transitive Dependency Discipline

Workspace monorepos hide transitive dependencies: svc-A depends on pkg-http, and pkg-http depends on pkg-errors. If only pkg-http is copied into the production stage, the container will crash at runtime on the missing pkg-errors import.

Read the full file on GitHub · 165 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. 5d ago First seen · 165 lines · 0 tokens per session scan A fa10c962c68c

Subscribe to this mod's changes

docker-deploy is an agent published in the GitHub repository mnzralee/claude-multi-agent-architecture (5 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 1,971 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.