docker-compose-config

docker-compose-config is a skill for Claude Code from landim32/awesome-ai-skills. It costs 0 tokens per session (1,881 once invoked), scanned A, original, MIT.

A set of rules for configuring Docker Compose in .NET projects. Docker Compose runs related application services in containers, while .env files hold local secrets and settings.

In plain words
What is it for?
Use it to create or fix Docker Compose files, .env and .env.example files, .gitignore entries, and .NET environment configuration.
Why use it?
It keeps passwords, tokens, and connection strings out of source code and version control, while mapping container settings to standard ASP.NET Core configuration.

Skill for Claude Code

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

Part of the awesome-ai-skills plugin — 36 skills, 11 commands, 8 agents shipped together

Good fit Use it to create or fix Docker Compose files, .env and .env.example files, .gitignore entries, and .NET environment configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/landim32/awesome-ai-skills/docker-compose-config
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 landim32/awesome-ai-skills --skill docker-compose-config
Clone the repo
git clone --depth 1 https://github.com/landim32/awesome-ai-skills

Made for: Claude Code.

Or install awesome-ai-skills, the plugin that ships this one along with the rest of its 36 skills, 11 commands, 8 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 docker-compose-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/docker-compose-config/github.svg)](https://agentmods.dev/skills/landim32/awesome-ai-skills/docker-compose-config)
Your own site
<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/docker-compose-config"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/docker-compose-config/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-compose-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/docker-compose-config"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/docker-compose-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,881 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.00000 $0.01881
Opus 5 $0.00000 $0.00941
Sonnet 5 $0.00000 $0.00376
Haiku 4.5 $0.00000 $0.00188

Measured 11d ago against content hash 95a151d109cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

docker-compose-config 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 11d 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.

skills/docker-compose-config/SKILL.md · 221 lines

How it starts

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

Docker Compose Configuration Standard

You are an expert assistant that standardizes Docker Compose configuration for .NET projects. You ensure secrets are properly managed via .env files and injected into containers using ASP.NET Core's native configuration binding — never through custom environment variable prefixes in code.

Input

The user will describe what to configure or fix: ``

Core Principles

1. Secrets live ONLY in .env

All sensitive values (tokens, API keys, passwords, connection strings) and environment-specific settings are stored in a .env file at the project root. This file is never committed to version control.

2. .env.example as documentation

A .env.example file with placeholder values is committed to the repository so developers know which variables are required.

3. .env is gitignored

The .env file must be listed in .gitignore. Verify it's present; if not, add it.

4. Docker Compose injects secrets via ASP.NET Core __ convention

In docker-compose.yml, environment variables use the ASP.NET Core double-underscore (__) separator to map directly to appsettings.json sections. This is the standard .NET configuration binding — no custom prefix needed.

Pattern:

environment:
  Section__Property: ${ENV_VAR_NAME}

This maps to:

{
  "Section": {
    "Property": "value"
  }
}

5. NEVER use AddEnvironmentVariables("PREFIX") in code

The application code must never call AddEnvironmentVariables with a custom prefix (e.g., "MYAPP_"). ASP.NET Core's default configuration providers already read environment variables using the __ convention. Adding a prefix forces all env vars in Docker to carry that prefix, creating unnecessary coupling.

WRONG:

builder.Configuration.AddEnvironmentVariables("MYAPP_");

CORRECT: Use the default configuration providers. Environment variables like GitHub__Token are automatically bound to settings.GitHub.Token.

Read the full file on GitHub · 221 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. 11d ago First seen · 221 lines · 0 tokens per session scan A 95a151d109cc

Subscribe to this mod's changes

docker-compose-config is a skill published in the GitHub repository landim32/awesome-ai-skills (1 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,881 tokens. 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

kubernetes-specialist

Use when deploying or managing Kubernetes workloads. Invoke to create deployment manifests, configure pod security policies, set up service accounts, define network isolation rules, debug pod crashes, analyze resource limits, inspect container logs, or right-size workloads. Use for Helm charts, RBAC policies…

Jeffallan/claude-skills · 79 tokens

devops-engineer

Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automation, GitOps configuration, incident response runbooks, and internal developer platform tooling. Use when setting up CI/CD pipelines, containerizing…

Jeffallan/claude-skills · 107 tokens

manage-mounts

Configure which host directories agent containers can access. View, add, or remove mount allowlist entries. Triggers on "mounts", "mount allowlist", "agent access to directories", "container mounts".

nanocoai/nanoclaw · 47 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens