docker-dev-environment

docker-dev-environment is a skill for Claude Code 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 Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-engineer plugin — 13 skills, 1 command, 2 agents, 3 hooks shipped together

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/martian56/claude-engineer/docker-dev-environment
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.

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.

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/github.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/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-dev-environment

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00046 $0.00472
Opus 5.5 $0.00018 $0.00189
Sonnet 5.5 $0.00009 $0.00094
Haiku 4.5 $0.00005 $0.00047

Measured 1mo ago against content hash 83041f2eaad0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 4mo ago), licensed MIT. It adds 46 tokens to every session and 472 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

ecto-patterns

Use when a task touches Ecto, even a how-to question: schemas, changesets, validations, queries, preloads, Multi, migrations, constraints, money fields. Load it before writing Ecto code. Skip for Ash.

oliver-kriska/claude-elixir-phoenix · 51 tokens

ecto-constraint-debug

Debug Ecto constraint violations - trace triggers, check migrations, find duplicate data. Use when seeing uniqueconstraint, foreignkeyconstraint, or checkconstraint errors.

oliver-kriska/claude-elixir-phoenix · 36 tokens

laravel-vector-search

Use when implementing semantic/vector search in Laravel 13 with PostgreSQL + pgvector.

fusengine/agents · 22 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

prisma-7

Use when working with database schema, migrations, queries, or relations via Prisma 7 (Rust-free client, TypedSQL, Omit API).

fusengine/agents · 34 tokens

postgres-operator-cloudnative-pg-migration

Migrate PostgreSQL clusters from the Zalando postgres-operator (acid.zalan.do postgresql CRs, Spilo/Patroni, WAL-G) to CloudNativePG (CNPG) on Kubernetes, incl. fully air-gapped clusters. Core knowledge: the two walls (Spilo↔CNPG glibc/collation divergence that corrupts physically-copied indexes; WAL-G↔Barman archive…

air-gapped/skills · 224 tokens