docker-dev-environment

docker-dev-environment is a skill for Claude Code, Codex from martian56/claude-engineer. It costs 46 tokens per session (472 once invoked), scanned A, original, MIT.

A local development setup where supporting services run in Docker while the application runs directly on your computer. It includes PostgreSQL for data, Redis for caching and jobs, MinIO for object storage, and Mailpit for testing email.

In plain words
What is it for?
Use it to start the services needed to run a web project, connect the app through local environment settings, and test databases, caching, file storage, and email flows.
Why use it?
It avoids installing and maintaining several supporting services manually while keeping the app fast to reload and easy to debug locally.

Skill for Claude CodeCodex

Part of the claude-engineer plugin — 13 skills, 1 command, 2 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 skills/martian56/claude-engineer/docker-dev-environment
Any agent
npx skills add martian56/claude-engineer --skill docker-dev-environment
Clone the repo
git clone --depth 1 https://github.com/martian56/claude-engineer

Made for: Claude Code, Codex.

Or install claude-engineer, the plugin that ships this one along with the rest of its 13 skills, 1 command, 2 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-dev-environment

README.md
[![agentmods](https://agentmods.dev/badge/skills/martian56/claude-engineer/docker-dev-environment.svg)](https://agentmods.dev/skills/martian56/claude-engineer/docker-dev-environment)
Your own site
<a href="https://agentmods.dev/skills/martian56/claude-engineer/docker-dev-environment"><img src="https://agentmods.dev/badge/skills/martian56/claude-engineer/docker-dev-environment.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00046 $0.00472
Opus 5 $0.00023 $0.00236
Sonnet 5 $0.00009 $0.00094
Haiku 4.5 $0.00005 $0.00047

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

Security

Grade A, and why

docker-dev-environment 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 3d 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.

plugins/claude-engineer/skills/docker-dev-environment/SKILL.md · 39 lines

What it actually says

Docker Dev Environment

Announce at start: "I'm using claude-engineer:docker-dev-environment to run services in Docker and the app native."

Iron Law

Only stateful services run in Docker. The app (frontend + backend) runs NATIVELY in its own shell. Rationale: instant uvicorn --reload / next dev / vite HMR, real debuggers, and CI/toolchain parity - Docker handles only the painful-to-install backing services.

The baseline services (docker-compose.yml)

  • PostgreSQL - primary DB (localhost:5432).
  • Redis - cache, sessions, rate-limit, job broker (localhost:6379).
  • MinIO - S3-compatible object storage (localhost:9000 API / 9001 console) + a bucket-bootstrap step.
  • Mailpit - email capture for signup/reset flows (localhost:1025 SMTP / 8025 UI). All with healthchecks and named volumes. The native app connects via localhost URLs in .env.

The dev flow

  1. docker compose up -d (services only).
  2. Backend in shell A: uv run uvicorn ... (native).
  3. Frontend in shell B: pnpm dev / bun dev / vite (native).

Non-negotiables

  1. Never containerize the app for local dev (the guard hook will remind you).
  2. Healthchecks on every service; the app waits for healthy services.
  3. Secrets/connection strings via .env (git-ignored), documented.

Full detail (the complete compose file, MinIO bucket bootstrap, Mailpit SMTP config, connection settings): read references/dev-services.md on demand.

Red flags - STOP

  • docker compose up that builds/starts the app itself for local dev.
  • Hardcoded service URLs instead of .env.
  • A service with no healthcheck.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 39 lines · 46 tokens per session scan A 83041f2eaad0

Subscribe to this mod's changes

docker-dev-environment is a skill published in the GitHub repository martian56/claude-engineer (2 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 472 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

deploy-registry-server-with-cnpg

Deploy the ToolHive Registry Server to a Kind cluster with CloudNativePG (CNPG) PostgreSQL database. Use when you need a production-like PostgreSQL setup with the CNPG operator.

stacklok/toolhive-registry-server · 46 tokens

cnpg

Create and operate CloudNativePG (CNPG) Postgres databases on Kubernetes the GitOps/Flux way - on managed cloud (GKE + GCS via Workload Identity) OR self-hosted (K3s/bare-metal + any S3-compatible store via a credentials secret). Covers Cluster + ScheduledBackup manifests, barman WAL archiving, pgvector, PITR…

vanducng/skills · 155 tokens

alloydb-omni-container

You're an expert in AlloyDB Omni running in a container. You can help users with related tasks such as starting, stopping, listing, connecting to AlloyDB Omni instance running in a container, and querying for logs.

gemini-cli-extensions/alloydb-omni · 51 tokens

vps-maintenance

Install or update a recurring VPS housekeeping pack on any Linux + Docker VPS — daily Postgres logical backups, weekly Docker prune, weekly DB retention cleanup, and a 5-min memory pressure alert to Slack or Telegram. Use when the user says "set up vps maintenance", "/vps-maintenance", "install housekeeping crons"…

DevOtts/all-skills-you-will-ever-need · 116 tokens

using-relational-databases

Relational database implementation across Python, Rust, Go, and TypeScript. Use when building CRUD applications, transactional systems, or structured data storage. Covers PostgreSQL (primary), MySQL, SQLite, ORMs (SQLAlchemy, Prisma, SeaORM, GORM), query builders (Drizzle, sqlc, SQLx), migrations, connection pooling…

ancoleman/ai-design-components · 92 tokens

Docker Testcontainers

Integration testing with real dependencies in throwaway Docker containers using the Testcontainers Node.js API - GenericContainer, exposed ports, wait strategies, module containers, Docker Compose environments, and reliable cleanup.

PramodDutta/qaskills · 42 tokens