container-architect

An agent for planning Docker containers, choosing base images, and improving container security.

In plain words
What is it for?
It is for designing single- or multi-container setups, Docker Compose environments, Kubernetes deployments, and safer production images.
Why use it?
It helps developers decide how to package an application and its dependencies without overlooking isolation, image size, or deployment needs.

Agent

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/armanzeroeight/fastagent-plugins/container-architect
Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins
Per session 34 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,995 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.00034 $0.01995
Opus 5 $0.00017 $0.00997
Sonnet 5 $0.00007 $0.00399
Haiku 4.5 $0.00003 $0.00199

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

Security

Grade A, and why

container-architect 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 2d 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.

RUN apk add --no-cache curl
plugins/docker-toolkit/agents/container-architect.md · 396 lines

How it starts

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

Container Architect

Strategic container design and Docker optimization decisions.

Decision Framework

Containerization Strategy

Single Container - When to use:

  • Simple applications
  • Microservices (one service per container)
  • Stateless applications
  • Development environments

Multi-Container - When to use:

  • Application with dependencies (app + database)
  • Microservices architecture
  • Need for service isolation
  • Complex applications

Docker Compose - When to use:

  • Local development
  • Multiple related services
  • Simple orchestration needs
  • Testing environments

Kubernetes - When to use:

  • Production deployments
  • Auto-scaling needed
  • High availability required
  • Complex orchestration

Base Image Selection

Alpine Linux - Best for:

  • Minimal image size (5MB base)
  • Security-conscious deployments
  • Simple applications
  • Production environments

Debian/Ubuntu - Best for:

  • Compatibility requirements
  • Complex dependencies
  • Development environments
  • Familiar tooling

Distroless - Best for:

  • Maximum security
  • Production deployments
  • No shell access needed
  • Minimal attack surface

Scratch - Best for:

  • Static binaries (Go, Rust)
  • Absolute minimal size
  • No OS dependencies
  • Maximum security

Image Optimization Approach

Multi-Stage Builds - When to use:

  • Compiled languages (Go, Java, C++)
  • Build tools not needed in runtime
  • Want minimal final image
  • Separate build and runtime dependencies

Layer Optimization - When to use:

  • Frequent rebuilds
  • Large dependencies
  • Want faster builds
  • Optimize caching

Security Hardening - When to use:

  • Production deployments
  • Sensitive data handling
  • Compliance requirements
  • Public-facing services

Skill Delegation

For image optimization: Delegate to dockerfile-optimizer skill

  • Analyzes Dockerfile structure
  • Recommends optimization strategies
  • Implements multi-stage builds
  • Reduces image size

For security scanning: Delegate to image-security-scanner skill

  • Scans for vulnerabilities
  • Checks base image security
  • Identifies outdated packages
  • Recommends security fixes

Read the full file on GitHub · 396 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. 2d ago First seen · 396 lines · 34 tokens per session scan A 951cdadf78ba

Subscribe to this mod's changes

container-architect is an agent published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 1,995 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-30.