containers

containers is an agent for Claude Code from lexfrei/ccc. It costs 27 tokens per session (2,591 once invoked), scanned B, original, BSD-3-Clause.

A container-image building agent. Container images package an application and its runtime files so it can run consistently in different environments.

In plain words
What is it for?
Use it to create or update secure, optimized Containerfiles with multi-stage builds and distroless base images.
Why use it?
It helps apply project rules while avoiding common image problems such as root users, unpinned base images, and unnecessary build content.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is -o app ./cmd/api.

Part of the become plugin — 1 skill, 9 agents shipped together

Good fit Use it to create or update secure, optimized Containerfiles with multi-stage builds and distroless base images.

Compare 6 agents from other repositories ↓
View source ↗ lexfrei/ccc
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/lexfrei/ccc
agentmods
npx agentmods add agents/lexfrei/ccc/containers

Made for: Claude Code.

Or install become, the plugin that ships this one along with the rest of its 1 skill, 9 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 containers

README.md
[![agentmods](https://agentmods.dev/badge/agents/lexfrei/ccc/containers/github.svg)](https://agentmods.dev/agents/lexfrei/ccc/containers)
Your own site
<a href="https://agentmods.dev/agents/lexfrei/ccc/containers"><img src="https://agentmods.dev/badge/agents/lexfrei/ccc/containers/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 containers

Your own site · 80×15
<a href="https://agentmods.dev/agents/lexfrei/ccc/containers"><img src="https://agentmods.dev/badge/agents/lexfrei/ccc/containers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,591 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00027 $0.02591
Opus 5.5 $0.00011 $0.01036
Sonnet 5.5 $0.00005 $0.00518
Haiku 4.5 $0.00003 $0.00259

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

Security

Grade B, and why

containers scanned grade B 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 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- [ ] DO NOT run as root
skills/become/agents/containers.md · 429 lines

How it starts

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

Role and Expertise

You are a containerization specialist creating secure and optimized images. You follow specifications from .architecture.yaml.

Context Discovery (check first, in priority order)

priority_1_architecture_yaml:
  file: ".architecture.yaml"
  check:
    - Containerization standards
    - Base image requirements
    - Security policies
    - Build optimization rules
  fail_action: "If missing, ask whoever spawned you for guidance"

priority_2_application_type:
  files: ["go.mod", "package.json", "requirements.txt", "Cargo.toml"]
  check:
    - Language and runtime
    - Dependencies
    - Build requirements
    - Runtime requirements

priority_3_existing_containers:
  paths: ["build/", "docker/", "."]
  check:
    - Existing Containerfile/Dockerfile patterns
    - Build scripts
    - Multi-stage patterns
    - Layer optimization

priority_4_build_system:
  files: ["Makefile", "Taskfile.yml", ".github/workflows/"]
  check:
    - Build commands
    - CI/CD integration
    - Image naming conventions

CRITICAL PROHIBITIONS

forbidden_always:
  - "Using 'latest' tag for ANY image"
  - "Running as root user"
  - "Unpinned base image versions"
  - "Copying .git or secrets"
  - "Skipping multi-stage builds"
  - "Missing health checks"

security_violations:
  - "allowPrivilegeEscalation: true"
  - "USER root in final stage"
  - "Writable root filesystem"
  - "Missing security scanning"

if_violation:
  action: "BLOCK immediately"
  response: "Report security issues and ask whoever spawned you for guidance"

MANDATORY TOOL USAGE

CRITICAL_RULE:
  "Showing ≠ Creating"
  "Describing ≠ Writing"
  "Explaining ≠ Implementing"

REQUIRED_ACTIONS:
  creating_containerfile:
    - MUST call `Write` tool
    - MUST verify file exists after creation
    - NEVER just show Containerfile content

  creating_dockerignore:
    - MUST call `Write` tool
    - MUST place in correct location
    - NEVER just describe what should be ignored

  after_creation:
    - MUST verify with ls -la
    - MUST show actual file content with cat
    - MUST confirm files exist on filesystem

FORBIDDEN_PATTERNS:
  - "Here's your Containerfile:" (without `Write`)
  - "Create a file with..." (without creating)
  - "The Containerfile should contain..." (without writing)
  - Showing Dockerfile content in code blocks only

VERIFICATION_REQUIRED:
  after_write: "ls -la build/Containerfile .dockerignore && head -30 build/Containerfile"

Read the full file on GitHub · 429 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 First seen · 429 lines · 27 tokens per session scan B b05c65b5acaa

Subscribe to this mod's changes

containers is an agent published in the GitHub repository lexfrei/ccc (11 stars, last pushed 14d ago), licensed BSD-3-Clause. It adds 27 tokens to every session and 2,591 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

vibe-setup-worker

Operational machine/bootstrap/process setup for a vibe session. Installs prerequisites, diagnoses checkout/runtime failures, starts or stops owned services and performs confirmed discard. Never patches implementation code or creates a local code workaround; defects return as evidence to the same persistent writer or…

closedloop-ai/claude-plugins · 68 tokens

devops-engineer

Handles deployment configs, CI/CD pipelines, Docker, infrastructure, and cloud operations. Use for deployment reviews and infrastructure tasks.

faizkhairi/claude-code-blueprint · 29 tokens

cloud-agent

Own the cloud lane — AWS/Azure/GCP posture + active exploitation, IaC scanning, container/K8s escape, and SSRF→metadata credential pivots. Returns cloud findings with the misconfig→impact chain, not raw scanner dumps.

TyrusRC/praetor · 53 tokens

helm-agent

Executing agent. Writes and maintains Helm charts: Chart.yaml, templates/, values.yaml, helpers. Scope: davinci/kubernetes/apps/helm/, /Chart.yaml, /values.yaml.

alexeyshishin/as-skill · 0 tokens

incident-commander

Conduz investigação de incidente end-to-end — triagem, preservação de evidência, hipótese, validação e proposta de mitigação. Despachado por /pwdev-devops:incidente. Modelo forte porque correlacionar sintomas sob pressão é onde o raciocínio mais importa. Propõe; nunca executa sozinho.

pwdev-solucoes/pwdev-claude-marketplace · 74 tokens

deployment-verifier

Verifies local deployment health — checks ports, starts app, polls health endpoint, inspects Docker containers.

asysta-act/agent-flow · 24 tokens