docker-environments

docker-environments is a skill for Claude Code, Codex from memi-design/design-skills. It costs 35 tokens per session (3,150 once invoked), scanned A, original, MIT.

A set of instructions for running Mémoire in projects that use Docker, a system for packaging applications and their dependencies into containers. It covers containerized development, automated pipelines, shared services, and connections between containers and host tools.

In plain words
What is it for?
Use it when a project has a Dockerfile, Docker Compose files, or a devcontainer. It helps configure development containers, automated audits, agent workers, shared MCP services, and Figma bridge connections.
Why use it?
It helps account for differences between the host computer and containers, such as network addresses, port mappings, and preview-server access. This reduces setup and connectivity problems in Docker-based projects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node dist/cli.js spec validate --all --strict.

Good fit Use it when a project has a Dockerfile, Docker Compose files, or a devcontainer. It helps configure development containers, automated audits, agent workers, shared MCP services, and Figma bridge connections.

Compare 6 skills from other repositories ↓
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/memi-design/design-skills
agentmods
npx agentmods add skills/memi-design/design-skills/docker-environments

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/memi-design/design-skills/docker-environments"><img src="https://agentmods.dev/badge/skills/memi-design/design-skills/docker-environments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,150 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.00035 $0.03150
Opus 5 $0.00017 $0.01575
Sonnet 5 $0.00007 $0.00630
Haiku 4.5 $0.00003 $0.00315

Measured 8d ago against content hash 02b8b6952274, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

docker-environments 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 8d 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-environments/SKILL.md · 404 lines

How it starts

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

Docker Environments


name: Docker Environments category: connect activateOn: docker-environment freedomLevel: high version: 1.0.0 description: > Docker-aware Mémoire operation. Detects Dockerfile, docker-compose.yml, and .devcontainer/ in the project root and adapts the Mémoire pipeline accordingly. Covers Figma bridge port-forwarding, CI/CD headless audits, shared MCP server as a team service, agent worker containers, and devcontainer setup.

1. Auto-Detection

Mémoire activates this Note when any of the following are present in the project root:

File / Directory Signals
Dockerfile Single-service container build
docker-compose.yml / docker-compose.yaml Multi-service orchestration
compose.yml / compose.yaml Compose v2 convention
.devcontainer/devcontainer.json VS Code / Codespaces dev environment
.devcontainer/docker-compose.yml Devcontainer with compose override

When detected, Mémoire applies these Docker-aware defaults:

  • Bridge discovery checks localhost AND host.docker.internal
  • Preview server binds to 0.0.0.0 (not 127.0.0.1)
  • Port conflict warnings include Docker port-mapping guidance
  • memi doctor output includes container networking status

2. Figma Bridge in Docker

Problem: Figma plugin runs on the host machine. Mémoire inside a container cannot auto-discover it — localhost inside the container is the container, not the host.

Fix: Forward the bridge port range from host to container.

# docker-compose.yml
services:
  memoire:
    ports:
      - "9223-9232:9223-9232"  # Figma bridge range
// .memoire/project.json
{
  "bridge": {
    "host": "0.0.0.0",
    "portRange": [9223, 9232]
  }
}

When NOT to use Docker for canvas work: If your primary workflow is Figma canvas operations (design, library, real-time sync), run Mémoire on the host. Port forwarding works but adds latency. Use Docker for CI, MCP, and agent workers.

Read the full file on GitHub · 404 lines

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. 8d ago First seen · 404 lines · 35 tokens per session scan A 02b8b6952274

Subscribe to this mod's changes

docker-environments is a skill published in the GitHub repository memi-design/design-skills (7 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 3,150 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

implementing-aqua-security-for-container-scanning

Deploy Aqua Security's Trivy scanner to detect vulnerabilities, misconfigurations, secrets, and license issues in container images across CI/CD pipelines and registries.

adriannoes/awesome-agentic-ai · 41 tokens

deployment

Use when taking an app from source to live: choosing the deploy target from requirements (Hetzner+Coolify vs Vercel vs a third), then wiring container → CI → registry → host with build secrets, healthchecks and rollback. NOT one platform's mechanics (that is coolify, vercel, railway, render), NOT the Dockerfile alone…

ericrisco/rsc-harness · 86 tokens

devops

You are the DevOps Specialist -- the single authority on version control, CI/CD pipelines, platform operations (GitHub, Azure DevOps, GitLab), infrastructure, deployment, backup, and cleanup. If it touches git, pipelines, or production infrastructure, it's yours.

samibs/skillfoundry · 6 tokens

supply-chain-attack-recon

External recon for software supply-chain attack surface — package-namespace squatting candidates, dependency-confusion vulnerabilities, GitHub Actions injection openings, container image registry exposure, SBOM mining, internal-package-name leakage, and CI/CD configuration exposure. Reconnaissance and identification…

adriannoes/awesome-agentic-ai · 141 tokens

mlops-automation

Automate an MLOps project with mise tasks, lefthook hooks, Docker images, GitHub Actions, and MLflow tracking on a SQL backend. Use when adding a task runner, git hooks, CI/CD, or experiment tracking to a working package.

MLOps-Courses/mlops-coding-skills · 58 tokens

operating-infra

Author, inspect, troubleshoot, and review infrastructure across IaC, Kubernetes, cloud resources, containers, CI/CD, and Linux hosts. Use when changing Terraform/OpenTofu, Kubernetes, Helm, Kustomize, Dockerfiles, GitHub Actions workflow/job/permissions semantics, AWS, GCP, Cloud Run, BigQuery, IAM, logs, instances…

alexei-led/cc-thingz · 119 tokens