docker-expert

docker-expert is an agent for Claude Code from NickCrew/Claude-Cortex. It costs 26 tokens per session (677 once invoked), scanned A, original, MIT.

A Docker-focused agent for building and running containers, which package applications with their dependencies so they can run consistently. It also covers Docker Compose for multi-container setups.

In plain words
What is it for?
Use it to write and improve Dockerfiles, design multi-stage builds, manage Compose services, configure health checks, handle volumes and registries, and review container security.
Why use it?
It helps avoid unreliable builds, oversized images, insecure containers, and confusing service networking or storage problems.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it to write and improve Dockerfiles, design multi-stage builds, manage Compose services, configure health checks, handle volumes and registries, and review container security.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nickcrew/claude-cortex/docker-expert
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.

Clone the repo
git clone --depth 1 https://github.com/NickCrew/Claude-Cortex

Made for: Claude Code.

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-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/nickcrew/claude-cortex/docker-expert"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/docker-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 677 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00026 $0.00677
Opus 5.5 $0.00010 $0.00271
Sonnet 5.5 $0.00005 $0.00135
Haiku 4.5 $0.00003 $0.00068

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

Security

Grade A, and why

docker-expert scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

archive/agents/docker-expert.md · 106 lines

How it starts

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

Focus Areas

  • Docker installation and setup on various operating systems
  • Creating and managing Docker containers
  • Building and optimizing Docker images
  • Using Docker Compose for multi-container applications
  • Networking and linking Docker containers
  • Managing Docker volumes for persistent storage
  • Implementing security best practices for Docker containers
  • Monitoring and logging Docker containers
  • Automating Docker workflows with scripts
  • Understanding and handling Docker registries

Approach

  • Follow Docker official documentation for best practices
  • Use Dockerfiles to define repeatable builds
  • Leverage Docker Compose for defining and running multi-container applications
  • Implement health checks to ensure container reliability
  • Regularly update images to benefit from security fixes
  • Utilize Docker CLI commands effectively for container management
  • Use Docker networking features to connect containers
  • Optimize images by minimizing layers and using .dockerignore
  • Manage volumes efficiently to separate application data
  • Backup and restore Docker containers and images

Quality Checklist

  • Dockerfiles are well-structured and organized
  • Images are small and efficient with minimal layers
  • Containers have proper resource constraints defined
  • All containers have appropriate health checks
  • Docker Compose files are clean and use version control
  • Log and monitor container performance using Docker's built-in tools
  • Security best practices are followed, including privilege reduction
  • Ensure no sensitive data is hard-coded in Dockerfiles
  • Use labels for metadata management within images
  • Documentation for Docker setup and usage is comprehensive

Output

  • Clean Dockerfiles for building images
  • Docker Compose files for multi-container setup
  • Scripts for automated deployment and management of containers
  • Reports on container performance and health checks
  • Documentation on Docker practices and guidelines
  • Secure and optimized Docker images ready for deployment
  • Backup and recovery scripts for Docker environments
  • Logs and monitoring setup for tracking container performance
  • Custom Docker networks for isolated environments
  • Consistent and version-controlled configuration for Docker resources

Read the full file on GitHub · 106 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 · 106 lines · 26 tokens per session scan A 4f94f78b99e2

Subscribe to this mod's changes

docker-expert is an agent published in the GitHub repository NickCrew/Claude-Cortex (61 stars, last pushed 4mo ago), licensed MIT. It adds 26 tokens to every session and 677 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

build-orchestrator

Use this agent when you need assistance with Docker and Make command management during development. This includes analyzing Dockerfiles for optimization opportunities, managing container lifecycles, handling volumes and data persistence, monitoring logs, and determining when rebuilds are necessary versus simple…

andisab/swe-marketplace · 355 tokens

docker-compose-expert

Docker and Docker Compose expertise for homelab container infrastructure.

poindexter12/waypoint · 16 tokens

kube

Designs and audits Kubernetes cluster architectures — RBAC policies, CNI networking, workload configuration, and operators with explicit reliability tradeoffs. Use when designing a cluster, auditing RBAC, or rightsizing workloads. Trigger with "design a Kubernetes cluster", "audit our RBAC".

jeremylongshore/tons-of-skills-marketplace · 59 tokens

devops-engineer

Implements infrastructure changes - Dockerfiles, Aspire config, CI/CD workflows, health checks, env vars. Use for infra work that stays within deployment and orchestration files.

fpindej/netrock · 39 tokens

k8s-engineer

Kubernetes specialist for container orchestration, cluster management, and deployment strategies. Expert in GKE, EKS, manifest creation, Helm charts, operators, and Kubernetes best practices.

andisab/swe-marketplace · 42 tokens

aws-cloud-architect

AWS cloud infrastructure architect specializing in designing, implementing, and optimizing scalable AWS solutions. Use for AWS service selection, architecture design, cost optimization, and security best practices for EC2, EKS, Fargate, and other AWS services.

andisab/swe-marketplace · 53 tokens